Page MenuHomePhabricator

Media: in url's
Closed, ResolvedPublic

Description

Author: gangleri

Description:
Hallo!

Sorry for this!

I assume that 'Media:' does not apear in standard links from the user interface.

However starting from [[user:Gangleri/tests/media]]
I noticed the red link at
[[special:Whatlinkshere/Media:Northern_Spotted_Owl.USFWS-thumb.jpg]]

issue 1:
The title shows
"Editing Media:Northern Spotted Owl.USFWS-thumb.jpg"
This should be
"Editing Image:Northern Spotted Owl.USFWS-thumb.jpg"

issue 2:
[[Image:Northern Spotted Owl.USFWS-thumb.jpg]] was on my watchlist but
at the link from the url the "Watch" tag was *still* shown.

best regards reinhardt [[user:gangleri]]


Version: unspecified
Severity: enhancement
URL: http://en.wikipedia.org/w/index.php?title=Media:Northern_Spotted_Owl.USFWS-thumb.jpg&action=edit

Details

Reference
bz5551

Event Timeline

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

gangleri wrote:

P.S. At the url the first tag is a red "Media page". It should be a blue "Image"

robchur wrote:

(In reply to comment #0)

issue 1:
The title shows
"Editing Media:Northern Spotted Owl.USFWS-thumb.jpg"
This should be
"Editing Image:Northern Spotted Owl.USFWS-thumb.jpg"

The title is correct insofar as it goes; the page being edited is called
"Media:Foo" and so it's shown up as expected. The bug is not in the title
handling here, but the fact that /blah/index.php?title=Media:Foo.png&action=edit
(for instance) produces an edit form at all. Either it should state that "this
is a special namespace, blah blah" or it should take the user to edit the
corresponding image page (if it exists) or else take them to upload the file.

issue 2:
[[Image:Northern Spotted Owl.USFWS-thumb.jpg]] was on my watchlist but
at the link from the url the "Watch" tag was *still* shown.

Like I said above; the page in question is called "Media:Foo" so it's not being
watched.

gangleri wrote:

(In reply to comment #2)

... The bug is not in the title
handling here, but the fact that /blah/index.php?title=Media:Foo.png&action=edit
(for instance) produces an edit form at all. ...

Agreed!

This particular issue (with the edit page/alt actions) seems to be resolved; the canonical image/file namespace is shown throughout the page.

Page view needs a slight adjustment to redirect to the canonical URL, which I'm splittout out as bug 16677.