Index: trunk/extensions/CentralAuth/SpecialCentralAuth.php |
— | — | @@ -245,7 +245,7 @@ |
246 | 246 | 'registered' => $wgLang->timeanddate( $reg ) . " ($age)", |
247 | 247 | 'locked' => $globalUser->isLocked() ? wfMsg( 'centralauth-admin-yes' ) : wfMsg( 'centralauth-admin-no' ), |
248 | 248 | 'hidden' => $globalUser->isHidden() ? wfMsg( 'centralauth-admin-yes' ) : wfMsg( 'centralauth-admin-no' ) ); |
249 | | - $out = '<ul>'; |
| 249 | + $out = '<ul id="mw-centralauth-info">'; |
250 | 250 | foreach( $attribs as $tag => $data ) { |
251 | 251 | $out .= Xml::element( 'li', array(), wfMsg( "centralauth-admin-info-$tag" ) . ' ' . $data ); |
252 | 252 | } |
— | — | @@ -273,7 +273,7 @@ |
274 | 274 | |
275 | 275 | function listRemainder( $list ) { |
276 | 276 | ksort( $list ); |
277 | | - $s = '<ul>'; |
| 277 | + $s = '<ul id="mw-centralauth-unattached">'; |
278 | 278 | foreach ( $list as $row ) { |
279 | 279 | $s .= '<li>' . $this->foreignUserLink( $row['wiki'] ) . "</li>\n"; |
280 | 280 | } |
— | — | @@ -288,7 +288,8 @@ |
289 | 289 | Xml::openElement( 'form', |
290 | 290 | array( |
291 | 291 | 'method' => 'post', |
292 | | - 'action' => $this->getTitle( $this->mUserName )->getLocalUrl( 'action=submit' ) ) ) . |
| 292 | + 'action' => $this->getTitle( $this->mUserName )->getLocalUrl( 'action=submit' ), |
| 293 | + 'id' => 'mw-centralauth-merged' ) ) . |
293 | 294 | Xml::hidden( 'wpMethod', $action ) . |
294 | 295 | Xml::hidden( 'wpEditToken', $wgUser->editToken() ) . |
295 | 296 | '<table>' . |
— | — | @@ -359,7 +360,8 @@ |
360 | 361 | Xml::element( 'h2', array(), wfMsg( "centralauth-admin-{$action}-title" ) ) . |
361 | 362 | Xml::openElement( 'form', array( |
362 | 363 | 'method' => 'POST', |
363 | | - 'action' => $this->getTitle()->getFullUrl( 'target=' . urlencode( $this->mUserName ) ) ) ) . |
| 364 | + 'action' => $this->getTitle()->getFullUrl( 'target=' . urlencode( $this->mUserName ) ), |
| 365 | + 'id' => "mw-centralauth-$action" ) ) . |
364 | 366 | Xml::hidden( 'wpMethod', $action ) . |
365 | 367 | Xml::hidden( 'wpEditToken', $wgUser->editToken() ) . |
366 | 368 | wfMsgExt( "centralauth-admin-{$action}-description", 'parse' ) . |