Sidebar tinkering

From MWStake
Jump to navigation Jump to search

The MediaWiki:Sidebar can be changed following the sidebar manual.

The general form looks like:

* navigation
** mainpage|mainpage-description
** recentchanges-url|recentchanges
** randompage-url|randompage
** Help:Contents|help
* SEARCH
* TOOLBOX
* LANGUAGES

To add a new section with a new link, do the following:

  1. Modify MediaWiki:Sidebar to include a new section and link:
    * Special
    ** Special:Contributionscores|Contribution-scores
    
  2. The link will read as Contribution-scores, to include the space and proper capitalization (Contribution Scores), do the following:
    • Note: You can just add the space (and capitalization) in the step above, however it will break the ability to add a Tooltips and Accesskey (described below).
  3. Create a system message in the form MediaWiki:Link-description (for example: MediaWiki:Contribution-scores) with the contents the way the link should read (for example: Contribution Scores)
    • Note: This should have created a link on the sidebar with the proper link text.
  4. To create a tooltip, create a page in the form MediaWiki:Tooltip-n-<id of the item> (for example: MediaWiki:Tooltip-n-Contribution-scores) with the contents the way the tooltip should read (for example: Find user Contribution Scores)