Page MenuHomePhabricator

Special:Allpages namespace selector issues
Closed, ResolvedPublic

Description

Author: meikrosoft

Description:
When i go to Special:Allpages and select a namespace, the value in the select-to inputbox is wrong.
For example i have a namespace like table with following pages
PAFPRM
PAFPTE
PAFPTP
PAGREL
PAPOFR
PASSEI
PAVTHI
VTPBOX
WIDADO
WISOIN

Then there is a second namespace like install with this pages
MySQL Datenbank Replikation einrichten
Neue Benutzer beantragen
SuSE Online Update geht nicht
Tomcat Beispiel Konfiguration
Treiber dc7800
Treiber nc2510p
Vista
WSUS
Windows Image aufspielen
Windows Image erstellen
Windows Server 2008

Now i go to Special:Allpages and select the first namespace. it works fine. Then i select the second namespace and in the select-to inputbox stands Vista. The pages wich starts with "W" won't shown automaticly.


Version: unspecified
Severity: minor

Details

Reference
bz18690

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:32 PM
bzimport set Reference to bz18690.

The fields must be cleaned out by hand when changing namespaces... yuck.

Broken since r39712. The "from" and "to" form fields are filled in to match the values from the current query, meaning that you can't change the namespace without deleting the prefilled values from those boxes. I'll try assigning it to Aaron.

All I know here up to r51324 is when the user changes

Display pages starting at: XX
Display pages ending at: YY
Namespace: Main

to e.g.,

Display pages starting at: XX
Display pages ending at: YY
Namespace: Mediawiki

I think you need to clear the fields so he is now looking at

Display pages starting at:
Display pages ending at:
Namespace: Mediawiki

before he hits "Go", or else he must remember to clear them out by hand.
I suppose you will need JavaScript to do that...

You can use the "all pages" link in the upper right corner...though a "reset" button is much prettier

meikrosoft wrote:

(In reply to comment #5)

You can use the "all pages" link in the upper right corner...though a "reset"
button is much prettier

THX

Leaving bug open until all issues are ironed out.

OK, the issue fixed in r51302 was the automatic changing of the to/from fields.

As for a reset button, JS solutions tend to be frowned upon, so maybe a "clear" link or link "button" is best.

(In reply to comment #8)

OK, the issue fixed in r51302 was the automatic changing of the to/from fields.

As for a reset button, JS solutions tend to be frowned upon, so maybe a "clear"
link or link "button" is best.

Any such button is separate enhancement request.