Last modified: 2012-01-12 17:24:01 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T33158, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31158 - Multiple namespaces marked as default (**) should all be used instead of just one
Multiple namespaces marked as default (**) should all be used instead of just...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
InputBox (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-25 23:06 UTC by DaSch
Modified: 2012-01-12 17:24 UTC (History)
4 users (show)

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


Attachments
i have just changed two lines.. dont think it will cause any proble, (651 bytes, patch)
2012-01-12 12:19 UTC, Bagariavivek
Details

Description DaSch 2011-09-25 23:06:46 UTC
The documented way adding ** to a namespace to make it beeing checked by default does not work in latest version from trunk
Comment 1 Brion Vibber 2011-09-26 18:04:45 UTC
Can you provide a usage example?
Comment 2 DaSch 2011-10-08 18:44:50 UTC
<inputbox>
type=search
searchbuttonlabel=Suchen
namespaces=Main**,Portal**,Liste**,Projekt,Gruppe,Hilfe,Thread,WeCoWi
width=40
</inputbox>

Normaly the first three should be checked, but in fact no box is checked.
Comment 3 Jarek Tuszynski 2011-10-18 13:58:46 UTC
I just come here to report the same. Even the example on how to use namespace parameter: http://www.mediawiki.org/wiki/Extension:InputBox#Parameters does not work as documented.
Comment 4 Jarek Tuszynski 2011-10-18 14:03:09 UTC
As you can see at http://commons.wikimedia.org/wiki/Template:Institution/stub-documentation, if you have "namespaces=Main**, Institution**, Category**" than only "Category" box is checked instead of all 3.
Comment 5 Bagariavivek 2012-01-11 15:58:49 UTC
The expected result is that all the star marked  must be checked right?
Comment 6 Bagariavivek 2012-01-11 16:00:31 UTC
@DaSch : Was it working  in previous trunk ?(In reply to comment #0)
> The documented way adding ** to a namespace to make it beeing checked by
> default does not work in latest version from trunk
Was it working in previous trunks?
Comment 7 Jarek Tuszynski 2012-01-11 16:06:05 UTC
> The expected result is that all the star marked  must be checked right?
Right tha way I read the unclear http://www.mediawiki.org/wiki/Extension:InputBox#Parameters documentation all namespace names followed by ** should be checked by default. That only work for the last namespace, and even example in documentation does not work properly.

> Was it working in previous trunks?
I do not know. I have never seen it working, but I also only recently started looking at this.
Comment 8 Bagariavivek 2012-01-12 10:21:55 UTC
i have hopefully resolved this.. will be posting the patch soon
Comment 9 Bagariavivek 2012-01-12 12:19:46 UTC
Created attachment 9847 [details]
i have just changed two lines.. dont think it will cause any proble,

Please check it Asap.
This is my first patch
Comment 10 Chad H. 2012-01-12 17:24:01 UTC
Fixed in r108731.

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


Navigation
Links