Last modified: 2006-07-22 19:56: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 T7636, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 5636 - All MessageXx.php files used as dependencies and / or inclusions (require_once) in another language should use generic namespaces only
All MessageXx.php files used as dependencies and / or inclusions (require_onc...
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
http://svn.wikimedia.org/viewvc/media...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-04-18 09:10 UTC by lɛʁi לערי ריינהארט
Modified: 2006-07-22 19:56 UTC (History)
1 user (show)

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


Attachments

Description lɛʁi לערי ריינהארט 2006-04-18 09:10:46 UTC
Hallo!

If analysing
Bug 5422: Change interface file for new Romani Wikipedia (rmy)
you may see that [[meta:LanguageRmy.php]] contains 80% - 95% messages from
MessagesRo.php.

[[meta:LanguageRmy.php/sandbox]] contains the messages (translated so far) which
should be part of MessagesRmy.php.

If a
require_once 'LanguageRo.php';
would be included in
LanguageRmy.php (together with the other required dependency statements)
and at some point in time {{ns:user}} would differ in LanguageRmy.php from
LanguageRo.php
messages as

'alreadyrolled' => "Nu se poate reveni peste ultima editare a [[$1]]
făcută de către [[Utilizator:$2|$2]] ([[Discuţie utilizator:$2|Discuţie]]);
altcineva a editat articolul sau a revenit deja.

Ultima editare a fost făcută de către [[Utilizator:$3|$3]] ([[Discuţie
utilizator:$3|Discuţie]])."

would fail in http://rmy.wikipedia.org/ .

This was just an example, this is why making a
*more general request*

At least for MessagesXx.php files included in other language files all
"localized" references to namespaces should be replaced with generic ones.
For readability the {{ns:foo}} (as {{ns:user}}) should be prefered over
{{ns:number}} (as {{ns:2}}).

Such usage would not harm in the "other" MessagesXx.php files either.

best regards reinhardt [[user:gangleri]]

references:
[[ro:template:wikivar]]
[[rmy:template:wikivar]]
Comment 1 Rob Church 2006-05-31 00:25:15 UTC
Use the canonical namespace names.

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


Navigation
Links