Commit graph

12 commits

Author SHA1 Message Date
Alexandre Emsenhuber
fc582f43aa * document a bit
* fixed some doxygen warnings
2010-01-19 22:02:20 +00:00
Tim Starling
a612b092cb Fix breakage of LinkFilter::makeLike() due to attempted rewrite in r60162. It's meant to return the string without the quotes, not the whole clause. 2009-12-18 02:49:07 +00:00
Max Semenik
eb8b230abc Fixup for r57989: removed artifacts of the previous version of my patch, improved code reuse. 2009-12-17 15:39:11 +00:00
Max Semenik
ae57ab1eec (bug 20275) Fixed LIKE queries on SQLite backend
* All manually built LIKE queries in the core are replaced with a wrapper function Database::buildLike()
* This function automatically performs all escaping, so Database::escapeLike() is now almost never used
2009-10-21 19:53:03 +00:00
Siebrand Mazeland
79d5225c0e * remove end of line whitespace
* remove empty lines at end of file
* remove "?>" where still present
2008-04-14 07:45:50 +00:00
Brion Vibber
bc20a5b531 Fix external link queries to escape LIKE metacharacters, avoiding massive table scans 2007-09-18 20:14:25 +00:00
Aryeh Gregor
a15c419b3d Remove ?>'s from files. They're pointless, and just asking for people to mess with the files and add trailing whitespace. (Yes, I looked over every one and reverted those that were bogus. Slash-enter a million times in less worked well enough, although it was a bit mind-numbing.) 2007-06-29 01:19:14 +00:00
Antoine Musso
894d10e075 make some methods public, static and private. Fix strict standards in cleanupSpam.php 2007-04-13 00:20:43 +00:00
Raimond Spekking
7a69366288 * (bug 8324) LinkSearch: search for all protocols defined in wgUrlProtocols incl. email
Make LinkFilter and GlobalFunctions more flexible
2007-03-19 16:19:13 +00:00
Raimond Spekking
ba14ef8ecd * (bug 8324) LinkSearch: search for https/ftp/irc/news weblinks
Make LinkFilter and GlobalFunctions more flexible for other than http
2007-03-16 21:49:43 +00:00
Lupin
c7408b9223 trailing whitespace removal 2006-03-11 17:13:49 +00:00
Tim Starling
34912bff40 Maintenance script to find and remove links to a given domain (cleanupSpam.php) 2006-01-27 23:37:19 +00:00