-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Infoboxes do not render properly under Parsoid #129
Comments
I added a debug print to diff --git a/includes/controllers/PortableInfoboxParserTagController.php b/includes/controllers/PortableInfoboxParserTagController.php
index dbf54b7..ec19dc7 100644
--- a/includes/controllers/PortableInfoboxParserTagController.php
+++ b/includes/controllers/PortableInfoboxParserTagController.php
@@ -121,6 +121,7 @@ class PortableInfoboxParserTagController {
* @return string|array
*/
public function renderInfobox( $text, $params, $parser, $frame ) {
+ var_dump(get_class($frame));
$markup = '<' . self::PARSER_TAG_NAME . '>' . $text . '</' . self::PARSER_TAG_NAME . '>';
$parserOutput = $parser->getOutput(); When I go to a page with an infobox using
So it seems like the legacy parser passes |
I give up debugging from here, this is way too deep into MediaWiki internals than I can handle. |
It's these two tickets: |
https://publictestwiki.com/wiki/User:BlankEclair/Sandbox/Egg:


https://rainverse.wiki/wiki/Rainbow:Dragon_Rain_13:_Hands:


The text was updated successfully, but these errors were encountered: