Last modified: 2013-09-04 11:47:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32321, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30321 - ajax.watch module should not load if the API is disabled
ajax.watch module should not load if the API is disabled
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Watchlist (Other open bugs)
1.17.x
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 30319 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-11 08:38 UTC by hans84
Modified: 2013-09-04 11:47 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description hans84 2011-08-11 08:38:33 UTC
After upgrading to 1.17, everytime a user clicks on the watch/unwatch tab, it leads to a page called "Undefined".
Comment 1 p858snake 2011-08-11 08:44:43 UTC
Sounds like you have some conflicting JS defined, what extensions are you running? do you run any custom js in [[Mediawiki:Common.js]] or [[Mediawiki:<Skinname>.js]]? (eg: [[Mediawiki:Monobook.js]])
Comment 2 Roan Kattouw 2011-08-11 12:17:11 UTC
*** Bug 30319 has been marked as a duplicate of this bug. ***
Comment 3 Mark A. Hershberger 2011-08-11 15:42:38 UTC
Yeah, just installed 1.17.  WORKSFORME. Check JS as p858snake suggests.
Comment 4 hans84 2011-08-12 20:09:27 UTC
I think it is a issue with the API. I have deactivated the API for normal user and IPs. For admins the watch/unwatch tab is working.
Comment 5 Krinkle 2011-08-14 20:08:01 UTC
(In reply to comment #4)
> I think it is a issue with the API. I have deactivated the API for normal user
> and IPs. For admins the watch/unwatch tab is working.

Although the script should indeed not attempt to use the API if it's disabled, my I ask why you have the API disabled for non-admins ?
Comment 6 hans84 2011-08-17 10:19:54 UTC
I have deactivate the writeapi that nobody could massedit articles...
Comment 7 Max Semenik 2011-08-17 10:40:54 UTC
(In reply to comment #6)
> I have deactivate the writeapi that nobody could massedit articles...

Absolutely useless, there are plenty of (spam)bots that post via the usual web interface. You must understand that write API doesn't allow to do anything that's not possible to do manually, i.e. it doesn't allow to bypass captchas or exceed edit rate limits.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links