https://bugs.kde.org/show_bug.cgi?id=509212

            Bug ID: 509212
           Summary: wiki https://userbase.kde.org -- markup like
                    "{{Input|<syntaxhighlight lang="bash">" results in
                    garbled webpage content >>
                    '"`UNIQ--syntaxhighlight-00000017-QINU`"' <<
    Classification: Websites
           Product: KDE MediaWiki
      Version First unspecified
       Reported In:
          Platform: unspecified
                OS: All
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 184776
  --> https://bugs.kde.org/attachment.cgi?id=184776&action=edit
screenshot

***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
"""
The following is a nonsensical example of a Konversation script that roughly
follows that pattern.


'"`UNIQ--syntaxhighlight-00000001-QINU`"'
"""



page source
https://userbase.kde.org/index.php?title=Konversation/Scripts/Scripting_guide&action=edit
""
<!--T:10-->
The following is a nonsensical example of a '''Konversation''' script that
roughly follows that pattern.


<!--T:11-->
<!--}}-->{{Input|<syntaxhighlight lang="python">
#!/usr/bin/env python
# mood - a Konversation script to display a witty remark based on the user's
mood.
"""

STEPS TO REPRODUCE
browse to https://userbase.kde.org/Konversation/Scripts/Scripting_guide tested
with FireFox

OBSERVED RESULT
garbled result consisting of only
>>'"`UNIQ--syntaxhighlight-00000001-QINU`"'<<

EXPECTED RESULT
https://userbase.kde.org/index.php?title=Konversation/Scripts/Scripting_guide&oldid=197993#Case_1:_Display_Information_into_the_Current_Chat_Window
>>#!/usr/bin/env python
# yakrun - Konversation script that runs the command supplied by the user in
Yakuake and toggles Yakuake's state
# Usage: /exec yakrun [command]

import sys
import subprocess

errorCommand  = ['qdbus', 'org.kde.konversation', '/irc', 'error']
toggleCommand = ['qdbus', 'org.kde.yakuake', '/yakuake/window',
'toggleWindowState']
runCommand    = ['qdbus', 'org.kde.yakuake', '/yakuake/sessions', 'runCommand']
...<<


ADDITIONAL INFORMATION
"bisect":
https://userbase.kde.org/index.php?title=Konversation%2FScripts%2FScripting_guide&diff=198374&oldid=197993
I suspect an update of the markup processing gears, possibly particularly
syntax highlighting? The bug is so glaring, it has to be new.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to