Page MenuHomePhabricator

Ignore new lines inside [[ ... ]] and [ ... ]
Closed, DeclinedPublic


Author: gangleri


I assume that the *main* purpose for wikisyntax [[ ... ]] and [ ... ] construts
is to generate links.

User Joe would imediatly see that


is broken.

However there are situations where rendering depends on included templates and /
or parameters. Changing the template could break the links in other pages
*without* notification.

The example from the url is visible directly. However examples of nested
templates causing the described behaviour can be provided.

After the wikicode inside "[[" and "]]" / "[" and "]" is evaluated the new lines
should be filtered. After this additional step the normal procedure should be
continued (detection if local pages exist etc.

best regards reinhardt [[user:gangleri]]

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 9:11 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz5584.
bzimport added a subscriber: Unknown Object (MLST).

New line are not supported in wikilinks. We do not want to support them either.

bugs wrote:

(In reply to comment #1)

New line are not supported in wikilinks. We do not want to support them either.

I'm not sure that we should just assume we don't want to support them either. New lines aren't supported in wikilinks because MediaWiki doesn't automatically split text into multiple lines. Setting Bugzilla up to ignore wikilinks would definitely help with usability, so we shouldn't just ignore this request.

This bug is about MW, though, not Bugzilla. If you want bugzilla to ignore wikilinks, file a different bug.

bugs wrote:

Sorry, I confused this bug with bug 22340, which *is* about Bugzilla.