How does one automatically retrieve and pass an edit token to a link in a wiki that allows editing of a different wiki? In other words: * I have wikiA and wikiB * I want to create a link on a page of wikiA that can edit/create a page on wikiB using the API of wikiB * I seem to understand i need to include in that link the proper edit token (from wikiB for that session. * I can’t seem to find a way to retrieve the proper edit token and automatically insert it into that link (on wikiA). Is that even possible?
Any help? [http://www.tsadra.org] Jeremi Plazas / Assistant Director of Research jeremi@tsadra.org [jeremi@tsadra.org] Tsadra Foundation Tsadra Research Center, Boulder CO Advancing the Combined Study and Practice of Tibetan Buddhism in the West. www.tsadra.org [http://www.tsadra.org] [https://htmlsig.com/t/0000001BZGCW2] [https://htmlsig.com/t/0000001BRRMGS] [https://htmlsig.com/t/0000001BTMKZ9] [https://htmlsig.com/t/0000001BQ34MY]
No, otherwise it would be a massive security issue
On Wed, Aug 3, 2016 at 1:46 PM, Jeremi Plazas keisuru@gmail.com wrote:
How does one automatically retrieve and pass an edit token to a link in a wiki that allows editing of a different wiki? In other words: * I have wikiA and wikiB
- I want to create a link on a page of wikiA that can edit/create a page
on wikiB using the API of wikiB
- I seem to understand i need to include in that link the proper edit
token (from wikiB for that session.
- I can’t seem to find a way to retrieve the proper edit token and
automatically insert it into that link (on wikiA). Is that even possible?
Any help? [http://www.tsadra.org] Jeremi Plazas / Assistant Director of Research jeremi@tsadra.org [jeremi@tsadra.org] Tsadra Foundation Tsadra Research Center, Boulder CO Advancing the Combined Study and Practice of Tibetan Buddhism in the West. www.tsadra.org [http://www.tsadra.org] [https://htmlsig.com/t/0000001BZGCW2] [ https://htmlsig.com/t/0000001BRRMGS] [https://htmlsig.com/t/0000001BTMKZ9] [https://htmlsig.com/t/0000001BQ34MY] _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
No. You can do it from JavaScript code, if you have set up both wikis to allow CORS. See: https://www.mediawiki.org/wiki/Manual:CORS.
mediawiki-l@lists.wikimedia.org