Author: gangleri
Description:
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]]
Version: unspecified
Severity: trivial