Page MenuHomePhabricator

Wikimark square bracket is this an expected working ?
Closed, ResolvedPublic

Description

Is square bracket mark up working correctly ?

Hi,

Well I am not sure but what I recolloect is wiki mark up [[square bracket]] used to still link to the article if I make a mistake of writing [[[square bracket]] like this. and after saving article it would show only exces bracket [ and rest of the link will work for square bracket article.

But the behaviour I spotted, while doing test edits is if I make the mistake of an writing additional [ then [[[square bracket]] after saving the article it will not provide [ + link to article but it will reproduce complete [[[square bracket]] text without parsing in the article.

Now this system will benefit if we had only one type of editing system of source editing.The user behaviour , which I spotted, with new visual editor and he comes across [[[square bracket]] this kind of text he is being shown a notice that there is wikimark up problem the new first time user will not understand notice also.

And the regular user but first time editing on visual editor, if happen to ignores the notice and still goes ahead to remove extra square bracket and goes on to save the text he and subsequent users editing the page will hit bug number 51462

So what I wish this issue is rather taken care of on mediawiki side and/or with the help of edit filer than that of fighting later at visual editor level.

Any way it is quite likely that developers are already woring on the ssue and this may be a duplicate bug too.But I wanted to report a user behaviour I spotted thanks and regards


Version: unspecified
Severity: normal
See Also:
T53462: VisualEditor: Strip whitespace from the start of paragraphs before sending to Parsoid

Attached:

Square_bracket_markup_not_working_correctly.png (136×635 px, 9 KB)

Details

Reference
bz51509

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:07 AM
bzimport set Reference to bz51509.
bzimport added a subscriber: Unknown Object (MLST).

I don't see a bug here - the parser picks up the first two [[ but then there is another [ so it seems like this is not an internal link.

For future reference please ask such support questions in https://www.mediawiki.org/wiki/Project:Support_desk . Thanks.

I think Mahitgar is complaining about the fact that typing "[[foo]]" in visual editor doesn't result in a link, and that the notice that VE pops up is not very noticeable and can be ignored. Anyway, yes, this is a known issue (bug 51462 as you noted) and I think VE folks are working on improving the alert system to dissuade VE users from entering wikimarkup there.

  • This bug has been marked as a duplicate of bug 51462 ***

ssastry: I see. Thanks for correcting me!