Manual talk:$wgLanguageCode

I just installed xamp and mediawiki.

But LanguageDe.php is missing.

I cant find a forum about Media Wiki so i just ask this Question here.

where is rebuildmessages.php???
rebuildmessages.php???

I downloaded the 1.9.3 and I can't find rebuildMessages.php in maintenance directory and I see the page as the mix of two languages Thai and English. Is this expected? 131.215.7.198 05:57, 22 April 2007 (UTC)
 * rebildMessages is no longer required, starting with mw 1.9. Did you go through the full upgrade procedure? Did you accidentally change the content language of your wiki to english? -- Duesentrieb ⇌ 11:04, 22 April 2007 (UTC)

i found "rebuild" "-rebuild" and "--rebuild" on the web
Hello, I was a little confused over how to start rebuildMessages.php in order to update mediawiki message entries in the database to the new language.

I couldn't test myself so I wanted to guess right (I found "php rebuildMessages.php -rebuild", "php rebuildMessages.php rebuild" and "php rebuildMessages.php --rebuild" on the internet.

The command that worked (executed by my ISP) was php4-cgi rebuildMessages.php --rebuild ../languages/LanguageDe.php for the "De"-language file. I suppose that adding the filename isn't necessary, but it seems so far that it works.

And it seems there is no easy way to run this command if you don't have shell access and php safe mode is turned on.

I guess you'll have to create a file that just executes require_once( "commandLine.inc" ); include_once( "InitialiseMessages.inc"); if ( YOUWANTFILEBOOLEAN ) { $messages = loadLanguageFile( FILENAMESTRING ); } else { $messages = false; }

initialiseMessages( true, $messages );

and then you'll have to go through commandLine.inc InitialiseMessages.inc and delete for example the first some lines in commandLine.inc as it cancels execution if you aren't coming from commandline. Maybe there are further changes needed. For example renaming .htaccess for the time you want to execute your new script. Or you put them in another directory. I guess both isn't fitting into the security concept of mediawiki.

I hope that could be more explicit in the future. (k, maybe noone needs it anymore since 1.9)

Jack