<?php
/**
* Blocks and bans object
+ * @package MediaWiki
*/
/**
*
* 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
{
<?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
{
<?php
/**
* Contain the CacheManager class
+ * @package MediaWiki
*/
/**
* $wgUseFileCache
* $wgFileCacheDirectory
* $wgUseGzip
+ * @package MediaWiki
*/
class CacheManager {
var $mTitle, $mFileCache;
* Special handling for category description pages
* Modelled after ImagePage.php
*
-*/
+ * @package MediaWiki
+ */
/**
- *
+ * @package MediaWiki
*/
class CategoryPage extends Article {
}
$r .= '</ul>';
}
-
-
return $r ;
}
-
-
}
-
-
?>
<?php
-
/**
* Credits.php -- formats credits for articles
* Copyright 2004, Evan Prodromou <evan@wikitravel.org>.
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* @author <evan@wikitravel.org>
+ * @package MediaWiki
*/
/**
* This file deals with MySQL interface functions
* and query specifics/optimisations
* @version # $Id$
+ * @package MediaWiki
*/
/**
/**
* Database abstraction object
- * @category database
+ * @package MediaWiki
* @version # $Id$
*/
class Database {
/**
* Database abstraction object for mySQL
* Inherit all methods and properties of Database::Database()
- * @category database
+ *
+ * @package MediaWiki
* @see Database
* @version # $Id$
*/
/**
* Result wrapper for grabbing data queried by someone else
- * @category database
+ *
+ * @package MediaWiki
* @version # $Id$
*/
class ResultWrapper {
* Note: $wgDatabase has ceased to exist. Destroy all references.
*
* @version # $Id$
+ * @package MediaWiki
*/
/**
}
}
-/**@#+
+/**#@+
* @param $res database result handler
* @param $dbi
*/
return false;
}
}
-/**@#-*/
+/**#@-*/
/**
* @todo document function
*
* Hashar
*
+ * @package MediaWiki
*/
/**
/**
*
+ * @package MediaWiki
*/
class DatabasePgsql extends Database {
var $mInsertId = NULL;
/**
* Just an alias.
+ * @package MediaWiki
*/
class DatabasePostgreSQL extends DatabasePgsql {
}
/**
* Contain things
* @todo document
+ * @package MediaWiki
*/
/** */
/**
* @todo preferences, OutputPage
+ * @package MediaWiki
*/
class DateFormatter
{
<?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
/**
* 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;
* 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';
<?php
/**
* See diff.doc
+ * @package MediaWiki
*/
/**
* @todo document
+ * @package MediaWiki
*/
class DifferenceEngine {
/* private */ var $mOldid, $mNewid;
/**
* @todo document
+ * @package MediaWiki
*/
class _DiffOp {
var $type;
/**
* @todo document
+ * @package MediaWiki
*/
class _DiffOp_Copy extends _DiffOp {
var $type = 'copy';
/**
* @todo document
+ * @package MediaWiki
*/
class _DiffOp_Delete extends _DiffOp {
var $type = 'delete';
/**
* @todo document
+ * @package MediaWiki
*/
class _DiffOp_Add extends _DiffOp {
var $type = 'add';
/**
* @todo document
+ * @package MediaWiki
*/
class _DiffOp_Change extends _DiffOp {
var $type = 'change';
* are my own.
*
* @author Geoffrey T. Dairiki
+ * @package MediaWiki
* @access private
*/
class _DiffEngine
/**
* Class representing a 'diff' between two sequences of strings.
* @todo document
+ * @package MediaWiki
*/
class Diff
{
/**
* FIXME: bad name.
* @todo document
+ * @package MediaWiki
*/
class MappedDiff extends Diff
{
* It is intended that this class be customized via inheritance,
* to obtain fancier outputs.
* @todo document
+ * @package MediaWiki
*/
class DiffFormatter
{
/**
* @todo document
+ * @package MediaWiki
*/
class _HWLDF_WordAccumulator {
function _HWLDF_WordAccumulator () {
/**
* @todo document
+ * @package MediaWiki
*/
class WordLevelDiff extends MappedDiff
{
/**
* Wikipedia Table style diff formatter.
* @todo document
+ * @package MediaWiki
*/
class TableDiffFormatter extends DiffFormatter
{
# $Id$
/**
* Contain the EditPage class
+ * @package MediaWiki
*/
/**
* 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;
/**
* Contain a feed class as well as classes to build rss / atom ... feeds
+ * @package MediaWiki
*/
/**
/**
* @todo document
+ * @package MediaWiki
*/
class FeedItem {
- /**@#+
+ /**#@+
* @var string
* @access private
*/
var $Url = '';
var $Date = '';
var $Author = '';
- /**@#-*/
+ /**#@-*/
/**
* @todo document
/**
* @todo document
+ * @package MediaWiki
*/
class ChannelFeed extends FeedItem {
- /**@#+
+ /**#@+
* Abstract function, override!
*/
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 {
/**
* Generate an Atom feed
* @todo document
+ * @package MediaWiki
*/
class AtomFeed extends ChannelFeed {
/**
*
* 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
*/
/**
$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 {
/**
* Global functions used everywhere
+ * @package MediaWiki
*/
/**
<?php
/**
*
+ * @package MediaWiki
*/
/**
* Pure virtual parent
+ * @package MediaWiki
*/
class HistoryBlob
{
/**
* The real object
+ * @package MediaWiki
*/
class ConcatenatedGzipHistoryBlob
{
<?php
/**
- *
+ * @package MediaWiki
*/
/**
*
* Provides methods to retrieve paths (physical, logical, URL),
* to generate thumbnails or for uploading.
+ * @package MediaWiki
*/
class Image
{
<?php
/**
- *
+ * @package MediaWiki
*/
/**
/**
* Special handling for image description pages
+ * @package MediaWiki
*/
class ImagePage extends Article {
/**
* This file is obsolete... 2003-08-21
* @deprecated
+ * @package MediaWiki
*/
?>
<?php
/**
* Cache for article titles (prefixed DB keys) and ids linked from one source
+ * @package MediaWiki
*/
/**
/**
*
+ * @package MediaWiki
*/
class LinkCache {
// Increment $mClassVer whenever old serialized versions of this class
<?php
/**
* See deferred.doc
+ * @package MediaWiki
*/
/**
* @todo document
+ * @package MediaWiki
*/
class LinksUpdate {
<?php
/**
*
+ * @package MediaWiki
*/
/**
/**
* Database load balancing object
+ *
* @todo document
+ * @package MediaWiki
*/
class LoadBalancer {
/* private */ var $mServers, $mConnections, $mLoads;
/**
* 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;
<?php
/**
* File for magic words
+ * @package MediaWiki
*/
/**
*
* 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;
<?php
/**
* Contain everything related to <math> </math> parsing
+ * @package MediaWiki
*/
/**
* 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;
* 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
*/
/**
<?php
/**
*
+ * @package MediaWiki
*/
/**
/**
* Message cache
* Performs various useful MediaWiki namespace-related functions
+ *
+ * @package MediaWiki
*/
class MessageCache
{
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* @author Evan Prodromou <evan@wikitravel.org>
+ * @package MediaWiki
*/
/**
<?php
/**
* Provide things related to namespaces
+ * @package MediaWiki
*/
/**
*
* These are synonyms for the names given in the language file
* Users and translators should not change them
-*/
+ *
+ * @package MediaWiki
+ */
class Namespace {
/**#@+
# http://www.gnu.org/copyleft/gpl.html
/**
*
+ * @package MediaWiki
*/
/**
* $bag = new HashBagOStuff();
* $bag = new MysqlBagOStuff($tablename); # connect to db first
*
+ * @package MediaWiki
* @abstract
*/
class BagOStuff {
/**
* Functional versions!
* @todo document
+ * @package MediaWiki
*/
class HashBagOStuff extends BagOStuff {
/*
/**
* @todo document
* @abstract
+ * @package MediaWiki
*/
class SqlBagOStuff extends BagOStuff {
var $table;
/**
* @todo document
+ * @package MediaWiki
*/
class MediaWikiBagOStuff extends SqlBagOStuff {
var $tableInitialised = false;
/**
* @todo document
+ * @package MediaWiki
*/
class TurckBagOStuff extends BagOStuff {
function get($key) {
<?php
/**
*
+ * @package MediaWiki
*/
/**
/**
* @todo document
+ * @package MediaWiki
*/
class OutputPage {
var $mHeaders, $mCookies, $mMetatags, $mKeywords;
* 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;
*
* * only within ParserOptions
*
+ * @package MediaWiki
*/
/**
/**
* @todo document
+ * @package MediaWiki
*/
class Parser
{
/**
* @todo document
+ * @package MediaWiki
*/
class ParserOutput
{
/**
* Set options of the Parser
* @todo document
+ * @package MediaWiki
*/
class ParserOptions
{
<?php
/**
*
+ * @package MediaWiki
*/
/**
*
+ * @package MediaWiki
*/
class ParserCache
{
/**
* 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 = '';
/**
* Here's the class that generates a nice tree
* package parserxml
+ * @package MediaWiki
*/
class xml2php {
<?php
/**
* This file is only included if profiling is enabled
+ * @package MediaWiki
*/
/**
/**
* @todo document
+ * @package MediaWiki
*/
class Profiler
{
<?php
/**
* Contain a class for special pages
+ * @package MediaWiki
*/
/**
* we factor out some of the functionality into a superclass, and let
* subclasses derive from it.
*
+ * @package MediaWiki
*/
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 {
* License: GPL (http://www.gnu.org/copyleft/gpl.html)
*
* @author Gabriel Wicke <gw@wikidev.net>
+ * @package MediaWiki
*/
/**
* @todo document
+ * @package MediaWiki
*/
class RawPage {
<?php
/**
*
+ * @package MediaWiki
*/
/**
* lang the interwiki prefix, automatically set in save()
*
* @todo document functions and variables
+ * @package MediaWiki
*/
class RecentChange
{
/**
* Contain site class
* See search.doc
+ * @package MediaWiki
*/
/**
/**
* @todo document
+ * @package MediaWiki
*/
class SearchEngine {
/* private */ var $rawText, $filteredText, $searchTerms;
# $Id$
/**
* See deferred.doc
+ * @package MediaWiki
*/
/**
*
+ * @package MediaWiki
*/
class SearchUpdate {
<?php
/**
* Include most things that's need to customize the site
+ * @package MediaWiki
*/
/**
/**
*
+ * @package MediaWiki
*/
class MemCachedClientforWiki extends memcached {
function _debugprint( $text ) {
} else {
/**
* No shared memory
+ * @package MediaWiki
*/
class FakeMemCachedClient {
function add ($key, $val, $exp = 0) { return true; }
*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;
# $Id$
/**
* See deferred.doc
+ *
+ * @package MediaWiki
*/
/**
*
+ * @package MediaWiki
*/
class SiteStatsUpdate {
/**
*
+ * @package MediaWiki
*/
/**
/**
* @todo document
+ * @package MediaWiki
*/
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 {
/**#@+
* set_include_path(get_include_path() . ":" . $IP.'/PHPTAL-NP-0.7.0/libs');
* $wgUsePHPTal = true;
*
+ * @package MediaWiki
*/
/**
/**
*
+ * @package MediaWiki
*/
class MediaWiki_I18N extends PHPTAL_I18N {
var $_context = array();
/**
*
+ * @package MediaWiki
*/
class SkinPHPTal extends Skin {
var $template;
<?php
/**
* Provide functions to generate a special page
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class AncientPagesPage extends QueryPage {
* Heavy queries could slow down the database specially for the
* biggest wikis.
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
* @access private
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class SqlQueryForm {
var $query = '';
/**
* Constructor for Special:Blockip page
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
* Form object
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class IPBlockForm {
var $BlockAddress, $BlockExpiry, $BlockReason;
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
* ISBNs in wiki pages will create links to this page, with the ISBN passed
* in via the query string.
*
- *
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class BookSourceList {
var $mIsbn;
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class BrokenRedirectsPage extends PageQueryPage {
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class CategoriesPage extends QueryPage {
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class DeadendPagesPage extends PageQueryPage {
<?php
/**
* Let developpers receive the full phpinfo output
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class DisambiguationsPage extends PageQueryPage {
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class DoubleRedirectsPage extends PageQueryPage {
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
* @todo document
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class EmailUserForm {
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
return htmlspecialchars( $string );
}
-?>
\ No newline at end of file
+?>
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class WikiRevision {
var $title = NULL;
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class WikiImporter {
var $mSource = NULL;
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class IPUnblockForm {
var $ip, $reason;
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
* This class is used to get a list of users flagged with "sysop" right.
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class ListAdminsPage extends PageQueryPage {
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
* rights (sysop, bureaucrat, developer) will have them displayed
* next to their names.
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class ListUsersPage extends QueryPage {
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class DBLockForm {
var $reason = '';
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class LogReader {
var $db, $joinClauses, $whereClauses;
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class LogViewer {
var $reader, $skin;
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class LonelyPagesPage extends PageQueryPage {
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class LongPagesPage extends QueryPage {
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class MakesysopForm {
var $mTarget, $mAction, $mRights, $mUser, $mSubmit;
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class MovePageForm {
var $oldTitle, $newTitle; # Text input
* Suggestion from mailing list: lists pages in order
* least recently reviewed.
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
* @todo code it !
*/
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class NewPagesPage extends QueryPage {
*
* To add a special page at run-time, use SpecialPage::addPage().
* DO NOT manipulate this array at run-time.
+ *
+ * @package MediaWiki
*/
/**
/**
* Parent special page class, also static functions for handling the special
* page list
+ * @package MediaWiki
*/
class SpecialPage
{
/**
* Shortcut to construct a special page which is unlisted by default
+ * @package MediaWiki
*/
class UnlistedSpecialPage extends SpecialPage
{
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class PopularPagesPage extends QueryPage {
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class PreferencesForm {
var $mQuickbar, $mOldpass, $mNewpass, $mRetypePass, $mStubs;
<?php
-# $Id$
-
/**
- *
+ * @version # $Id$
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
<?php
/**
* This is to display changes made to all articles linked in an article.
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
* Token special page for marking search requests properly in the skin.
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
* SpecialShortpages extends QueryPage. It is used to return the shortest
* pages in the database.
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class ShortPagesPage extends QueryPage {
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class UncategorizedPagesPage extends PageQueryPage {
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class PageArchive {
var $title;
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class UndeleteForm {
var $mAction, $mTarget, $mTimestamp, $mRestore, $mTargetObj;
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class DBUnlockForm {
function showForm( $err )
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class UploadForm {
var $mUploadAffirm, $mUploadFile, $mUploadDescription, $mIgnoreWarning;
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class LoginForm {
var $mName, $mPassword, $mRetype, $mReturnto, $mCookieCheck, $mPosted;
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class Validation {
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class WantedPagesPage extends QueryPage {
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
<?php
/**
*
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
<?php
/**
* See deferred.doc
+ * @package MediaWiki
*/
/**
*
+ * @package MediaWiki
*/
class SquidUpdate {
var $urlArr, $mMaxTitles;
/**
* See title.doc
*
+ * @package MediaWiki
*/
+/** */
require_once( 'normal/UtfNormal.php' );
/**
* - 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
<?php
/**
*
+ * @package MediaWiki
*/
/**
*
+ * @package MediaWiki
*/
class Tokenizer {
/* private */ var $mText, # Text to be processed by the tokenizer
/**
* See deferred.doc
*
+ * @package MediaWiki
*/
/**
/**
* See user.doc
*
+ * @package MediaWiki
*/
/**
/**
*
+ * @package MediaWiki
*/
class User {
/* private */ var $mId, $mName, $mPassword, $mEmail, $mNewtalk;
/**
* Provide mail capabilities
*
+ * @package MediaWiki
*/
/**
/**
* See deferred.doc
*
+ * @package MediaWiki
*/
/**
*
+ * @package MediaWiki
*/
class UserTalkUpdate {
/**
* See deferred.doc
*
+ * @package MediaWiki
*/
/**
*
+ * @package MediaWiki
*/
class UserUpdate {
/**
*
* 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
*/
/*
<?php
-# $Id$
/**
* See deferred.doc
+ * @version # $Id$
+ * @package MediaWiki
*/
/**
*
+ * @version # $Id$
+ * @package MediaWiki
*/
class ViewCountUpdate {
<?php
/**
*
+ * @package MediaWiki
*/
/**
*
+ * @package MediaWiki
*/
class WatchedItem {
var $mTitle, $mUser;
<?php
/**
* Deal with importing all those nasssty globals and things
+ * @package MediaWiki
*/
# Copyright (C) 2003 Brion Vibber <brion@pobox.com>
/**
* Hypothetically, we could use a WebRequest object to fake a
* self-contained request (FauxRequest).
+ * @package MediaWiki
*/
class WebRequest {
function WebRequest() {
/**
*
+ * @package MediaWiki
*/
class FauxRequest extends WebRequest {
var $data = null;
<?php
/**
* Script to kill a MySQL thread after a specified timeout
+ * @package MediaWiki
*/
/**
# 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" );
}
}
-?>
\ No newline at end of file
+?>
# 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';
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
}
}
-?>
\ No newline at end of file
+?>
# 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';
printf( " %20s %1.4fs %8d bytes/s (%s)\n", $form, $delta, $rate, ($same ? 'no change' : 'changed' ) );
}
-?>
\ No newline at end of file
+?>
# 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 );
$string );
}
} else {
+ /**
+ * @ignore
+ */
function pretty( $string ) {
return trim( preg_replace( '/(.)/use',
'sprintf("%04X ", utf8ToCodepoint("$1"))',
return $result;
}
-?>
\ No newline at end of file
+?>
# 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) .
));
}
-?>
\ No newline at end of file
+?>
<?php
/**
* Command line script to check for an open proxy at a specified location
+ * @package MediaWiki
*/
/**
require_once('MonoBook.php');
+/**
+ *
+ * @package MediaWiki
+ * @subpackage Skins
+ */
class SkinWikimediawiki extends SkinMonoBook {
function initPage( &$out ) {
SkinPHPTal::initPage( $out );