Implement "relevant" title and user in the skin system and update undelete, log,...
authorDaniel Friesen <dantman@users.mediawiki.org>
Sat, 1 Jan 2011 01:03:02 +0000 (01:03 +0000)
committerDaniel Friesen <dantman@users.mediawiki.org>
Sat, 1 Jan 2011 01:03:02 +0000 (01:03 +0000)
commit5de2e4037979bd3d809e18bdb087b7852f03189e
treecbafab0515bebe2293e1cde7320284c8c4cb561e
parent1f7e3463044a377e3a3fdf59bc411059b94541b6
Implement "relevant" title and user in the skin system and update undelete, log, contributions, blockip, and movepage to use it.
A "Relevant" is used by the skin to determine what title to display tabs for. This setting allows pages like Special:MovePage (which is linked to from the tabs themselves) to retain the tabs specific to the page relevant to it when switching to the special page.
Similaly a "Relevant" user is used by the skin to display things in the toolbox which would usually only be displayed on the user's userpage and talkpage, pages like Special:Contributions which are linked to by the toolbox can use this to retain the toolbox links when switching between the user pages and these special pages.
includes/Skin.php
includes/SkinTemplate.php
includes/specials/SpecialBlockip.php
includes/specials/SpecialContributions.php
includes/specials/SpecialLog.php
includes/specials/SpecialMovepage.php
includes/specials/SpecialUndelete.php