https://bugzilla.wikimedia.org/show_bug.cgi?id=42160
--- Comment #4 from Gabriel Wicke <[email protected]> --- Interwiki prefixes and languages are returned separately from the API: https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&meta=siteinfo&format=json&siprop=interwikimap|languages So, steps to implement this would be: * Add support for interwiki prefixes and languages in WikiConfig (lib/mediawiki.WikiConfig.js). * Use it in the link handler to detect interwiki / language links and render them differently, using the RDFa in http://www.mediawiki.org/wiki/Parsoid/RDFa_vocabulary#Language_links and http://www.mediawiki.org/wiki/Parsoid/RDFa_vocabulary#Interwiki_non-language_links. * Add support for these types in the WikitextSerializer and make sure that these links round-trip properly. -- 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
