Page MenuHomePhabricator

Linkify wrapped wikilinks
Closed, DeclinedPublic

Description

Current Bugzilla linkifier linkifies only bug 20000 but not bug
20000 (bug<newline>20000).


Version: unspecified
Severity: minor

Details

Reference
bz22340

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:47 PM
bzimport set Reference to bz22340.
bzimport added a subscriber: Unknown Object (MLST).

Same problem with [[w:Main Page]] vs. [[w:Main
Page]] ([[w:Main<newline>Page]]).

happy.melon.wiki wrote:

Why should it? The MW parser doesn't link when the syntax incorporates a linebreak, why should bugzilla?

WONTFIX.

a) Bugzilla isn't MediaWiki application.

b) Bug is not only about wikilink within brackets (by the way, unlike MediaWiki, Bugzilla linkifies bracktes along and unlike MediaWiki, Bugzilla wraps)

c) You can't influence word wrapping in Bugzilla, since it's automatical, thus you never know, if such combination will be wrapped inside or not. It's escpecially hard to predict it in longer text. I intentionally forced the wrap above, of course, from this reasons, to show what it doesn't do but should.

d) Any reason why should wrapped links (to bug or wiki) be treated differently?

e) Links are indisputable handy, why should we avoid them? Machines and programs should serve to humans and not vice versa.

f) If I recall correctly, it used to linkify wrapped bug links. I don't remember about wrapped wikilinks, though.

happy.melon.wiki wrote:

space space space space space space space space space space bug 1
space space space space space space space space space space space bug 1
space space space space space space space space space space space space bug 1
space space space space space space space space space space space space space bug 1
space space space space space space space space space space space space space space bug 1

happy.melon.wiki wrote:

Not having a preview is certainly a legitimate issue with bugzilla :-D

space space space space space space space space space space space spacee bug 1
space space space space space space space space space space space spaceee bug 1
space space space space space space space space space space space spaceeee bug 1
space space space space space space space space space space space spaceeeee bug 1
space space space space space space space space space space space spaceeeeee bug 1

conrad.irwin wrote:

doesn't bugzilla have a bugzilla we can file this in ?

happy.melon.wiki wrote:

I agree to the extent that linewraps enforced by bugzilla should not affect linkification. However, that's an upstream problem, not one with WMF's installation.

AFAIK it's not Bugzilla issue, it's custom Wikimedia add-on. IIRC, there's source for that somewhere in SVN, but also IIRC, that source isn't the last one used on live server. I'll try to find it.

I'm wrong ;-) but so far I remember there's something like that used in our instance of Bugzilla too.

conrad.irwin wrote:

https://bugzilla.mozilla.org/show_bug.cgi?id=105865 - looks like this is as much of a problem as our PST inside gallery bug :)

Tweaked summary.

Short description: we want to linkify wrapped wikilinks (which is maintained at http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/bugzilla-3.4.4/). Linking wrapped bug numbers is an upstream bug, linked in comment 11.

RSYQFIOJGWZA wrote:

*** Bug 27384 has been marked as a duplicate of this bug. ***

RSYQFIOJGWZA wrote:

(In reply to comment #11)

https://bugzilla.mozilla.org/show_bug.cgi?id=105865

I'm trying to move that upstream bug along.

Raising severity since this is a bug

pdhanda wrote:

Bugmeister is the new Bugzilla maintainer and default assignee.

Thehelpfulonewiki wrote:

Resetting to default per bug 37789

teastcases in comment 0 and comment 1 both work nowadays. Closing.