Page MenuHomePhabricator

Wrong usage of {{SITENAME}} in language files
Closed, ResolvedPublic

Description

Author: andy

Description:
There are several language definitions, where the namespace part of a page name
is build by using {{SITENAME}}. This generates a wrong page name, if the meta
name if different from the site name (e.g. because you've set wgMetaNamespace to
a different name).

One example is "edithelppage" of LanguageDe.php, which is defined as
"{{SITENAME}}:Editierhilfe", but should be "{{ns:4}}:Editierhilfe".

grep "{{SITENAME}}:" languages/*.php shows 11 matches in mediawiki-1.5-beta4

Some languages (like LanguageRu.php) used {{ns:project}}. Is that alright?


Version: 1.5.x
Severity: minor

Details

Reference
bz3151

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:46 PM
bzimport set Reference to bz3151.
bzimport added a subscriber: Unknown Object (MLST).

Replaced occurences of [[{{SITENAME}}:.*]] with [[{{ns:project}}:.*]]
in da de nds languages files for HEAD.

I think I backported those changes also to REL1_5, so can this be closed now?