| @@ 1806-1810 (lines=5) @@ | ||
| 1803 | Html::closeElement( 'div' ); |
|
| 1804 | ||
| 1805 | # Disallow watching if user is not logged in |
|
| 1806 | if ( $user->isLoggedIn() ) { |
|
| 1807 | $form .= |
|
| 1808 | Xml::checkLabel( wfMessage( 'watchthis' )->text(), |
|
| 1809 | 'wpWatch', 'wpWatch', $checkWatch, [ 'tabindex' => '3' ] ); |
|
| 1810 | } |
|
| 1811 | ||
| 1812 | $form .= |
|
| 1813 | Html::openElement( 'div' ) . |
|
| @@ 274-283 (lines=10) @@ | ||
| 271 | "</td> |
|
| 272 | </tr> |
|
| 273 | {$suppress}"; |
|
| 274 | if ( $wgUser->isLoggedIn() ) { |
|
| 275 | $form .= " |
|
| 276 | <tr> |
|
| 277 | <td></td> |
|
| 278 | <td class='mw-input'>" . |
|
| 279 | Xml::checkLabel( wfMessage( 'watchthis' )->text(), |
|
| 280 | 'wpWatch', 'wpWatch', $checkWatch, [ 'tabindex' => '3' ] ) . |
|
| 281 | "</td> |
|
| 282 | </tr>"; |
|
| 283 | } |
|
| 284 | $form .= " |
|
| 285 | <tr> |
|
| 286 | <td></td> |
|