https://bugzilla.wikimedia.org/show_bug.cgi?id=58455

       Web browser: ---
            Bug ID: 58455
           Summary: Flow: & in wikilink triggers exception, Flow doesn't
                    render
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: blocker
          Priority: Unprioritized
         Component: Flow
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

[[Bad&Link]] in wikitext causes exception and Flow fails rendering.

To reproduce, put "4[[Bad&Link]] here" in a reply and click [Preview]

"internal_api_error_MWException"

info
    "Exception Caught: "

*
    " #0 /srv/mediawiki/extensions/Flow/includes/Templating.php(435):
Flow\ParsoidUtils::createDOM('<a href="/w/ind...') #1
/srv/mediawiki/extensions/Flow/includes/Templating.php(362):
Flow\Templating->applyRedlinks('<p data-parsoid...') #2
/srv/mediawiki/extensions/Flow/templates/post.html.php(87):
Flow\Templating->getContent(Object(Flow\Model\PostRevision), 'html',
Object(User)) #3 /srv/mediawiki/extensions/Flow/includes/Templating.php(96):
include('/srv/mediawiki/...') #4
/srv/mediawiki/extensions/Flow/includes/Templating.php(70):
Flow\Templating->_render('/srv/mediawiki/...', Array) #5
/srv/mediawiki/extensions/Flow/includes/Templating.php(139):
Flow\Templating->render('flow:post.html....', Array, true) #6
/srv/mediawiki/extensions/Flow/includes/Block/Topic.php(323):
Flow\Templating->renderPost(Object(Flow\Model\PostRevision),
Object(Flow\Block\TopicBlock)) #7
/srv/mediawiki/extensions/Flow/includes/api/ApiFlow.php(109):
Flow\Block\{closure}(Object(Flow\Templating)) #8
/srv/mediawiki/extensions/Flow/includes/api/ApiFlow.php(70):
ApiFlow->processCommitResult(Array, true) #9
/srv/mediawiki/includes/api/ApiMain.php(829): ApiFlow->execute() #10
/srv/mediawiki/includes/api/ApiMain.php(380): ApiMain->executeAction() #11
/srv/mediawiki/includes/api/ApiMain.php(351):
ApiMain->executeActionWithErrorHandling() #12 /srv/mediawiki/api.php(73):
ApiMain->execute()

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to