mediawiki-extensions-Scribunto/includes
Timo Tijhof 09f92105ed ScribuntoContentHandler: Remove redundant Title::getPageViewLanguage use
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
2023-12-01 22:35:41 +00:00
..
Engines Replace empty() with falsy check 2023-10-21 23:30:25 +02:00
Hooks Create HookRunner class and the hook handler interfaces 2023-06-19 21:39:33 +00:00
ApiScribuntoConsole.php Replace some moved Title class uses, now MediaWiki\Title\Title 2023-08-19 12:22:05 +00:00
CodeEditorHooks.php Use HookHandlers for CodeEditor hook 2023-08-15 13:50:13 +02:00
Hooks.php Assign UUIDs to Scribunto errors independent of page parse order 2023-10-13 15:23:22 +00:00
Scribunto.php Replace empty() with isset() 2023-10-21 20:38:47 +02:00
ScribuntoContent.php Start namespacing extension 2022-05-12 01:33:11 +00:00
ScribuntoContentHandler.php ScribuntoContentHandler: Remove redundant Title::getPageViewLanguage use 2023-12-01 22:35:41 +00:00
ScribuntoEngineBase.php Ensure that Scribunto exceptions have a page context set 2023-11-27 14:08:12 +00:00
ScribuntoException.php Ensure that Scribunto exceptions have a page context set 2023-11-27 14:08:12 +00:00
ScribuntoModuleBase.php Start namespacing extension 2022-05-12 01:33:11 +00:00