Not quite sure how we're gonna do this, or else, if this is a wontfix type of thing...
Moved from https://bugzilla.wikimedia.org/show_bug.cgi?id=16288#c2
(In reply to comment #2)
Would be good if sitematrix not only indicated whether a wiki is readonly, but
also whether the API is enabled at all there. Currently, trying an API call on
a wiki where the API is disabled completely just returns a text "MediaWiki API
is not enabled for this site. Add the following line to your
LocalSettings.php<pre>%lt;b>$wgEnableAPI=true;</b></pre>"
which is rather unhelpful for automated processing. For instance, when using
dynamically generated script-elements with a callback: what we get back isn't
even Javascript. Hence we need a way to ensure that we don't even try API calls
on such wikis. Sitematrix flagging wikis with disabled APIs would be one way.
Or is there some other way to do this already?
Version: unspecified
Severity: enhancement