From 4ac9fa081a7c045f6a9f1cfc529d82423f485b2e Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sun, 8 Dec 2013 09:55:49 +0100 Subject: Update to MediaWiki 1.22.0 --- maintenance/dumpLinks.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'maintenance/dumpLinks.php') diff --git a/maintenance/dumpLinks.php b/maintenance/dumpLinks.php index 08aae295..be0b4633 100644 --- a/maintenance/dumpLinks.php +++ b/maintenance/dumpLinks.php @@ -30,7 +30,7 @@ * @ingroup Maintenance */ -require_once( __DIR__ . '/Maintenance.php' ); +require_once __DIR__ . '/Maintenance.php'; /** * Maintenance script that generates a plaintext link dump. @@ -63,16 +63,17 @@ class DumpLinks extends Maintenance { $this->output( "\n" ); } $page = Title::makeTitle( $row->page_namespace, $row->page_title ); - $this->output( $page->getPrefixedUrl() ); + $this->output( $page->getPrefixedURL() ); $lastPage = $row->page_id; } $link = Title::makeTitle( $row->pl_namespace, $row->pl_title ); - $this->output( " " . $link->getPrefixedUrl() ); + $this->output( " " . $link->getPrefixedURL() ); } - if ( isset( $lastPage ) ) + if ( isset( $lastPage ) ) { $this->output( "\n" ); + } } } $maintClass = "DumpLinks"; -require_once( RUN_MAINTENANCE_IF_MAIN ); +require_once RUN_MAINTENANCE_IF_MAIN; -- cgit v1.2.3-54-g00ecf