$links[] = $skin->makeKnownLinkObj( $thisTitle, $label, $linkBits );
# Namespace filter and put the whole form together.
- $form = Xml::openElement( 'fieldset', array( 'id' => 'mw-watchlist-options' ) );
- $form .= Xml::openElement( 'legend', array( 'id' => 'mw-watchlist-legend' ) );
- $form .= wfMsgExt( 'watchlist-options', array('escape') );
- $form .= Xml::closeElement( 'legend' );
$form .= $wlInfo;
$form .= $cutofflinks;
$form .= implode( ' | ', $links );
if( $hideOwn )
$form .= Xml::hidden( 'hideOwn', 1 );
$form .= Xml::closeElement( 'form' );
- $form .= Xml::closeElement( 'fieldset' );
$wgOut->addHtml( $form );
# If there's nothing to show, stop here
'watchlist-hide-anons' => 'Hide anonymous edits',
'watchlist-show-liu' => 'Show logged-in user edits',
'watchlist-hide-liu' => 'Hide logged-in user edits',
-'watchlist-options' => 'Watchlist options',
# Displayed when you click the "watch" button and it is in the process of watching
'watching' => 'Watching...',