Last modified: 2014-01-28 20:25:08 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 T62456, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60456 - Remove deprecated $wgExtraGenderNamespaces
Remove deprecated $wgExtraGenderNamespaces
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.23.0
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
aklapper-moreinfo
:
Depends on:
Blocks: 59113
  Show dependency treegraph
 
Reported: 2014-01-27 00:46 UTC by GuyMontag
Modified: 2014-01-28 20:25 UTC (History)
4 users (show)

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


Attachments

Description GuyMontag 2014-01-27 00:46:55 UTC
Per Bug 59113 we looked around the code for things that have been deprecated
and found $wgExtraGenderNamespaces at includes/DefaultSettings.php:3400
Comment 1 Bawolff (Brian Wolff) 2014-01-28 03:45:50 UTC
What makes you think this is deprecated?
Comment 2 Andre Klapper 2014-01-28 10:24:28 UTC
I'd love to know *why* you think this is deprecated (references for statements are welcome).

[[mw:Manual:$wgExtraGenderNamespaces]] does not say that this is deprecated (should it use [[mw:Template:Deprecated]]?), and a quick grep shows:

./core/includes/DefaultSettings.php:$wgExtraGenderNamespaces = array();
./core/languages/Language.php:		global $wgExtraGenderNamespaces;
./core/languages/Language.php:		$ns = $wgExtraGenderNamespaces + self::$dataCache->getItem( $this->mCode, 'namespaceGenderAliases' );
./core/languages/Language.php:		global $wgExtraGenderNamespaces, $wgExtraNamespaces;
./core/languages/Language.php:		if ( count( $wgExtraGenderNamespaces ) > 0 ) {
./core/languages/Language.php:			// $wgExtraGenderNamespaces overrides everything
./core/languages/Language.php:			global $wgExtraGenderNamespaces;
./core/languages/Language.php:			$genders = $wgExtraGenderNamespaces + (array)self::$dataCache->getItem( $this->mCode, 'namespaceGenderAliases' );

Currently I am tempted to close this report as INVALID. :)
Comment 3 GuyMontag 2014-01-28 20:25:08 UTC
Not actually deprecated. I misinterpreted the comments due to submitting a series of seven bugs at once. Thanks for letting me know!

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


Navigation
Links