User Details
- User Since
- Dec 4 2023, 3:14 PM (123 w, 4 d)
- Availability
- Available
- LDAP User
- Unknown
- MediaWiki User
- YvarRavy [ Global Accounts ]
Yesterday
@cscott it seems like a piece of logic can be added inside WikitextContentHandler.php to ensure the problem doesn't happen aswell but im not sure if this is the best place maybe you have an opion about it? right now i added the following lines inside the function fillParserOutput inside the if statement at line 363
Current:
363 if ( $parserOptions->getUseParsoid() ) {
364 $parser = $this->parsoidParserFactory->create();
365 // Parsoid renders the #REDIRECT magic word as an invisible
366 // <link> tag and doesn't require it to be stripped.
367 // T349087: ...and in fact, RESTBase relies on getting
368 // redirect information from this <link> tag, so it needs
369 // to be present.
370 // Further, Parsoid can accept a Content in place of a string.
371 $text = $content;
372 $extraArgs = [ $cpoParams->getPreviousOutput() ];
373 } else {new change(line 373 to 374):
363 if ( $parserOptions->getUseParsoid() ) {
364 $parser = $this->parsoidParserFactory->create();
365 // Parsoid renders the #REDIRECT magic word as an invisible
366 // <link> tag and doesn't require it to be stripped.
367 // T349087: ...and in fact, RESTBase relies on getting
368 // redirect information from this <link> tag, so it needs
369 // to be present.
370 // Further, Parsoid can accept a Content in place of a string.
371 $text = $content;
372 $extraArgs = [ $cpoParams->getPreviousOutput() ];
373 $parser->setOptions( $parserOptions);
374 $parser->getRevisionTimestamp();
375 } else {Fri, Mar 27
is somebody able to review this?
Mar 13 2026
i'm not sure which tags should've been added so please tag the correct one if there is a better one
Feb 13 2026
i'm not sure which tags are correct for this task. so far i've only applied VisualEditor.
Jan 20 2026
Maybe adding the code inside the foreach isn't the optimal place. if we are looking at the function below
Jan 14 2026
Sep 19 2025
Jun 23 2025
May 28 2025
i've created a gerrit review to fix this issue https://gerrit.wikimedia.org/r/c/mediawiki/extensions/LinkTarget/+/1151666
Jan 8 2024
we are still encountering this problem in MW 1.39 is there any updates on this problem?
