There are many instances in Content translation where we use JSONP for cross site read api requests. JSONP is not optimal when we have option to do anonymous cross site requests since T145294: mw.ForeignApi should have an option to perform anonymous requests. We can change the mw.cx.SiteMapper.prototype.getApi to use this and avoid all JSONP
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
ext.cx.sitemapper: use mediawiki.ForeignApi | mediawiki/extensions/ContentTranslation | master | +5 -9 |
Related Objects
Related Objects
Event Timeline
Comment Actions
Change 312252 had a related patch set uploaded (by Nikerabbit):
ext.cx.sitemapper: use mediawiki.ForeignApi