dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add "help" links for Special:BrokenRedirects, Special:DoubleRedirects, and Special...
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialListredirects.php
diff --git
a/includes/specials/SpecialListredirects.php
b/includes/specials/SpecialListredirects.php
index
f81c03c
..
3284c57
100644
(file)
--- a/
includes/specials/SpecialListredirects.php
+++ b/
includes/specials/SpecialListredirects.php
@@
-24,7
+24,7
@@
* @author Rob Church <robchur@gmail.com>
*/
* @author Rob Church <robchur@gmail.com>
*/
-use Wikimedia\Rdbms\ResultWrapper;
+use Wikimedia\Rdbms\
I
ResultWrapper;
use Wikimedia\Rdbms\IDatabase;
/**
use Wikimedia\Rdbms\IDatabase;
/**
@@
-76,7
+76,7
@@
class ListredirectsPage extends QueryPage {
* Cache page existence for performance
*
* @param IDatabase $db
* Cache page existence for performance
*
* @param IDatabase $db
- * @param ResultWrapper $res
+ * @param
I
ResultWrapper $res
*/
function preprocessResults( $db, $res ) {
if ( !$res->numRows() ) {
*/
function preprocessResults( $db, $res ) {
if ( !$res->numRows() ) {
@@
-145,6
+145,11
@@
class ListredirectsPage extends QueryPage {
}
}
}
}
+ public function execute( $par ) {
+ $this->addHelpLink( 'Help:Redirects' );
+ parent::execute( $par );
+ }
+
protected function getGroupName() {
return 'pages';
}
protected function getGroupName() {
return 'pages';
}