multi dbms support in api
authorumherirrender <umherirrender_de.wp@web.de>
Wed, 16 May 2012 17:22:36 +0000 (19:22 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Wed, 16 May 2012 17:22:36 +0000 (19:22 +0200)
commit278bb4414fd50315b148c78ac4ee22c5cc7500e2
tree39a4cdf7bb9692fc2c32cfaaa3b59ef1c1c71070
parent820ed8667f9301c68269fdb44de6e9b37ffd54c4
multi dbms support in api

Add some calls to Database::timestamp
Change some calls from Database::strencode to
Database::addQuotes to avoid ' in raw sql
Remove ' from ints in raw sql
Rename some vars to avoid duplicate names

Change-Id: I63f5602fa968f969a42932902a3ccc45fc54b432
14 files changed:
includes/api/ApiBlock.php
includes/api/ApiProtect.php
includes/api/ApiQueryAllLinks.php
includes/api/ApiQueryAllUsers.php
includes/api/ApiQueryBacklinks.php
includes/api/ApiQueryBlocks.php
includes/api/ApiQueryCategoryMembers.php
includes/api/ApiQueryDeletedrevs.php
includes/api/ApiQueryIWBacklinks.php
includes/api/ApiQueryLangBacklinks.php
includes/api/ApiQueryRecentChanges.php
includes/api/ApiQueryRevisions.php
includes/api/ApiQueryUserContributions.php
includes/api/ApiQueryWatchlistRaw.php