Last modified: 2013-04-22 16:16:31 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 T42154, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40154 - Display redirect status in MediaWiki's info action
Display redirect status in MediaWiki's info action
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Alex Monk
: design, easy
Depends on:
Blocks: 38450
  Show dependency treegraph
 
Reported: 2012-09-10 23:58 UTC by MZMcBride
Modified: 2013-04-22 16:16 UTC (History)
4 users (show)

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


Attachments

Description MZMcBride 2012-09-10 23:58:49 UTC
When you visit <https://en.wikipedia.org/wiki/Main_page?action=info>, it's not very simple to understand that this page is a redirect and that consequently the data presented pertains to the redirect page, it does not pertain to the target of the redirect. This isn't a huge problem, but it can be a bit disorienting, I think. (It'll be even less of a problem when this action has some UI exposure. Manually created URLs are cruel.)

Somehow, I think the redirect status of a page should be displayed in the info action's output. Maybe with another row in the table (Page is redirect: True), maybe with italics, I don't really know.

I suppose one could have something like "Page status" where it would read:

* redirect
* content page
* subpage?
* non-existent? [deleted?]

Not sure. This needs thought.
Comment 1 Alex Monk 2012-10-06 20:00:05 UTC
I'm not sure about subpage. A page could be redirect and sub at the same time, or content and sub at the same time. It's also not very useful as you should be able to see a subpage based on the page name.

As for non-existing pages, Gerrit change #22880 shows "The target page you have specified does not exist." instead of anything else.

I think we should have two separate rows:
"Redirects to another page" - "Yes"/"No"
"Counted as a content page" - "Yes"/"No"
Comment 2 MZMcBride 2012-10-06 20:11:33 UTC
(In reply to comment #1)
> I think we should have two separate rows:
> "Redirects to another page" - "Yes"/"No"
> "Counted as a content page" - "Yes"/"No"

Oh, heh. I didn't mean "content" in the "is this considered a content page by MediaWiki's weird standards?", I mostly just meant "not a redirect page". But sure, what you propose sounds great. I guess both would go under "Basic information"?
Comment 3 Alex Monk 2012-10-06 22:57:35 UTC
I'll do this but I'm going to wait for comment on boolean property messages in Gerrit change #27019 patch set 1 first.
Comment 4 Alex Monk 2012-10-07 23:28:50 UTC
Okay, so I've rethought this and decided to go with this:
If it redirects to somewhere else:
"Redirects to" - (link to page)

If it's counted as a content page:
"Counted as a content page" - "Yes"

Gerrit change #27125

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


Navigation
Links