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

       Web browser: ---
            Bug ID: 44314
           Summary: RepoHooks::onApiCheckCanExecute calls
                    ApiBase::getTitleOrPageId, which uses 'title' in
                    params
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

During the check to RepoHooks::onApiCheckCanExecute there is a call to the
function ApiBase::getTitleOrPageId and that call uses the value for the key
'title' from extractRequestParams, which contains values for a sitelink as they
uses 'site' and 'title' -pairs. This happens for all modules subclassing from
ApiModifyBase.

One solution could be to override the getTitleOrPageId to act correctly in our
cases, that is set up a similar method in ApiModifyBase.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to