Hello,
How can I remove the "Disclaimers" link in the footer? I can't find any reference to it in the LocalSettings.php file.
Thank you.
2007/1/30, Rajesh Olafson rolafson@gmail.com:
Hello,
How can I remove the "Disclaimers" link in the footer? I can't find any reference to it in the LocalSettings.php file.
Can't you just change it text (in [[MediaWiki:Disclaimer]] to empty? Or does that do bad with the layout of this bottom part?
On 1/30/07, Andre Engels andreengels@gmail.com wrote:
Can't you just change it text (in [[MediaWiki:Disclaimer]] to empty? Or does that do bad with the layout of this bottom part?
Empty messages are currently treated as nonexistent, so the default message is used.
Why is this anyway? Why can't deleted = nonexistent, empty = empty? It would be a good bit simpler.
On 1/30/07, Rajesh Olafson rolafson@gmail.com wrote:
How can I remove the "Disclaimers" link in the footer?
Change the MediaWiki:Disclaimers message to the single character '-' (i.e., a hyphen).
On Tuesday 30 January 2007 19:53:50 Rajesh Olafson wrote:
Hello,
How can I remove the "Disclaimers" link in the footer? I can't find any reference to it in the LocalSettings.php file.
Write in MediaWiki:Disclaimers just the following character (and remove everything else): -
That's it. The string will disapear in the interface. This works with every UI string.
Cheers, Arnomane
On 1/30/07, Daniel Arnold arnomane@gmx.de wrote:
On Tuesday 30 January 2007 19:53:50 Rajesh Olafson wrote:
Hello,
How can I remove the "Disclaimers" link in the footer? I can't find any reference to it in the LocalSettings.php file.
Write in MediaWiki:Disclaimers just the following character (and remove everything else):
Excellent.
Thank you all.
That's it. The string will disapear in the interface. This works with every
UI string.
Cheers, Arnomane
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
OK - so I got the Disclaimers label fixed. Thank you.
But how do I change another footer string: "Content is available under ..."
I see that the languages/Messages*.php contains this string. However, when I change it for English [Messages.php] I see no change in the UI.
Also, when I change my language preference to say French, then this string remains the same, while other footer/nav strings appear translated.... ?
Help would be appreciated.
On 1/30/07, Daniel Arnold arnomane@gmx.de wrote:
On Tuesday 30 January 2007 19:53:50 Rajesh Olafson wrote:
Hello,
How can I remove the "Disclaimers" link in the footer? I can't find any reference to it in the LocalSettings.php file.
Write in MediaWiki:Disclaimers just the following character (and remove everything else):
That's it. The string will disapear in the interface. This works with every UI string.
Cheers, Arnomane
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
On 1/30/07, Rajesh Olafson rolafson@gmail.com wrote:
OK - so I got the Disclaimers label fixed. Thank you.
But how do I change another footer string: "Content is available under ..."
I see that the languages/Messages*.php contains this string. However, when I change it for English [Messages.php] I see no change in the UI.
Do not edit the Messages*.php files. Edit the messages in-wiki as described for the disclaimer link. You can see a full list of messages at the Special:Allmessages page. Edits to Messages*.php will be overwritten on upgrade and may not work in the first place.
Also, when I change my language preference to say French, then this string remains the same, while other footer/nav strings appear translated.... ?
Exactly what should happen with customized messages and translations is currently up in the air. If a message is customized, the customization may contain important information on local policy, for instance, in which case it should be used instead of translated defaults, but if it's just a typo or formatting issue, the default translated message should be used. As I recall, default translated messages are currently used in preference to customized untranslated messages.
aha! Now I get it.
Thank you for your time.
On 1/30/07, Simetrical Simetrical+wikitech@gmail.com wrote:
On 1/30/07, Rajesh Olafson rolafson@gmail.com wrote:
OK - so I got the Disclaimers label fixed. Thank you.
But how do I change another footer string: "Content is available under
..."
I see that the languages/Messages*.php contains this string. However,
when I
change it for English [Messages.php] I see no change in the UI.
Do not edit the Messages*.php files. Edit the messages in-wiki as described for the disclaimer link. You can see a full list of messages at the Special:Allmessages page. Edits to Messages*.php will be overwritten on upgrade and may not work in the first place.
Also, when I change my language preference to say French, then this
string
remains the same, while other footer/nav strings appear translated.... ?
Exactly what should happen with customized messages and translations is currently up in the air. If a message is customized, the customization may contain important information on local policy, for instance, in which case it should be used instead of translated defaults, but if it's just a typo or formatting issue, the default translated message should be used. As I recall, default translated messages are currently used in preference to customized untranslated messages.
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
On Tuesday 30 January 2007 21:53:52 Rajesh Olafson wrote:
OK - so I got the Disclaimers label fixed. Thank you.
But how do I change another footer string: "Content is available under ..."
I see that the languages/Messages*.php contains this string. However, when I change it for English [Messages.php] I see no change in the UI.
Also, when I change my language preference to say French, then this string remains the same, while other footer/nav strings appear translated.... ?
Help would be appreciated.
You need to add the following code to you LocalSettings.php:
$wgForceUIMsgAsContentMsg = array('copyright');
After that the "Content is available under..." text which is defined by MediaWiki:Copyright is localised. (for example MediaWiki:Copyright/de now would be respected when having German interface language in a non-german wiki).
By the way the "$1 thing" in the message string can be influenced for any language with these variables in LocalSettings.php:
$wgRightsPage = "THE_PAGE_THAT_DEFINES_YOUR_COPRIGHT_POLICY"; $wgRightsText = "THE_DISPLAYED_LINK_TEXT";
Cheers, Arnomane
wikitech-l@lists.wikimedia.org