Page MenuHomePhabricator

Phabricator Advanced Search could sort results
Closed, InvalidPublic

Description

In the following example I take the jumbled results Advanced Search returns, and via a Perl one-liner, sort then by (T) Task number.

This functionality could be made an additional option to Advanced Search, so one needn't run the results through a perl script.

You could offer various ways to sort the results.
T ascending, T descending, Date of last change ascending, etc.

$ w3m -cols 133 -dump https://phabricator.wikimedia.org/search/query/25biiKFvVvR./#R | perl -nwle '/^\s+T(\d+):/||next; $h{$1}=$_;END{for(sort{$b<=>$a}keys %h){print $h{$_}}}'

T172644: Shouldn't there be two skin Preferences, one for Desktop, and one for Mobile?
T172643: Editor won't start: 500 (Internal Server Error)
T172599: Some templates eat paragraphs
T171062: Unknown dependency: mobile.site when trying to use Minerva on desktop
T168624: W3C Validator complains about <dd> elements missing <dt> children, and some unknown "language" parameter values
T165644: Editing a page without any changes to the page content should show a warning (to not lose the edit summary you entered)
T126113: Special:Categories/XYZ leaves previous search fragment in URL bar
T89693: Can't go back from anchors in Android Beta Wikipedia App
T66275: Should be possible to configure the footer of Minerva skin
T62518: Add date information of when a version went live to RecentChanges
T56350: "You are centrally logged in. Reload the page" message still shown after reloading
T40085: Statistic page not entirely correct
T37464: just highlight the characters that changed, not the whole line
T33928: Enable users to set their preferences to receive watchlist notifications regardless of whether the page has been visited
T31521: Use consistent labels for the diff-action ("diff" on SpecialRecentChanges vs. "prev" on HistoryAction)
T27282: Add option to avoid Special:NewPages cluttered with "Created page with..."
T21187: Many Special pages need constant width date, else columns won't line up
T21048: 304 (not modified) responses not suppressed after user session expires
T20465: Tabs in Monobook and Vector should indicate selected state
T19750: Special:Recentchanges should ignore 'days=' if 'from=' is specified
T19748: Allow specifying what namespaces to generate sitemaps for, from the php command line
T17218: LinkSearch results should use as much of the path as is provided, not simply search by domain
T16188: Special:Categories PREFIX= or REGEXP=, not just OFFSET
T13131: Edit toolbar needs more appropriate alt text for buttons
T13130: Preference to toggle edit tools
T10473: Allow configuring the current automatic "noindex, nofollow" for all special pages
T2156: Add section edit link for 0th section of a page/article

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

(In general, please describe underlying actual problems to solve instead of outcomes. In this case: Why would you want to sort by task number?)

"Order By" on https://phabricator.wikimedia.org/maniphest/query/advanced/ offers "Creation (Oldest first)". As task numbers get assigned sequentially, this is the same.
Hence closing this task as invalid.

Ah!
OK but I would add a link "Switch to the Simple Advanced Search form" on
the Advanced Advanced search form. And a link "Switch to the Advanced
Advanced Search form" on the Simple Advanced Search form. Else the user
will never know.

Yes. Please mention this report in that thread for me.

I will not as I will not proxy "+1 / me too"s which only create noise. If there is anything substantial missing, feel free to comment yourself in upstream.

Their phabricator instance is, but there is a community/users (including sysadmins) of Phabricator forum/discussion system where suggestions or help are welcome.

That is nice to know.
I hope they link their two Advanced Search forms to each other someday.