Dear,
After installation of the Mediawiki-software, I changed the default "English" language into Dutch by changing $wgLanguageCode in localsettings.php AND by setting $wgUseDatabaseMessages=false in defaultsettings.php (the latter had to be done in order to see the changes, like is indicated in the Mediawiki-FAQ).
My problem is that because $wgUseDatabaseMessages=false, I cannot display the page "special:allmessages" anymore, neither can I change the content of the navigation bar. As a solution for this problem, the FAQ-answer proposes to run the script rebuildMessages.php in the maintenance-folder. I did this by running an FTP-program, selecting the remote file and pressing "execute" but without any results.
Does anyone know how I can fix this problem so I am allowed to see the page special:allmessages and change the content of the navigation bar while I still have my wiki-site in the Dutch language?
thanks in advance!
On 19/12/05, Jan Vanoverpelt jan.vanoverpelt@gmail.com wrote:
After installation of the Mediawiki-software, I changed the default "English" language into Dutch by changing $wgLanguageCode in localsettings.php AND by setting $wgUseDatabaseMessages=false in defaultsettings.php (the latter had to be done in order to see the changes, like is indicated in the Mediawiki-FAQ).
Hm, you're the second person recently to misunderstand / not fully appreciate the effect of $wgUseDatabaseMessages, perhaps some documentation needs clarifying somewhere... By setting this option, you have switched off the "MediaWiki:" namespace, so that interface messages will be taken straight from the (in your case) LanguageNl.php file.
neither can I change the content of the navigation bar.
This is where the misunderstanding comes in - you can change whatever you like, _by changing the LanguageNl.php file_. It's not as easy as using the wiki-based way, obviously, but you just need to find and change the "'sidebar' =>" line in that file. You'll also have to be careful not to overwrite your changes when upgrading, but as a compromise this seems workable.
to run the script rebuildMessages.php in the maintenance-folder.
If you could manage to do this, you would be able to switch $wgDatabaseMessages back to true (in fact, you may need to do so first), but whether executing with your FTP program will work, I don't know. I think that script requires some command-line arguments (view the source for what), and you'll also need to create an "AdminSettings.php" file (see "AdminSettings.sample").
-- Rowan Collins BSc [IMSoP]
DEAR
PLEASE CANCELL MY INSCRIPTION AT WIKITECH
THANK YOU
TAIB TILOUINE
----- Original Message ----- From: "Jan Vanoverpelt" jan.vanoverpelt@gmail.com To: wikitech-l@wikimedia.org Sent: Monday, December 19, 2005 9:35 AM Subject: [Wikitech-l] Cannot change content of navigation bar because$wgUseDatabaseMessages=false
Dear,
After installation of the Mediawiki-software, I changed the default "English" language into Dutch by changing $wgLanguageCode in localsettings.php AND by setting $wgUseDatabaseMessages=false in defaultsettings.php (the latter had to be done in order to see the changes, like is indicated in the Mediawiki-FAQ).
My problem is that because $wgUseDatabaseMessages=false, I cannot display the page "special:allmessages" anymore, neither can I change the content of the navigation bar. As a solution for this problem, the FAQ-answer proposes to run the script rebuildMessages.php in the maintenance-folder. I did this by running an FTP-program, selecting the remote file and pressing "execute" but without any results.
Does anyone know how I can fix this problem so I am allowed to see the page special:allmessages and change the content of the navigation bar while I still have my wiki-site in the Dutch language?
thanks in advance! _______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
Jan Vanoverpelt schrieb:
Dear,
After installation of the Mediawiki-software, I changed the default "English" language into Dutch by changing $wgLanguageCode in localsettings.php AND by setting $wgUseDatabaseMessages=false in defaultsettings.php (the latter had to be done in order to see the changes, like is indicated in the Mediawiki-FAQ).
My problem is that because $wgUseDatabaseMessages=false, I cannot display the page "special:allmessages" anymore, neither can I change the content of the navigation bar. As a solution for this problem, the FAQ-answer proposes to run the script rebuildMessages.php in the maintenance-folder. I did this by running an FTP-program, selecting the remote file and pressing "execute" but without any results.
Does anyone know how I can fix this problem so I am allowed to see the page special:allmessages and change the content of the navigation bar while I still have my wiki-site in the Dutch language?
thanks in advance!
Have a look on http://en.giswiki.de I made use of
http://meta.wikimedia.org/wiki/MediaWiki_FAQ#Using_a_wikipage_as_a_source_fo...
http://meta.wikimedia.org/wiki/
-> MediaWiki_FAQ#Using_a_wikipage_as_a_source_for_a_navigation_bar
The FAQ is wrong. The "correct" procedure, having changed the language code, is to run the rebuildMessages maintenance script to update the MediaWiki namespace. I'll correct that now...
Rob Church
On 17/01/06, Heinz h-j.luecking@t-online.de wrote:
Jan Vanoverpelt schrieb:
Dear,
After installation of the Mediawiki-software, I changed the default "English" language into Dutch by changing $wgLanguageCode in localsettings.php AND by setting $wgUseDatabaseMessages=false in defaultsettings.php (the latter had to be done in order to see the changes, like is indicated in the Mediawiki-FAQ).
My problem is that because $wgUseDatabaseMessages=false, I cannot display the page "special:allmessages" anymore, neither can I change the content of the navigation bar. As a solution for this problem, the FAQ-answer proposes to run the script rebuildMessages.php in the maintenance-folder. I did this by running an FTP-program, selecting the remote file and pressing "execute" but without any results.
Does anyone know how I can fix this problem so I am allowed to see the page special:allmessages and change the content of the navigation bar while I still have my wiki-site in the Dutch language?
thanks in advance!
Have a look on http://en.giswiki.de I made use of
http://meta.wikimedia.org/wiki/MediaWiki_FAQ#Using_a_wikipage_as_a_source_fo...
http://meta.wikimedia.org/wiki/
-> MediaWiki_FAQ#Using_a_wikipage_as_a_source_for_a_navigation_bar
Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
wikitech-l@lists.wikimedia.org