From: Roan Kattouw Date: Mon, 19 Apr 2010 14:08:38 +0000 (+0000) Subject: (bug 23240) Add ID to namespace selector form on Special:Watchlist X-Git-Tag: 1.31.0-rc.0~37064 X-Git-Url: http://git.cyclocoop.org//%22javascript:ModifierStyle%28%27%22.%24id.%22%27%29/%22?a=commitdiff_plain;h=fa9de5a8240253e74e312015d54aeb79e7afd7db;p=lhc%2Fweb%2Fwiklou.git (bug 23240) Add ID to namespace selector form on Special:Watchlist --- diff --git a/includes/specials/SpecialWatchlist.php b/includes/specials/SpecialWatchlist.php index 72bc824365..b109b72015 100644 --- a/includes/specials/SpecialWatchlist.php +++ b/includes/specials/SpecialWatchlist.php @@ -291,7 +291,7 @@ function wfSpecialWatchlist( $par ) { $form .= $wlInfo; $form .= $cutofflinks; $form .= $wgLang->pipeList( $links ); - $form .= Xml::openElement( 'form', array( 'method' => 'post', 'action' => $thisTitle->getLocalUrl() ) ); + $form .= Xml::openElement( 'form', array( 'method' => 'post', 'action' => $thisTitle->getLocalUrl(), 'id' => 'mw-watchlist-form-namespaceselector' ) ); $form .= '

'; $form .= Xml::label( wfMsg( 'namespace' ), 'namespace' ) . ' '; $form .= Xml::namespaceSelector( $nameSpace, '' ) . ' ';