On Fri, 11 Mar 2005 17:35:03 +0100, Robert Riebisch <rr(a)bttr-software.de> wrote:
Rowan Collins wrote:
Aha, then the answer is even simpler: look at
*their*
[[MediaWiki:monobook.js]]. Everything else still applies, it's just
they've done step 1 for you! :D
Ah, I see. :-) But it's still unclear what the #Tooltips: entries in the
LanguageXX.php are for.
Ah - I think the tooltips used to be stored in seperate messages, but
were then moved into monobook.js for some reason. Looking at the
LanguageDe.php, it seems it still has these old messages, which
presumably aren't used for anything - if you look at Language.php (the
default, English, set of messages) you'll see that they're not there
any more. Ignore them; or delete them if you want to create an
up-to-date file and submit it back to the maintainers.
That's a good general rule: if in doubt about something in
LangugageXX.php, look in the English/default Language.php - the other
languages should be different only in that they've translated it.
I change on entry in my MediaWiki:monobook.js, but
where is it stored?
In the MySQL database? I'm using 1.4rc1.
Yes, in the database, along with all the other pages in the wiki.
They're pulled out by the software when it needs them, but otherwise
act more-or-less like perfectly normal wiki pages. Maybe I wasn't
clear on this, relying on making it [[look like a link]]; when I say
copy the info from the German Wikipedia's [[MediaWiki:monobook.js]], I
mean copy stuff from
http://de.wikipedia.org/wiki/MediaWiki:Monobook.js to
http://your.domain/path/to/wiki/MediaWiki:Monobook.js
Would it work to put the messages in a file
monobook.js? If yes, to
which folder do I have to save this file?
No. It's not a file, it's just a page on the wiki, just called ".js"
to emphasise that it will be interpretted as JavaScript, not as wiki
markup. It's exactly the same as all the other messages you'll see if
you visit [[Special:Allmessages]].
--
Rowan Collins BSc
[IMSoP]