Page MenuHomePhabricator

Using Special:MyLanguage to access a page that includes a #redirect only shows a blank page
Open, Needs TriagePublic

Description

This may not be a bug and if not, this is a feature request.

As of now, when accessing a redirect via Special:MyLanguage, the page returned is completely blank (translatable or not).

For example:

  • Create page "Complicated title that should be shortened"
  • Create page "CTTSBS" with content: "#redirect [[Complicated title that should be shortened]]"
  • Visit index.php?title=Special:MyLanguage/CTTSBS

Actual result: Completely blank page is shown (no source code either)

Expected result: Complicated title that should be shortened page shown (in the correct language)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 10 2018, 10:17 PM
Aklapper changed the task status from Open to Stalled.Jun 10 2018, 10:25 PM

Hi @Danielhats, thanks for taking the time to report this and welcome to Wikimedia Phabricator!

Cannot reproduce:

Which exact MediaWiki version and which Translate version is this about?

Danielhats added a comment.EditedJun 10 2018, 10:26 PM

Sorry, I mistyped my repro steps. This is the link that doesn't work:

https://test.wikipedia.org/w/index.php?title=Special:MyLanguage/CTTSBS

Correct steps:

Create page "Complicated title that should be shortened"
Create page "CTTSBS" with content: "#redirect [[Complicated title that should be shortened]]"
Visit index.php?title=Special:MyLanguage/CTTSBS

I should note that it does not matter if the redirect is [[Special:MyLanguage/]] or just [[]]

This comment was removed by Danielhats.
Danielhats changed the task status from Stalled to Open.Jun 11 2018, 1:00 AM
Aklapper renamed this task from Special:MyLanguage does not work with redirects to Using Special:MyLanguage to access a page that includes a #redirect only shows a blank page.Jun 11 2018, 8:56 AM
Aklapper updated the task description. (Show Details)
Nikerabbit reopened this task as Open.Jun 11 2018, 10:23 AM
Nikerabbit added a subscriber: Nikerabbit.

Hmm, on a closer look I am not sure whether this is a duplicate. But I can't help but to think that these two issues are somehow related. Returning HTTP 200 with a blank page is very unusual failure case.

Vvjjkkii renamed this task from Using Special:MyLanguage to access a page that includes a #redirect only shows a blank page to yabaaaaaaa.Jul 1 2018, 1:04 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from yabaaaaaaa to Using Special:MyLanguage to access a page that includes a #redirect only shows a blank page.Jul 2 2018, 2:56 PM
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.