https://bugzilla.wikimedia.org/show_bug.cgi?id=28596
Bug #: 28596 Summary: Add a parser function to return the fallback language for a given language code Product: MediaWiki extensions Version: any Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: Low Component: ParserFunctions AssignedTo: wikibugs-l@lists.wikimedia.org ReportedBy: rkald...@wikimedia.org Classification: Unclassified Right now Commons relies on templates like {{GetFallback}} and {{GetFallback2}} to retrieve fallback languages. These templates consist of hard-coded switch statements which have to be updated by hand. It should be rather trivial to code a parser function which returns Language::getFallbackFor( $code ) so that such templates aren't necessary. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l