Page MenuHomePhabricator

incomplete page title in ApiParse->getSectionContent() error message
Closed, ResolvedPublic

Description

The Hovercards Beta Feature (extension Popups) reports an API error when you hover over a link to a Flow board such as Talk:Flow_QA

{"error":{"code":"nosuchsection","info":"Sections are not supported by Flow_QA"}}

The error is expected, but note the info message is missing the namespace prefix.

The error is reported by ApiParse->getSectionContent(). Click the URL above to see it. The $what parameter passed to it doesn't include the page namespace.


Version: 1.24rc
Severity: minor
URL: http://en.wikipedia.beta.wmflabs.org/w/api.php?action=parse&page=Talk:Flow_QA&prop=text&section=0

Details

Reference
bz68416

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:41 AM
bzimport set Reference to bz68416.
bzimport added a subscriber: Unknown Object (MLST).

Change 148575 had a related patch set uploaded by Spage:
Provide namespace to ApiParse->getSectionContent

https://gerrit.wikimedia.org/r/148575

Change 148575 merged by jenkins-bot:
Provide namespace to ApiParse->getSectionContent

https://gerrit.wikimedia.org/r/148575