Index: branches/robchurch/logs/includes/LogPage.php |
— | — | @@ -112,14 +112,6 @@ |
113 | 113 | $titleLink = $skin->makeLinkObj( $title, $title->getPrefixedText(), 'redirect=no' ); |
114 | 114 | $params[0] = $skin->makeLinkObj( Title::newFromText( $params[0] ), $params[0] ); |
115 | 115 | break; |
116 | | - case 'block': |
117 | | - if( substr( $title->getText(), 0, 1 ) == '#' ) { |
118 | | - $titleLink = $title->getText(); |
119 | | - } else { |
120 | | - $titleLink = $skin->makeLinkObj( $title, $title->getText() ); |
121 | | - $titleLink .= ' (' . $skin->makeKnownLinkObj( SpecialPage::getTitleFor( 'Contributions', $title->getDBkey() ), wfMsg( 'contribslink' ) ) . ')'; |
122 | | - } |
123 | | - break; |
124 | 116 | case 'rights': |
125 | 117 | $text = $wgContLang->ucfirst( $title->getText() ); |
126 | 118 | $titleLink = $skin->makeLinkObj( Title::makeTitle( NS_USER, $text ) ); |
— | — | @@ -150,14 +142,6 @@ |
151 | 143 | } |
152 | 144 | } else { |
153 | 145 | array_unshift( $params, $titleLink ); |
154 | | - if ( $key == 'block/block' ) { |
155 | | - if ( $translate ) { |
156 | | - $params[1] = $wgLang->translateBlockExpiry( $params[1] ); |
157 | | - } |
158 | | - $params[2] = isset( $params[2] ) |
159 | | - ? self::formatBlockFlags( $params[2] ) |
160 | | - : ''; |
161 | | - } |
162 | 146 | $rv = wfMsgReal( $wgLogActions[$key], $params, true, !$skin ); |
163 | 147 | } |
164 | 148 | } |