(bug 14414) maintenance/updateSpecialPages.php no longer throws error with PostgreSQL:
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 21 Feb 2009 17:30:59 +0000 (17:30 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 21 Feb 2009 17:30:59 +0000 (17:30 +0000)
commit888f5b3592e91726b8bc444b724c8e8824db7962
treed3b37123b06b2ba428ac09d5fa3eade3f2f40927
parentc2a7904841a923138acb00d7d3314af0c06625fd
(bug 14414) maintenance/updateSpecialPages.php no longer throws error with PostgreSQL:
* forced intval() for the "value" field in QueryPage::recache() since some pages select page_title for it, which is incompatible with "integer"
* changed Special:Unusedimages' query to return the UNIX timestamp rather than raw img_timestamp for the "value" field, the latter has the TS_POSTGRES format on PostgreSQL and is also incompatible with "integer", code taken from Special:Ancientpages
RELEASE-NOTES
includes/QueryPage.php
includes/specials/SpecialUnusedimages.php