https://bugzilla.wikimedia.org/show_bug.cgi?id=33104
James Forrester <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Unable to create |Parsoid: Unable to create |[[a]]-style link using |[[a]]-style link |VisualEditor extension | --- Comment #12 from James Forrester <[email protected]> 2012-06-26 03:21:51 UTC --- The (In reply to comment #11) > (In reply to comment #10) > > I assume you mean [[page title]] over [[Page_title|page title]]? Obviously > > this > > is wiki-dependent (whether $wgCapitalLinks is true or not). > > Given that underscores and spaces are identical to MediaWiki, I'm not sure > what > distinction you're making here. The design brief for the VisualEditor/Parsoid combo is to be as close as possible to the same as real human wikitext - which means, amongst other things, writing links like a human would (and never ever changing one written by an actual human). > > Also, should things like [[X (foo)|]] auto-conversion on save to [[X > > (foo)|X]] > > be supported? This won't be used by VisualEditor, but might by something > > else > > and if Parsoid is to become feature-compatible... > > As far as I'm aware, the current thinking on the pipe trick is that it should > ideally not be doing transformations on the wikitext itself and that doing so > (the current behavior) is a bug, not a feature. That is, when a user enters > "[[Foo (bar)|]]", the current MediaWiki parser will change this to "[[Foo > (bar)|Foo]]" on page save and render the result as "Foo". Thinking by whom? It's a widely-used long-term feature. If people believe they can switch it off as a 'bug fix', I predict that users will be unhappy. Burning our social capital like this seems... ill-prioritised. > In an ideal world > (according to some other bug I don't care to look up), the wikitext would stay > "[[Foo (bar)|]]" and would render as "Foo" (as though it had gone through the > magical transformation). Didn't come up in a search for me, unless I mis-read the results. Would value the actual bug ref. if you can find it! :-) > That said, the pipe trick is annoying (and somewhat expensive) to support and > given that the broader goal is to move away from wikitext altogether, I'm not > sure the pipe trick is something worth preserving going forward. But this is > all outside the scope of this bug. I'd argue that it's not outwith the scope of a bug in the Parsoid talking about this behaviour, which is what this is. :-) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
