Page MenuHomePhabricator

Heading colons and red / blue links - selfreference detection
Closed, ResolvedPublic

Description

Author: gangleri

Description:
Hallo!

Sorry for this!

[[:::{{FULLPAGENAME}}]] is still "selfrefering". However that link is shown as red.

In general: (today) [[:::foo]] is always shown red.

best regards reinhardt [[user:gangleri]]


Version: unspecified
Severity: major
URL: http://www.anubite.co.uk/mediawiki/head-rtl/index.php/user:Gangleri/bugzilla_report_/04045#colons

Details

Reference
bz5338

Event Timeline

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

gangleri wrote:

changed the url to a mirror

BTW:
[[::::::foo]]
generates a link
http://en.wikipedia.org/w/index.php?title=::::foo&action=edit
with a header
"Editing :::foo"
This is how it works. No complaints. No comments.

dbenbenn wrote:

Another note, if you try to save in

http://en.wikipedia.org/w/index.php?title=::CueCat&action=edit

you get an edit conflict.

gangleri wrote:

This link is not "stable":

Please go to
http://en.wikipedia.org/w/index.php?title=:::::::::CueCat&action=edit
and make more previews (with an empty content or whatever)

The *title* gets "shorter" and "shorter" ... and ends up at
http://en.wikipedia.org/w/index.php?title=CueCat .

dbenbenn wrote:

Now this is really weird. After the above note, I tried the following edit link
(with 3 colons, instead of 2):

http://en.wikipedia.org/w/index.php?title=:::CueCat&action=edit

It worked, and I actually managed to create a page. See

http://en.wikipedia.org/w/index.php?title=::CueCat&action=history

The page is listed as a redirect in

http://en.wikipedia.org/w/index.php?title=Special:Whatlinkshere&target=CueCat

Things are very bolloxed. Obviously the database is perfectly happy to store a
page starting with :, but the user interface gets deeply confused.

dbenbenn wrote:

So I moved [[CueCat]] to [[:CueCat]], by using ::CueCat as the destination in
Special:Movepage. It worked. But the result was that the page was lost (at
least, it was hard to find), and the admin move revert link _didn't work_! I
eventually managed to move the page back to CueCat, but it wasn't easy.

If I were Willy on Wheels, I'd be wetting the bed right now in glee. Imagine
the havoc he could cause by exploiting this flaw. Therefore, I'm pushing the
severity of this bug up to "major".

Such titles rejected as of r13960.