Last modified: 2006-10-16 00:37:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T9587, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 7587 - Tooltip for Special page tab does not displayed
Tooltip for Special page tab does not displayed
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-10-15 16:38 UTC by AlefZet
Modified: 2006-10-16 00:37 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
SkinTemplate.php.patch (357 bytes, patch)
2006-10-15 16:40 UTC, AlefZet
Details

Description AlefZet 2006-10-15 16:38:23 UTC
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'] 
= ...
Comment 1 AlefZet 2006-10-15 16:40:04 UTC
Created attachment 2508 [details]
SkinTemplate.php.patch

Patch for SkinTemplate.php
Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-10-16 00:37:34 UTC
Fixed in r17034.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links