Mailing List Archive

MediaWiki namespace
Greetings list users,

I'm having a slight problem with the MediaWiki system I installed.
According to documentation, I should be able to edit messages within the
language by editing pages such as MediaWiki:newpageletter, in this case to
change the way a new page is designated in the "recently updated" log.

After installing I changed the variable that names the website in
LocalSettings.php from MediaWiki to DrumCorpsWiki.

Editing neither MediaWiki:newpageletter nor DrumCorpsWiki:newpageletter
actually changes the display. The only way I found to change this page,
and others in the namespace (like the text that is displayed when a page
is not found), is to edit the language file directly. This method seems
to be frowned upon as there is a warning within the language file.

Sorry for the vagueness; I don't have the specific file names handy and
can't access them from my current location.

Please take a look and let me know if I have done something wrong.

The site where the software is installed is:

http://www.drumcorpswiki.com/

Alternatively, http://phpcgi.drumcorpswiki.com/ is the same installation
with PHP running as a CGI to get around some other issues I had with
uploading.

You can view my PHP info at http://www.drumcorpswiki.com/phpinfo.php or
http://phpcgi.drumcorpswiki.com/phpinfo.php

Thanks for your assistance!


Harlan Landes
Re: MediaWiki namespace [ In reply to ]
wikisysop@drumcorpswiki.com wrote:
> I'm having a slight problem with the MediaWiki system I installed.
> According to documentation, I should be able to edit messages within the
> language by editing pages such as MediaWiki:newpageletter, in this case to
> change the way a new page is designated in the "recently updated" log.
>
> After installing I changed the variable that names the website in
> LocalSettings.php from MediaWiki to DrumCorpsWiki.
>
> Editing neither MediaWiki:newpageletter nor DrumCorpsWiki:newpageletter
> actually changes the display.

DrumCorpsWiki:newpageletter would not do anything, unless you've altered
Language.php to change the name of the MediaWiki: namespace. (I highly
recommend against doing that.) Nor should the site name have ever been
"MediaWiki" -- if it somehow was set that way, this may have caused
conflicts which broke the database entries. Check that the MediaWiki:
entries in fact have cur_namespace set to 8.

If the message pages are in their correct place, changing a message in
Language.php will normally have no effect. Have you set
$wgUseDatabaseMessages = false ? This obviously will disable the use of
the custom messages from the wiki.

Also, when testing changes please confirm that you're not just seeing
cached pages with the old value.

Consider also upgrading your files to 1.3.1, as there are a number of
bug fixes from 1.3.0.

-- brion vibber (brion @ pobox.com)
Re: MediaWiki namespace [ In reply to ]
Brion,

Thank you for your help. I did in fact have $wgUseDatabaseMessage set
to false, and I'm not sure why--but it has now been corrected, and
editing MediaWiki:newpageletter now behaves as it should.

Harlan Landes

Brion Vibber wrote:

> DrumCorpsWiki:newpageletter would not do anything, unless you've
> altered Language.php to change the name of the MediaWiki: namespace.
> (I highly recommend against doing that.) Nor should the site name have
> ever been "MediaWiki" -- if it somehow was set that way, this may have
> caused conflicts which broke the database entries. Check that the
> MediaWiki: entries in fact have cur_namespace set to 8.
>
> If the message pages are in their correct place, changing a message in
> Language.php will normally have no effect. Have you set
> $wgUseDatabaseMessages = false ? This obviously will disable the use
> of the custom messages from the wiki.
>
> Also, when testing changes please confirm that you're not just seeing
> cached pages with the old value.
>
> Consider also upgrading your files to 1.3.1, as there are a number of
> bug fixes from 1.3.0.