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
installer: Use wfLoadExtension/Skin in LocalSettingsGenerator
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialBrokenRedirects.php
diff --git
a/includes/specials/SpecialBrokenRedirects.php
b/includes/specials/SpecialBrokenRedirects.php
index
e6fd58d
..
1bbdbea
100644
(file)
--- a/
includes/specials/SpecialBrokenRedirects.php
+++ b/
includes/specials/SpecialBrokenRedirects.php
@@
-28,7
+28,6
@@
* @ingroup SpecialPage
*/
class BrokenRedirectsPage extends QueryPage {
* @ingroup SpecialPage
*/
class BrokenRedirectsPage extends QueryPage {
-
function __construct( $name = 'BrokenRedirects' ) {
parent::__construct( $name );
}
function __construct( $name = 'BrokenRedirects' ) {
parent::__construct( $name );
}
@@
-51,6
+50,7
@@
class BrokenRedirectsPage extends QueryPage {
function getQueryInfo() {
$dbr = wfGetDB( DB_SLAVE );
function getQueryInfo() {
$dbr = wfGetDB( DB_SLAVE );
+
return array(
'tables' => array(
'redirect',
return array(
'tables' => array(
'redirect',
@@
-92,9
+92,9
@@
class BrokenRedirectsPage extends QueryPage {
}
/**
}
/**
- * @param
$skin S
kin
- * @param
$result
- * @return
S
tring
+ * @param
Skin $s
kin
+ * @param
object $result Result row
+ * @return
s
tring
*/
function formatResult( $skin, $result ) {
$fromObj = Title::makeTitle( $result->namespace, $result->title );
*/
function formatResult( $skin, $result ) {
$fromObj = Title::makeTitle( $result->namespace, $result->title );
@@
-147,8
+147,10
@@
class BrokenRedirectsPage extends QueryPage {
);
}
);
}
- $out .= $this->msg( 'parentheses' )->rawParams( $this->getLanguage()->pipeList( $links ) )->escaped();
+ $out .= $this->msg( 'parentheses' )->rawParams( $this->getLanguage()
+ ->pipeList( $links ) )->escaped();
$out .= " {$arr} {$to}";
$out .= " {$arr} {$to}";
+
return $out;
}
return $out;
}