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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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