Page MenuHomePhabricator

Tooltip for Special page tab does not displayed
Closed, ResolvedPublic

Description

Author: alefzet

Description:
Data for special namespace tab in standard monobook.js is:
ta[\'ca-nstab-special\'] = new Array(\'\',\'This is a special page, you can\\\'t edit the page
itself.\');

In SkinTemplate.php related snippet of code is:
...

			/* show special page tab */

			$content_actions['article'] = array(
				'class' => 'selected',
				'text' => wfMsg('specialpage'),
				'href' => $wgRequest->getRequestURL(), // @bug 2457, 2510
			);

			wfRunHooks( 'SkinTemplateBuildContentActionUrlsAfterSpecialPage', array(

&$this, &$content_actions ) );

		}

...

This variable $content_actions['article'] = ... should changed to $content_actions['nstab-special']

...


Version: unspecified
Severity: normal

Details

Reference
bz7587

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:26 PM
bzimport set Reference to bz7587.
bzimport added a subscriber: Unknown Object (MLST).

alefzet wrote:

SkinTemplate.php.patch

Patch for SkinTemplate.php

Attached: