Last modified: 2005-11-26 07:30:35 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 T4513, the corresponding Phabricator task for complete and up-to-date bug report information.
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