From 3aeb335d2d3bf082e4eff716af5d818e6f7aafa3 Mon Sep 17 00:00:00 2001 From: Danny B Date: Fri, 23 Jul 2010 16:59:29 +0000 Subject: [PATCH] * replacing deprecated with --- includes/QueryPage.php | 2 +- includes/specials/SpecialBrokenRedirects.php | 2 +- includes/specials/SpecialDoubleRedirects.php | 2 +- includes/specials/SpecialListredirects.php | 4 ++-- includes/specials/SpecialShortpages.php | 2 +- languages/messages/MessagesEn.php | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/includes/QueryPage.php b/includes/QueryPage.php index 827264be8e..b2a49b6a41 100644 --- a/includes/QueryPage.php +++ b/includes/QueryPage.php @@ -596,7 +596,7 @@ abstract class WantedQueryPage extends QueryPage { if( $title instanceof Title ) { if( $this->isCached() ) { $pageLink = $title->exists() - ? '' . $skin->link( $title ) . '' + ? '' . $skin->link( $title ) . '' : $skin->link( $title, null, diff --git a/includes/specials/SpecialBrokenRedirects.php b/includes/specials/SpecialBrokenRedirects.php index 173bb0f26e..873125b803 100644 --- a/includes/specials/SpecialBrokenRedirects.php +++ b/includes/specials/SpecialBrokenRedirects.php @@ -76,7 +76,7 @@ class BrokenRedirectsPage extends PageQueryPage { // $toObj may very easily be false if the $result list is cached if ( !is_object( $toObj ) ) { - return '' . $skin->link( $fromObj ) . ''; + return '' . $skin->link( $fromObj ) . ''; } $from = $skin->linkKnown( diff --git a/includes/specials/SpecialDoubleRedirects.php b/includes/specials/SpecialDoubleRedirects.php index 6e37b48a59..566f8f6953 100644 --- a/includes/specials/SpecialDoubleRedirects.php +++ b/includes/specials/SpecialDoubleRedirects.php @@ -89,7 +89,7 @@ class DoubleRedirectsPage extends PageQueryPage { } } if ( !$result ) { - return '' . $skin->link( $titleA, null, array(), array( 'redirect' => 'no' ) ) . ''; + return '' . $skin->link( $titleA, null, array(), array( 'redirect' => 'no' ) ) . ''; } $titleB = Title::makeTitle( $result->nsb, $result->tb ); diff --git a/includes/specials/SpecialListredirects.php b/includes/specials/SpecialListredirects.php index fa06214bbd..ecc764d176 100644 --- a/includes/specials/SpecialListredirects.php +++ b/includes/specials/SpecialListredirects.php @@ -67,10 +67,10 @@ class ListredirectsPage extends QueryPage { $targetLink = $skin->link( $target ); return "$rd_link $arr $targetLink"; } else { - return "$rd_link"; + return "$rd_link"; } } else { - return "$rd_link"; + return "$rd_link"; } } } diff --git a/includes/specials/SpecialShortpages.php b/includes/specials/SpecialShortpages.php index 16022d6cb6..acbdbf45f1 100644 --- a/includes/specials/SpecialShortpages.php +++ b/includes/specials/SpecialShortpages.php @@ -105,7 +105,7 @@ class ShortPagesPage extends QueryPage { return $title->exists() ? "({$hlink}) {$dm}{$plink} {$dm}[{$size}]" - : "({$hlink}) {$dm}{$plink} {$dm}[{$size}]"; + : "({$hlink}) {$dm}{$plink} {$dm}[{$size}]"; } } diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 95c598ac7c..5760519097 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -2393,7 +2393,7 @@ A page is treated as disambiguation page if it uses a template which is linked f 'doubleredirects-summary' => '', # do not translate or duplicate this message to other languages 'doubleredirectstext' => 'This page lists pages which redirect to other redirect pages. Each row contains links to the first and second redirect, as well as the target of the second redirect, which is usually the "real" target page, which the first redirect should point to. -Crossed out entries have been solved.', +Crossed out entries have been solved.', 'double-redirect-fixed-move' => '[[$1]] has been moved. It now redirects to [[$2]].', 'double-redirect-fixer' => 'Redirect fixer', -- 2.20.1