Last modified: 2010-05-15 15:38:29 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 T5151, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3151 - Wrong usage of {{SITENAME}} in language files
Wrong usage of {{SITENAME}} in language files
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.5.x
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-15 01:30 UTC by Andreas Neuhaus
Modified: 2010-05-15 15:38 UTC (History)
0 users

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


Attachments

Description Andreas Neuhaus 2005-08-15 01:30:20 UTC
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?
Comment 1 Antoine "hashar" Musso (WMF) 2005-08-15 11:58:28 UTC
Replaced occurences of [[{{SITENAME}}:.*]] with [[{{ns:project}}:.*]]
in da de nds languages files for HEAD.
Comment 2 Niklas Laxström 2005-08-19 01:22:46 UTC
I think I backported those changes also to REL1_5, so can this be closed now?

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


Navigation
Links