Difference between revisions of "User:Sardisson/PrettyPrint.xsl Bugs and Features Scratchpad"

From Camino Wiki
Jump to navigation Jump to search
(bugs)
 
m (i didn't like how that sounded)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[http://hg.mozilla.org/users/alqahira_ardisson.org/misc/annotate/tip/PrettyPrint.xsl PrettyPrint.xsl] is an improved version of Zak Greant’s Colloquy transcript-to-MediaWiki XSL used for Camino’s [[Status Meetings]] transcripts.
+
[http://hg.mozilla.org/users/alqahira_ardisson.org/misc/annotate/tip/PrettyPrint.xsl PrettyPrint.xsl] is an improved version of Zak Greant’s Colloquy transcript-to-MediaWiki XSL and is used for Camino’s [[Status Meetings]] transcripts.
  
 
==Bugs==
 
==Bugs==
* Vertical bars ( | ) in nicks and message bodies need to be converted to <nowiki>&amp;#124;</nowiki> or wrapped in &lt;nowiki&gt; tags to prevent breaking MediaWiki table syntax and hiding data.
+
* Vertical bars ( | ) in nicks and message bodies need to be converted to <nowiki>&amp;#124;</nowiki> or wrapped in &lt;nowiki&gt; tags to prevent breaking MediaWiki table syntax and hiding data (strangely, this works fine in channel actions, e.g. being promoted).
 
* Force long nicks to wrap, or something, to prevent really wide left columns.
 
* Force long nicks to wrap, or something, to prevent really wide left columns.
 
  
 
==Enhancements==
 
==Enhancements==
 
* Transformations to replace "you" with the transcript owner's nick rely on hard-coded English text of Colloquy's default "event" messages, which is fragile and not suitable for international usage.
 
* Transformations to replace "you" with the transcript owner's nick rely on hard-coded English text of Colloquy's default "event" messages, which is fragile and not suitable for international usage.
 
* "You"-transformation messages aren't protected against zero-width spaces in links (though this doesn't seem to be a problem in practice).
 
* "You"-transformation messages aren't protected against zero-width spaces in links (though this doesn't seem to be a problem in practice).

Latest revision as of 14:42, 7 January 2011

PrettyPrint.xsl is an improved version of Zak Greant’s Colloquy transcript-to-MediaWiki XSL and is used for Camino’s Status Meetings transcripts.

Bugs

  • Vertical bars ( | ) in nicks and message bodies need to be converted to &#124; or wrapped in <nowiki> tags to prevent breaking MediaWiki table syntax and hiding data (strangely, this works fine in channel actions, e.g. being promoted).
  • Force long nicks to wrap, or something, to prevent really wide left columns.

Enhancements

  • Transformations to replace "you" with the transcript owner's nick rely on hard-coded English text of Colloquy's default "event" messages, which is fragile and not suitable for international usage.
  • "You"-transformation messages aren't protected against zero-width spaces in links (though this doesn't seem to be a problem in practice).