https://bugzilla.wikimedia.org/show_bug.cgi?id=27694
MZMcBride <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Component|General/Unknown |Cite Version|1.17 |unspecified Product|MediaWiki |MediaWiki extensions --- Comment #2 from MZMcBride <[email protected]> 2012-06-30 01:04:41 UTC --- (In reply to comment #0) > "In HTML4 mode, wikitext characters get escaped in the anchor name, e.g. <ref > name="foo [[bar]]" /> generates wikitext like <sup > id="cite_ref-foo_.5B.5Bbar.5D.5D_0-0" > class="reference">[[#cite_note-foo_.5B.5Bbar.5D.5D-0|[1]]]</sup>; note the > brackets have changed to ".5B" and ".5D". In HTML5 mode, these characters > aren't escaped, generating <sup id="cite_ref-foo_[[bar]]_0-0" > class="reference">[[#cite_note-foo_[[bar]]-0|[1]]]</sup> instead, with > brackets > inside the attempted wikilink. Since brackets cannot actually appear inside a > wikilink, boom. Anomieā" Is this still an issue? According to <https://noc.wikimedia.org/conf/InitialiseSettings.php.txt>: --- 'wgHtml5' => array( 'default' => false, 'mediawikiwiki' => true, 'testwiki' => true, 'test2wiki' => true, ), --- Using the following wikitext on test.wikipedia.org (testwiki) at <https://test.wikipedia.org/wiki/Cite_using_HTML5>: --- Hello there.<ref name="foo [[bar]]">author</ref><ref name="foo [[bar]]" /> == References == <references /> --- Generated HTML looks like this: --- <p>Hello there.<sup id="cite_ref-foo_.5B.5Bbar.5D.5D_0-0" class="reference"><a href="#cite_note-foo_.5B.5Bbar.5D.5D-0">1</a><span class="reference_comma">,</span></sup><sup id="cite_ref-foo_.5B.5Bbar.5D.5D_0-1" class="reference"><a href="#cite_note-foo_.5B.5Bbar.5D.5D-0">1</a><span class="reference_comma">,</span></sup></p> <h2> <span class="mw-headline" id="References">References</span></h2> <ol class="references"> <li id="cite_note-foo_.5B.5Bbar.5D.5D-0"><span class="mw-cite-backlink">^ <span class="citerefmanylink"><a href="#cite_ref-foo_.5B.5Bbar.5D.5D_0-0"><sup><i><b>a</b></i></sup></a></span> <span class="citerefmanylink"><a href="#cite_ref-foo_.5B.5Bbar.5D.5D_0-1"><sup><i><b>b</b></i></sup></a></span></span> <span class="reference-text">author</span></li> </ol> --- This bug appears to be fixed. Can someone confirm? -- 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 [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
