diff options
Diffstat (limited to 'includes')
119 files changed, 411 insertions, 58 deletions
diff --git a/includes/Block.php b/includes/Block.php index 5cb81c4f2e20..781dd9dc2a36 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -1,6 +1,7 @@ <?php /** * Blocks and bans object + * @package MediaWiki */ /** @@ -16,7 +17,9 @@ define ( 'EB_FOR_UPDATE', 2 ); * * To use delete(), you only need to fill $mAddress * Globals used: $wgBlockCache, $wgAutoblockExpiry + * * @todo This could be used everywhere, but it isn't. + * @package MediaWiki */ class Block { diff --git a/includes/BlockCache.php b/includes/BlockCache.php index a4e97d5fa562..43b77a7db7b3 100644 --- a/includes/BlockCache.php +++ b/includes/BlockCache.php @@ -1,11 +1,13 @@ <?php /** * Contain the blockcache class + * @package MediaWiki */ /** * Object for fast lookup of IP blocks * Represents a memcached value, and in some sense, the entire ipblocks table + * @package MediaWiki */ class BlockCache { diff --git a/includes/CacheManager.php b/includes/CacheManager.php index b9d164f1d1d1..1a5711be1141 100644 --- a/includes/CacheManager.php +++ b/includes/CacheManager.php @@ -1,6 +1,7 @@ <?php /** * Contain the CacheManager class + * @package MediaWiki */ /** @@ -19,6 +20,7 @@ require_once( 'Title.php' ); * $wgUseFileCache * $wgFileCacheDirectory * $wgUseGzip + * @package MediaWiki */ class CacheManager { var $mTitle, $mFileCache; diff --git a/includes/CategoryPage.php b/includes/CategoryPage.php index 84bf394144bf..e7b728db5d44 100644 --- a/includes/CategoryPage.php +++ b/includes/CategoryPage.php @@ -3,10 +3,11 @@ * Special handling for category description pages * Modelled after ImagePage.php * -*/ + * @package MediaWiki + */ /** - * + * @package MediaWiki */ class CategoryPage extends Article { @@ -285,13 +286,7 @@ class CategoryPage extends Article { } $r .= '</ul>'; } - - return $r ; } - - } - - ?> diff --git a/includes/Credits.php b/includes/Credits.php index a92c9f928973..1a9462a26f6a 100644 --- a/includes/Credits.php +++ b/includes/Credits.php @@ -1,5 +1,4 @@ <?php - /** * Credits.php -- formats credits for articles * Copyright 2004, Evan Prodromou <evan@wikitravel.org>. @@ -19,6 +18,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @author <evan@wikitravel.org> + * @package MediaWiki */ /** diff --git a/includes/Database.php b/includes/Database.php index 7a6cd9b5a2b5..829bb56a9809 100644 --- a/includes/Database.php +++ b/includes/Database.php @@ -3,6 +3,7 @@ * This file deals with MySQL interface functions * and query specifics/optimisations * @version # $Id$ + * @package MediaWiki */ /** @@ -26,7 +27,7 @@ define( 'DEADLOCK_DELAY_MAX', 1500000 ); /** * Database abstraction object - * @category database + * @package MediaWiki * @version # $Id$ */ class Database { @@ -1197,7 +1198,8 @@ class Database { /** * Database abstraction object for mySQL * Inherit all methods and properties of Database::Database() - * @category database + * + * @package MediaWiki * @see Database * @version # $Id$ */ @@ -1208,7 +1210,8 @@ class DatabaseMysql extends Database { /** * Result wrapper for grabbing data queried by someone else - * @category database + * + * @package MediaWiki * @version # $Id$ */ class ResultWrapper { diff --git a/includes/DatabaseFunctions.php b/includes/DatabaseFunctions.php index 9cc61d16cbc4..dadc7514609f 100644 --- a/includes/DatabaseFunctions.php +++ b/includes/DatabaseFunctions.php @@ -5,6 +5,7 @@ * Note: $wgDatabase has ceased to exist. Destroy all references. * * @version # $Id$ + * @package MediaWiki */ /** @@ -90,7 +91,7 @@ function wfIgnoreSQLErrors( $newstate, $dbi = DB_LAST ) { } } -/**@#+ +/**#@+ * @param $res database result handler * @param $dbi */ @@ -176,7 +177,7 @@ function wfFieldName( $res, $n, $dbi = DB_LAST ) return false; } } -/**@#-*/ +/**#@-*/ /** * @todo document function diff --git a/includes/DatabasePostgreSQL.php b/includes/DatabasePostgreSQL.php index 21420a365065..20b2617222e5 100644 --- a/includes/DatabasePostgreSQL.php +++ b/includes/DatabasePostgreSQL.php @@ -15,6 +15,7 @@ * * Hashar * + * @package MediaWiki */ /** @@ -24,6 +25,7 @@ require_once( 'Database.php' ); /** * + * @package MediaWiki */ class DatabasePgsql extends Database { var $mInsertId = NULL; @@ -363,6 +365,7 @@ class DatabasePgsql extends Database { /** * Just an alias. + * @package MediaWiki */ class DatabasePostgreSQL extends DatabasePgsql { } diff --git a/includes/DateFormatter.php b/includes/DateFormatter.php index bf38aa7d5682..e2d4c124dd30 100755 --- a/includes/DateFormatter.php +++ b/includes/DateFormatter.php @@ -2,6 +2,7 @@ /** * Contain things * @todo document + * @package MediaWiki */ /** */ @@ -32,6 +33,7 @@ define('DF_LAST', 8); /** * @todo preferences, OutputPage + * @package MediaWiki */ class DateFormatter { diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 1a13e824443e..71b2a54a4994 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1,7 +1,7 @@ <?php -# DO NOT EDIT THIS FILE! - /** + * DO NOT EDIT THIS FILE! + * * To customize your installation, edit "LocalSettings.php". * * Note that since all these string interpolations are expanded @@ -25,12 +25,12 @@ $wgVersion = '1.4-prealpha'; /** * Name of the site. * It must be changed in LocalSettings.php - * @global string $wgSiteName + * @global string $wgSitename */ $wgSitename = 'MediaWiki'; /** - * Will be same as you set $wgSitename + * Will be same as you set @see $wgSitename * @global mixed $wgMetaNamespace */ $wgMetaNamespace = FALSE; @@ -41,6 +41,7 @@ $wgMetaNamespace = FALSE; * It will be automaticly build including https mode * @global string $wgServer */ +$wgServer = ''; # check if server use https: $wgProto = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https' : 'http'; diff --git a/includes/DifferenceEngine.php b/includes/DifferenceEngine.php index e478689388cd..e2e5180b87dc 100644 --- a/includes/DifferenceEngine.php +++ b/includes/DifferenceEngine.php @@ -1,10 +1,12 @@ <?php /** * See diff.doc + * @package MediaWiki */ /** * @todo document + * @package MediaWiki */ class DifferenceEngine { /* private */ var $mOldid, $mNewid; @@ -328,6 +330,7 @@ define('USE_ASSERTS', function_exists('assert')); /** * @todo document + * @package MediaWiki */ class _DiffOp { var $type; @@ -349,6 +352,7 @@ class _DiffOp { /** * @todo document + * @package MediaWiki */ class _DiffOp_Copy extends _DiffOp { var $type = 'copy'; @@ -367,6 +371,7 @@ class _DiffOp_Copy extends _DiffOp { /** * @todo document + * @package MediaWiki */ class _DiffOp_Delete extends _DiffOp { var $type = 'delete'; @@ -383,6 +388,7 @@ class _DiffOp_Delete extends _DiffOp { /** * @todo document + * @package MediaWiki */ class _DiffOp_Add extends _DiffOp { var $type = 'add'; @@ -399,6 +405,7 @@ class _DiffOp_Add extends _DiffOp { /** * @todo document + * @package MediaWiki */ class _DiffOp_Change extends _DiffOp { var $type = 'change'; @@ -432,6 +439,7 @@ class _DiffOp_Change extends _DiffOp { * are my own. * * @author Geoffrey T. Dairiki + * @package MediaWiki * @access private */ class _DiffEngine @@ -818,6 +826,7 @@ class _DiffEngine /** * Class representing a 'diff' between two sequences of strings. * @todo document + * @package MediaWiki */ class Diff { @@ -954,6 +963,7 @@ class Diff /** * FIXME: bad name. * @todo document + * @package MediaWiki */ class MappedDiff extends Diff { @@ -1012,6 +1022,7 @@ class MappedDiff extends Diff * It is intended that this class be customized via inheritance, * to obtain fancier outputs. * @todo document + * @package MediaWiki */ class DiffFormatter { @@ -1169,6 +1180,7 @@ define('NBSP', ' '); // iso-8859-x non-breaking space. /** * @todo document + * @package MediaWiki */ class _HWLDF_WordAccumulator { function _HWLDF_WordAccumulator () { @@ -1225,6 +1237,7 @@ class _HWLDF_WordAccumulator { /** * @todo document + * @package MediaWiki */ class WordLevelDiff extends MappedDiff { @@ -1274,6 +1287,7 @@ class WordLevelDiff extends MappedDiff /** * Wikipedia Table style diff formatter. * @todo document + * @package MediaWiki */ class TableDiffFormatter extends DiffFormatter { diff --git a/includes/EditPage.php b/includes/EditPage.php index f1083b4bd36b..16be5378d719 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -2,6 +2,7 @@ # $Id$ /** * Contain the EditPage class + * @package MediaWiki */ /** @@ -9,6 +10,8 @@ * The actual database and text munging is still in Article, * but it should get easier to call those from alternate * interfaces. + * + * @package MediaWiki */ class EditPage { var $mArticle; diff --git a/includes/Feed.php b/includes/Feed.php index fcb077ac6a44..9caf38876ed9 100644 --- a/includes/Feed.php +++ b/includes/Feed.php @@ -21,6 +21,7 @@ /** * Contain a feed class as well as classes to build rss / atom ... feeds + * @package MediaWiki */ /** @@ -33,9 +34,10 @@ $wgFeedClasses = array( /** * @todo document + * @package MediaWiki */ class FeedItem { - /**@#+ + /**#@+ * @var string * @access private */ @@ -44,7 +46,7 @@ class FeedItem { var $Url = ''; var $Date = ''; var $Author = ''; - /**@#-*/ + /**#@-*/ /** * @todo document @@ -106,9 +108,10 @@ class FeedItem { /** * @todo document + * @package MediaWiki */ class ChannelFeed extends FeedItem { - /**@#+ + /**#@+ * Abstract function, override! */ @@ -148,12 +151,13 @@ class ChannelFeed extends FeedItem { print '<' . '?xml-stylesheet type="text/css" href="' . htmlspecialchars( "$wgServer$wgStylePath/feed.css" ) . '"?' . ">\n"; } - /**@#-*/ + /**#@-*/ } /** * Generate a RSS feed * @todo document + * @package MediaWiki */ class RSSFeed extends ChannelFeed { @@ -211,6 +215,7 @@ class RSSFeed extends ChannelFeed { /** * Generate an Atom feed * @todo document + * @package MediaWiki */ class AtomFeed extends ChannelFeed { /** diff --git a/includes/FulltextStoplist.php b/includes/FulltextStoplist.php index 81feb36c782a..c5676413210e 100644 --- a/includes/FulltextStoplist.php +++ b/includes/FulltextStoplist.php @@ -6,6 +6,7 @@ * * The list is used to strip out stopwords from search queries to avoid * nulling out the combined search results when using MySQL 3.x. + * @package MediaWiki */ /** @@ -18,6 +19,7 @@ global $wgFulltextStoplist; $wgFulltextStoplist = " a a's able about above according accordingly across actually after afterwards again against ain't all allow allows almost alone along already also although always am among amongst an and another any anybody anyhow anyone anything anyway anyways anywhere apart appear appreciate appropriate are aren't around as aside ask asking associated at available away awfully b be became because become becomes becoming been before beforehand behind being believe below beside besides best better between beyond both brief but by c c'mon c's came can can't cannot cant cause causes certain certainly changes clearly co com come comes concerning consequently consider considering contain containing contains corresponding could couldn't course currently d definitely described despite did didn't different do does doesn't doing don't done down downwards during e each edu eg eight either else elsewhere enough entirely especially et etc even ever every everybody everyone everything everywhere ex exactly example except f far few fifth first five followed following follows for former formerly forth four from further furthermore g get gets getting given gives go goes going gone got gotten greetings h had hadn't happens hardly has hasn't have haven't having he he's hello help hence her here here's hereafter hereby herein hereupon hers herself hi him himself his hither hopefully how howbeit however i i'd i'll i'm i've ie if ignored immediate in inasmuch inc indeed indicate indicated indicates inner insofar instead into inward is isn't it it'd it'll it's its itself j just k keep keeps kept know knows known l last lately later latter latterly least less lest let let's like liked likely little look looking looks ltd m mainly many may maybe me mean meanwhile merely might more moreover most mostly much must my myself n name namely nd near nearly necessary need needs neither never nevertheless new next nine no nobody non none noone nor normally not nothing novel now nowhere o obviously of off often oh ok okay old on once one ones only onto or other others otherwise ought our ours ourselves out outside over overall own p particular particularly per perhaps placed please plus possible presumably probably provides q que quite qv r rather rd re really reasonably regarding regardless regards relatively respectively right s said same saw say saying says second secondly see seeing seem seemed seeming seems seen self selves sensible sent serious seriously seven several shall she should shouldn't since six so some somebody somehow someone something sometime sometimes somewhat somewhere soon sorry specified specify specifying still sub such sup sure t t's take taken tell tends th than thank thanks thanx that that's thats the their theirs them themselves then thence there there's thereafter thereby therefore therein theres thereupon these they they'd they'll they're they've think third this thorough thoroughly those though three through throughout thru thus to together too took toward towards tried tries truly try trying twice two u un under unfortunately unless unlikely until unto up upon us use used useful uses using usually v value various very via viz vs w want wants was wasn't way we we'd we'll we're we've welcome well went were weren't what what's whatever when whence whenever where where's whereafter whereas whereby wherein whereupon wherever whether which while whither who who's whoever whole whom whose why will willing wish with within without won't wonder would would wouldn't x y yes yet you you'd you'll you're you've your yours yourself yourselves z zero "; /** + * @package MediaWiki */ class FulltextStoplist { diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 45a71d0e5970..496885cc90fa 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -3,6 +3,7 @@ /** * Global functions used everywhere + * @package MediaWiki */ /** diff --git a/includes/HistoryBlob.php b/includes/HistoryBlob.php index 10251fb2c3ef..0c44b3441511 100644 --- a/includes/HistoryBlob.php +++ b/includes/HistoryBlob.php @@ -1,10 +1,12 @@ <?php /** * + * @package MediaWiki */ /** * Pure virtual parent + * @package MediaWiki */ class HistoryBlob { @@ -16,6 +18,7 @@ class HistoryBlob /** * The real object + * @package MediaWiki */ class ConcatenatedGzipHistoryBlob { diff --git a/includes/Image.php b/includes/Image.php index 275f6d69d3d4..b0c091436d2f 100644 --- a/includes/Image.php +++ b/includes/Image.php @@ -1,6 +1,6 @@ <?php /** - * + * @package MediaWiki */ /** @@ -8,6 +8,7 @@ * * Provides methods to retrieve paths (physical, logical, URL), * to generate thumbnails or for uploading. + * @package MediaWiki */ class Image { diff --git a/includes/ImagePage.php b/includes/ImagePage.php index 42c219e0ed96..8ccf6640af22 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -1,6 +1,6 @@ <?php /** - * + * @package MediaWiki */ /** @@ -10,6 +10,7 @@ require_once( 'Image.php' ); /** * Special handling for image description pages + * @package MediaWiki */ class ImagePage extends Article { diff --git a/includes/Interwiki.php b/includes/Interwiki.php index 608f4bfa7f3b..3e8ed2235d0e 100644 --- a/includes/Interwiki.php +++ b/includes/Interwiki.php @@ -2,5 +2,6 @@ /** * This file is obsolete... 2003-08-21 * @deprecated + * @package MediaWiki */ ?> diff --git a/includes/LinkCache.php b/includes/LinkCache.php index ce4594b6b65d..9da6807671a3 100644 --- a/includes/LinkCache.php +++ b/includes/LinkCache.php @@ -1,6 +1,7 @@ <?php /** * Cache for article titles (prefixed DB keys) and ids linked from one source + * @package MediaWiki */ /** @@ -13,6 +14,7 @@ define ('LINKCACHE_IMAGE', 2); /** * + * @package MediaWiki */ class LinkCache { // Increment $mClassVer whenever old serialized versions of this class diff --git a/includes/LinksUpdate.php b/includes/LinksUpdate.php index fd09f128ccb9..aaf0495fc716 100644 --- a/includes/LinksUpdate.php +++ b/includes/LinksUpdate.php @@ -1,10 +1,12 @@ <?php /** * See deferred.doc + * @package MediaWiki */ /** * @todo document + * @package MediaWiki */ class LinksUpdate { diff --git a/includes/LoadBalancer.php b/includes/LoadBalancer.php index 69b5cd3a91e7..9813c2af42fe 100644 --- a/includes/LoadBalancer.php +++ b/includes/LoadBalancer.php @@ -1,6 +1,7 @@ <?php /** * + * @package MediaWiki */ /** @@ -33,7 +34,9 @@ define( 'MASTER_WAIT_TIMEOUT', 15 ); # Time to wait for a slave to synchronise /** * Database load balancing object + * * @todo document + * @package MediaWiki */ class LoadBalancer { /* private */ var $mServers, $mConnections, $mLoads; diff --git a/includes/LogPage.php b/includes/LogPage.php index c2f0d6ad5560..3f7fb0bf1ac2 100644 --- a/includes/LogPage.php +++ b/includes/LogPage.php @@ -21,12 +21,16 @@ /** * Contain log classes + * + * @package MediaWiki */ /** * Class to simplify the use of log pages. * The logs are now kept in a table which is easier to manage and trim * than ever-growing wiki pages. + * + * @package MediaWiki */ class LogPage { /* private */ var $type, $action, $comment; diff --git a/includes/MagicWord.php b/includes/MagicWord.php index 64a2e83e1aba..a41445b0ba48 100644 --- a/includes/MagicWord.php +++ b/includes/MagicWord.php @@ -1,6 +1,7 @@ <?php /** * File for magic words + * @package MediaWiki */ /** @@ -72,11 +73,17 @@ $wgVariableIDs = array( * * Please avoid reading the data out of one of these objects and then writing * special case code. If possible, add another match()-like function here. + * + * @package MediaWiki */ class MagicWord { - /*private*/ var $mId, $mSynonyms, $mCaseSensitive, $mRegex; - /*private*/ var $mRegexStart, $mBaseRegex, $mVariableRegex; - /*private*/ var $mModified; + /**#@+ + * @access private + */ + var $mId, $mSynonyms, $mCaseSensitive, $mRegex; + var $mRegexStart, $mBaseRegex, $mVariableRegex; + var $mModified; + /**#@-*/ function MagicWord($id = 0, $syn = '', $cs = false) { $this->mId = $id; diff --git a/includes/Math.php b/includes/Math.php index 9b7a996f6d03..1f1ff1c2cf32 100644 --- a/includes/Math.php +++ b/includes/Math.php @@ -1,6 +1,7 @@ <?php /** * Contain everything related to <math> </math> parsing + * @package MediaWiki */ /** @@ -9,6 +10,8 @@ * rendering form is picked and returned. * * by Tomasz Wegrzanowski, with additions by Brion Vibber (2003, 2004) + * + * @package MediaWiki */ class MathRenderer { var $mode = MW_MATH_MODERN; diff --git a/includes/MemcachedSessions.php b/includes/MemcachedSessions.php index 289ea3696190..af49109ce912 100644 --- a/includes/MemcachedSessions.php +++ b/includes/MemcachedSessions.php @@ -5,6 +5,8 @@ * instead of the local filesystem. Depending on circumstances, it may also * be necessary to change the cookie settings to work across hostnames. * See: http://www.php.net/manual/en/function.session-set-save-handler.php + * + * @package MediaWiki */ /** diff --git a/includes/MessageCache.php b/includes/MessageCache.php index 8f480e666a38..247b700d8fd9 100755 --- a/includes/MessageCache.php +++ b/includes/MessageCache.php @@ -1,6 +1,7 @@ <?php /** * + * @package MediaWiki */ /** @@ -13,6 +14,8 @@ define( 'MSG_WAIT_TIMEOUT', 10); /** * Message cache * Performs various useful MediaWiki namespace-related functions + * + * @package MediaWiki */ class MessageCache { diff --git a/includes/Metadata.php b/includes/Metadata.php index edea045cf8aa..4b1c6bcd541f 100644 --- a/includes/Metadata.php +++ b/includes/Metadata.php @@ -18,6 +18,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @author Evan Prodromou <evan@wikitravel.org> + * @package MediaWiki */ /** diff --git a/includes/Namespace.php b/includes/Namespace.php index 81c4a491c128..43f0d78a3a02 100644 --- a/includes/Namespace.php +++ b/includes/Namespace.php @@ -1,6 +1,7 @@ <?php /** * Provide things related to namespaces + * @package MediaWiki */ /** @@ -45,7 +46,9 @@ if(isset($wgExtraNamespaces)) { * * These are synonyms for the names given in the language file * Users and translators should not change them -*/ + * + * @package MediaWiki + */ class Namespace { /**#@+ diff --git a/includes/ObjectCache.php b/includes/ObjectCache.php index fc7406613987..ecbf731d80a2 100644 --- a/includes/ObjectCache.php +++ b/includes/ObjectCache.php @@ -20,6 +20,7 @@ # http://www.gnu.org/copyleft/gpl.html /** * + * @package MediaWiki */ /** @@ -32,6 +33,7 @@ * $bag = new HashBagOStuff(); * $bag = new MysqlBagOStuff($tablename); # connect to db first * + * @package MediaWiki * @abstract */ class BagOStuff { @@ -152,6 +154,7 @@ class BagOStuff { /** * Functional versions! * @todo document + * @package MediaWiki */ class HashBagOStuff extends BagOStuff { /* @@ -208,6 +211,7 @@ CREATE TABLE objectcache ( /** * @todo document * @abstract + * @package MediaWiki */ class SqlBagOStuff extends BagOStuff { var $table; @@ -324,6 +328,7 @@ class SqlBagOStuff extends BagOStuff { /** * @todo document + * @package MediaWiki */ class MediaWikiBagOStuff extends SqlBagOStuff { var $tableInitialised = false; @@ -366,6 +371,7 @@ class MediaWikiBagOStuff extends SqlBagOStuff { /** * @todo document + * @package MediaWiki */ class TurckBagOStuff extends BagOStuff { function get($key) { diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 8c561d6a2275..fdf094d718a5 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1,6 +1,7 @@ <?php /** * + * @package MediaWiki */ /** @@ -16,6 +17,7 @@ define( 'RLH_FOR_UPDATE', 1 ); /** * @todo document + * @package MediaWiki */ class OutputPage { var $mHeaders, $mCookies, $mMetatags, $mKeywords; diff --git a/includes/PageHistory.php b/includes/PageHistory.php index bc01ce4b5122..2bc77a8c0395 100644 --- a/includes/PageHistory.php +++ b/includes/PageHistory.php @@ -3,10 +3,12 @@ * Page history * * Split off from Article.php and Skin.php, 2003-12-22 + * @package MediaWiki */ /** * @todo document + * @package MediaWiki */ class PageHistory { var $mArticle, $mTitle, $mSkin; diff --git a/includes/Parser.php b/includes/Parser.php index 14436b92f0ea..e979f2a00c30 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -25,6 +25,7 @@ * * * only within ParserOptions * + * @package MediaWiki */ /** @@ -72,6 +73,7 @@ define( 'EXT_IMAGE_REGEX', /** * @todo document + * @package MediaWiki */ class Parser { @@ -2330,6 +2332,7 @@ class Parser /** * @todo document + * @package MediaWiki */ class ParserOutput { @@ -2368,6 +2371,7 @@ class ParserOutput /** * Set options of the Parser * @todo document + * @package MediaWiki */ class ParserOptions { diff --git a/includes/ParserCache.php b/includes/ParserCache.php index 59522e446c01..23349a804ab1 100644 --- a/includes/ParserCache.php +++ b/includes/ParserCache.php @@ -1,10 +1,12 @@ <?php /** * + * @package MediaWiki */ /** * + * @package MediaWiki */ class ParserCache { diff --git a/includes/ParserXML.php b/includes/ParserXML.php index e4cf4c2bc03f..5b08a2bc1013 100644 --- a/includes/ParserXML.php +++ b/includes/ParserXML.php @@ -2,10 +2,12 @@ /** * This should one day become the XML->(X)HTML parser * Based on work by Jan Hidders and Magnus Manske + * @package MediaWiki */ /** * the base class for an element + * @package MediaWiki */ class element { var $name = ''; @@ -75,6 +77,7 @@ function wgXMLcharacterData($parser, $data) { /** * Here's the class that generates a nice tree * package parserxml + * @package MediaWiki */ class xml2php { diff --git a/includes/Profiling.php b/includes/Profiling.php index 163c4bc3ec34..48129ec03847 100755 --- a/includes/Profiling.php +++ b/includes/Profiling.php @@ -1,6 +1,7 @@ <?php /** * This file is only included if profiling is enabled + * @package MediaWiki */ /** @@ -38,6 +39,7 @@ if( !function_exists( 'memory_get_usage' ) ) { /** * @todo document + * @package MediaWiki */ class Profiler { diff --git a/includes/QueryPage.php b/includes/QueryPage.php index 027df13741a2..8b75ecac8e27 100644 --- a/includes/QueryPage.php +++ b/includes/QueryPage.php @@ -1,6 +1,7 @@ <?php /** * Contain a class for special pages + * @package MediaWiki */ /** @@ -13,6 +14,7 @@ require_once ( 'Feed.php' ); * we factor out some of the functionality into a superclass, and let * subclasses derive from it. * + * @package MediaWiki */ class QueryPage { @@ -293,6 +295,8 @@ class QueryPage { * This is a subclass for very simple queries that are just looking for page * titles that match some criteria. It formats each result item as a link to * that page. + * + * @package MediaWiki */ class PageQueryPage extends QueryPage { diff --git a/includes/RawPage.php b/includes/RawPage.php index 17a9ee4abe2a..268864555b65 100644 --- a/includes/RawPage.php +++ b/includes/RawPage.php @@ -7,10 +7,12 @@ * License: GPL (http://www.gnu.org/copyleft/gpl.html) * * @author Gabriel Wicke <gw@wikidev.net> + * @package MediaWiki */ /** * @todo document + * @package MediaWiki */ class RawPage { diff --git a/includes/RecentChange.php b/includes/RecentChange.php index e7d16257a0b2..e35775be88b1 100644 --- a/includes/RecentChange.php +++ b/includes/RecentChange.php @@ -1,6 +1,7 @@ <?php /** * + * @package MediaWiki */ /** @@ -40,6 +41,7 @@ define( 'RC_MOVE_OVER_REDIRECT', 4); * lang the interwiki prefix, automatically set in save() * * @todo document functions and variables + * @package MediaWiki */ class RecentChange { diff --git a/includes/SearchEngine.php b/includes/SearchEngine.php index 5f93ba8a54b7..cb6a27e0cc91 100644 --- a/includes/SearchEngine.php +++ b/includes/SearchEngine.php @@ -2,6 +2,7 @@ /** * Contain site class * See search.doc + * @package MediaWiki */ /** @@ -12,6 +13,7 @@ define( 'MW_SEARCH_BAD_QUERY', false ); /** * @todo document + * @package MediaWiki */ class SearchEngine { /* private */ var $rawText, $filteredText, $searchTerms; diff --git a/includes/SearchUpdate.php b/includes/SearchUpdate.php index 6a59fba6859c..683764226064 100644 --- a/includes/SearchUpdate.php +++ b/includes/SearchUpdate.php @@ -2,10 +2,12 @@ # $Id$ /** * See deferred.doc + * @package MediaWiki */ /** * + * @package MediaWiki */ class SearchUpdate { diff --git a/includes/Setup.php b/includes/Setup.php index 881c017fa093..76944a034f0c 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -1,6 +1,7 @@ <?php /** * Include most things that's need to customize the site + * @package MediaWiki */ /** @@ -120,6 +121,7 @@ if( $wgUseMemCached ) { /** * + * @package MediaWiki */ class MemCachedClientforWiki extends memcached { function _debugprint( $text ) { @@ -141,6 +143,7 @@ if( $wgUseMemCached ) { } else { /** * No shared memory + * @package MediaWiki */ class FakeMemCachedClient { function add ($key, $val, $exp = 0) { return true; } diff --git a/includes/SiteConfiguration.php b/includes/SiteConfiguration.php index 88b1a6e50cb6..fd4efc5e1324 100644 --- a/includes/SiteConfiguration.php +++ b/includes/SiteConfiguration.php @@ -3,10 +3,13 @@ *This file is used to configure the live Wikimedia wikis. The file that * includes it contains passwords and other sensitive data, and there's * currently no public equivalent. + * + * @package MediaWiki */ /** * + * @package MediaWiki */ class SiteConfiguration { var $suffixes, $wikis, $settings; diff --git a/includes/SiteStatsUpdate.php b/includes/SiteStatsUpdate.php index 468540a1d5da..f44a3ed9acb4 100644 --- a/includes/SiteStatsUpdate.php +++ b/includes/SiteStatsUpdate.php @@ -2,10 +2,13 @@ # $Id$ /** * See deferred.doc + * + * @package MediaWiki */ /** * + * @package MediaWiki */ class SiteStatsUpdate { diff --git a/includes/Skin.php b/includes/Skin.php index 7450f1d5501d..b9331da3408c 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -2,6 +2,7 @@ /** * + * @package MediaWiki */ /** @@ -56,6 +57,7 @@ require_once( 'RecentChange.php' ); /** * @todo document + * @package MediaWiki */ class RCCacheEntry extends RecentChange { @@ -77,6 +79,7 @@ class RCCacheEntry extends RecentChange * The main skin class that provide methods and properties for all other skins * including PHPTal skins. * This base class is also the "Standard" skin. + * @package MediaWiki */ class Skin { /**#@+ diff --git a/includes/SkinPHPTal.php b/includes/SkinPHPTal.php index f265f783aa88..b2913008d3dd 100644 --- a/includes/SkinPHPTal.php +++ b/includes/SkinPHPTal.php @@ -27,6 +27,7 @@ * set_include_path(get_include_path() . ":" . $IP.'/PHPTAL-NP-0.7.0/libs'); * $wgUsePHPTal = true; * + * @package MediaWiki */ /** @@ -41,6 +42,7 @@ require_once $IP.'/PHPTAL-NP-0.7.0/libs/PHPTAL.php'; /** * + * @package MediaWiki */ class MediaWiki_I18N extends PHPTAL_I18N { var $_context = array(); @@ -65,6 +67,7 @@ class MediaWiki_I18N extends PHPTAL_I18N { /** * + * @package MediaWiki */ class SkinPHPTal extends Skin { var $template; diff --git a/includes/SpecialAllmessages.php b/includes/SpecialAllmessages.php index 50f971945333..f8cd28f283e1 100644 --- a/includes/SpecialAllmessages.php +++ b/includes/SpecialAllmessages.php @@ -1,6 +1,8 @@ <?php /** * Provide functions to generate a special page + * @package MediaWiki + * @subpackage SpecialPage */ /** diff --git a/includes/SpecialAllpages.php b/includes/SpecialAllpages.php index 4ab53c0d2ed7..993a77f1b5f7 100644 --- a/includes/SpecialAllpages.php +++ b/includes/SpecialAllpages.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** diff --git a/includes/SpecialAncientpages.php b/includes/SpecialAncientpages.php index 24d8458de697..ac7c7988513f 100644 --- a/includes/SpecialAncientpages.php +++ b/includes/SpecialAncientpages.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -10,6 +12,8 @@ require_once( 'QueryPage.php' ); /** * + * @package MediaWiki + * @subpackage SpecialPage */ class AncientPagesPage extends QueryPage { diff --git a/includes/SpecialAsksql.php b/includes/SpecialAsksql.php index d61424be3743..6096623e27ca 100644 --- a/includes/SpecialAsksql.php +++ b/includes/SpecialAsksql.php @@ -6,6 +6,8 @@ * Heavy queries could slow down the database specially for the * biggest wikis. * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -41,6 +43,8 @@ function wfSpecialAsksql() { /** * @access private + * @package MediaWiki + * @subpackage SpecialPage */ class SqlQueryForm { var $query = ''; diff --git a/includes/SpecialBlockip.php b/includes/SpecialBlockip.php index 098309d131eb..f8b387f72949 100644 --- a/includes/SpecialBlockip.php +++ b/includes/SpecialBlockip.php @@ -2,6 +2,8 @@ /** * Constructor for Special:Blockip page * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -25,6 +27,8 @@ function wfSpecialBlockip() { /** * Form object * + * @package MediaWiki + * @subpackage SpecialPage */ class IPBlockForm { var $BlockAddress, $BlockExpiry, $BlockReason; diff --git a/includes/SpecialBlockme.php b/includes/SpecialBlockme.php index ea45bc7afc4d..6721d26796ee 100644 --- a/includes/SpecialBlockme.php +++ b/includes/SpecialBlockme.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** diff --git a/includes/SpecialBooksources.php b/includes/SpecialBooksources.php index cbc7a43c8dcc..a00d4fb35973 100644 --- a/includes/SpecialBooksources.php +++ b/includes/SpecialBooksources.php @@ -3,7 +3,8 @@ * ISBNs in wiki pages will create links to this page, with the ISBN passed * in via the query string. * - * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -24,6 +25,8 @@ function wfSpecialBooksources( $par ) { /** * + * @package MediaWiki + * @subpackage SpecialPage */ class BookSourceList { var $mIsbn; diff --git a/includes/SpecialBrokenRedirects.php b/includes/SpecialBrokenRedirects.php index 55a676e514da..a7514bae8093 100644 --- a/includes/SpecialBrokenRedirects.php +++ b/includes/SpecialBrokenRedirects.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -10,6 +12,8 @@ require_once('QueryPage.php'); /** * + * @package MediaWiki + * @subpackage SpecialPage */ class BrokenRedirectsPage extends PageQueryPage { diff --git a/includes/SpecialCategories.php b/includes/SpecialCategories.php index b9a01fab8b60..248ea64c1652 100644 --- a/includes/SpecialCategories.php +++ b/includes/SpecialCategories.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -10,6 +12,8 @@ require_once("QueryPage.php"); /** * + * @package MediaWiki + * @subpackage SpecialPage */ class CategoriesPage extends QueryPage { diff --git a/includes/SpecialContributions.php b/includes/SpecialContributions.php index 1be61baef067..fd75bf515ccf 100644 --- a/includes/SpecialContributions.php +++ b/includes/SpecialContributions.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** diff --git a/includes/SpecialDeadendpages.php b/includes/SpecialDeadendpages.php index fdd850868f98..9b18bb59966b 100644 --- a/includes/SpecialDeadendpages.php +++ b/includes/SpecialDeadendpages.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -10,6 +12,8 @@ require_once( "QueryPage.php" ); /** * + * @package MediaWiki + * @subpackage SpecialPage */ class DeadendPagesPage extends PageQueryPage { diff --git a/includes/SpecialDebug.php b/includes/SpecialDebug.php index 9e8fef701feb..b62812897221 100644 --- a/includes/SpecialDebug.php +++ b/includes/SpecialDebug.php @@ -1,6 +1,8 @@ <?php /** * Let developpers receive the full phpinfo output + * @package MediaWiki + * @subpackage SpecialPage */ /** diff --git a/includes/SpecialDisambiguations.php b/includes/SpecialDisambiguations.php index 5fda1684a4b2..b3a3ab86fcb8 100644 --- a/includes/SpecialDisambiguations.php +++ b/includes/SpecialDisambiguations.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -10,6 +12,8 @@ require_once('QueryPage.php'); /** * + * @package MediaWiki + * @subpackage SpecialPage */ class DisambiguationsPage extends PageQueryPage { diff --git a/includes/SpecialDoubleRedirects.php b/includes/SpecialDoubleRedirects.php index 775bc6ed3735..20937b2e512e 100644 --- a/includes/SpecialDoubleRedirects.php +++ b/includes/SpecialDoubleRedirects.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -10,6 +12,8 @@ require_once('QueryPage.php'); /** * + * @package MediaWiki + * @subpackage SpecialPage */ class DoubleRedirectsPage extends PageQueryPage { diff --git a/includes/SpecialEmailuser.php b/includes/SpecialEmailuser.php index 9b954941b065..9661a1c78d0b 100644 --- a/includes/SpecialEmailuser.php +++ b/includes/SpecialEmailuser.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -53,6 +55,8 @@ function wfSpecialEmailuser( $par ) { /** * @todo document + * @package MediaWiki + * @subpackage SpecialPage */ class EmailUserForm { diff --git a/includes/SpecialExport.php b/includes/SpecialExport.php index 6bc83d865710..9bd7c7cd88a4 100644 --- a/includes/SpecialExport.php +++ b/includes/SpecialExport.php @@ -19,6 +19,8 @@ /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -153,4 +155,4 @@ function xmlsafe( $string ) { return htmlspecialchars( $string ); } -?>
\ No newline at end of file +?> diff --git a/includes/SpecialGeo.php b/includes/SpecialGeo.php index 73c8f7aa4a04..04e6c2b66f0b 100644 --- a/includes/SpecialGeo.php +++ b/includes/SpecialGeo.php @@ -19,6 +19,8 @@ /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** diff --git a/includes/SpecialImagelist.php b/includes/SpecialImagelist.php index 7b762d0e7f32..b50022495c0d 100644 --- a/includes/SpecialImagelist.php +++ b/includes/SpecialImagelist.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** diff --git a/includes/SpecialImport.php b/includes/SpecialImport.php index c3cef11e2ffb..08534fe5345f 100644 --- a/includes/SpecialImport.php +++ b/includes/SpecialImport.php @@ -19,6 +19,8 @@ /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -108,6 +110,8 @@ function wfImportOldRevision( &$revision ) { /** * + * @package MediaWiki + * @subpackage SpecialPage */ class WikiRevision { var $title = NULL; @@ -176,6 +180,8 @@ class WikiRevision { /** * + * @package MediaWiki + * @subpackage SpecialPage */ class WikiImporter { var $mSource = NULL; diff --git a/includes/SpecialIpblocklist.php b/includes/SpecialIpblocklist.php index 7e17d89f249d..ada1ba0e10a0 100644 --- a/includes/SpecialIpblocklist.php +++ b/includes/SpecialIpblocklist.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -33,6 +35,8 @@ function wfSpecialIpblocklist() { /** * + * @package MediaWiki + * @subpackage SpecialPage */ class IPUnblockForm { var $ip, $reason; diff --git a/includes/SpecialListadmins.php b/includes/SpecialListadmins.php index fffb5bfebc8a..aa617a0c2dfd 100644 --- a/includes/SpecialListadmins.php +++ b/includes/SpecialListadmins.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -11,6 +13,8 @@ require_once("QueryPage.php"); /** * This class is used to get a list of users flagged with "sysop" right. * + * @package MediaWiki + * @subpackage SpecialPage */ class ListAdminsPage extends PageQueryPage { diff --git a/includes/SpecialListusers.php b/includes/SpecialListusers.php index 576e31b53b2d..e5aeaf201c51 100644 --- a/includes/SpecialListusers.php +++ b/includes/SpecialListusers.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -13,6 +15,8 @@ require_once("QueryPage.php"); * rights (sysop, bureaucrat, developer) will have them displayed * next to their names. * + * @package MediaWiki + * @subpackage SpecialPage */ class ListUsersPage extends QueryPage { diff --git a/includes/SpecialLockdb.php b/includes/SpecialLockdb.php index 2e758ad68704..363ac9141afe 100644 --- a/includes/SpecialLockdb.php +++ b/includes/SpecialLockdb.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -24,6 +26,8 @@ function wfSpecialLockdb() /** * + * @package MediaWiki + * @subpackage SpecialPage */ class DBLockForm { var $reason = ''; diff --git a/includes/SpecialLog.php b/includes/SpecialLog.php index 3b86bfc957dc..8d26aabdc9a8 100644 --- a/includes/SpecialLog.php +++ b/includes/SpecialLog.php @@ -19,6 +19,8 @@ /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -36,6 +38,8 @@ function wfSpecialLog( $par = '' ) { /** * + * @package MediaWiki + * @subpackage SpecialPage */ class LogReader { var $db, $joinClauses, $whereClauses; @@ -142,6 +146,8 @@ class LogReader { /** * + * @package MediaWiki + * @subpackage SpecialPage */ class LogViewer { var $reader, $skin; diff --git a/includes/SpecialLonelypages.php b/includes/SpecialLonelypages.php index b1b2b200a447..64c3e001b946 100644 --- a/includes/SpecialLonelypages.php +++ b/includes/SpecialLonelypages.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -10,6 +12,8 @@ require_once( "QueryPage.php" ); /** * + * @package MediaWiki + * @subpackage SpecialPage */ class LonelyPagesPage extends PageQueryPage { diff --git a/includes/SpecialLongpages.php b/includes/SpecialLongpages.php index d2ba4ffd3dbf..93e55e54bfde 100644 --- a/includes/SpecialLongpages.php +++ b/includes/SpecialLongpages.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -10,6 +12,8 @@ require_once( "QueryPage.php" ); /** * + * @package MediaWiki + * @subpackage SpecialPage */ class LongPagesPage extends QueryPage { diff --git a/includes/SpecialMaintenance.php b/includes/SpecialMaintenance.php index 3c6c934efb0b..8ae913c760b1 100644 --- a/includes/SpecialMaintenance.php +++ b/includes/SpecialMaintenance.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** diff --git a/includes/SpecialMakesysop.php b/includes/SpecialMakesysop.php index 0f3f4c1e924c..48799d1bbaa3 100644 --- a/includes/SpecialMakesysop.php +++ b/includes/SpecialMakesysop.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -39,6 +41,8 @@ function wfSpecialMakesysop() { /** * + * @package MediaWiki + * @subpackage SpecialPage */ class MakesysopForm { var $mTarget, $mAction, $mRights, $mUser, $mSubmit; diff --git a/includes/SpecialMovepage.php b/includes/SpecialMovepage.php index 4fc6435591be..e40d89864c66 100644 --- a/includes/SpecialMovepage.php +++ b/includes/SpecialMovepage.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -34,6 +36,8 @@ function wfSpecialMovepage() { /** * + * @package MediaWiki + * @subpackage SpecialPage */ class MovePageForm { var $oldTitle, $newTitle; # Text input diff --git a/includes/SpecialNeglectedpages.php b/includes/SpecialNeglectedpages.php index 199cf002132e..8f1728523237 100644 --- a/includes/SpecialNeglectedpages.php +++ b/includes/SpecialNeglectedpages.php @@ -3,6 +3,8 @@ * Suggestion from mailing list: lists pages in order * least recently reviewed. * + * @package MediaWiki + * @subpackage SpecialPage * @todo code it ! */ diff --git a/includes/SpecialNewpages.php b/includes/SpecialNewpages.php index f27d17acfadc..df77063244b3 100644 --- a/includes/SpecialNewpages.php +++ b/includes/SpecialNewpages.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -10,6 +12,8 @@ require_once( "QueryPage.php" ); /** * + * @package MediaWiki + * @subpackage SpecialPage */ class NewPagesPage extends QueryPage { diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index 426fd095b32c..9705f84a09c9 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -10,6 +10,8 @@ * * To add a special page at run-time, use SpecialPage::addPage(). * DO NOT manipulate this array at run-time. + * + * @package MediaWiki */ /** @@ -85,6 +87,7 @@ $wgSpecialPages = array_merge($wgSpecialPages, array ( /** * Parent special page class, also static functions for handling the special * page list + * @package MediaWiki */ class SpecialPage { @@ -279,6 +282,7 @@ class SpecialPage /** * Shortcut to construct a special page which is unlisted by default + * @package MediaWiki */ class UnlistedSpecialPage extends SpecialPage { diff --git a/includes/SpecialPopularpages.php b/includes/SpecialPopularpages.php index a261ce18f614..39fc4c684114 100644 --- a/includes/SpecialPopularpages.php +++ b/includes/SpecialPopularpages.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -10,6 +12,8 @@ require_once( "QueryPage.php" ); /** * + * @package MediaWiki + * @subpackage SpecialPage */ class PopularPagesPage extends QueryPage { diff --git a/includes/SpecialPreferences.php b/includes/SpecialPreferences.php index 5796d9d29d8d..9ce94945973d 100644 --- a/includes/SpecialPreferences.php +++ b/includes/SpecialPreferences.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -15,6 +17,8 @@ function wfSpecialPreferences() { /** * + * @package MediaWiki + * @subpackage SpecialPage */ class PreferencesForm { var $mQuickbar, $mOldpass, $mNewpass, $mRetypePass, $mStubs; diff --git a/includes/SpecialRandompage.php b/includes/SpecialRandompage.php index 825900d34560..9282de8a64ca 100644 --- a/includes/SpecialRandompage.php +++ b/includes/SpecialRandompage.php @@ -1,8 +1,8 @@ <?php -# $Id$ - /** - * + * @version # $Id$ + * @package MediaWiki + * @subpackage SpecialPage */ /** diff --git a/includes/SpecialRecentchanges.php b/includes/SpecialRecentchanges.php index d78d77957a59..56e15097f9d3 100644 --- a/includes/SpecialRecentchanges.php +++ b/includes/SpecialRecentchanges.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** diff --git a/includes/SpecialRecentchangeslinked.php b/includes/SpecialRecentchangeslinked.php index fb4ecc881ee1..f1df7c26cb93 100644 --- a/includes/SpecialRecentchangeslinked.php +++ b/includes/SpecialRecentchangeslinked.php @@ -1,6 +1,8 @@ <?php /** * This is to display changes made to all articles linked in an article. + * @package MediaWiki + * @subpackage SpecialPage */ /** diff --git a/includes/SpecialSearch.php b/includes/SpecialSearch.php index acaa7295913d..75b71ed0c796 100644 --- a/includes/SpecialSearch.php +++ b/includes/SpecialSearch.php @@ -19,6 +19,8 @@ /** * Token special page for marking search requests properly in the skin. + * @package MediaWiki + * @subpackage SpecialPage */ /** diff --git a/includes/SpecialShortpages.php b/includes/SpecialShortpages.php index 230855296e35..3aeaa4f5d655 100644 --- a/includes/SpecialShortpages.php +++ b/includes/SpecialShortpages.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -11,6 +13,8 @@ require_once("QueryPage.php"); /** * SpecialShortpages extends QueryPage. It is used to return the shortest * pages in the database. + * @package MediaWiki + * @subpackage SpecialPage */ class ShortPagesPage extends QueryPage { diff --git a/includes/SpecialSpecialpages.php b/includes/SpecialSpecialpages.php index 98587a7a15cb..42b2b6c7e911 100644 --- a/includes/SpecialSpecialpages.php +++ b/includes/SpecialSpecialpages.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** diff --git a/includes/SpecialStatistics.php b/includes/SpecialStatistics.php index ca827501db80..ec40c0952041 100644 --- a/includes/SpecialStatistics.php +++ b/includes/SpecialStatistics.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** diff --git a/includes/SpecialUncategorizedpages.php b/includes/SpecialUncategorizedpages.php index 7e79a86e02d4..fc58e4566f30 100755 --- a/includes/SpecialUncategorizedpages.php +++ b/includes/SpecialUncategorizedpages.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -10,6 +12,8 @@ require_once( "QueryPage.php" ); /** * + * @package MediaWiki + * @subpackage SpecialPage */ class UncategorizedPagesPage extends PageQueryPage { diff --git a/includes/SpecialUndelete.php b/includes/SpecialUndelete.php index 0553453940fc..7ba6bed83fe2 100644 --- a/includes/SpecialUndelete.php +++ b/includes/SpecialUndelete.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -15,6 +17,8 @@ function wfSpecialUndelete( $par ) { /** * + * @package MediaWiki + * @subpackage SpecialPage */ class PageArchive { var $title; @@ -175,6 +179,8 @@ class PageArchive { /** * + * @package MediaWiki + * @subpackage SpecialPage */ class UndeleteForm { var $mAction, $mTarget, $mTimestamp, $mRestore, $mTargetObj; diff --git a/includes/SpecialUnlockdb.php b/includes/SpecialUnlockdb.php index 5e51e8add4c1..80ce71bd06c9 100644 --- a/includes/SpecialUnlockdb.php +++ b/includes/SpecialUnlockdb.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -23,6 +25,8 @@ function wfSpecialUnlockdb() { /** * + * @package MediaWiki + * @subpackage SpecialPage */ class DBUnlockForm { function showForm( $err ) diff --git a/includes/SpecialUnusedimages.php b/includes/SpecialUnusedimages.php index 18e4eef7e2e9..62f94758d798 100644 --- a/includes/SpecialUnusedimages.php +++ b/includes/SpecialUnusedimages.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** diff --git a/includes/SpecialUpload.php b/includes/SpecialUpload.php index cb2a81bbad30..96cff75ce1df 100644 --- a/includes/SpecialUpload.php +++ b/includes/SpecialUpload.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -19,6 +21,8 @@ function wfSpecialUpload() { /** * + * @package MediaWiki + * @subpackage SpecialPage */ class UploadForm { var $mUploadAffirm, $mUploadFile, $mUploadDescription, $mIgnoreWarning; diff --git a/includes/SpecialUserlogin.php b/includes/SpecialUserlogin.php index 8a14b64a4459..32e88b532ed7 100644 --- a/includes/SpecialUserlogin.php +++ b/includes/SpecialUserlogin.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -24,6 +26,8 @@ function wfSpecialUserlogin() { /** * + * @package MediaWiki + * @subpackage SpecialPage */ class LoginForm { var $mName, $mPassword, $mRetype, $mReturnto, $mCookieCheck, $mPosted; diff --git a/includes/SpecialUserlogout.php b/includes/SpecialUserlogout.php index d62703cc1a69..52aa73d29b73 100644 --- a/includes/SpecialUserlogout.php +++ b/includes/SpecialUserlogout.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** diff --git a/includes/SpecialValidate.php b/includes/SpecialValidate.php index 04a86b0989ba..23bf6f62eab2 100644 --- a/includes/SpecialValidate.php +++ b/includes/SpecialValidate.php @@ -19,10 +19,14 @@ /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** * + * @package MediaWiki + * @subpackage SpecialPage */ class Validation { diff --git a/includes/SpecialVersion.php b/includes/SpecialVersion.php index 128bd0e1ff8c..47fe88647f66 100644 --- a/includes/SpecialVersion.php +++ b/includes/SpecialVersion.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** diff --git a/includes/SpecialVote.php b/includes/SpecialVote.php index 0b7847f10ef2..abdf181725d3 100644 --- a/includes/SpecialVote.php +++ b/includes/SpecialVote.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** diff --git a/includes/SpecialWantedpages.php b/includes/SpecialWantedpages.php index 6369e16c5bd5..aece6c6d4fd1 100644 --- a/includes/SpecialWantedpages.php +++ b/includes/SpecialWantedpages.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** @@ -10,6 +12,8 @@ require_once ( 'QueryPage.php' ) ; /** * + * @package MediaWiki + * @subpackage SpecialPage */ class WantedPagesPage extends QueryPage { diff --git a/includes/SpecialWatchlist.php b/includes/SpecialWatchlist.php index a84ad5e0a43d..5e4ffa90477c 100644 --- a/includes/SpecialWatchlist.php +++ b/includes/SpecialWatchlist.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** diff --git a/includes/SpecialWhatlinkshere.php b/includes/SpecialWhatlinkshere.php index b0c925a8fc94..9c4b7c8f18be 100644 --- a/includes/SpecialWhatlinkshere.php +++ b/includes/SpecialWhatlinkshere.php @@ -1,6 +1,8 @@ <?php /** * + * @package MediaWiki + * @subpackage SpecialPage */ /** diff --git a/includes/SquidUpdate.php b/includes/SquidUpdate.php index b46a86e123bd..d35ffb344298 100644 --- a/includes/SquidUpdate.php +++ b/includes/SquidUpdate.php @@ -1,10 +1,12 @@ <?php /** * See deferred.doc + * @package MediaWiki */ /** * + * @package MediaWiki */ class SquidUpdate { var $urlArr, $mMaxTitles; diff --git a/includes/Title.php b/includes/Title.php index 190d83928656..bb8931223b48 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -2,8 +2,10 @@ /** * See title.doc * + * @package MediaWiki */ +/** */ require_once( 'normal/UtfNormal.php' ); /** @@ -18,7 +20,8 @@ define ( 'GAID_FOR_UPDATE', 1 ); * - Can fetch various kinds of data from the database, albeit inefficiently. * * @todo migrate comments to phpdoc format -*/ + * @package MediaWiki + */ class Title { # All member variables should be considered private # Please use the accessor functions diff --git a/includes/Tokenizer.php b/includes/Tokenizer.php index c40560ef59b2..84a2f06bcb44 100644 --- a/includes/Tokenizer.php +++ b/includes/Tokenizer.php @@ -1,10 +1,12 @@ <?php /** * + * @package MediaWiki */ /** * + * @package MediaWiki */ class Tokenizer { /* private */ var $mText, # Text to be processed by the tokenizer diff --git a/includes/UpdateClasses.php b/includes/UpdateClasses.php index 2a644c8febe6..8aced791b402 100644 --- a/includes/UpdateClasses.php +++ b/includes/UpdateClasses.php @@ -2,6 +2,7 @@ /** * See deferred.doc * + * @package MediaWiki */ /** diff --git a/includes/User.php b/includes/User.php index c7610d5e5906..620b19d084f3 100644 --- a/includes/User.php +++ b/includes/User.php @@ -2,6 +2,7 @@ /** * See user.doc * + * @package MediaWiki */ /** @@ -11,6 +12,7 @@ require_once( 'WatchedItem.php' ); /** * + * @package MediaWiki */ class User { /* private */ var $mId, $mName, $mPassword, $mEmail, $mNewtalk; diff --git a/includes/UserMailer.php b/includes/UserMailer.php index 90ce0596161f..92b379d14000 100644 --- a/includes/UserMailer.php +++ b/includes/UserMailer.php @@ -2,6 +2,7 @@ /** * Provide mail capabilities * + * @package MediaWiki */ /** diff --git a/includes/UserTalkUpdate.php b/includes/UserTalkUpdate.php index 650c11a819b1..70b6d3b6fae1 100644 --- a/includes/UserTalkUpdate.php +++ b/includes/UserTalkUpdate.php @@ -2,10 +2,12 @@ /** * See deferred.doc * + * @package MediaWiki */ /** * + * @package MediaWiki */ class UserTalkUpdate { diff --git a/includes/UserUpdate.php b/includes/UserUpdate.php index 4d60a35d8e0e..4c5a952c47b6 100644 --- a/includes/UserUpdate.php +++ b/includes/UserUpdate.php @@ -2,10 +2,12 @@ /** * See deferred.doc * + * @package MediaWiki */ /** * + * @package MediaWiki */ class UserUpdate { /** diff --git a/includes/Utf8Case.php b/includes/Utf8Case.php index add6af3cdc26..7dbf7ab943cb 100644 --- a/includes/Utf8Case.php +++ b/includes/Utf8Case.php @@ -7,6 +7,7 @@ * * These are pulled from memcached if possible, as this is faster than filling * up a big array manually. See also languages/LanguageUtf8.php + * @package MediaWiki */ /* diff --git a/includes/ViewCountUpdate.php b/includes/ViewCountUpdate.php index 4cd573f44e2b..b2d9b93b199f 100644 --- a/includes/ViewCountUpdate.php +++ b/includes/ViewCountUpdate.php @@ -1,11 +1,14 @@ <?php -# $Id$ /** * See deferred.doc + * @version # $Id$ + * @package MediaWiki */ /** * + * @version # $Id$ + * @package MediaWiki */ class ViewCountUpdate { diff --git a/includes/WatchedItem.php b/includes/WatchedItem.php index bd47214aa292..0d0f70feb3e1 100644 --- a/includes/WatchedItem.php +++ b/includes/WatchedItem.php @@ -1,10 +1,12 @@ <?php /** * + * @package MediaWiki */ /** * + * @package MediaWiki */ class WatchedItem { var $mTitle, $mUser; diff --git a/includes/WebRequest.php b/includes/WebRequest.php index 3f49e8b88f71..04cc51d0f5b9 100644 --- a/includes/WebRequest.php +++ b/includes/WebRequest.php @@ -1,6 +1,7 @@ <?php /** * Deal with importing all those nasssty globals and things + * @package MediaWiki */ # Copyright (C) 2003 Brion Vibber <brion@pobox.com> @@ -24,6 +25,7 @@ /** * Hypothetically, we could use a WebRequest object to fake a * self-contained request (FauxRequest). + * @package MediaWiki */ class WebRequest { function WebRequest() { @@ -228,6 +230,7 @@ class WebRequest { /** * + * @package MediaWiki */ class FauxRequest extends WebRequest { var $data = null; diff --git a/includes/killthread.php b/includes/killthread.php index 66d4fdaa96c0..819c91fb57b5 100644 --- a/includes/killthread.php +++ b/includes/killthread.php @@ -1,6 +1,7 @@ <?php /** * Script to kill a MySQL thread after a specified timeout + * @package MediaWiki */ /** diff --git a/includes/normal/Utf8Test.php b/includes/normal/Utf8Test.php index c3ab2498e111..49d2f86a87f7 100644 --- a/includes/normal/Utf8Test.php +++ b/includes/normal/Utf8Test.php @@ -17,9 +17,14 @@ # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # http://www.gnu.org/copyleft/gpl.html -# Runs the UTF-8 decoder test at: -# http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt - +/** + * Runs the UTF-8 decoder test at: + * http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt + * + * @package MediaWiki + */ + +/** */ require_once 'UtfNormalUtil.php'; require_once 'UtfNormal.php'; mb_internal_encoding( "utf-8" ); @@ -142,4 +147,4 @@ function testLine( $test, $line, &$total, &$success, &$failed ) { } } -?>
\ No newline at end of file +?> diff --git a/includes/normal/UtfNormal.php b/includes/normal/UtfNormal.php index 5ccdf0cde7d4..9dfc0a71bb24 100644 --- a/includes/normal/UtfNormal.php +++ b/includes/normal/UtfNormal.php @@ -17,17 +17,22 @@ # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # http://www.gnu.org/copyleft/gpl.html -# Unicode normalization routines for working with UTF-8 strings. -# Currently assumes that input strings are valid UTF-8! -# -# Not as fast as I'd like, but should be usable for most purposes. -# UtfNormal::toNFC() will bail early if given ASCII text or text -# it can quickly deterimine is already normalized. -# -# All functions can be called static. -# -# See description of forms at http://www.unicode.org/reports/tr15/ +/** + * Unicode normalization routines for working with UTF-8 strings. + * Currently assumes that input strings are valid UTF-8! + * + * Not as fast as I'd like, but should be usable for most purposes. + * UtfNormal::toNFC() will bail early if given ASCII text or text + * it can quickly deterimine is already normalized. + * + * All functions can be called static. + * + * See description of forms at http://www.unicode.org/reports/tr15/ + * + * @package MediaWiki + */ +/** */ require_once 'UtfNormalUtil.php'; require_once 'UtfNormalData.inc'; @@ -87,7 +92,10 @@ define( 'UTF8_FFFF', codepointToUtf8( 0xffff ) ); define( 'UTF8_HEAD', false ); define( 'UTF8_TAIL', true ); - +/** + * + * @package MediaWiki + */ class UtfNormal { # The ultimate convenience function! Clean up invalid UTF-8 sequences, # and convert to normal form C. Faster on pure ASCII strings, or @@ -471,4 +479,4 @@ class UtfNormal { } } -?>
\ No newline at end of file +?> diff --git a/includes/normal/UtfNormalBench.php b/includes/normal/UtfNormalBench.php index dcb83cf503ed..c37fb469283b 100644 --- a/includes/normal/UtfNormalBench.php +++ b/includes/normal/UtfNormalBench.php @@ -17,6 +17,12 @@ # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # http://www.gnu.org/copyleft/gpl.html +/** + * + * @package MediaWiki + */ + +/** */ require_once 'UtfNormalUtil.php'; require_once 'UtfNormal.php'; @@ -76,4 +82,4 @@ function benchmarkForm( &$u, &$data, $form ) { printf( " %20s %1.4fs %8d bytes/s (%s)\n", $form, $delta, $rate, ($same ? 'no change' : 'changed' ) ); } -?>
\ No newline at end of file +?> diff --git a/includes/normal/UtfNormalTest.php b/includes/normal/UtfNormalTest.php index 5a37edfd33e6..6360a7ca445c 100644 --- a/includes/normal/UtfNormalTest.php +++ b/includes/normal/UtfNormalTest.php @@ -17,9 +17,13 @@ # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # http://www.gnu.org/copyleft/gpl.html -# Implements the conformance test at: -# http://www.unicode.org/Public/UNIDATA/NormalizationTest.txt +/** + * Implements the conformance test at: + * http://www.unicode.org/Public/UNIDATA/NormalizationTest.txt + * @package MediaWiki + */ +/** */ $verbose = true; #define( 'PRETTY_UTF8', true ); @@ -30,6 +34,9 @@ if( defined( 'PRETTY_UTF8' ) ) { $string ); } } else { + /** + * @ignore + */ function pretty( $string ) { return trim( preg_replace( '/(.)/use', 'sprintf("%04X ", utf8ToCodepoint("$1"))', @@ -216,4 +223,4 @@ function testInvariant( &$u, $char, $desc, $reportFailure = false ) { return $result; } -?>
\ No newline at end of file +?> diff --git a/includes/normal/UtfNormalUtil.php b/includes/normal/UtfNormalUtil.php index da8823fa5d8d..039ac3c09003 100644 --- a/includes/normal/UtfNormalUtil.php +++ b/includes/normal/UtfNormalUtil.php @@ -17,9 +17,14 @@ # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # http://www.gnu.org/copyleft/gpl.html -# Some of these functions are adapted from places in MediaWiki. -# Should probably merge them for consistency. +/** + * Some of these functions are adapted from places in MediaWiki. + * Should probably merge them for consistency. + * + * @package MediaWiki + */ +/** */ function codepointToUtf8( $codepoint ) { if($codepoint < 0x80) return chr($codepoint); if($codepoint < 0x800) return chr($codepoint >> 6 & 0x3f | 0xc0) . @@ -86,4 +91,4 @@ function escapeSingleString( $string ) { )); } -?>
\ No newline at end of file +?> diff --git a/includes/proxy_check.php b/includes/proxy_check.php index 0b33e1253d6e..b017f3211c03 100644 --- a/includes/proxy_check.php +++ b/includes/proxy_check.php @@ -1,6 +1,7 @@ <?php /** * Command line script to check for an open proxy at a specified location + * @package MediaWiki */ /** |