Index: trunk/phase3/skins/common/shared.css |
— | — | @@ -329,7 +329,7 @@ |
330 | 330 | span.mw-revdelundel-link, |
331 | 331 | strong.mw-revdelundel-link { |
332 | 332 | font-family: monospace; |
333 | | - font-size: smaller |
| 333 | + font-size: smaller; |
334 | 334 | } |
335 | 335 | |
336 | 336 | /* feed links */ |
Index: trunk/phase3/includes/Linker.php |
— | — | @@ -1783,9 +1783,7 @@ |
1784 | 1784 | # FIXME: Per standard MW behavior, a value of '-' means to suppress the |
1785 | 1785 | # attribute, but this is broken for accesskey: that might be a useful |
1786 | 1786 | # value. |
1787 | | - if( $accesskey != '' |
1788 | | - && $accesskey != '-' |
1789 | | - && !wfEmptyMsg( "accesskey-$name", $accesskey ) ) { |
| 1787 | + if( $accesskey != '' && $accesskey != '-' && !wfEmptyMsg( "accesskey-$name", $accesskey ) ) { |
1790 | 1788 | wfProfileOut( __METHOD__ ); |
1791 | 1789 | return $accesskey; |
1792 | 1790 | } |
— | — | @@ -1806,9 +1804,7 @@ |
1807 | 1805 | public function revDeleteLink( $query = array(), $restricted = false ) { |
1808 | 1806 | $sp = SpecialPage::getTitleFor( 'Revisiondelete' ); |
1809 | 1807 | $text = wfMsgHtml( 'rev-delundel' ); |
1810 | | - $tag = 'span'; |
1811 | | - if( $restricted ) |
1812 | | - $tag = 'strong'; |
| 1808 | + $tag = $restricted ? 'strong' : 'span'; |
1813 | 1809 | $link = $this->link( $sp, $text, array(), $query, array( 'known', 'noclasses' ) ); |
1814 | 1810 | return Xml::tags( $tag, array( 'class' => 'mw-revdelundel-link' ), "($link)" ); |
1815 | 1811 | } |