Merge "Added SpecialPageAfterExecute and SpecialPageBeforeExecute hooks"
[lhc/web/wiklou.git] / maintenance / dumpLinks.php
index d09a7f7..0101dc8 100644 (file)
@@ -26,7 +26,7 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  * http://www.gnu.org/copyleft/gpl.html
  *
- * @ingroup Mainatenance
+ * @ingroup Maintenance
  */
 
 require_once( dirname( __FILE__ ) . '/Maintenance.php' );
@@ -49,7 +49,7 @@ class DumpLinks extends Maintenance {
                        array( 'page_id=pl_from' ),
                        __METHOD__,
                        array( 'ORDER BY' => 'page_id' ) );
-       
+
                $lastPage = null;
                foreach ( $result as $row ) {
                        if ( $lastPage != $row->page_id ) {
@@ -69,5 +69,5 @@ class DumpLinks extends Maintenance {
 }
 
 $maintClass = "DumpLinks";
-require_once( DO_MAINTENANCE );
+require_once( RUN_MAINTENANCE_IF_MAIN );