Last modified: 2005-11-26 07:30:35 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 2513 - LanguageEo.php uses "Wikipedia" as equivalent to {{ns:6}}
LanguageEo.php uses "Wikipedia" as equivalent to {{ns:6}}
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Normal trivial with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-25 16:20 UTC by lɛʁi לערי ריינהארט
Modified: 2005-11-26 07:30 UTC (History)
1 user (show)

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


Attachments

Description lɛʁi לערי ריינהארט 2005-06-25 16:20:10 UTC
Hallo!

See LanguageEo.php at CVS and find

function getNsIndex( $text ) {
	global $wgNamespaceNamesEo;

	foreach ( $wgNamespaceNamesEo as $i => $n ) {
		if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
	}
	if( 0 == strcasecmp( "Special", $text ) ) return -1;
	if( 0 == strcasecmp( "Wikipedia", $text ) ) return 4;
	return false;
}

Compare to LanguageFr.php . As I have been told there is a comparision between
{{SITENAME}} and *Wikipédia* .

See also: [[oc:User:Gangleri/tests]] about another "clone" of LanguageFr.php and
Tim Starling's and IMSoP's notes on other "hardcoded" additional names for
namespaces.

The code at LanguageEo.php might have been inserted for "historical"
considerations / considerations from the past. I thing it makes no sense (now)
to query for "Special" because this is a "generic" namespace anyway. The [[eo:]]
comunity should decide if the extra namespace name "Wikipedia" beside "Project"
and "Vikipedio" should be abolished or not.

Impacts:
- Installations of MediaWiki with the actual LanguageEo.php can not use
*wikipedia:* as InterWiki prefix

Related issues:
- There maight be other LanguageXx.php which are adapted for WikiMedia
foundation projects.

Regards Reinhardt [[user:gangleri]]
Comment 1 Antoine "hashar" Musso (WMF) 2005-07-09 16:03:23 UTC
Commited to cvs.

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


Navigation
Links