(bug 20275) Fixed LIKE queries on SQLite backend
authorMax Semenik <maxsem@users.mediawiki.org>
Wed, 21 Oct 2009 19:53:03 +0000 (19:53 +0000)
committerMax Semenik <maxsem@users.mediawiki.org>
Wed, 21 Oct 2009 19:53:03 +0000 (19:53 +0000)
commitae57ab1eec9f9051fc0e6786e8eff9d01988be19
tree64fce3e3fd2c209a37bac30c01e7552368ea0746
parentf215649e2d1926e8a0d772be3ce73b05fd56e80d
(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
33 files changed:
RELEASE-NOTES
includes/AutoLoader.php
includes/Block.php
includes/LinkFilter.php
includes/LogEventsList.php
includes/MessageCache.php
includes/Title.php
includes/api/ApiQueryAllCategories.php
includes/api/ApiQueryAllLinks.php
includes/api/ApiQueryAllUsers.php
includes/api/ApiQueryAllimages.php
includes/api/ApiQueryAllpages.php
includes/api/ApiQueryBlocks.php
includes/api/ApiQueryExtLinksUsage.php
includes/api/ApiQueryUserContributions.php
includes/db/Database.php
includes/db/DatabaseSqlite.php
includes/filerepo/LocalRepo.php
includes/specials/SpecialIpblocklist.php
includes/specials/SpecialLinkSearch.php
includes/specials/SpecialListfiles.php
includes/specials/SpecialMovepage.php
includes/specials/SpecialNewimages.php
includes/specials/SpecialPrefixindex.php
includes/specials/SpecialUndelete.php
includes/specials/SpecialWithoutinterwiki.php
maintenance/cleanupSpam.php
maintenance/deleteSelfExternals.php
maintenance/namespaceDupes.php
maintenance/storage/compressOld.inc
maintenance/storage/moveToExternal.php
maintenance/storage/resolveStubs.php
maintenance/storage/trackBlobs.php