[Bug 41956] Document how to implement tokens in (extension) api modules

2014-10-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=41956 Nemo changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug 41956] Document how to implement tokens in (extension) api modules

2014-09-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=41956 --- Comment #3 from Niklas Laxström --- Wonderful. Can someone make sure this ends up in a some wiki page which extension developers can easily find? -- You are receiving this mail because: You are the assignee for the bug. You are on the CC

[Bug 41956] Document how to implement tokens in (extension) api modules

2014-09-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=41956 --- Comment #2 from Brad Jorsch --- Since Gerrit change 153110, things have gotten much simpler. Now most API modules will just implement ApiBase::needsToken public function needsToken() { return 'csrf'; } Using custom salts is disc

[Bug 41956] Document how to implement tokens in (extension) api modules

2012-12-30 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=41956 Andre Klapper changed: What|Removed |Added Priority|Unprioritized |Normal -- You are receiving this mail

[Bug 41956] Document how to implement tokens in (extension) api modules

2012-11-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=41956 --- Comment #1 from Brad Jorsch 2012-11-13 17:14:02 UTC --- That's probably the best way at the moment. All the core token-getting functions seem to use $wgUser, too. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=ema

[Bug 41956] Document how to implement tokens in (extension) api modules

2012-11-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=41956 Sam Reed (reedy) changed: What|Removed |Added Blocks||1 -- Configure bugmail: https://bu