Last modified: 2011-03-13 18:04:54 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 T9920, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 7920 - tab still selected in p-cactions menu
tab still selected in p-cactions menu
Status: CLOSED WONTFIX
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.8.x
PC Windows XP
: Lowest minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-11-14 16:02 UTC by Romain
Modified: 2011-03-13 18:04 UTC (History)
0 users

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


Attachments

Description Romain 2006-11-14 16:02:50 UTC
When 'article' tab or 'talk' tab is selected and you select another, the tab
corresponding to the action becomes 'selected' (class="selected") but the
previous tab is still selected.

Think it could be near there:
SkinTemplate.php::SkinTemplate->buildContentActionUrls()

wfRunHooks( 'SkinTemplatePreventOtherActiveTabs', array( &$this ,
&$prevent_active_tabs ) )	;
if( $this->iscontent ) {
	$subjpage = $this->mTitle->getSubjectPage();
	$talkpage = $this->mTitle->getTalkPage();
	$nskey = $this->mTitle->getNamespaceKey();
	$content_actions[$nskey] = $this->tabAction(
		$subjpage,
		$nskey,
		!$this->mTitle->isTalkPage() && !$prevent_active_tabs,
		'', true);
	$content_actions['talk'] = $this->tabAction(
		$talkpage,
		'talk',
		$this->mTitle->isTalkPage() && !$prevent_active_tabs,
		'',
		true);
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-11-14 17:24:55 UTC
This is deliberate.  It indicates whether you're looking at the
history/move/etc. of the article page or talk page.  Is there any particular
issue you've run into with that, or it's just an aesthetic issue or whatnot?

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


Navigation
Links