Last modified: 2011-03-13 18:05:43 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 T17412, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15412 - Implement Special:Suffixindex page
Implement Special:Suffixindex page
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.13.x
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-01 04:00 UTC by X!
Modified: 2011-03-13 18:05 UTC (History)
2 users (show)

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


Attachments
Patch for special page (3.96 KB, patch)
2008-09-01 04:00 UTC, X!
Details
Add the actual page :) (10.28 KB, patch)
2008-09-01 04:02 UTC, X!
Details

Description X! 2008-09-01 04:00:03 UTC
Created attachment 5246 [details]
Patch for special page

Similar functionality to Special:Prefixindex, this special page looks for text at the end of a page title, instead of the beginning.
Comment 1 X! 2008-09-01 04:02:39 UTC
Created attachment 5247 [details]
Add the actual page :)

Somehow, svn diff forgot the special page itself.
Comment 2 River Tarnell 2008-09-01 04:54:18 UTC
this looks far too slow for any medium or large site; a query of the form LIKE '%foo' can't be indexed, it does a full table scan.

one way to do this efficiently would be to store a list of all titles in reverse order (i.e. "Wikipedia" -> "aidepikiW") and do a prefix index with the reversed query (LIKE "%edia" -> LIKE "aide%") - such a query can be indexed as the initial part of the string is static.

of course, this would need some kind of maintenance script to produce the initial title list.
Comment 3 Tim Starling 2008-09-01 05:11:15 UTC
I don't think we want extra indexes or maintenance scripts for such a rarely requested and apparently pointless feature. 

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


Navigation
Links