Last modified: 2012-01-12 00:51:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 14586 - Inputbox Always includes Main namespace
Inputbox Always includes Main namespace
Product: MediaWiki extensions
Classification: Unclassified
InputBox (Other open bugs)
PC Linux
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
  Show dependency treegraph
Reported: 2008-06-18 20:08 UTC by Phil Moors
Modified: 2012-01-12 00:51 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Phil Moors 2008-06-18 20:08:40 UTC

The above does create an inputbox with the Custom namespace checked. But the results page returned is flooded with hits from the Main namespace.

MediaWiki  	1.12.0
PHP 	5.1.6 (cgi-fcgi)
MySQL 	5.0.27

The end of the results page url from InputBox looks like:


However, when I do a restricted search from the system search box, the results are correct and the url is different:

Comment 1 Phil Moors 2008-06-20 15:47:28 UTC
Found a way to get the behavior I wanted:

In line 145 of inputbox.php, change:


Don't know if that's the 'proper' fix, though.
Comment 2 Siebrand Mazeland 2008-08-13 19:56:42 UTC
Keywords: patch, need-review

The patch in comment 2 is on line 144 per r38195.
Comment 3 Mark A. Hershberger 2011-06-14 00:22:35 UTC
unassigned Trevor from Inputbox extension.
Comment 4 Sumana Harihareswara 2012-01-11 00:21:41 UTC
Phil, can you still reproduce this issue?
Comment 5 Robin Pepermans (SPQRobin) 2012-01-12 00:51:02 UTC
I can't reproduce the problem in 1.18 or trunk, and the code has changed a lot since 2008 anyway, so I'm closing this bug.

Note You need to log in before you can comment on or make changes to this bug.