r69800 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69799‎ | r69800 | r69801 >
Date:16:59, 23 July 2010
Author:danny_b
Status:ok
Tags:
Comment:
* replacing deprecated <s> with <del>
Modified paths:
  • /trunk/phase3/includes/QueryPage.php (modified) (history)
  • /trunk/phase3/includes/specials/SpecialBrokenRedirects.php (modified) (history)
  • /trunk/phase3/includes/specials/SpecialDoubleRedirects.php (modified) (history)
  • /trunk/phase3/includes/specials/SpecialListredirects.php (modified) (history)
  • /trunk/phase3/includes/specials/SpecialShortpages.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialBrokenRedirects.php
@@ -76,7 +76,7 @@
7777
7878 // $toObj may very easily be false if the $result list is cached
7979 if ( !is_object( $toObj ) ) {
80 - return '<s>' . $skin->link( $fromObj ) . '</s>';
 80+ return '<del>' . $skin->link( $fromObj ) . '</del>';
8181 }
8282
8383 $from = $skin->linkKnown(
Index: trunk/phase3/includes/specials/SpecialShortpages.php
@@ -105,7 +105,7 @@
106106
107107 return $title->exists()
108108 ? "({$hlink}) {$dm}{$plink} {$dm}[{$size}]"
109 - : "<s>({$hlink}) {$dm}{$plink} {$dm}[{$size}]</s>";
 109+ : "<del>({$hlink}) {$dm}{$plink} {$dm}[{$size}]</del>";
110110 }
111111 }
112112
Index: trunk/phase3/includes/specials/SpecialDoubleRedirects.php
@@ -89,7 +89,7 @@
9090 }
9191 }
9292 if ( !$result ) {
93 - return '<s>' . $skin->link( $titleA, null, array(), array( 'redirect' => 'no' ) ) . '</s>';
 93+ return '<del>' . $skin->link( $titleA, null, array(), array( 'redirect' => 'no' ) ) . '</del>';
9494 }
9595
9696 $titleB = Title::makeTitle( $result->nsb, $result->tb );
Index: trunk/phase3/includes/specials/SpecialListredirects.php
@@ -67,10 +67,10 @@
6868 $targetLink = $skin->link( $target );
6969 return "$rd_link $arr $targetLink";
7070 } else {
71 - return "<s>$rd_link</s>";
 71+ return "<del>$rd_link</del>";
7272 }
7373 } else {
74 - return "<s>$rd_link</s>";
 74+ return "<del>$rd_link</del>";
7575 }
7676 }
7777 }
Index: trunk/phase3/includes/QueryPage.php
@@ -596,7 +596,7 @@
597597 if( $title instanceof Title ) {
598598 if( $this->isCached() ) {
599599 $pageLink = $title->exists()
600 - ? '<s>' . $skin->link( $title ) . '</s>'
 600+ ? '<del>' . $skin->link( $title ) . '</del>'
601601 : $skin->link(
602602 $title,
603603 null,
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -2393,7 +2393,7 @@
23942394 'doubleredirects-summary' => '', # do not translate or duplicate this message to other languages
23952395 'doubleredirectstext' => 'This page lists pages which redirect to other redirect pages.
23962396 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.
2397 -<s>Crossed out</s> entries have been solved.',
 2397+<del>Crossed out</del> entries have been solved.',
23982398 'double-redirect-fixed-move' => '[[$1]] has been moved.
23992399 It now redirects to [[$2]].',
24002400 'double-redirect-fixer' => 'Redirect fixer',

Status & tagging log