Page MenuHomePhabricator

Watching pages shows images
Closed, ResolvedPublic

Description

When i decide to watch an image it says "The page «" <HERE IT INCLUDES THE
IMAGE> "» has been added to your watchlist..." It should place a link to the image.
When unwatching, it works fine: "The page "<PAGE NAME>" has been removed from
your watch list.

This happens at the es: wikipedia. However, it doesn't fail at en: And they are
using the same version 1.6alpha. The MySQL changes but i don't think it really
matters...

It must be the translation, as ''addedwatchtext'' hasn't got : prepending the link.

So at last, (as i have been founding all of this when writing) i can't be sure
if the software should manage it to avoid that type of inclusion or if it is all
up to the translators... I will talk about it to see if someone fixes the
translation anyway.


Version: unspecified
Severity: trivial

Details

Reference
bz4949

Event Timeline

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

gangleri wrote:

Dear Platonides!

I would suggest that you change the message (also other messages from
[[es:special:Allmessages]]) yourself or contact the sysops. Please take care
also about the other Spanish sister projects.

Hope that
Bug 4966: $ variables should render as inline links if Media Wiki messages
supporting wiki syntax
would avoid such situations because nobody would need to care if a link must be
used inline or not.

best regards reinhardt [[user:gangleri]]

robchur wrote:

In neither Messages.php nor MessagesEs.php are there [[brackets]] around the $1
parameter in that message. I propose a cleanish solution would be to replace $1
with a direct link; this would avoid the problem recurring when a hack is added
for convenience.

robchur wrote:

Added [[:$1]] form in English and Spanish as precedent.