Last modified: 2007-03-13 21:59:33 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 T5984, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3984 - Searching in Logs / Only complete data can be found
Searching in Logs / Only complete data can be found
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Normal normal with 4 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-11-15 21:34 UTC by Tim Bartel
Modified: 2007-03-13 21:59 UTC (History)
0 users

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


Attachments

Description Tim Bartel 2005-11-15 21:34:17 UTC
If you seach in the Logs (Block, Protection, Deletion, ...) you can enter search
informaiton in the "User" and/or "Title" form field. You will only be able to
find matches if you enter the complete name. It seems not to be possible to only
enter a part of the name

If an article "This is just an example to explain the bug" is deleted, it should
be able to find it in the block log by entering "just an example" and hitting
return. Or "*just an example*".

This would also be very usefull in searching IP(-range)s in the logs.
Comment 1 Ævar Arnfjörð Bjarmason 2005-11-15 21:45:31 UTC
We're not going to allow searching for a substring anywhere in a string in the
log_user, log_title or log_comment fields in miser mode. Currently there is an
index (In reply to comment #0)
> If you seach in the Logs (Block, Protection, Deletion, ...) you can enter search
> informaiton in the "User" and/or "Title" form field. You will only be able to
> find matches if you enter the complete name. It seems not to be possible to only
> enter a part of the name

Confirmed

> If an article "This is just an example to explain the bug" is deleted, it should
> be able to find it in the block log by entering "just an example" and hitting
> return. Or "*just an example*".

LIKE "%foo%" would be too expensive an operating to enable since it would result
in a table scan.
Comment 2 lɛʁi לערי ריינהארט 2005-11-16 01:17:54 UTC
As I remember a "substring search" was available some time ago at
http://en.wikipedia.org/wiki/Special:Imagelist .
Now you may search for "arba" at 
http://en.wikipedia.org/w/index.php?title=Special:Newimages&limit=48
Comment 3 Raimond Spekking 2007-01-04 11:38:01 UTC
Maybe a lighter solution like [[Special:Userlist]] would be possible? Since a
few month a search with e.g. "Ray" gives a usernames list like "Ray*". Maybe a
searchmattern "Ray*" is not so expensive then "%ray%"?
Comment 4 Raimond Spekking 2007-03-13 21:59:33 UTC
Realized for field "title" with r20409.

Added an option for search e.g. "Test%". Other forms like "T%est%" are too
expensive and disabled. I will close this bug as FIXED. If someone needs a
pattern search for the field "user" too feel free to reopen this bug or file a
new bug.

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


Navigation
Links