https://bugzilla.wikimedia.org/show_bug.cgi?id=73073
Bug ID: 73073
Summary: GraphViz and MscGen Graphics produce errors and do not
render properly when page saved
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: major
Priority: Unprioritized
Component: Other
Assignee: [email protected]
Reporter: [email protected]
Web browser: Firefox
Mobile Platform: ---
Intention:
Creating a graphic with the GraphViz extension. Visualization.
Steps to Reproduce:
1. c/p graphviz graph into mediawiki site
<mscgen caption='Message sequence chart for example no. 4'>
msc {
a,b,c;
a->b [label="ab()"];
b->c [label="bc(TRUE)"];
c=>c [label="process(1)"];
c=>c [label="process(2)"];
...;
c=>c [label="process(n)"];
c=>c [label="process(END)"];
a<<=c [label="callback()"];
--- [label="If more to run", ID="*"];
a->a [label="next()"];
a->c [label="ac()"];
b<-c [label="cb(TRUE)"];
b->b [label="stalled(...)"];
a<-b [label="ab() = FALSE"];
}
</mscgen>
2. then save the page
3.
Actual Results:
[b0268cc7] /w/rurakprod/index.php?title=TestSeite4&action=submit Exception from
line 77 of /var/www/w/rurakprod/includes/parser/StripState.php: Invalid marker:
UNIQce56658f4d73e6e7-mscgen-00000000-QINU
Backtrace:
#0 /var/www/w/rurakprod/includes/parser/StripState.php(66):
StripState->addItem(string, string, string)
#1 /var/www/w/rurakprod/includes/parser/Parser.php(4062):
StripState->addGeneral(string, string)
#2 /var/www/w/rurakprod/includes/parser/Preprocessor_DOM.php(1178):
Parser->extensionSubstitution(array, PPFrame_DOM)
#3 /var/www/w/rurakprod/includes/parser/Parser.php(3153):
PPFrame_DOM->expand(PPNode_DOM, integer)
#4 /var/www/w/rurakprod/includes/parser/Parser.php(4640):
Parser->replaceVariables(string)
#5 /var/www/w/rurakprod/includes/parser/Parser.php(4597):
Parser->pstPass2(string, User)
#6 [internal function]: Parser->preSaveTransform(string, Title, User,
ParserOptions)
#7 /var/www/w/rurakprod/includes/StubObject.php(99):
call_user_func_array(array, array)
#8 /var/www/w/rurakprod/includes/StubObject.php(119): StubObject->_call(string,
array)
#9 /var/www/w/rurakprod/includes/content/WikitextContent.php(145):
StubObject->__call(string, array)
#10 /var/www/w/rurakprod/includes/content/WikitextContent.php(145):
StubObject->preSaveTransform(string, Title, User, ParserOptions)
#11 /var/www/w/rurakprod/includes/WikiPage.php(2087):
WikitextContent->preSaveTransform(Title, User, ParserOptions)
#12 /var/www/w/rurakprod/includes/WikiPage.php(1761):
WikiPage->prepareContentForEdit(WikitextContent, NULL, User, string)
#13 [internal function]: WikiPage->doEditContent(WikitextContent, string,
integer, boolean, NULL, string)
#14 /var/www/w/rurakprod/includes/Article.php(2024):
call_user_func_array(array, array)
#15 /var/www/w/rurakprod/includes/EditPage.php(1812): Article->__call(string,
array)
#16 /var/www/w/rurakprod/includes/EditPage.php(1812):
Article->doEditContent(WikitextContent, string, integer, boolean, NULL, string)
#17 /var/www/w/rurakprod/includes/EditPage.php(1237):
EditPage->internalAttemptSave(array, boolean)
#18 /var/www/w/rurakprod/includes/EditPage.php(427): EditPage->attemptSave()
#19 /var/www/w/rurakprod/includes/actions/EditAction.php(50): EditPage->edit()
#20 /var/www/w/rurakprod/includes/actions/EditAction.php(74):
EditAction->show()
#21 /var/www/w/rurakprod/includes/Wiki.php(428): SubmitAction->show()
#22 /var/www/w/rurakprod/includes/Wiki.php(292):
MediaWiki->performAction(Article, Title)
#23 /var/www/w/rurakprod/includes/Wiki.php(588): MediaWiki->performRequest()
#24 /var/www/w/rurakprod/includes/Wiki.php(447): MediaWiki->main()
#25 /var/www/w/rurakprod/index.php(46): MediaWiki->run()
#26 {main}
Reproducible: Always
--
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