Revert r54638 "Deprecate the $wgExtraRandompageSQL config variable by adding a hook...
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 10 Aug 2009 20:44:31 +0000 (20:44 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 10 Aug 2009 20:44:31 +0000 (20:44 +0000)
commit86b022c2bde20dbc0945d43e12c7aad73698e709
treebe4c2b6c4a430a688733df26e55c64faa21f1ba1
parent61e30dc181686b1a39bac01a328416fb200396ea
Revert r54638 "Deprecate the $wgExtraRandompageSQL config variable by adding a hook, SpecialRandomBeforeSQL"
If we're going to make a generalizable plug-in point for extensions to supply their own randomization, we shouldn't be exposing it at the point of low-level database operations. The extension should instead be given the chance to pick an item any way it pleases and return a result or set of results to choose from.
RELEASE-NOTES
docs/hooks.txt
includes/DefaultSettings.php
includes/specials/SpecialRandompage.php