https://bugzilla.wikimedia.org/show_bug.cgi?id=49686

--- Comment #28 from Chris McKenna <[email protected]> ---
There are at least two separate requests here. They are related in that they
both want to change the current behaviour of the two character sequence "[[" in
VisualEditor but they want to change it in incompatible ways. 

Kipod is asking for the key sequence [[ to be treated the same as the key
sequence ctrl+k. It is not asking for, nor would it require any changes to
rendering. For the purposes of this comment I'll refer to this as "Kipod's
request"

MZMcBride is commenting the original request which was for the sequence
[[link]] to be parsed (either at save or on the fly) as if it were a link added
using the link inspector. For the purposes of this comment I'll refer to this
as the "original request".

The two are not the same and the past few posts have seen people talking past
each other. 

I can see the merits of the original request but I can also see where the VE
team are coming from. The desire stems from people wanting the best of both
worlds - they want to be able to have the structure and layout of the visual
editor with the low-level control they are used to in the source editor all in
one place. Long term something like this really ought to be possible, but I
don't think this is the way. Rather there should be some way for the visual
editor to include non-visual blobs that it sends to the parser as is without
doing anything to it (other than word wrapping in the editing window); and some
way for the editor to mark the start and end of such blobs. This is not what
the original request is asking for though.

Kipod's request is something that imho should not be included as a default, as
while [[word]] or [[short phrase]] are unlikely to be anything other than
links, [[ on it's own is far more ambiguous and there is more scope for the
desired action to be something other than inputting a link. Rather there should
either be a built-in method for users to define their own shortcuts or a simple
way (an API?) for a gadget that allows users to reliably define their own
shortcuts to have the same effect without needing to be rewritten every time VE
or some other mediawiki component is updated. 

I recommend that if anyone wants further discussion on either request that the
bugs are unmerged.

-- 
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

Reply via email to