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

           Summary: Add flag to notify whether the API is enabled on
                    another wiki
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: SiteMatrix
        AssignedTo: [email protected]
        ReportedBy: [email protected]


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?

-- 
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

Reply via email to