Last modified: 2014-01-28 20:25:08 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 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