Page MenuHomePhabricator

Swap "hidetoc" for "showtoc" in the ApiParse result
Open, Needs TriagePublic

Description

See parent task -- I decided to use the SHOW_TOC flag in ParserOutput instead of HIDE_TOC in order to support consistent ParserOutput flag merge semantics. So we need to transition the "hidetoc" property to "showtoc" before we release MW 1.39 and let this escape to the wild...

Related Objects

Event Timeline

Change 804008 had a related patch set uploaded (by C. Scott Ananian; author: C. Scott Ananian):

[mediawiki/core@master] Use ParserOutputFlags::SHOW_TOC in ApiParse

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

Change 817909 had a related patch set uploaded (by C. Scott Ananian; author: C. Scott Ananian):

[mediawiki/core@master] ApiParse: transition 'hidetoc' to 'showtoc'

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

Change 817912 had a related patch set uploaded (by C. Scott Ananian; author: C. Scott Ananian):

[mediawiki/extensions/VisualEditor@master] ApiVisualEditorEdit: Transition from 'hidetoc' to 'showtoc' in API result

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

Change 818138 had a related patch set uploaded (by C. Scott Ananian; author: C. Scott Ananian):

[mediawiki/core@master] ApiParse: remove deprecated 'hidetoc' property

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

Change 817909 merged by jenkins-bot:

[mediawiki/core@master] ApiParse: transition 'hidetoc' to 'showtoc'

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

Change 817912 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] ApiVisualEditorEdit: Transition from 'hidetoc' to 'showtoc' in API result

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

Change 818138 merged by jenkins-bot:

[mediawiki/core@master] ApiParse: remove deprecated 'hidetoc' property

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

Change 804008 merged by jenkins-bot:

[mediawiki/core@master] Use ParserOutputFlags::SHOW_TOC in ApiParse

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

@cscott: Could you please answer the last comment? Thanks in advance!