Last modified: 2012-04-02 06:04: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 T37206, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35206 - Special:Whatlinkshere spews deprecation warning
Special:Whatlinkshere spews deprecation warning
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-13 20:39 UTC by Brion Vibber
Modified: 2012-04-02 06:04 UTC (History)
2 users (show)

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


Attachments

Description Brion Vibber 2012-03-13 20:39:06 UTC
Notice: Use of Xml::namespaceSelector was deprecated in MediaWiki 1.19. [Called from SpecialWhatLinksHere::whatlinkshereForm in /var/www/trunk/includes/specials/SpecialWhatlinkshere.php at line 417] in /var/www/trunk/includes/GlobalFunctions.php on line 1084
Comment 1 Sam Reed (reedy) 2012-03-13 21:39:31 UTC
(In reply to comment #0)
> Notice: Use of Xml::namespaceSelector was deprecated in MediaWiki 1.19. [Called
> from SpecialWhatLinksHere::whatlinkshereForm in
> /var/www/trunk/includes/specials/SpecialWhatlinkshere.php at line 417] in
> /var/www/trunk/includes/GlobalFunctions.php on line 1084

Is the fix to copy and use the below instead? :/

Html::namespaceSelector( array(
			'selected' => $selected,
			'all'      => $all,
			'label'    => $label,
		), array(
			'name'  => $element_name,
			'id'    => 'namespace',
			'class' => 'namespaceselector',
		) );

There's 11 usages of Xml::namespaceSelector
Comment 2 Alexandre Emsenhuber [IAlex] 2012-04-02 06:04:34 UTC
This was fixed in r114131.

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


Navigation
Links