Last modified: 2014-06-12 16:35:08 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 T22210, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20210 - Typeahead search drop-down suggestions for special page parameters
Typeahead search drop-down suggestions for special page parameters
Status: NEW
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Special:...
:
Depends on:
Blocks: 27411 48240
  Show dependency treegraph
 
Reported: 2009-08-13 00:08 UTC by Brion Vibber
Modified: 2014-06-12 16:35 UTC (History)
5 users (show)

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


Attachments

Description Brion Vibber 2009-08-13 00:08:12 UTC
We have lovely typeahead search suggestions for regular page names, and for raw Special: page names (eg if you "special:rec" and get shown "Special:RecentChanges" and "Special:RecentChangesLinked") but...

What would come in quite handy for us power users would be if for special pages which are known to accept a page title as a slash-parameter, we could get typeahead suggestions for page titles!

Eg, type "Special:Whatlinkshere/leb" and see:

Special:WhatLinksHere/Lebanon
Special:WhatLinksHere/Lebanese Civil War
Special:WhatLinksHere/LeBron James
etc.

This would require special pages registering themselves as accepting titles as a parameter, as not all of them do. (And some take usernames or other special cases, which would need different support.)
Comment 1 Roan Kattouw 2009-08-13 09:01:43 UTC
If the special page specified more than a boolean "I accept page parameters", for instance relevant parts of an API request instead, we could have suggestions for Special:Code as well.
Comment 2 Gerrit Notification Bot 2014-04-12 11:18:39 UTC
Change 125565 had a related patch set uploaded by Bartosz Dziewoński:
[poc] Autocomplete special pages' subpages in search suggestions

https://gerrit.wikimedia.org/r/125565
Comment 3 Gerrit Notification Bot 2014-06-12 16:33:31 UTC
Change 125565 merged by jenkins-bot:
Autocomplete special pages' subpages in search suggestions

https://gerrit.wikimedia.org/r/125565
Comment 4 Bartosz Dziewoński 2014-06-12 16:35:08 UTC
And so the foundations for this are laid! However, the only special pages which support this sort of autocompletion is Special:Watchlist (…/edit, etc.) and Special:Log (…/block, etc.).

My patch originally also included a hacky implementation for Special:Contributions which was deemed unsalvageable.

Somebody should probably file some sub-bugs to implement this in special pages where it would have any value. Contributions and Whatlinkshere (mentioned in comment 0) are two, what else?

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


Navigation
Links