Page MenuHomePhabricator

[[:Media:foo]] and [[Media:foo]] renders differenty in &action=history
Closed, ResolvedPublic

Description

Author: gangleri

Description:
Hallo!

For *exiting* images as [[Image:Northern Spotted Owl.USFWS-thumb.jpg]]
[[:Media:Northern Spotted Owl.USFWS-thumb.jpg]] is a *red* link in "history
summary" but a *blue* link in normal pages.

[[:Media:foo]] and [[Media:foo]] does *not* show up as "plainlinks" if the image
/ file *exists* but shows up as "plainlinks" if the image / file is non existent.

Regards Reinhardt [[:user:gangleri]] - inline link ;-)


Version: unspecified
Severity: trivial
URL: http://en.wikipedia.org/w/index.php?title=User:Gangleri/tests/media&action=history

Details

Reference
bz2785

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:40 PM
bzimport set Reference to bz2785.

robchur wrote:

Proposed patch

Tweaks the regular expression in Linker::formatComment() to accept an optional
colon at the start of link matches. Seems not to interfere with existing
behaviour, and fixes the general case behaviour here, but I've got a bit more
testing to do.

Attached:

robchur wrote:

Applied on r18428.