https://bugzilla.wikimedia.org/show_bug.cgi?id=30213
Web browser: ---
Bug #: 30213
Summary: Check $wgEnableAPI for all javascript modules using
the API
Product: MediaWiki
Version: 1.19-svn
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: Unprioritized
Component: Javascript
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
OutputPage.php checks $wgUseAjax and some module specific configuration
variables ($wgAjaxWatch, $wgEnableMWSuggest) before it includes javascript
using AJAX. But $wgUseAjax isn't necessary, since these scripts don't use
action=ajax any more. Instead it should check $wgEnableAPI (and
$wgEnableWriteAPI for features that need it, like watching).
Both $wgEnableAPI and $wgEnableWriteAPIshould should also be checked together
with $wgUseAJAXCategories.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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