@@ 244-255 (lines=12) @@ | ||
241 | $s .= Html::hidden( 'type', 'logging' ) . "\n"; |
|
242 | ||
243 | $buttons = ''; |
|
244 | if ( $canRevDelete ) { |
|
245 | $buttons .= Html::element( |
|
246 | 'button', |
|
247 | [ |
|
248 | 'type' => 'submit', |
|
249 | 'name' => 'revisiondelete', |
|
250 | 'value' => '1', |
|
251 | 'class' => "deleterevision-log-submit mw-log-deleterevision-button" |
|
252 | ], |
|
253 | $this->msg( 'showhideselectedlogentries' )->text() |
|
254 | ) . "\n"; |
|
255 | } |
|
256 | if ( $showTagEditUI ) { |
|
257 | $buttons .= Html::element( |
|
258 | 'button', |
|
@@ 256-267 (lines=12) @@ | ||
253 | $this->msg( 'showhideselectedlogentries' )->text() |
|
254 | ) . "\n"; |
|
255 | } |
|
256 | if ( $showTagEditUI ) { |
|
257 | $buttons .= Html::element( |
|
258 | 'button', |
|
259 | [ |
|
260 | 'type' => 'submit', |
|
261 | 'name' => 'editchangetags', |
|
262 | 'value' => '1', |
|
263 | 'class' => "editchangetags-log-submit mw-log-editchangetags-button" |
|
264 | ], |
|
265 | $this->msg( 'log-edit-tags' )->text() |
|
266 | ) . "\n"; |
|
267 | } |
|
268 | ||
269 | $buttons .= ( new ListToggle( $this->getOutput() ) )->getHTML(); |
|
270 |