From fa9de5a8240253e74e312015d54aeb79e7afd7db Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Mon, 19 Apr 2010 14:08:38 +0000 Subject: [PATCH] (bug 23240) Add ID to namespace selector form on Special:Watchlist --- includes/specials/SpecialWatchlist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, '' ) . ' '; -- 2.20.1