Index: trunk/phase3/includes/api/ApiQueryRecentChanges.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiQueryBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * A query action to enumerate the recent changes that were done to the wiki. |
35 | 30 | * Various filters are supported. |
Index: trunk/phase3/includes/api/ApiQueryAllLinks.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiQueryBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * Query module to enumerate links from all pages together. |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiQueryAllCategories.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiQueryBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * Query module to enumerate all categories, even the ones that don't have |
35 | 30 | * category pages. |
Index: trunk/phase3/includes/api/ApiWatch.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * API module to allow users to watch a page |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiQuerySiteinfo.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiQueryBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * A query action to return meta information about the wiki site. |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiQueryRandom.php |
— | — | @@ -25,11 +25,6 @@ |
26 | 26 | * @file |
27 | 27 | */ |
28 | 28 | |
29 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
30 | | - // Eclipse helper - will be ignored in production |
31 | | - require_once( 'ApiQueryBase.php' ); |
32 | | -} |
33 | | - |
34 | 29 | /** |
35 | 30 | * Query module to get list of random pages |
36 | 31 | * |
Index: trunk/phase3/includes/api/ApiMove.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( "ApiBase.php" ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * API Module to move pages |
35 | 30 | * @ingroup API |
Index: trunk/phase3/includes/api/ApiQueryLinks.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( "ApiQueryBase.php" ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * A query module to list all wiki links on a given set of pages. |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiFileRevert.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( "ApiBase.php" ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * @ingroup API |
35 | 30 | */ |
Index: trunk/phase3/includes/api/ApiLogout.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * API module to allow users to log out of the wiki. API equivalent of |
35 | 30 | * Special:Userlogout. |
Index: trunk/phase3/includes/api/ApiParse.php |
— | — | @@ -22,11 +22,6 @@ |
23 | 23 | * @file |
24 | 24 | */ |
25 | 25 | |
26 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
27 | | - // Eclipse helper - will be ignored in production |
28 | | - require_once( "ApiBase.php" ); |
29 | | -} |
30 | | - |
31 | 26 | /** |
32 | 27 | * @ingroup API |
33 | 28 | */ |
Index: trunk/phase3/includes/api/ApiQueryExtLinksUsage.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiQueryBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * @ingroup API |
35 | 30 | */ |
Index: trunk/phase3/includes/api/ApiQueryAllpages.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiQueryBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * Query module to enumerate all available pages. |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiFormatWddx.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiFormatBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * API WDDX output formatter |
35 | 30 | * @ingroup API |
Index: trunk/phase3/includes/api/ApiProtect.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( "ApiBase.php" ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * @ingroup API |
35 | 30 | */ |
Index: trunk/phase3/includes/api/ApiPurge.php |
— | — | @@ -25,10 +25,6 @@ |
26 | 26 | * @file |
27 | 27 | */ |
28 | 28 | |
29 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
30 | | - require_once( 'ApiBase.php' ); |
31 | | -} |
32 | | - |
33 | 29 | /** |
34 | 30 | * API interface for page purging |
35 | 31 | * @ingroup API |
Index: trunk/phase3/includes/api/ApiQueryPageProps.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiQueryBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * A query module to show basic page information. |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiQueryBacklinks.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( "ApiQueryBase.php" ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * This is a three-in-one module to query: |
35 | 30 | * * backlinks - links pointing to the given page, |
Index: trunk/phase3/includes/api/ApiRollback.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( "ApiBase.php" ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * @ingroup API |
35 | 30 | */ |
Index: trunk/phase3/includes/api/ApiQueryDeletedrevs.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiQueryBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * Query module to enumerate all deleted revisions. |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiExpandTemplates.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( "ApiBase.php" ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * API module that functions as a shortcut to the wikitext preprocessor. Expands |
35 | 30 | * any templates in a provided string, and returns the result of this expansion |
Index: trunk/phase3/includes/api/ApiUserrights.php |
— | — | @@ -25,11 +25,6 @@ |
26 | 26 | * @file |
27 | 27 | */ |
28 | 28 | |
29 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
30 | | - // Eclipse helper - will be ignored in production |
31 | | - require_once( "ApiBase.php" ); |
32 | | -} |
33 | | - |
34 | 29 | /** |
35 | 30 | * @ingroup API |
36 | 31 | */ |
Index: trunk/phase3/includes/api/ApiQueryBase.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * This is a base class for all Query modules. |
35 | 30 | * It provides some common functionality such as constructing various SQL |
Index: trunk/phase3/includes/api/ApiFormatPhp.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiFormatBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * API Serialized PHP output formatter |
35 | 30 | * @ingroup API |
Index: trunk/phase3/includes/api/ApiDelete.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( "ApiBase.php" ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * API module that facilitates deleting pages. The API equivalent of action=delete. |
35 | 30 | * Requires API write mode to be enabled. |
Index: trunk/phase3/includes/api/ApiQueryBlocks.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiQueryBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * Query module to enumerate all user blocks |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiQueryFilearchive.php |
— | — | @@ -26,11 +26,6 @@ |
27 | 27 | * @file |
28 | 28 | */ |
29 | 29 | |
30 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
31 | | - // Eclipse helper - will be ignored in production |
32 | | - require_once( 'ApiQueryBase.php' ); |
33 | | -} |
34 | | - |
35 | 30 | /** |
36 | 31 | * Query module to enumerate all deleted files. |
37 | 32 | * |
Index: trunk/phase3/includes/api/ApiDisabled.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( "ApiBase.php" ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * API module that dies with an error immediately. |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiImport.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * API module that imports an XML file like Special:Import does |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiFormatYaml.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiFormatBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * API YAML output formatter |
35 | 30 | * @ingroup API |
Index: trunk/phase3/includes/api/ApiResult.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * This class represents the result of the API operations. |
35 | 30 | * It simply wraps a nested array() structure, adding some functions to simplify array's modifications. |
Index: trunk/phase3/includes/api/ApiQueryCategoryMembers.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( "ApiQueryBase.php" ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * A query module to enumerate pages that belong to a category. |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiQueryCategoryInfo.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( "ApiQueryBase.php" ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * This query adds the <categories> subelement to all pages with the list of categories the page is in |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiEditPage.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( "ApiBase.php" ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * A module that allows for editing and creating pages. |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiFormatBase.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * This is the abstract base class for API formatters. |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiQueryAllimages.php |
— | — | @@ -26,11 +26,6 @@ |
27 | 27 | * @file |
28 | 28 | */ |
29 | 29 | |
30 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
31 | | - // Eclipse helper - will be ignored in production |
32 | | - require_once( 'ApiQueryBase.php' ); |
33 | | -} |
34 | | - |
35 | 30 | /** |
36 | 31 | * Query module to enumerate all available pages. |
37 | 32 | * |
Index: trunk/phase3/includes/api/ApiQueryAllmessages.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiQueryBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * A query action to return messages from site message cache |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiFormatTxt.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiFormatBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * API Text output formatter |
35 | 30 | * @ingroup API |
Index: trunk/phase3/includes/api/ApiQuerySearch.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiQueryBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * Query module to perform full text search within wiki titles and content |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiQueryLogEvents.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiQueryBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * Query action to List the log events, with optional filtering by various parameters. |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiUnblock.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( "ApiBase.php" ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * API module that facilitates the unblocking of users. Requires API write mode |
35 | 30 | * to be enabled. |
Index: trunk/phase3/includes/api/ApiQueryWatchlistRaw.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiQueryBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * This query action allows clients to retrieve a list of pages |
35 | 30 | * on the logged-in user's watchlist. |
Index: trunk/phase3/includes/api/ApiFormatRaw.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiFormatBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * Formatter that spits out anything you like with any desired MIME type |
35 | 30 | * @ingroup API |
Index: trunk/phase3/includes/api/ApiQueryProtectedTitles.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiQueryBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * Query module to enumerate all create-protected pages. |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiFormatDbg.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiFormatBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * API PHP's var_export() output formatter |
35 | 30 | * @ingroup API |
Index: trunk/phase3/includes/api/ApiQuery.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * This is the main query class. It behaves similar to ApiMain: based on the |
35 | 30 | * parameters given, it will create a list of titles to work on (an ApiPageSet |
Index: trunk/phase3/includes/api/ApiQueryIWLinks.php |
— | — | @@ -25,11 +25,6 @@ |
26 | 26 | * @file |
27 | 27 | */ |
28 | 28 | |
29 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
30 | | - // Eclipse helper - will be ignored in production |
31 | | - require_once( "ApiQueryBase.php" ); |
32 | | -} |
33 | | - |
34 | 29 | /** |
35 | 30 | * A query module to list all interwiki links on a page |
36 | 31 | * |
Index: trunk/phase3/includes/api/ApiLogin.php |
— | — | @@ -25,11 +25,6 @@ |
26 | 26 | * @file |
27 | 27 | */ |
28 | 28 | |
29 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
30 | | - // Eclipse helper - will be ignored in production |
31 | | - require_once( 'ApiBase.php' ); |
32 | | -} |
33 | | - |
34 | 29 | /** |
35 | 30 | * Unit to authenticate log-in attempts to the current wiki. |
36 | 31 | * |
Index: trunk/phase3/includes/api/ApiQueryLangLinks.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( "ApiQueryBase.php" ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * A query module to list all langlinks (links to correspanding foreign language pages). |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiFormatXml.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiFormatBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * API XML output formatter |
35 | 30 | * @ingroup API |
Index: trunk/phase3/includes/api/ApiFormatDump.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiFormatBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * API PHP's var_dump() output formatter |
35 | 30 | * @ingroup API |
Index: trunk/phase3/includes/api/ApiQueryUserInfo.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiQueryBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * Query module to get information about the currently logged-in user |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiFormatJson.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiFormatBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * API JSON output formatter |
35 | 30 | * @ingroup API |
Index: trunk/phase3/includes/api/ApiMain.php |
— | — | @@ -25,11 +25,6 @@ |
26 | 26 | * @defgroup API API |
27 | 27 | */ |
28 | 28 | |
29 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
30 | | - // Eclipse helper - will be ignored in production |
31 | | - require_once( 'ApiBase.php' ); |
32 | | -} |
33 | | - |
34 | 29 | /** |
35 | 30 | * This is the main API class, used for both external and internal processing. |
36 | 31 | * When executed, it will create the requested formatter object, |
Index: trunk/phase3/includes/api/ApiQueryImageInfo.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiQueryBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * A query action to get image information and upload history. |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiEmailUser.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( "ApiBase.php" ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * API Module to facilitate sending of emails to users |
35 | 30 | * @ingroup API |
Index: trunk/phase3/includes/api/ApiOpenSearch.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( "ApiBase.php" ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * @ingroup API |
35 | 30 | */ |
Index: trunk/phase3/includes/api/ApiQueryIWBacklinks.php |
— | — | @@ -25,11 +25,6 @@ |
26 | 26 | * @file |
27 | 27 | */ |
28 | 28 | |
29 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
30 | | - // Eclipse helper - will be ignored in production |
31 | | - require_once( "ApiQueryBase.php" ); |
32 | | -} |
33 | | - |
34 | 29 | /** |
35 | 30 | * This gives links pointing to the given interwiki |
36 | 31 | * @ingroup API |
Index: trunk/phase3/includes/api/ApiQueryQueryPage.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiQueryBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * Query module to get the results of a QueryPage-based special page |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiPageSet.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiQueryBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * This class contains a list of pages that the client has requested. |
35 | 30 | * Initially, when the client passes in titles=, pageids=, or revisions= |
Index: trunk/phase3/includes/api/ApiHelp.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * This is a simple class to handle action=help |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiQueryWatchlist.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiQueryBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * This query action allows clients to retrieve a list of recently modified pages |
35 | 30 | * that are part of the logged-in user's watchlist. |
Index: trunk/phase3/includes/api/ApiRsd.php |
— | — | @@ -25,10 +25,6 @@ |
26 | 26 | * @file |
27 | 27 | */ |
28 | 28 | |
29 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
30 | | - require_once( 'ApiBase.php' ); |
31 | | -} |
32 | | - |
33 | 29 | /** |
34 | 30 | * API module for sending out RSD information |
35 | 31 | * @ingroup API |
Index: trunk/phase3/includes/api/ApiQueryLangBacklinks.php |
— | — | @@ -25,11 +25,6 @@ |
26 | 26 | * @file |
27 | 27 | */ |
28 | 28 | |
29 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
30 | | - // Eclipse helper - will be ignored in production |
31 | | - require_once( "ApiQueryBase.php" ); |
32 | | -} |
33 | | - |
34 | 29 | /** |
35 | 30 | * This gives links pointing to the given interwiki |
36 | 31 | * @ingroup API |
Index: trunk/phase3/includes/api/ApiBlock.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( "ApiBase.php" ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * API module that facilitates the blocking of users. Requires API write mode |
35 | 30 | * to be enabled. |
Index: trunk/phase3/includes/api/ApiQueryDisabled.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( "ApiBase.php" ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * API module that does nothing |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiPatrol.php |
— | — | @@ -24,10 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - require_once ( 'ApiBase.php' ); |
30 | | -} |
31 | | - |
32 | 28 | /** |
33 | 29 | * Allows user to patrol pages |
34 | 30 | * @ingroup API |
Index: trunk/phase3/includes/api/ApiUndelete.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( "ApiBase.php" ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * @ingroup API |
35 | 30 | */ |
Index: trunk/phase3/includes/api/ApiQueryRevisions.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiQueryBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * A query action to enumerate revisions of a given page, or show top revisions of multiple pages. |
35 | 30 | * Various pieces of information may be shown - flags, comments, and the actual wiki markup of the rev. |
Index: trunk/phase3/includes/api/ApiQueryExternalLinks.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( "ApiQueryBase.php" ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * A query module to list all external URLs found on a given set of pages. |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiQueryCategories.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( "ApiQueryBase.php" ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * A query module to enumerate categories the set of pages belong to. |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiParamInfo.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( "ApiBase.php" ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * @ingroup API |
35 | 30 | */ |
Index: trunk/phase3/includes/api/ApiQueryAllUsers.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiQueryBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * Query module to enumerate all registered users. |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiQueryInfo.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiQueryBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * A query module to show basic page information. |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiQueryDuplicateFiles.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( "ApiQueryBase.php" ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * A query module to list duplicates of the given file(s) |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiQueryTags.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiQueryBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * Query module to enumerate change tags. |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiUpload.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( "ApiBase.php" ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * @ingroup API |
35 | 30 | */ |
Index: trunk/phase3/includes/api/ApiFeedWatchlist.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( "ApiBase.php" ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * This action allows users to get their watchlist items in RSS/Atom formats. |
35 | 30 | * When executed, it performs a nested call to the API to get the needed data, |
Index: trunk/phase3/includes/api/ApiQueryUserContributions.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiQueryBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * This query action adds a list of a specified user's contributions to the output. |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiQueryUsers.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( 'ApiQueryBase.php' ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * Query module to get information about a list of users |
35 | 30 | * |
Index: trunk/phase3/includes/api/ApiQueryImages.php |
— | — | @@ -24,11 +24,6 @@ |
25 | 25 | * @file |
26 | 26 | */ |
27 | 27 | |
28 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
29 | | - // Eclipse helper - will be ignored in production |
30 | | - require_once( "ApiQueryBase.php" ); |
31 | | -} |
32 | | - |
33 | 28 | /** |
34 | 29 | * This query adds an <images> subelement to all pages with the list of images embedded into those pages. |
35 | 30 | * |