https://bugzilla.wikimedia.org/show_bug.cgi?id=17384

           Summary: Language fallback should also work for customized
                    messages
           Product: MediaWiki
           Version: 1.15-svn
          Platform: All
               URL: http://de.wikipedia.org/w/index.php?title=Wikipedia:Frag
                    en_zur_Wikipedia&oldid=56323188#de-at_und_de-ch
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Internationalization
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Currently, the language fallback does only work for the messages of the
language files. It would be nice, if it could also be used to search for
customized messages.

Example (see url):
On dewiki, a user selects de-ch as user language (which falls back to de). If a
certain message is not defined in MessagesDe-ch.php, MW shows the message from
MessagesDe.php, while it would be better to look for a customized message in
MediaWiki namespace first.

So the lookup order should be
* DB message of userlang (MediaWiki:foobar/de-ch)
* message file of userlang (MessagesDe-ch.php)
* DB message of fallback lang (MediaWiki:foobar/de rsp. MediaWiki:foobar if
identical to content language)
* message file of fallback lang (MessagesDe.php)


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to