Page MenuHomePhabricator

Add page title to no-JS confirmation page
Closed, ResolvedPublic

Description

Currently, no-JS confirmation page has no page title. That causes an empty <h1> element to appear and tab title to display something like — Wikipedia.

I think you should add page title where rollback is happening to the title of confirmation page, like it is done for ?action=purge. Or something else at your discretion.

Event Timeline

To test this, you need $wgDefaultUserOptions['showrollbackconfirmation'] = 1; and disable your Javascript.

Change 743604 had a related patch set uploaded (by TheDJ; author: TheDJ):

[mediawiki/core@master] RollbackAction: fix missing pagetitle

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

TheDJ triaged this task as Low priority.

Change 743604 merged by jenkins-bot:

[mediawiki/core@master] RollbackAction: fix missing pagetitle

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

Change 745881 had a related patch set uploaded (by Legoktm; author: TheDJ):

[mediawiki/core@REL1_37] RollbackAction: fix missing pagetitle

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

Change 746030 had a related patch set uploaded (by Legoktm; author: TheDJ):

[mediawiki/core@REL1_36] RollbackAction: fix missing pagetitle

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

Change 746031 had a related patch set uploaded (by Legoktm; author: TheDJ):

[mediawiki/core@REL1_35] RollbackAction: fix missing pagetitle

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

Change 745881 merged by jenkins-bot:

[mediawiki/core@REL1_37] RollbackAction: fix missing pagetitle

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

Change 746031 merged by jenkins-bot:

[mediawiki/core@REL1_35] RollbackAction: fix missing pagetitle

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

Change 746030 merged by jenkins-bot:

[mediawiki/core@REL1_36] RollbackAction: fix missing pagetitle

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