On Mon, Mar 23, 2009 at 8:10 AM, <[email protected]> wrote: > Nice to have all the world's alphabets at one's fingertips right there > on the (www.mediawiki.org) edit page. Wow, IPA, Pīnyīn, they're all > there. I'm saving it for even when I'm not editing MediaWiki. > > (However, as it bloats the edit page up to 700% > $ wget -O x.html > http://www.mediawiki.org/w/index.php?title=WHATEVER\&action=edit > $ perl -nwle 'print unless /onclick/' x.html|wc -c - x.html|sed '$d' > 19748 - > 139708 x.html > there should also be some mechanism available for pages like these for > users to opt out, perhaps via Preferences?)
Yeah, CharInsert is a mess: <a onclick="insertTags('–','','');return false" href="#">–</a> <a onclick="insertTags('—','','');return false" href="#">—</a> · <a onclick="insertTags('“','”','');return false" href="#">“”</a> Why can't the HTML for this be something like <span class="insert">–</span> <span class="insert">—</span> · <span class="insert">“”</span> Or even just <span>–</span> <span>—</span> · <span>“”</span> with JavaScript parsing it to make the characters clickable? _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
