From d9022f63880ce039446fba8364f68e656b7bf4cb Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 3 May 2012 13:01:35 +0200 Subject: Update to MediaWiki 1.19.0 --- includes/api/ApiQueryExternalLinks.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'includes/api/ApiQueryExternalLinks.php') diff --git a/includes/api/ApiQueryExternalLinks.php b/includes/api/ApiQueryExternalLinks.php index 95297628..a9fbc839 100644 --- a/includes/api/ApiQueryExternalLinks.php +++ b/includes/api/ApiQueryExternalLinks.php @@ -24,11 +24,6 @@ * @file */ -if ( !defined( 'MEDIAWIKI' ) ) { - // Eclipse helper - will be ignored in production - require_once( "ApiQueryBase.php" ); -} - /** * A query module to list all external URLs found on a given set of pages. * @@ -148,10 +143,9 @@ class ApiQueryExternalLinks extends ApiQueryBase { ) ); } - protected function getExamples() { + public function getExamples() { return array( - 'Get a list of external links on the [[Main Page]]:', - ' api.php?action=query&prop=extlinks&titles=Main%20Page', + 'api.php?action=query&prop=extlinks&titles=Main%20Page' => 'Get a list of external links on the [[Main Page]]', ); } -- cgit v1.2.3-54-g00ecf