| @@ 278-287 (lines=10) @@ | ||
| 275 | "</td> |
|
| 276 | </tr> |
|
| 277 | {$suppress}"; |
|
| 278 | if ( $wgUser->isLoggedIn() ) { |
|
| 279 | $form .= " |
|
| 280 | <tr> |
|
| 281 | <td></td> |
|
| 282 | <td class='mw-input'>" . |
|
| 283 | Xml::checkLabel( wfMessage( 'watchthis' )->text(), |
|
| 284 | 'wpWatch', 'wpWatch', $checkWatch, [ 'tabindex' => '3' ] ) . |
|
| 285 | "</td> |
|
| 286 | </tr>"; |
|
| 287 | } |
|
| 288 | $form .= " |
|
| 289 | <tr> |
|
| 290 | <td></td> |
|
| @@ 1830-1834 (lines=5) @@ | ||
| 1827 | Html::closeElement( 'div' ); |
|
| 1828 | ||
| 1829 | # Disallow watching if user is not logged in |
|
| 1830 | if ( $user->isLoggedIn() ) { |
|
| 1831 | $form .= |
|
| 1832 | Xml::checkLabel( wfMessage( 'watchthis' )->text(), |
|
| 1833 | 'wpWatch', 'wpWatch', $checkWatch, [ 'tabindex' => '3' ] ); |
|
| 1834 | } |
|
| 1835 | ||
| 1836 | $form .= |
|
| 1837 | Html::openElement( 'div' ) . |
|