Last modified: 2012-01-03 22:20:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T35404, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33404 - GeSHi does not color XML
GeSHi does not color XML
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
SyntaxHighlight (GeSHi) (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-28 20:13 UTC by Alan
Modified: 2012-01-03 22:20 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Alan 2011-12-28 20:13:58 UTC
Using a default MediaWiki skin and unmodified Geshi.css, the following is supposed to color XML code, but it only colors attributes.

<syntaxhighlight lang="xml">
<?xml version="1.0" encoding="utf-8"?>
<library>
  <book isbn="9780385182447">
    <title>Pet Sematary</title>
    <author>Stephen King</author>
  <book>
</library>
</syntaxhighlight>
Comment 1 Brion Vibber 2011-12-29 21:56:36 UTC
Trying that on mediawiki.org, I note that:

* element name, opening & closing delimiters are black, but bold
* attribute names are dark blue
* "=" sign is in green
* attribute value & quotes are red
* text content is black, plain (non-bold)

so everything appears to be highlighted in some way.

Does this match what you see?
Comment 2 Brion Vibber 2012-01-03 22:20:24 UTC
Resolving as 'worksforme' provisionally, based on above notes.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links