https://bugzilla.wikimedia.org/show_bug.cgi?id=19302
Web browser: Mozilla Firefox 3.0.x Summary: Definition syntax cannot be escaped and is potentially unintended. Product: MediaWiki Version: 1.14.0 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: Normal Component: Page rendering AssignedTo: wikibugs-l@lists.wikimedia.org ReportedBy: jesdisci...@gmail.com I was just writing a template and was surprised when syntax similar to `{{#ifeq:{{{param|}}}|value||; text here}}. More text here.' was emboldened and given its own paragraph. I was separating an optional statement off from the main sentence. Having never used definitions before and therefore clueless why this happened, I took a guess and removd the semicolon. Aha! After Googling a bit, I found what the semicolon was for through the bug about the inappropriate <dl/> indentation caused by the colon. Parser functions like this apparently begin new lines (or at least new matches) implicitly for every pipe, and thus I was seeing behavior I didn't explicitly ask for. Workaround: Use the HTML entity ; (: for colon) instead. I suggest that: * the "beginning of line" behavior of parser functions (and presumably templates) be rewritten so only an explicit newline begins a new match; and/or * escape sequences be designed for the semicolon and colon at the match start, like maybe ;; and :; (additional semicolon for both). -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l