Deprecate Parser::areSubpagesAllowed() / Parser::maybeDoSubpageLink()
authorC. Scott Ananian <cscott@cscott.net>
Tue, 29 Oct 2019 07:32:44 +0000 (03:32 -0400)
committerJames D. Forrester <jforrester@wikimedia.org>
Wed, 30 Oct 2019 21:34:47 +0000 (14:34 -0700)
commit0974c515c10806f37d9e8e388740ad3a83bd8f5b
tree621ec4f0150e7d974ccb873a742912a18583c3a3
parente900893531e76fb8f80c1c9b5be459fd02862c3c
Deprecate Parser::areSubpagesAllowed() / Parser::maybeDoSubpageLink()

These are unused outside the Parser and are so short it's not worth
renaming them to make them private; just hard-deprecate the methods
and inline the implementation in the small # of places they appear.

Code search:
https://codesearch.wmflabs.org/deployed/?q=areSubpagesAllowed%7CmaybeDoSubpageLink&i=nope&files=&repos=

Bug: T236810
Change-Id: Ia06c65409a3158b083bcc59c9f6e347945b375c0
(cherry picked from commit dcae22c8fa46822148dc5fd87018acb385bf4c91)
RELEASE-NOTES-1.34
includes/parser/Parser.php