[Bug 60195] Warning message is unclear when using a callback parameter while trying to get a token
https://bugzilla.wikimedia.org/show_bug.cgi?id=60195 Andre Klapper changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |WORKSFORME -- You are receiving this mail because: You are the assignee for the bug. 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
[Bug 60195] Warning message is unclear when using a callback parameter while trying to get a token
https://bugzilla.wikimedia.org/show_bug.cgi?id=60195 Bawolff (Brian Wolff) changed: What|Removed |Added CC||bawolff...@gmail.com --- Comment #5 from Bawolff (Brian Wolff) --- (In reply to Diwanshi Pandey from comment #4) > (In reply to Andre Klapper from comment #3) > > Diwanshi: Do Umherirrender's comments help sufficiently? Or are there more > > clarifications you would like to see in the documentation? If so, what? > > Andre: Yes Umherirrender's comment helped in understanding the problem. As i > am not using mediawiki instance so can't use mw.api.getToken. Sorry for > replying so late. I still think there is a (low-priority) bug here, as we shouldn't return a "parameter doesn't exist" error for a "parameter disabled" error. Error messages should reflect their actual causes, otherwise it confuses people. -- You are receiving this mail because: You are the assignee for the bug. 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
[Bug 60195] Warning message is unclear when using a callback parameter while trying to get a token
https://bugzilla.wikimedia.org/show_bug.cgi?id=60195 --- Comment #4 from Diwanshi Pandey --- (In reply to Andre Klapper from comment #3) > Diwanshi: Do Umherirrender's comments help sufficiently? Or are there more > clarifications you would like to see in the documentation? If so, what? Andre: Yes Umherirrender's comment helped in understanding the problem. As i am not using mediawiki instance so can't use mw.api.getToken. Sorry for replying so late. -- You are receiving this mail because: You are the assignee for the bug. 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
[Bug 60195] Warning message is unclear when using a callback parameter while trying to get a token
https://bugzilla.wikimedia.org/show_bug.cgi?id=60195 Andre Klapper changed: What|Removed |Added Priority|Unprioritized |Low Version|unspecified |1.23-git Blocks||1 Whiteboard||aklapper-moreinfo --- Comment #3 from Andre Klapper --- Diwanshi: Do Umherirrender's comments help sufficiently? Or are there more clarifications you would like to see in the documentation? If so, what? -- You are receiving this mail because: You are the assignee for the bug. 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
[Bug 60195] Warning message is unclear when using a callback parameter while trying to get a token
https://bugzilla.wikimedia.org/show_bug.cgi?id=60195 --- Comment #2 from Umherirrender --- When you are on a mediawiki page, you can use mw.user.tokens.get('edittoken') to get a token. When you are on a mediawiki page, you can get a token also over mw.api.getToken, have a look at mediawiki.api.js to see, how this module will do it. The following comment was found in that file: // Due to the API assuming we're logged out if we pass the callback-parameter, // we have to disable jQuery's callback system, and instead parse JSON string, // by setting 'jsonp' to false. maybe that helps -- You are receiving this mail because: You are the assignee for the bug. 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
[Bug 60195] Warning message is unclear when using a callback parameter while trying to get a token
https://bugzilla.wikimedia.org/show_bug.cgi?id=60195 Umherirrender changed: What|Removed |Added CC||umherirrender_de...@web.de --- Comment #1 from Umherirrender --- The documentation for the callback parameters includes the sentence "For safety, all user-specific data will be restricted.", this includes also tokens from prop=info, why 'edit' is not a valid value for intoken in that situation. Same for action=tokens. -- You are receiving this mail because: You are the assignee for the bug. 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