diff options
author | John Du Hart <johnduhart@users.mediawiki.org> | 2011-11-16 00:17:26 +0000 |
---|---|---|
committer | John Du Hart <johnduhart@users.mediawiki.org> | 2011-11-16 00:17:26 +0000 |
commit | 2e7d867478f1c9a34994236555bc493535da5da8 (patch) | |
tree | f3cd2cfd3e504648958a081d93943dbac3bff7c4 /includes/api/ApiQueryRandom.php | |
parent | 018d885f6416c5e672992319abd48afd5b25803d (diff) | |
download | mediawikicore-2e7d867478f1c9a34994236555bc493535da5da8.tar.gz mediawikicore-2e7d867478f1c9a34994236555bc493535da5da8.zip |
Removed the 'eclipse helper' bit on top of every API module
It's a parctice that dates back to 2006 when the API was first written, and frankly isn't covered by the coding conventions. Same thing with the docblocks, they're all copypasted with some bits changed and don't even make sense if you look at them in the genereated code docs.
I don't feel that any of us depend on this anymore (get a better IDE), so in the inerest of consistancy it's time we said goodbye to it.
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/103273
Diffstat (limited to 'includes/api/ApiQueryRandom.php')
-rw-r--r-- | includes/api/ApiQueryRandom.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/includes/api/ApiQueryRandom.php b/includes/api/ApiQueryRandom.php index 0779b35e4173..2e9e2dd500a7 100644 --- a/includes/api/ApiQueryRandom.php +++ b/includes/api/ApiQueryRandom.php @@ -25,11 +25,6 @@ * @file */ -if ( !defined( 'MEDIAWIKI' ) ) { - // Eclipse helper - will be ignored in production - require_once( 'ApiQueryBase.php' ); -} - /** * Query module to get list of random pages * |