Page MenuHomePhabricator

Abnormal Scribunto hook causes output anomaly in siteinfo.showhooks
Closed, ResolvedPublic

Description

The same Scribunto oddity that broke Special:Version in T66069 also causes an unexpected result in siteinfo.showhooks (search for ParserLimitReport). In JSON, every other subscriber appears as a string in the subscribers array. For the anomalous Scribunto entry, the supposed array is instead output as an object. It gets even weirder in XML, where the "scribunto" and subscriber appear as an attribute of <subscribers> instead of as an element in their own right.

Note: I've also posted about this anomaly on the Scribunto talk page on MW.

Event Timeline

RobinHood70 raised the priority of this task from to Lowest.
RobinHood70 updated the task description. (Show Details)
RobinHood70 added a subscriber: RobinHood70.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 29 2015, 6:39 AM
RobinHood70 renamed this task from Abnormal Scribunto hook causes output anomaly in siteinfo.showhooks. to Abnormal Scribunto hook causes output anomaly in siteinfo.showhooks.Oct 29 2015, 6:50 AM
RobinHood70 updated the task description. (Show Details)
RobinHood70 set Security to None.

Change 249788 had a related patch set uploaded (by Anomie):
API: Be consistend in siteinfo showhooks output

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

Anomie claimed this task.Oct 29 2015, 5:42 PM
Anomie moved this task from Unsorted to Needs Review on the MediaWiki-API board.

Change 249788 merged by jenkins-bot:
API: Be consistent in siteinfo showhooks output

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

Anomie closed this task as Resolved.Oct 29 2015, 6:53 PM