Page MenuHomePhabricator

Multiple namespaces marked as default (**) should all be used instead of just one
Closed, ResolvedPublic

Description

Author: dasch

Description:
The documented way adding ** to a namespace to make it beeing checked by default does not work in latest version from trunk


Version: unspecified
Severity: normal

Details

Reference
bz31158

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:52 PM
bzimport set Reference to bz31158.
bzimport added a subscriber: Unknown Object (MLST).

Can you provide a usage example?

dasch wrote:

<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.

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.

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.

vivekee047 wrote:

The expected result is that all the star marked must be checked right?

vivekee047 wrote:

@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?

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.

vivekee047 wrote:

i have hopefully resolved this.. will be posting the patch soon

vivekee047 wrote:

i have just changed two lines.. dont think it will cause any proble,

Please check it Asap.
This is my first patch

Attached: