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

            Bug ID: 66842
           Summary: Fatal error: Call to undefined method
                    Wikibase\Api\EditEntity::setTitle() in
                    Wikibase\EditEntity
           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]
       Web browser: ---
   Mobile Platform: ---

Fatal error: Call to undefined method Wikibase\Api\EditEntity::setTitle() in
/Library/WebServer/Documents/php-master/extensions/WikidataBuild/extensions/Wikibase/repo/includes/EditEntity.php
on line 746

$context->setTitle() is called which is a method available in RequestContext

ApiBase derives from ContextSource which lacks this method. 
ApiWikibase::getContext returns RequestContext.

We either need to restore that or do something perhaps hacky in EditEntity
like:

new DerivativeContext( $context ) which then allows title to be set.

I don't know, if / where else, this issue occurs.

this issue means that I cannot edit via the api, which is obviously bad (and
bad that tests didn't catch this)

-- 
You are receiving this mail because:
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