Hiding of language selector possible ?
How can I hide the language selector on each page with MediaWiki 1.17.0 ?
For others: I already found this similar threads:
- hiding selector in preferences of the user
$wgHiddenPrefs[] = 'language';
on reference Manual:$wgLanguageCode
- disabling unused languages (a german thread)
on reference Manual:$wgLanguageCode/de
But that's not what I mean. My local Wiki needs no language selector. How can I get rid of it.
Thank you for answering ...
You could hide the sidebar entry via MediaWiki:Common.css. To disable the user pref, see $wgHiddenPrefs. To use a certain language as default see $wgDefaultUserOptions. To roll back all possible prior language settings to a default use maintenance/userOptions.php
Thank you for answering so fast, Subfader.
"You could hide the sidebar entry via MediaWiki:Common.css."
Please could you give me an example for this ... ? Of course I use Common.css but only for my background color settings. I'm not really familiar with CSS for hiding something.
"To disable the user pref, see $wgHiddenPrefs.
To use a certain language as default see $wgDefaultUserOptions.
To roll back all possible prior language settings to a default use maintenance/userOptions.php."
Thats not what I need. In my Wiki there is a select box straigth under the page title. I want to disable or hide this language selector because I don't like it in my layout. In my older system (MediaWiki 1.15.0) there is no such a language selector ...
It sounds like you installed an extension to specifically do that. MediaWiki doesn't do that by itself. You should disable that extension (Which extensions you have enabled should be visible on Special:Version ).
The language selector in special:preferences really doesn't affect page content, and I can't imagine that you actually want to hide that.
Thank you for this information. You'are right ... one collegue has installed a new extension language selector without informing me ... and he also forget to migrate the extension from 1.15.0 to 1.17.0 :-)
Shame on me :-(
Sorry for boring you ...
May this thread help others in the same situation!