Page MenuHomePhabricator

Fix abstract wikipedia integration redirects so that redirect=no works out of the box
Closed, ResolvedPublicBUG REPORT

Description

Description

In AW integration the redirects given by secondary titles are handled in AbstractPageRenderingHandler::onShowMissingArticle:

  • when a title exists as opted-in to an AW qid, if it's a secondary title, it redirects to the primary via awredirectedfrom
  • the primary page shows "(Redirected from <secondary title>)" default MW notice on top, with a link to go to the initial title with redirect=no
  • AbstractPageRenderingHandler::onShowMissingArticle should be able to render the page with the original title whenever it encounters redirect=no

Completion checklist

Event Timeline

Change #1318712 had a related patch set uploaded (by Genoveva Galarza; author: Genoveva Galarza):

[mediawiki/extensions/WikiLambda@master] Fix redirect=no in Abstract Wikipedia article with secondary title

https://gerrit.wikimedia.org/r/1318712

Change #1318712 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Fix redirect=no in Abstract Wikipedia article with secondary title

https://gerrit.wikimedia.org/r/1318712