Last modified: 2014-11-20 04:55:38 UTC
In https://fr.wiktionary.org/wiki/Module:FranceTerme, all the text after the first opening long bracket "[[" is grey, indicating it's a comment, up to the second closing long bracket, instead of the first. However, the module works fine and with CodeEditor, while editing the page, syntax highlighting is fine. Any idea to fix this?
Needs filing/fixing upstream at https://github.com/GeSHi/geshi-1.0/issues
Any reason.. --[=[ Start of hidden comments . . . End of hidden comments ]=] ... provides the desired detection of the closing of hidden comments long brackets? Could there have been a change in syntax usage since last release was updated or something? Note: Also confirmed in https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#Module_syntax_highlighting_broken_for_hidden_comments .
(In reply to Sam Reed (reedy) from comment #1) > Needs filing/fixing upstream at https://github.com/GeSHi/geshi-1.0/issues https://github.com/GeSHi/geshi-1.0/issues/32
(In reply to George Orwell III from comment #2) > Any reason.. > > --[=[ > Start of hidden comments > . . . > End of hidden comments > ]=] > > ... provides the desired detection of the closing of hidden comments long > brackets? Could there have been a change in syntax usage since last release > was updated or something? If you have two such blocks in a single module, it shows the same issue. Basically, instead of finding the *first* close-comment after the open-comment, it finds the *last* one.
Change 173104 had a related patch set uploaded by TheDJ: Fix Lua comment blocks and string blocks. https://gerrit.wikimedia.org/r/173104
Change 173104 merged by jenkins-bot: Fix Lua comment blocks and string blocks. https://gerrit.wikimedia.org/r/173104
This should be deployed to WMF wikis with 1.25wmf9, see https://www.mediawiki.org/wiki/MediaWiki_1.25/Roadmap for the schedule.
Verified - working again! .... after a cache refresh or two on the test-bed that is. see: https://test2.wikipedia.org/s/p8u