Page MenuHomePhabricator

action=mobileview & page=Main_Page & noheadings=1 scrubs off all heading info, without exposing it anywhere
Closed, ResolvedPublic

Description

https://en.wikipedia.org/wiki/Special:ApiSandbox#action=mobileview&format=json&page=Main_Page&sections=all&prop=text%7Csections&sectionprop=toclevel%7Clevel%7Cline&noheadings=

Normally noheadings=true prevents 'duplicate' headings - one in content and one as part of metadata. However, since Main_Page is never sectionized, specifying noheadings just scrubs the headings, without making them available anywhere.

noheadings should have no effect on Main Pages - noheadings kills section headings, and since there are 'technically' no sections on Main Page (everything is returned as one blob), it makes no sense.


Version: unspecified
Severity: normal

Details

Reference
bz38025