Matt Gallisdorfer | 1 Jul 2007 01:14
Picon

Re: Admin username wrong?

I got this error when running the query

*MySQL said: *[image:
Documentation]<http://dev.mysql.com/doc/mysql/en/Error-returns.html>
 #1062 - Duplicate entry '0-sysop' for key 1

is this normal?

On 6/29/07, Filip Maljkovic <dungodung@...> wrote:
>
> Matt Gallisdorfer wrote:
> > I recently finished my mediawiki install and found the admin username I
> > created is invalid?  Is there another way to change the admin username
> or
> > make a different username an admin?
> How do you mean invalid? Do you know the username or not?
>
> Anyhow, I suppose you can always resort to mysql query. Namely, and I'm
> assuming you indeed have mysql access, create an account that you want
> to become an admin. Then do the following query:
> INSERT INTO user_groups (ug_user, ug_group) VALUES (<the_user_id>,
> "sysop");
> where <the_user_id> is the ID which you can obtain from preferences.
> It's symmetrical for making someone a "bureaucrat" (a user that can
> change user rights for other users).
>
> HTH,
> Filip
>
>
(Continue reading)

Jack D. Pond | 1 Jul 2007 12:49
Favicon
Gravatar

Re: Linking to a subject inside a page

This only works if you have a table of contents on the page and, of course,
can be problematic if someone changes the name of the heading, but if you
are willing to accept these limitations:

The table of contents will automatically create heading tags on a page for
reference.  These tags will be in the form of underscore replacing spaces in
headings.  For example

== Test Heading ==

Would create a tag:

Test_Heading

So on a page where you have more than 4 headings and/or forced creation of a
TOC named Test Page,  you could create a reference as

[[Test Page#Test_Heading]]

This is pretty crude, but could work

Jack D. Pond

"While it is well enough to leave footprints on the sands of time, it is
even more important to make sure they point in a commendable direction." --
James Branch Cabell(1879-1958)
-----Original Message-----
From: mediawiki-l-bounces@...
[mailto:mediawiki-l-bounces@...] On Behalf Of
Willem-Jan van
(Continue reading)

Alexis Moinet | 1 Jul 2007 14:57
Picon

Re: Linking to a subject inside a page


Jack D. Pond wrote:
> 
> This only works if you have a table of contents on the page
> 
Totally untrue, it does work on pages without any table of contents ;-)
(just tested on local)

--

-- 
View this message in context: http://www.nabble.com/Linking-to-a-subject-inside-a-page-tf4005935.html#a11381554
Sent from the WikiMedia General mailing list archive at Nabble.com.
Eric K | 1 Jul 2007 16:11
Picon
Favicon

Re: Problem with custom namespace: Using special characters

Sorry I made a typo: they asked us to use &amp; for & (not $amp;, which was the typo I made). The directions for
using &amp; can be found here:
  http://meta.wikimedia.org/wiki/Help:Custom_namespaces
  So that would be Me&amp;You

  I've tried filling in the name as [[MediaWiki:Nstab-Me&You]], but it didnt work. In summary again, when
defining the namespace in the following way:
  Me&amp;You - it comes out OK everywhere except the database table (mw_page) puts the namespace number as 0
(and not as 100+ as it should be)
  Me&You: works ok everywhere, except the "article" tab comes out messed up the N-stab stuff.

  thanks!
  Eric

Brion Vibber <brion@...> wrote:
  -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eric K wrote:
> I want to have a namespace which has an ampersand in it e.g.
> "Me&You".

That _should_ work, but hasn't been tested.

> I've followed the directions for $wgExtraNamespaces which
> ask to use $amp; for &,

Any such direction is *wildly* incorrect and has no basis in fact.
Definitely do not do that, as it will *not* work.

(Continue reading)

Schneelocke | 1 Jul 2007 16:43
Picon

Re: Linking to a subject inside a page

2007/7/1, Jack D. Pond <jack.pond@...>:
> The table of contents will automatically create heading tags on a page for
> reference.  These tags will be in the form of underscore replacing spaces in
> headings.  For example
>
> == Test Heading ==
>
> Would create a tag:
>
> Test_Heading
>
> So on a page where you have more than 4 headings and/or forced creation of a
> TOC named Test Page,  you could create a reference as
>
> [[Test Page#Test_Heading]]

You don't actually need to convert the spaces to underscores yourself; writing

[[Test Page#Test Heading]]

will also work (and the same's true for other special characters; no
need to worry about those).

--

-- 
schnee
Dave Sigafoos | 1 Jul 2007 18:52
Favicon

Re: Looking for MW Business Users

Thanks for that .. 

DSig
David Tod Sigafoos | SANMAR Corporation
PICK Guy
206-770-5585
davesigafoos@... 

-----Original Message-----
From: mediawiki-l-bounces@...
[mailto:mediawiki-l-bounces <at> lists.wikimedia.org] On Behalf Of Angela
Sent: Saturday, June 30, 2007 5:41
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Looking for MW Business Users

On 6/29/07, Gary Kirk <gary.kirk@...> wrote:
> To answer the original question - there is indeed a private list for
> businesses and developers wishing to discuss MediaWiki in enterprise
> with a view to actually contributing time and or money to such efforts
> - I believe. It may be mediawiki-enterprise-l but I don't know;
> contact Erik Möller for details.

You can subscribe to that at
http://lists.wikimedia.org/mailman/listinfo/mediawiki-enterprise

There's also the MediaWiki Next Generation list at
http://lists.wikimedia.org/mailman/listinfo/mediawiki-ng-l

Angela

(Continue reading)

Scott E. Thile | 1 Jul 2007 19:22
Picon
Gravatar

Loss of session data, Still!

Hello again folks,

I'm still fighting a battle with lost session data. 

It seems like I'm getting closer--I have my session.save_path in a custom
php.ini file pointing correctly to a directory I have full access too, and I
even see files being written there, but they are empty (0 bytes). The end
result is I'm still not able to edit pages while logged in. Mediawiki
continues to report a loss of the session data. Another php site we have on
the same server space does show session data in it's session file, so I
think it's something with the mediawiki configuration.

The files being written are in the format
"sess_lotsofrandomnumbersandletters" ,  and permissions are set to -re------
(600).  Is that how they should look?

Complete symptoms: I can only edit files if I'm NOT logged in. I can only
upload files if I am logged in. I can only stay logged in while changing
pages if I check the "Remember me on this computer" box while logging in. In
other words, in appears that no session data is being saved on the server,
and/or being retrieved, in spite of the session files being written in the
directory specified.

What else can I be missing that would be causing a continuous loss of
session data?

This is a fresh install of version 1.10.0 running under PHP Version
5.1.0RC1, The Server API is listed as CGI, if I am stating that correctly,
and this is all running on Linux. I'm using a custom php.ini file I can teak
to override the defaults. If it helps to figure out the issue, here is a
(Continue reading)

Dan Thomas | 1 Jul 2007 20:58
Picon

Re: Automatically linking wiki words

Another consideration is meaning based upon context in which word/phrases
appear, for example tree:bark vs. dog:bark or drug:crack vs. drywall:crack.

As others have noted, this is a sophisticated capability to implement.  For
similar project need, my team ended up with a commercial search product
capable of performing semantic-based 'entity extraction'.

Dan

On 6/29/07, Minute Electron <minuteelectron@...> wrote:
>
> On 6/29/07, Dave Sigafoos <davesigafoos@...> wrote:
> >
> > This *could* be done with an extension during the 'Save Page'
> > process.  Probably be work on a 'keyword' list similar to the way
> Firefox
> > spell checker works.  Where you could add words/phrases etc.  Hmmm ..
> >
> > DSig
> > David Tod Sigafoos | SANMAR Corporation
> > PICK Guy
> > 206-770-5585
> > davesigafoos@...
> >
> >
> >
> >
> > -----Original Message-----
> > From: mediawiki-l-bounces@... [mailto:
> > mediawiki-l-bounces@...] On Behalf Of Jack
(Continue reading)

Scott Thile | 1 Jul 2007 19:58
Picon
Gravatar

Empty session data files

Hello again folks,

I'm still fighting a battle with lost session data. 

It seems like I'm getting closer--I have my session.save_path in a custom
php.ini file pointing correctly to a directory I have full access too, and
files are being written there, but they are empty (0 bytes)! The end result
is I'm still not able to edit pages while logged in. Mediawiki continues to
report a loss of the session data. Another php site we have on the same
server space does show session data in it's session file, so I think it's
something with the mediawiki configuration.

The files being written are in the format
"sess_lotsofrandomnumbersandletters" ,  and permissions are set to -re------
(600).  Is that how they should look?

Complete symptoms: I can only edit files if I'm NOT logged in. I can only
upload files if I am logged in. I can only stay logged in while changing
pages if I check the "Remember me on this computer" box while logging in. In
other words, in appears that no session data is being saved on the server,
and/or being retrieved, in spite of the session files being written in the
directory specified.

What else can I be missing that would be causing a continuous loss of
session data and empty session files?

This is a fresh install of version 1.10.0 running under PHP Version
5.1.0RC1, The Server API is listed as CGI, if I am stating that correctly,
and this is all running on Linux. I'm using a custom php.ini file I can teak
to override the defaults. If it helps to figure out the issue, here is a
(Continue reading)

Thomas Dalton | 1 Jul 2007 21:21
Picon

Re: Automatically linking wiki words

> Is there a way to automatically link the wiki words in an article? i.e. suppose in an article, there may be
words like "open source" or "software" for which articles are there in the wiki. Currently we have to
manually link them like [[open source]] or [[software]]. But most of the cases, the author may not be
knowing whether that article exists or not, or there may be case inconsistencies. Is it possible to
automatically link the words or phrases that has an entry in the page table as titles?

How would it know whether to link "open source" to [[open source]] or
[[open]] [[source]]?

Gmane