mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-14 19:30:57 +00:00
09f92105ed
When OutputPage/Skin call ParserOutput->getText(), this already takes care of the appropriate attributes. This redundancy is non-obvious however, because in this code $parserOutput is re-purposed in an odd way that makes it seem like it has to mark its own language, so as to separate it from the appended portions for validation error and syntax highlighted code. However, at least the way the code has been in recent years, this has always been a redundant wrapper since OutputPage/Skin already set the same attributes on the resulting container. With T341244 closed, this is more obvious now that it is located in ParserOutput::getText, but even before I worked on T341244, the Skin will have already been doing the same thing as this code was doing, setting the same redundant attributes. Bug: T350806 Change-Id: Idb8471eec5d5ac39b7a347c70f3a618eba18a57b |
||
---|---|---|
.. | ||
Engines | ||
Hooks | ||
ApiScribuntoConsole.php | ||
CodeEditorHooks.php | ||
Hooks.php | ||
Scribunto.php | ||
ScribuntoContent.php | ||
ScribuntoContentHandler.php | ||
ScribuntoEngineBase.php | ||
ScribuntoException.php | ||
ScribuntoModuleBase.php |