MediaWiki/Parser44

From Nick Jenkins
Jump to: navigation, search
--------------------------------------------
<br />
<b>Notice</b>:  Undefined variable: searchform2 in <b>/var/www/hosts/mediawiki/phase3/extensions/inputbox.php<
/b> on line <b>173</b><br />
--------------------------------------------

Fix is probably to add a declaration somewhere in the first half of getSearchForm(), e.g.
--------------------------------------------
                // Determine namespace checkboxes
                $namespaces = $wgContLang->getNamespaces();
                $namespacesarray = explode(",",$this->namespaces);
+
+               $searchform2 = "";

                // Test if namespaces requested by user really exist
                if ($this->namespaces) {
--------------------------------------------