Last modified: 2009-01-06 15:38:41 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 T16663, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14663 - Tabs linking to a nonexisting talk (or content page) do not use redlink=1
Tabs linking to a nonexisting talk (or content page) do not use redlink=1
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Normal minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Talk:Foo...
: easy, patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-27 16:23 UTC by Mormegil
Modified: 2009-01-06 15:38 UTC (History)
2 users (show)

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


Attachments
A simple fix for the bug (428 bytes, patch)
2008-06-27 16:23 UTC, Mormegil
Details

Description Mormegil 2008-06-27 16:23:03 UTC
If you view a page that does not have its talkpage, or a talkpage that does not have the corresponding content page, the content-action tabs [article]/[discussion] are red (which is correct), but do not use the redlink=1 flag.

That means that e.g. on English Wikipedia, an anonymous user clicking on a red [article] tab is shown the “Unauthorized” page instead of a plain “Wikipedia does not have an article with this exact name.” (as he would if clicking on a red link in an article contents).
Comment 1 Mormegil 2008-06-27 16:23:39 UTC
Created attachment 5026 [details]
A simple fix for the bug
Comment 2 SQL 2008-07-06 18:04:41 UTC
action=edit and redlink=1 on the same URL will still show the edit form:
http://en.wikipedia.org/w/index.php?title=User:SQL/sdfjdfklj&action=edit&redlink=1

redlink=1 by itself, shows the page you want.
Comment 3 Mormegil 2008-07-06 20:14:46 UTC
(In reply to comment #2)
> action=edit and redlink=1 on the same URL will still show the edit form:
> http://en.wikipedia.org/w/index.php?title=User:SQL/sdfjdfklj&action=edit&redlink=1
> 
> redlink=1 by itself, shows the page you want.

No, it will not. Using redlink=1 by itself does nothing, its only use is when you are trying to edit page you do not have edit permissions to (like being logged out and clicking on a red link on English Wikipedia).

You probably tested the behavior while logged in. Log out and try again.
Comment 4 Aaron Schulz 2009-01-06 15:38:41 UTC
Done in r45447

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


Navigation
Links