https://bugzilla.wikimedia.org/show_bug.cgi?id=47480
--- Comment #6 from Jesús Martínez Novo (Ciencia Al Poder) <[email protected]> --- This has been reported as an error here [1] ;) The "watch/unwatch" tab is actually a link, in the form of index.php?title=PAGENAME&action=watch&token=WATCHTOKEN. If I open that link in a new tab, it performs the watch/unwatch action without problems. What I suggest here is to detect if the api is disabled, or just the writeapi, and if that's true, let the browser follow the link instead of using the api. We already have wgEnableWriteAPI as a JavaScript variable [2], so mediawiki.action.watch should check it and act accordingly. ---- [1] https://www.mediawiki.org/wiki/Thread:Project:Support_desk/Error_when_trying_to_watch_pages [2] https://www.mediawiki.org/wiki/Manual:Interface/JavaScript#mw.config -- 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
