Last modified: 2014-01-24 18:21:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T60647, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58647 - Empty self-link with empty fragment [[#|...]] should not link to the main page
Empty self-link with empty fragment [[#|...]] should not link to the main page
Status: RESOLVED DUPLICATE of bug 17006
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.23.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-18 15:30 UTC by Bartosz Dziewoński
Modified: 2014-01-24 18:21 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Bartosz Dziewoński 2013-12-18 15:30:00 UTC
Empty self-link with empty fragment [[#|...]] should not link to the main page – but it does. This is because Title considers an empty fragment and no fragment to be the same thing, and an empty Title means main page.

https://gerrit.wikimedia.org/r/#/c/98119/ adds a test for the current behavior.
Comment 1 Tyler Romeo 2014-01-24 18:13:28 UTC
Wouldn't the proper fix for this to fix the problem mentioned: make an empty fragment and no fragment different things?
Comment 2 Bartosz Dziewoński 2014-01-24 18:14:13 UTC
Yes. I'm not doing that.
Comment 3 Tyler Romeo 2014-01-24 18:15:28 UTC
(In reply to comment #2)
> Yes. I'm not doing that.

Is there a reason you're not doing that? :/
Comment 4 MZMcBride 2014-01-24 18:17:35 UTC
Dupe of bug 17006?
Comment 5 Bartosz Dziewoński 2014-01-24 18:21:43 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Yes. I'm not doing that.
> 
> Is there a reason you're not doing that? :/

It looked nasty and I have better things to do. :)
Comment 6 Bartosz Dziewoński 2014-01-24 18:21:53 UTC

*** This bug has been marked as a duplicate of bug 17006 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links