dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05d004f
)
Fill in getDefaultQuery() for WLH/x links to carry title over in nav links
author
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 26 May 2008 23:56:40 +0000
(23:56 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 26 May 2008 23:56:40 +0000
(23:56 +0000)
includes/SpecialWhatlinkshere.php
patch
|
blob
|
history
diff --git
a/includes/SpecialWhatlinkshere.php
b/includes/SpecialWhatlinkshere.php
index
035b73c
..
b7eec6e
100644
(file)
--- a/
includes/SpecialWhatlinkshere.php
+++ b/
includes/SpecialWhatlinkshere.php
@@
-271,6
+271,12
@@
class WhatLinksHerePager extends AlphabeticPager {
$this->level = intval($level); // recursion depth
}
+ function getDefaultQuery() {
+ $query = parent::getDefaultQuery();
+ $query['target'] = $this->target->getPrefixedDBKey();
+ return $query;
+ }
+
function getQueryInfo() {
$queryInfo = array();
$options = array();