function isExpensive() {
return true;
}
+ function isSyndicated() { return false; }
function getSQL() {
$dbr =& wfGetDB( DB_SLAVE );
COUNT(DISTINCT bl_from) as value
FROM $brokenlinks
GROUP BY bl_to
- HAVING $agrvalue > 1
- ORDER BY $agrvalue ".
- ($this->sortDescending() ? 'DESC' : '');
+ HAVING $agrvalue > 1";
}
- function getOrder() {
- return '';
- }
-
function formatResult( $skin, $result ) {
- global $wgLang;
+ global $wgContLang;
$nt = Title::newFromDBkey( $result->title );
if( is_null( $nt ) ) {
}
$plink = $skin->makeBrokenLink( $nt->getPrefixedText(), "" );
$nl = wfMsg( "nlinks", $result->value );
- $nlink = $skin->makeKnownLink( $wgLang->specialPage( "Whatlinkshere" ), $nl,
+ $nlink = $skin->makeKnownLink( $wgContLang->specialPage( "Whatlinkshere" ), $nl,
"target=" . $nt->getPrefixedURL() );
return "{$plink} ({$nlink})";