| @@ 1808-1812 (lines=5) @@ | ||
| 1805 | Html::closeElement( 'div' ); |
|
| 1806 | ||
| 1807 | # Disallow watching if user is not logged in |
|
| 1808 | if ( $user->isLoggedIn() ) { |
|
| 1809 | $form .= |
|
| 1810 | Xml::checkLabel( wfMessage( 'watchthis' )->text(), |
|
| 1811 | 'wpWatch', 'wpWatch', $checkWatch, [ 'tabindex' => '3' ] ); |
|
| 1812 | } |
|
| 1813 | ||
| 1814 | $form .= |
|
| 1815 | 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> |
|