On Mon, Dec 5, 2011 at 6:21 PM, Daniel Barrett <[email protected]> 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

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to