Hello,
I want to remove a bunch of links from the various menus, because I don't think my wiki will need them for a long time if ever. It's kind of confusing what the best way to go about this is, though.
For example I don't want a 'donations'/'site support' link. There's MediaWiki:Sidebar, as well as MediaWiki:sitesupport-url and MediaWiki:sitesupport. So I could make the latter two blank, or just remove the line ** sitesupport-url|sitesupport from MediaWiki:Sidebar. (Actually I guess I have to remove the line, otherwise the bullet will still show up...)
and I don't want a link to the privacy policy and Disclaimer on every page. I want to change the warning under the edit box.
Basically I want to know how to match elements that appear regularly, that are obviously in the MediaWiki namespace, to the things they're actually in, and what is the best way to customise all this, keeping in mind the desire to make the changes stick after future upgrades.
Thanks, Brianna
Moin,
On Friday 28 April 2006 06:56, Brianna Laugher wrote:
Hello,
I want to remove a bunch of links from the various menus, because I don't think my wiki will need them for a long time if ever. It's kind of confusing what the best way to go about this is, though.
For example I don't want a 'donations'/'site support' link. There's MediaWiki:Sidebar, as well as MediaWiki:sitesupport-url and MediaWiki:sitesupport. So I could make the latter two blank, or just remove the line ** sitesupport-url|sitesupport from MediaWiki:Sidebar. (Actually I guess I have to remove the line, otherwise the bullet will still show up...)
I just added a
#n-sitesub, #nwhatever { display: none; }
to my Monobook.css file because I was feed up with the mixing of code and data in Mediawiki, which mean every version would need a different patch or modifyication just to remove the links from the menu and consenquently, after each upgrade they would appear again.
The real way would be to define the things that appear in the menu in some config file, but I guess it will take quite a while until this sep. is done (partly because I don't have time for it to actually do :)
Hope this helps,
Tels
mediawiki-l@lists.wikimedia.org