HomePhabricator

Deprecate Parser::fetchTemplate() in favor of ::fetchTemplateAndTitle()

Description

Deprecate Parser::fetchTemplate() in favor of ::fetchTemplateAndTitle()

This reduces the API surface of Parser, in preparation for further
refactoring of the Parser class. Parser::fetchTemplateAndTitle() was
introduced in MW 1.6.0 in 2007, so is always appropriate as a replacement.

Code search:
https://codesearch.wmflabs.org/search/?q=fetchTemplate%5C%28&i=nope&files=&repos=

Depends-On: I2865b12b55aa1412a861fb8db10239018a1d1580
Change-Id: I6f7c3e31ff394781fbaaef267a2772de05f85bf2

Details

Provenance
cscottAuthored on Jan 25 2020, 3:46 PM
Parents
rMW6d7c165a2221: Merge "Hard deprecate Parser::setFunctionTagHook()"
Branches
Unknown
Tags
Unknown
ChangeId
I6f7c3e31ff394781fbaaef267a2772de05f85bf2