Page MenuHomePhabricator

parseroptions contain extension specific code
Closed, ResolvedPublic

Description

Author: physik

Description:
Bug 14202 intends to "Break Math/texvc out of MediaWiki core into extensions" but the MediaWiki core still contains some code that used by the math extension only.

i.e. ParserOptions.php and Language still contain math specific code (https://gerrit.wikimedia.org/r/#/c/87479/)

https://gerrit.wikimedia.org/r/#/c/104991/ demonstrates how the caching in the math extension can be done without math specific functions.


Version: 1.23.0
Severity: normal

Details

Reference
bz60234

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:07 AM
bzimport set Reference to bz60234.
bzimport added a subscriber: Unknown Object (MLST).

Change 108490 had a related patch set uploaded by Tim Landscheidt:
Remove math specific code from ParserOptions

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

Change 108490 merged by jenkins-bot:
Remove math specific code from ParserOptions

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

The removal of methods cause bug 60546, they have not been properly deprecated via the use of wfDeprecated() :(