Index: trunk/phase3/skins/chick/main.css |
— | — | @@ -376,9 +376,6 @@ |
377 | 377 | font-size: 75%; |
378 | 378 | text-align: right; |
379 | 379 | } |
380 | | -span.newpage, span.minor { |
381 | | - font-weight: bold; |
382 | | -} |
383 | 380 | |
384 | 381 | span.updatedmarker { |
385 | 382 | color:black; |
Index: trunk/phase3/skins/monobook/main.css |
— | — | @@ -1125,9 +1125,6 @@ |
1126 | 1126 | div.patrollink { |
1127 | 1127 | clear: both; |
1128 | 1128 | } |
1129 | | -span.newpage, span.minor, span.bot { |
1130 | | - font-weight: bold; |
1131 | | -} |
1132 | 1129 | |
1133 | 1130 | .sharedUploadNotice { |
1134 | 1131 | font-style: italic; |
Index: trunk/phase3/skins/modern/main.css |
— | — | @@ -633,11 +633,6 @@ |
634 | 634 | display: none; |
635 | 635 | } |
636 | 636 | |
637 | | - |
638 | | -span.newpage, span.minor, span.bot { |
639 | | - font-weight: bold; |
640 | | -} |
641 | | - |
642 | 637 | .sharedUploadNotice { |
643 | 638 | font-style: italic; |
644 | 639 | } |
Index: trunk/phase3/skins/common/shared.css |
— | — | @@ -435,6 +435,11 @@ |
436 | 436 | border: 1px dashed #aaa; |
437 | 437 | } |
438 | 438 | |
| 439 | +/** Generic minor/bot/newpage styling */ |
| 440 | +abbr.newpage, abbr.minor, abbr.bot { |
| 441 | + font-weight: bold; |
| 442 | +} |
| 443 | + |
439 | 444 | /* Special:Contributions styling */ |
440 | 445 | .mw-uctop { |
441 | 446 | font-weight: bold; |
Index: trunk/phase3/skins/vector/main-ltr.css |
— | — | @@ -980,10 +980,7 @@ |
981 | 981 | padding-left: 15px !important; |
982 | 982 | text-transform: none; |
983 | 983 | } |
984 | | -/* To be sorted */ |
985 | | -span.newpage, span.minor, span.bot { |
986 | | - font-weight: bold; |
987 | | -} |
| 984 | + |
988 | 985 | .toccolours { |
989 | 986 | border: 1px solid #aaa; |
990 | 987 | background-color: #f9f9f9; |
Index: trunk/phase3/skins/vector/main-rtl.css |
— | — | @@ -980,10 +980,7 @@ |
981 | 981 | padding-right: 15px !important; |
982 | 982 | text-transform: none; |
983 | 983 | } |
984 | | -/* To be sorted */ |
985 | | -span.newpage, span.minor, span.bot { |
986 | | - font-weight: bold; |
987 | | -} |
| 984 | + |
988 | 985 | .toccolours { |
989 | 986 | border: 1px solid #aaa; |
990 | 987 | background-color: #f9f9f9; |
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::span( wfMsg( 'minoreditletter' ), 'minor' ) . ' '; |
| 308 | + $oldminor = Xml::element( 'abbr', array( 'class' => 'minor' ), wfMsg( 'minoreditletter') ) . ' '; |
309 | 309 | } |
310 | 310 | if( $this->mNewRev->isMinor() ) { |
311 | | - $newminor = Xml::span( wfMsg( 'minoreditletter' ), 'minor' ) . ' '; |
| 311 | + $newminor = Xml::element( 'abbr', array( 'class' => 'minor' ), wfMsg( 'minoreditletter') ) . ' '; |
312 | 312 | } |
313 | 313 | |
314 | 314 | $rdel = ''; $ldel = ''; |
Index: trunk/phase3/includes/ChangesList.php |
— | — | @@ -87,10 +87,10 @@ |
88 | 88 | */ |
89 | 89 | protected function recentChangesFlags( $new, $minor, $patrolled, $nothing = ' ', $bot = false ) { |
90 | 90 | $f = $new ? |
91 | | - '<span class="newpage">' . $this->message['newpageletter'] . '</span>' : $nothing; |
| 91 | + '<abbr class="newpage">' . $this->message['newpageletter'] . '</abbr>' : $nothing; |
92 | 92 | $f .= $minor ? |
93 | | - '<span class="minor">' . $this->message['minoreditletter'] . '</span>' : $nothing; |
94 | | - $f .= $bot ? '<span class="bot">' . $this->message['boteditletter'] . '</span>' : $nothing; |
| 93 | + '<abbr class="minor">' . $this->message['minoreditletter'] . '</abbr>' : $nothing; |
| 94 | + $f .= $bot ? '<abbr class="bot">' . $this->message['boteditletter'] . '</abbr>' : $nothing; |
95 | 95 | $f .= $patrolled ? '<span class="unpatrolled">!</span>' : $nothing; |
96 | 96 | return $f; |
97 | 97 | } |
Index: trunk/phase3/includes/specials/SpecialContributions.php |
— | — | @@ -562,13 +562,13 @@ |
563 | 563 | } |
564 | 564 | |
565 | 565 | if( $rev->getParentId() === 0 ) { |
566 | | - $nflag = '<span class="newpage">' . $this->messages['newpageletter'] . '</span>'; |
| 566 | + $nflag = '<abbr class="newpage">' . $this->messages['newpageletter'] . '</abbr>'; |
567 | 567 | } else { |
568 | 568 | $nflag = ''; |
569 | 569 | } |
570 | 570 | |
571 | 571 | if( $rev->isMinor() ) { |
572 | | - $mflag = '<span class="minor">' . $this->messages['minoreditletter'] . '</span> '; |
| 572 | + $mflag = '<abbr class="minor">' . $this->messages['minoreditletter'] . '</abbr> '; |
573 | 573 | } else { |
574 | 574 | $mflag = ''; |
575 | 575 | } |
Index: trunk/phase3/includes/specials/SpecialDeletedContributions.php |
— | — | @@ -183,7 +183,7 @@ |
184 | 184 | $pagelink = $sk->link( $page ); |
185 | 185 | |
186 | 186 | if( $rev->isMinor() ) { |
187 | | - $mflag = '<span class="minor">' . $this->messages['minoreditletter'] . '</span> '; |
| 187 | + $mflag = '<abbr class="minor">' . $this->messages['minoreditletter'] . '</abbr> '; |
188 | 188 | } else { |
189 | 189 | $mflag = ''; |
190 | 190 | } |
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( 'span', array( 'class' => 'minor' ), wfMsg( 'minoreditletter') ); |
| 325 | + $s .= ' ' . Xml::element( 'abbr', array( 'class' => 'minor' ), wfMsg( 'minoreditletter') ); |
326 | 326 | } |
327 | 327 | |
328 | 328 | if( !is_null( $size = $rev->getSize() ) && !$rev->isDeleted( Revision::DELETED_TEXT ) ) { |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -348,6 +348,7 @@ |
349 | 349 | longer sent |
350 | 350 | * (bug 19957) All known-failing tests now marked disabled; added --run-disabled |
351 | 351 | option to parser test suite to run disabled tests if desired. |
| 352 | +* (bug 16311) Make recent change flags (n/m/b) <abbr>s instead of <span>s |
352 | 353 | |
353 | 354 | == API changes in 1.16 == |
354 | 355 | |