https://bugzilla.wikimedia.org/show_bug.cgi?id=47480

--- Comment #15 from Patrick Westerhoff <[email protected]> ---
(In reply to comment #14)
> if it's too difficult to detect writeapi permissions for the
> current user (as in the scenario the OP describes) at runtime for whatever
> reason, even adding something like $wgWatchUseWriteApi to LocalSettings would
> be sufficient for most cases, I would imagine.

Well the simplest way would be to just have it on the server-side say “nope,
you don’t get AJAX for this”, so it does not even need to be handled by
JavaScript.

Btw. I am the OP ;)

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to