Last modified: 2011-10-07 20:09:38 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 T27868, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25868 - [Special:RunQuery] Searchbox to the Top of the Page
[Special:RunQuery] Searchbox to the Top of the Page
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Normal enhancement with 2 votes (vote)
: ---
Assigned To: Yaron Koren
http://discoursedb.org/wiki/Special:R...
: accessibility
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-10 14:07 UTC by Simon Bachenberg
Modified: 2011-10-07 20:09 UTC (History)
3 users (show)

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


Attachments

Description Simon Bachenberg 2010-11-10 14:07:54 UTC
Hi Yaron,
i would be nice, if its possible to put the search box on the Special:RunQuery Page from the Bottom to the Top of the Page. If you have long result sets it would be more easy to edit the searchterms at the Top of the Page instead of scrolling down to the Bottom.  Every other search although have search parameters at the top.

--Simon
Comment 1 MWJames 2011-08-09 02:51:42 UTC
We would definitely like to see this feature somehow being implemented, as for long reports it is sometimes challenging to change values at the bottom without losing the focus at the top.

Thanks,
Comment 2 Yaron Koren 2011-10-03 10:41:33 UTC
I just added code to SVN that does this - if you use the latest SVN code, you just need to add the following to LocalSettings.php:

$sfgRunQueryFormAtTop = true;

Please let me know what you think of it now. Or should the setting be done per form? And/or, should the "form at top" setting be the default option?
Comment 3 MWJames 2011-10-05 12:00:28 UTC
We did some testing and it looks very promising but we would rather have a possibility to switch on a form basis as it gives more control over the behaviour. Sometimes it is required that people go through the display before changing selection parameter and in other cases the query acts more like an "list sheet" with values are manipulated at the top. 

At the bottom of the inputfields their is a <hr style="margin: 15px 0;"> maybe you can warp this into a css class, so it would be possible to make it invisible in certain cases where RunQuery is solely managed by the URL wpRunQuery=true without displaying any inputfields.

Anyway thanks for the effort
Comment 4 Dan Bolser 2011-10-05 12:08:52 UTC
It would be great if it could be placed (or not) with something like {{{standard input|queryform}}}.

Cheers,
Dan.
Comment 5 Yaron Koren 2011-10-05 18:07:33 UTC
Okay - maybe the better solution, then, is to have a "|query form at top" parameter to the {{{info}}} tag, instead of a LocalSettings setting.

A CSS class for the <hr> is also a reasonable idea.

Dan - that wouldn't work.
Comment 6 Dan Bolser 2011-10-05 18:33:50 UTC
OK.
Comment 7 Yaron Koren 2011-10-06 18:11:18 UTC
MWJames - I think I just fixed the issue with the <hr> showing up when it wasn't supposed to - so I don't think a CSS class is necessary any more.
Comment 8 Yaron Koren 2011-10-07 20:09:38 UTC
Alright, I just added support for a "query form at top" parameter, as specified above, to the code in SVN. I believe the issue is now solved; I'm setting this bug to "fixed".

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


Navigation
Links