Jump to content

Topic on MediaWiki talk:Sidebar

Rename section for consistency

9
He7d3r (talkcontribs)

On 2006 the name of the first section of the sidebar was changed from "navigation" to "navigation (this wiki)" and in 2007 to "site".

Could someone change that back to "navigation" for consistency with other wikis? This would improve the compatibility of scripts (such as this, and these) which assume there is a 'p-navigation' section in the sidebar.

Goldbishop (talkcontribs)

Its been awhile but i thought you could override the header to the side-bar through JS. In essence customizing it to your site design.

He7d3r (talkcontribs)

My intention is not to change the text (from MediaWiki:Site) which is displayed in some skins, but instead to change the "id" of the first section from id="p-site" to id="p-navigation", which is the usual id of that section. For that, I think it is enough to move MediaWiki:Site to MediaWiki:Navigation and to update the message name on MediaWiki:Sidebar from "site" to "navigation".

Goldbishop (talkcontribs)

Let me do some more research about this but i thought i remembered there being a Common.CSS and a Common.js add to allow for the renaming of the section headers for SideBar, Site, or Navigation. Again, its been awhile so i will have to refind the information.

I understand what you are requesting, its just that it will most likely have to be done through the Common articles to avoid skin conflicts, potentially.

222.12.151.21 (talkcontribs)

Its been awhile but i thought you could override the header to the side-bar through JS[http://www.okawards.com .] In essence customizing it to your site design.

He7d3r (talkcontribs)

It is not the header which I want to change, it is only the id (to be the same as in other wikis).

68.186.178.253 (talkcontribs)

the id is really only used for CSS-styling. If you want to change the style of the Menu then you need to change the CSS. Otherwise you will need to hack the source of the site and edit it there.

😂 (talkcontribs)

YesYDone This has been changed back to 'navigation.'

Reply to "Rename section for consistency"