r69983 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69982‎ | r69983 | r69984 >
Date:01:01, 27 July 2010
Author:danny_b
Status:ok
Tags:
Comment:
* replacing deprecated <s> with <del>
Modified paths:
  • /trunk/extensions/DeleteQueue/Views/DeleteQueueViewCase.php (modified) (history)
  • /trunk/extensions/ProofreadPage/SpecialProofreadPages.php (modified) (history)
  • /trunk/extensions/SiteMatrix/SiteMatrix_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ProofreadPage/SpecialProofreadPages.php
@@ -125,7 +125,7 @@
126126 : $skin->linkKnown( $title , htmlspecialchars( $title->getText() ) );
127127
128128 if ( !$title->exists() ) {
129 - return "<s>{$plink}</s>";
 129+ return "<del>{$plink}</del>";
130130 }
131131
132132 $size = $result->pr_count;
Index: trunk/extensions/SiteMatrix/SiteMatrix_body.php
@@ -289,7 +289,7 @@
290290 if ( $matrix->exist( $lang, $site ) ) {
291291 # Wiki exists
292292 $closed = $matrix->isClosed( $lang, $site );
293 - $s .= "<td>" . ($closed ? "<s>" : '') . "<a href=\"{$url}\">{$lang}</a>" . ($closed ? "</s>" : '') . '</td>';
 293+ $s .= "<td>" . ($closed ? "<del>" : '') . "<a href=\"{$url}\">{$lang}</a>" . ($closed ? "</del>" : '') . '</td>';
294294 } else {
295295 # Non-existent wiki
296296 $s .= "<td><a href=\"{$url}\" class=\"new\">{$lang}</a></td>";
@@ -325,9 +325,9 @@
326326 $flagsStr = implode( ', ', $flags );
327327 if( $site != 'wiki' ) $langhost .= $site;
328328 $closed = $matrix->isClosed( $lang, $site );
329 - $s .= '<li>' . ( $closed ? '<s>' : '' ) .
 329+ $s .= '<li>' . ( $closed ? '<del>' : '' ) .
330330 wfSpecialList( '<a href="' . $url . '/">' . $langhost . "</a>", $flagsStr ) .
331 - ( $closed ? '</s>' : '' ) . "</li>\n";
 331+ ( $closed ? '</del>' : '' ) . "</li>\n";
332332 }
333333 $s .= '</ul>';
334334 $wgOut->addHTML( $s );
Index: trunk/extensions/DeleteQueue/Views/DeleteQueueViewCase.php
@@ -143,7 +143,7 @@
144144 );
145145
146146 if ( $vote['current'] == 0 )
147 - $thisvote = Xml::tags( 's', null, $thisvote );
 147+ $thisvote = Xml::tags( 'del', null, $thisvote );
148148
149149 $userVotes[] = Xml::tags( 'li', array( 'class' => "mw-deletequeue-vote-$type" ), $thisvote );
150150 }

Status & tagging log