From 4e40ea72dbbb0ee5d2d1586ab411ab928e4570e1 Mon Sep 17 00:00:00 2001 From: Florian Date: Sun, 5 Jun 2016 00:48:38 +0200 Subject: [PATCH] Add Backlinks to Special:(Change|Remove)Credentials If an user wants to change or remove more then one set of credentials, he has to know that he has to remove the parameters from the special pages in the url bar of the browser or has to click through the workflow, which he used to view the special page for the first change/remove. This change adds a backlink to Special:(Change|Remove)Credentials when there was a success of the change or remove of a credential. This link helps the user to find back to the special page to change or remove a second set of credentials, if he wants. Change-Id: Icd459518b258b7e717ca113829add6597eb6e7b8 --- includes/specials/SpecialChangeCredentials.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/specials/SpecialChangeCredentials.php b/includes/specials/SpecialChangeCredentials.php index f22d5f3c33..b81ca3d50f 100644 --- a/includes/specials/SpecialChangeCredentials.php +++ b/includes/specials/SpecialChangeCredentials.php @@ -87,6 +87,8 @@ class SpecialChangeCredentials extends AuthManagerSpecialPage { return; } + $this->getOutput()->addBacklinkSubtitle( $this->getPageTitle() ); + $status = $this->trySubmit(); if ( $status === false || !$status->isOK() ) { -- 2.20.1