https://bugzilla.wikimedia.org/show_bug.cgi?id=24837
Summary: LiquidThreads API namespaces don't include canonical key (breaking API change) Product: MediaWiki extensions Version: any Platform: All OS/Version: All Status: NEW Severity: major Priority: Normal Component: LiquidThreads AssignedTo: agarr...@wikimedia.org ReportedBy: b...@mzmcbride.com CC: amil...@wikimedia.org, bhar...@wikimedia.org [09:37] <werdna> So I added localisation to LiquidThreads namespaces [09:37] <werdna> for some reason this added them to all wikis [09:37] <werdna> which is hugely annoying [09:38] <werdna> some feature of the localisation cache Now http://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=namespaces&format=jsonfm isn't outputting "canonical" values for the new namespaces. E.g., "90": { "id": 90, "case": "first-letter", "*": "Thread" }, This breaks expected behavior for some scripts like Python wikitools, which contain code like: if ns != "0": attr = "NS_%s" % (nsdata[ns]['canonical'].replace(' ', '_').upper()) else: attr = "NS_MAIN" -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- 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