From cb3a240bfac514332f86ad160990d9e37be02695 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Thu, 7 Aug 2014 09:22:57 +0100 Subject: [PATCH] Add $query parameter to OutputPage::addBacklinkSubtitle Change-Id: If6145b5512657bbd9e165b0c614e5061615c294d --- includes/OutputPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 87a0809257..21103938ed 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1002,9 +1002,9 @@ class OutputPage extends ContextSource { * Add a subtitle containing a backlink to a page * * @param Title $title Title to link to + * @param array $query Array of additional parameters to include in the link */ - public function addBacklinkSubtitle( Title $title ) { - $query = array(); + public function addBacklinkSubtitle( Title $title, $query = array() ) { if ( $title->isRedirect() ) { $query['redirect'] = 'no'; } -- 2.20.1