This breaks all non-Wikipedia languages set to Persian (fa.wikibooks, fa.wikisource, etc).
Version: 1.6.x
Severity: normal
brion | |
Dec 28 2005, 11:26 PM |
F2563: LanguageFa.php.4.patch | |
Nov 21 2014, 9:01 PM |
This breaks all non-Wikipedia languages set to Persian (fa.wikibooks, fa.wikisource, etc).
Version: 1.6.x
Severity: normal
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Declined | None | T6282 Remove "Backwards compatibility hacks" from all LanguageXx.php files | |||
Resolved | None | T6130 Change some inactive wikibooks Project namespaces to "Wikibooks" | |||
Resolved | None | T6460 Side effects of the new Persian LanguageFA.php | |||
Resolved | None | T6036 Sitename and project namespace for Persian Wikibooks ; change logo | |||
Resolved | None | T6087 Persian Wikisource | |||
Resolved | None | T6413 Persian LanguageFa.php hardcodes project namespace as Wikipedia |
kaveh_d wrote:
I see what the problem is now. If I were to submit a patch, what should I change
the instances of "Wikipedia" in LanguageFa.php to?
gangleri wrote:
(In reply to comment #2)
Use "Project:" wherever "Wikipedia" is used.
Use "Project:" wherever "Wikipedia:" is used. (now both are with colon ":")
zigger wrote:
LanguageFa.php patch for HEAD
attachment LanguageFa.php.patch ignored as obsolete
kaveh_d wrote:
I am looking at LanguageHe, and in some instances they've used {{ns:project}}
and in others {{SITENAME}}. What's the distintion here?
zigger wrote:
(After exchanging emails with Kaveh (thanks), I'm continuing with the patch.)
{{SITENAME}} is for display only, and "{{ns:project}}:" is better than
"Project:" as it will use the translation during rendering.
zigger wrote:
LanguageFa.php patch for HEAD
Changes:
o Small white-space fix
o fixes the hard-coded Project namespaces
o translates the Template, Help, and Category namespaces
o uses {{ns:project}} and {{SITENAME}} instead of hard-coding
o ensures that passwordreminder messages are inherited
o improves the welcomecreation message
(Thanks to Kaveh for the translations and checking.)
Not done (& won't be done by me):
o testing
o comparisons with Special:Allmessages on fa sites
o translation/removal of messages in English
o translations of missing messages
o checking/fixing pseudo-namespaces on fa sites
attachment LanguageFa.php.3.patch ignored as obsolete