dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
507f0c9
)
Merge "Add $query parameter to OutputPage::addBacklinkSubtitle"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Sat, 9 Aug 2014 11:29:08 +0000
(11:29 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Sat, 9 Aug 2014 11:29:08 +0000
(11:29 +0000)
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
87a0809
..
2110393
100644
(file)
--- 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';
}