From 1a5a8726a1a22f869841771366cc872c0dc77c3c Mon Sep 17 00:00:00 2001 From: Rob Church Date: Fri, 3 Mar 2006 07:27:38 +0000 Subject: [PATCH] (bug 5150 and related) Fix missing ID attribute in HTML namespace selector --- RELEASE-NOTES | 2 +- includes/GlobalFunctions.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 662abd89cc..8c2c531679 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -674,7 +674,7 @@ fully support the editing toolbar, but was found to be too confusing. * (bug 4273) Bounce back with a message when attempting to submit a new comment with an empty main textbox (user probably hit Enter in subject field) * (bug 5141) Gracefully handle the new account link when createaccount off - +* (bug 5150 and related) Fix missing ID attribute in HTML namespace selector === Caveats === diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 0850cb9b03..215212ec20 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -1525,7 +1525,7 @@ function &HTMLnamespaceselector($selected = '', $allnamespaces = null) { $selected = intval( $selected ); } } - $s = "\n\t"; $arr = $wgContLang->getFormattedNamespaces(); if( !is_null($allnamespaces) ) { $arr = array($allnamespaces => wfMsgHtml('namespacesall')) + $arr; -- 2.20.1