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

            Bug ID: 64940
           Summary: Flow: throws exceptions from feedcontributions API, in
                    Formatter/AbstractQuery: Accessing non-existent
                    parameter: page_namespace
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: Flow
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

There were a few bursts of this error today on mediawiki.org

last one is:

2014-05-05 19:04:11 mw1133 mediawikiwiki: [0616ab78]
/w/api.php?action=feedcontributions&user=MarkTraceur&feedformat=atom  
Exception from line 346 of
/usr/local/apache/common-local/php-1.24wmf3/extensions/Flow/includes/Formatter/AbstractQuery.php:
Accessing non-existent parameter: page_namespace
#0
/usr/local/apache/common-local/php-1.24wmf3/includes/api/ApiFeedContributions.php(106):
Flow\Formatter\FormatterRow->__get('page_namespace')
#1
/usr/local/apache/common-local/php-1.24wmf3/includes/api/ApiFeedContributions.php(98):
ApiFeedContributions->feedItem(Object(Flow\Formatter\ContributionsRow))
#2 /usr/local/apache/common-local/php-1.24wmf3/includes/api/ApiMain.php(913):
ApiFeedContributions->execute()
#3 /usr/local/apache/common-local/php-1.24wmf3/includes/api/ApiMain.php(363):
ApiMain->executeAction()
#4 /usr/local/apache/common-local/php-1.24wmf3/includes/api/ApiMain.php(334):
ApiMain->executeActionWithErrorHandling()
#5 /usr/local/apache/common-local/php-1.24wmf3/api.php(85): ApiMain->execute()

It happens if I paste the API query, or if I query for anyone who has made a
Flow contribution, e.g.

http://en.wikipedia.beta.wmflabs.org/w/api.php?action=feedcontributions&user=Spage_beta&feedformat=atom

ApiFeedContributions is asking for the page_namespace and whatever Flow
formatter is responding doesn't implement a getter for that, so the "// protect
against typos" handler in the parent formatter class throws this exception.

Special:Contributions doesn't call the API unless it gets an unexpected
parameter, so most likely some bot or external query is calling this and
failing. The api.log is so enormous I can't find the query in it.

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