Index: trunk/phase3/includes/diff/DifferenceEngine.php |
— | — | @@ -304,10 +304,10 @@ |
305 | 305 | $newminor = ''; |
306 | 306 | |
307 | 307 | if( $this->mOldRev->isMinor() ) { |
308 | | - $oldminor = Xml::element( 'abbr', array( 'class' => 'minor' ), wfMsg( 'minoreditletter') ) . ' '; |
| 308 | + $oldminor = ChangesList::flag( 'minor' ); |
309 | 309 | } |
310 | 310 | if( $this->mNewRev->isMinor() ) { |
311 | | - $newminor = Xml::element( 'abbr', array( 'class' => 'minor' ), wfMsg( 'minoreditletter') ) . ' '; |
| 311 | + $newminor = ChangesList::flag( 'minor' ); |
312 | 312 | } |
313 | 313 | |
314 | 314 | $rdel = ''; $ldel = ''; |
Index: trunk/phase3/includes/specials/SpecialContributions.php |
— | — | @@ -384,7 +384,7 @@ |
385 | 385 | |
386 | 386 | function __construct( $target, $namespace = false, $year = false, $month = false, $tagFilter = false ) { |
387 | 387 | parent::__construct(); |
388 | | - foreach( explode( ' ', 'uctop diff newarticle rollbacklink diff hist newpageletter minoreditletter' ) as $msg ) { |
| 388 | + foreach( explode( ' ', 'uctop diff newarticle rollbacklink diff hist' ) as $msg ) { |
389 | 389 | $this->messages[$msg] = wfMsgExt( $msg, array( 'escape') ); |
390 | 390 | } |
391 | 391 | $this->target = $target; |
— | — | @@ -565,13 +565,13 @@ |
566 | 566 | } |
567 | 567 | |
568 | 568 | if( $rev->getParentId() === 0 ) { |
569 | | - $nflag = '<abbr class="newpage">' . $this->messages['newpageletter'] . '</abbr>'; |
| 569 | + $nflag = ChangesList::flag( 'newpage' ); |
570 | 570 | } else { |
571 | 571 | $nflag = ''; |
572 | 572 | } |
573 | 573 | |
574 | 574 | if( $rev->isMinor() ) { |
575 | | - $mflag = '<abbr class="minor">' . $this->messages['minoreditletter'] . '</abbr> '; |
| 575 | + $mflag = ChangesList::flag( 'minor' ); |
576 | 576 | } else { |
577 | 577 | $mflag = ''; |
578 | 578 | } |
Index: trunk/phase3/includes/specials/SpecialDeletedContributions.php |
— | — | @@ -11,7 +11,7 @@ |
12 | 12 | |
13 | 13 | function __construct( $target, $namespace = false ) { |
14 | 14 | parent::__construct(); |
15 | | - foreach( explode( ' ', 'deletionlog undeleteviewlink minoreditletter diff' ) as $msg ) { |
| 15 | + foreach( explode( ' ', 'deletionlog undeleteviewlink diff' ) as $msg ) { |
16 | 16 | $this->messages[$msg] = wfMsgExt( $msg, array( 'escape') ); |
17 | 17 | } |
18 | 18 | $this->target = $target; |
— | — | @@ -184,7 +184,7 @@ |
185 | 185 | $pagelink = $sk->link( $page ); |
186 | 186 | |
187 | 187 | if( $rev->isMinor() ) { |
188 | | - $mflag = '<abbr class="minor">' . $this->messages['minoreditletter'] . '</abbr> '; |
| 188 | + $mflag = ChangesList::flag( 'minor' ); |
189 | 189 | } else { |
190 | 190 | $mflag = ''; |
191 | 191 | } |
— | — | @@ -426,4 +426,4 @@ |
427 | 427 | Xml::closeElement( 'form' ); |
428 | 428 | return $f; |
429 | 429 | } |
430 | | -} |
\ No newline at end of file |
| 430 | +} |
Index: trunk/phase3/includes/PageHistory.php |
— | — | @@ -321,7 +321,7 @@ |
322 | 322 | $s .= " <span class='history-user'>" . $this->mSkin->revUserTools( $rev, true ) . "</span>"; |
323 | 323 | |
324 | 324 | if( $rev->isMinor() ) { |
325 | | - $s .= ' ' . Xml::element( 'abbr', array( 'class' => 'minor' ), wfMsg( 'minoreditletter') ); |
| 325 | + $s .= ' ' . ChangesList::flag( 'minor' ); |
326 | 326 | } |
327 | 327 | |
328 | 328 | if( !is_null( $size = $rev->getSize() ) && !$rev->isDeleted( Revision::DELETED_TEXT ) ) { |