https://bugzilla.wikimedia.org/show_bug.cgi?id=43332
--- Comment #4 from Gabriel Wicke <[email protected]> --- Oh, fun- my vague memory that image / file options and magic words are localized too turned out to be true: Look for 'img_' in https://fr.wikipedia.org/w/api.php?action=query&meta=siteinfo&format=json&siprop=general%7Cnamespaces%7Cnamespacealiases%7Cspecialpagealiases%7Cmagicwords%7Cinterwikimap%7Cdbrepllag%7Cstatistics%7Cusergroups%7Cextensions%7Cfileextensions%7Crightsinfo%7Clanguages%7Cskins%7Cextensiontags%7Cfunctionhooks%7Cshowhooks%7Cvariables That output has more interesting things about registered extensions, parser functions etc- probably a good idea to simply wrap the entire JSON object with a WikiConfig object which provides convenient accessor methods for the info we need. That way we would only need to update those accessors if the underlying JSON structure changes. -- You are receiving this mail because: You are on the CC list for the bug. You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
