Index: trunk/phase3/maintenance/updaters.inc |
— | — | @@ -1005,6 +1005,7 @@ |
1006 | 1006 | } |
1007 | 1007 | |
1008 | 1008 | function do_backlinking_indices_update() { |
| 1009 | + global $wgDatabase; |
1009 | 1010 | wfOut( "Checking for backlinking indices...\n" ); |
1010 | 1011 | if (!index_has_field('pagelinks', 'pl_namespace', 'pl_from') || |
1011 | 1012 | !index_has_field('templatelinks', 'tl_namespace', 'tl_from') || |
— | — | @@ -1016,6 +1017,7 @@ |
1017 | 1018 | } |
1018 | 1019 | |
1019 | 1020 | function do_categorylinks_indices_update() { |
| 1021 | + global $wgDatabase; |
1020 | 1022 | wfOut( "Checking for categorylinks indices...\n" ); |
1021 | 1023 | if (!index_has_field('categorylinks', 'cl_sortkey', 'cl_from')) |
1022 | 1024 | { |