Lucas_Werkmeister_WMDE created this task. Lucas_Werkmeister_WMDE added projects: Wikidata, Advanced-Search. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: TCB-Team.
TASK DESCRIPTION As a Wikidata editor, when I search for entities in order of most incoming links (as proposed in T194144#5617244 <https://phabricator.wikimedia.org/T194144#5617244>), then I want to see AdvancedSearch describe this sort instead of falling back to “Sort by ⧼advancedsearch-sort-unknown⧽”. I would also like to be able to select this sort in the “sorting order” field instead of having to manipulate the URL. **Problem:** AdvancedSearch doesn’t seem to know the `incoming_links_desc` sort option. **Example:** https://www.wikidata.org/w/index.php?search=-haslabel%3Aen&sort=incoming_links_desc **Screenshots/mockups:** F30927864: Screenshot_2019-10-30 Search results for -haslabel en - Wikidata.png <https://phabricator.wikimedia.org/F30927864> **BDD** GIVEN AND WHEN AND THEN AND **Acceptance criteria:** - **Open questions:** - What about other sorts? See `CirrusSearch::getValidSorts()` <https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/CirrusSearch/+/68073ed8ebe402587377955aa6bcabae1639e6a5/includes/CirrusSearch.php#339> for the full list. - Perhaps this sort is deliberately not included in the list of suggested sorts, to not overwhelm users? But even in that case, I think it should still be described with a proper message when selected via the URL. TASK DETAIL https://phabricator.wikimedia.org/T236891 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: Aklapper, Lucas_Werkmeister_WMDE, darthmon_wmde, DannyS712, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Lea_WMDE, _jensen, rosalieper, KasiaWMDE, Wikidata-bugs, aude, jayvdb, Tobi_WMDE_SW, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs