Index: trunk/phase3/includes/specials/SpecialWantedpages.php |
— | — | @@ -30,7 +30,7 @@ |
31 | 31 | function __construct( $name = 'Wantedpages' ) { |
32 | 32 | parent::__construct( $name ); |
33 | 33 | } |
34 | | - |
| 34 | + |
35 | 35 | function execute( $par ) { |
36 | 36 | $inc = $this->including(); |
37 | 37 | |
— | — | @@ -64,16 +64,16 @@ |
65 | 65 | NS_MEDIAWIKI . "'" ), |
66 | 66 | 'options' => array ( 'HAVING' => "COUNT(*) > $count", |
67 | 67 | 'GROUP BY' => 'pl_namespace, pl_title' ), |
68 | | - 'join_conds' => array ( 'page AS pg1' => array ( |
| 68 | + 'join_conds' => array ( 'pg1' => array ( |
69 | 69 | 'LEFT JOIN', array ( |
70 | 70 | 'pg1.page_namespace = pl_namespace', |
71 | 71 | 'pg1.page_title = pl_title' ) ), |
72 | | - 'page AS pg2' => array ( 'LEFT JOIN', |
| 72 | + 'pg2' => array ( 'LEFT JOIN', |
73 | 73 | 'pg2.page_id = pl_from' ) ) |
74 | 74 | ); |
75 | 75 | // Replacement WantedPages::getSQL |
76 | 76 | wfRunHooks( 'WantedPages::getQueryInfo', |
77 | 77 | array( &$this, &$query ) ); |
78 | 78 | return $query; |
79 | | - } |
| 79 | + } |
80 | 80 | } |