On Mon, Dec 5, 2011 at 6:21 PM, Daniel Barrett danb@vistaprint.com wrote:
class MyQueryPageClassName extends QueryPage { function getName() { return 'My Query Page'; } function getSQL() { return "select 1 as 'test'"; }
getSQL() ?!?
I looked at SpecialPopularpages.php and see a global function wfSpecialPopularpages() at the end that looks necessary, but I don't see anything that calls it in the code. How does this really work? I created my own version but nothing seems to call it.
wfSpecialPopularpages() ?!? Are you sure you're looking at a recent version of MediaWiki?
Roan