<?php
/**
+ * @defgroup Ajax Ajax
+ *
+ * @file
+ * @ingroup Ajax
* Handle ajax requests and send them to the proper handler.
*/
/**
* Object-Oriented Ajax functions.
- * @addtogroup Ajax
+ * @ingroup Ajax
*/
class AjaxDispatcher {
/** The way the request was made, either a 'get' or a 'post' */
<?php
/**
- * @addtogroup Ajax
+ * @file
+ * @ingroup Ajax
*/
if( !defined( 'MEDIAWIKI' ) ) {
<?php
+/**
+ * @file
+ * @ingroup Ajax
+ */
+
if( !defined( 'MEDIAWIKI' ) ) {
die( 1 );
}
/**
* @todo document
- * @addtogroup Ajax
+ * @ingroup Ajax
*/
class AjaxResponse {
<?php
/**
* File for articles
+ * @file
*/
/**
/**
* Get the groups for the given user based on $wgAutopromote.
*
- * @param User $user The user to get the groups for
+ * @param $user The user to get the groups for
* @return array Array of groups to promote to.
*/
public static function getAutopromoteGroups( User $user ) {
* This function evaluates the former type recursively, and passes off to
* self::checkCondition for evaluation of the latter type.
*
- * @param mixed $cond A condition, possibly containing other conditions
- * @param User $user The user to check the conditions against
+ * @param $cond Mixed: a condition, possibly containing other conditions
+ * @param $user The user to check the conditions against
* @return bool Whether the condition is true
*/
private static function recCheckCondition( $cond, User $user ) {
* APCOND_AGE. Other types will throw an exception if no extension evalu-
* ates them.
*
- * @param array $cond A condition, which must not contain other conditions
- * @param User $user The user to check the condition against
+ * @param $cond Array: A condition, which must not contain other conditions
+ * @param $user The user to check the condition against
* @return bool Whether the condition is true for the user
*/
private static function checkCondition( $cond, User $user ) {
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# http://www.gnu.org/copyleft/gpl.html
+
/**
+ * @defgroup Cache Cache
*
+ * @file
+ * @ingroup Cache
*/
/**
- * Simple generic object store
- *
* interface is intended to be more or less compatible with
* the PHP memcached client.
*
* $bag = new MediaWikiBagOStuff($tablename); # connect to db first
* </code>
*
- * @atttogroup Cache
+ * @ingroup Cache
*/
class BagOStuff {
var $debugmode;
* This is a test of the interface, mainly. It stores things in an associative
* array, which is not going to persist between program runs.
*
- * @atttogroup Cache
+ * @ingroup Cache
*/
class HashBagOStuff extends BagOStuff {
var $bag;
/**
* Generic class to store objects in a database
*
- * @atttogroup Cache
+ * @ingroup Cache
*/
abstract class SqlBagOStuff extends BagOStuff {
var $table;
/**
* Stores objects in the main database of the wiki
*
- * @atttogroup Cache
+ * @ingroup Cache
*/
class MediaWikiBagOStuff extends SqlBagOStuff {
var $tableInitialised = false;
* that Turck's serializer is faster, so a possible future extension would be
* to use it for arrays but not for objects.
*
- * @atttogroup Cache
+ * @ingroup Cache
*/
class TurckBagOStuff extends BagOStuff {
function get($key) {
/**
* This is a wrapper for APC's shared memory functions
*
- * @atttogroup Cache
+ * @ingroup Cache
*/
class APCBagOStuff extends BagOStuff {
function get($key) {
* This is basically identical to the Turck MMCache version,
* mostly because eAccelerator is based on Turck MMCache.
*
- * @atttogroup Cache
+ * @ingroup Cache
*/
class eAccelBagOStuff extends BagOStuff {
function get($key) {
* Wrapper for XCache object caching functions; identical interface
* to the APC wrapper
*
- * @atttogroup Cache
+ * @ingroup Cache
*/
class XCacheBagOStuff extends BagOStuff {
/**
* @todo document
- * @atttogroup Cache
+ * @ingroup Cache
*/
class DBABagOStuff extends BagOStuff {
var $mHandler, $mFile, $mReader, $mWriter, $mDisabled;
<?php
/**
+ * @file
* Blocks and bans object
*/
* This class stores an arbitrary value along with its dependencies.
* Users should typically only use DependencyWrapper::getFromCache(), rather
* than instantiating one of these objects directly.
- * @addtogroup Cache
+ * @ingroup Cache
*/
class DependencyWrapper {
var $value;
}
/**
- * @addtogroup Cache
+ * @ingroup Cache
*/
abstract class CacheDependency {
/**
}
/**
- * @addtogroup Cache
+ * @ingroup Cache
*/
class FileDependency extends CacheDependency {
var $filename, $timestamp;
}
/**
- * @addtogroup Cache
+ * @ingroup Cache
*/
class TitleDependency extends CacheDependency {
var $titleObj;
}
/**
- * @addtogroup Cache
+ * @ingroup Cache
*/
class TitleListDependency extends CacheDependency {
var $linkBatch;
}
/**
- * @addtogroup Cache
+ * @ingroup Cache
*/
class GlobalDependency extends CacheDependency {
var $name, $value;
}
/**
- * @addtogroup Cache
+ * @ingroup Cache
*/
class ConstantDependency extends CacheDependency {
var $name, $value;
/**
* Various core parser functions, registered in Parser::firstCallInit()
- * @addtogroup Parser
+ * @ingroup Parser
*/
class CoreParserFunctions {
static function register( $parser ) {
<?php
/**
+ * @defgroup Database Database
+ *
+ * @file
+ * @ingroup Database
* This file deals with MySQL interface functions
* and query specifics/optimisations
*/
/**
* Database abstraction object
- * @addtogroup Database
+ * @ingroup Database
*/
class Database {
* Database abstraction object for mySQL
* Inherit all methods and properties of Database::Database()
*
- * @addtogroup Database
+ * @ingroup Database
* @see Database
*/
class DatabaseMysql extends Database {
/**
* Utility class.
- * @addtogroup Database
+ * @ingroup Database
*/
class DBObject {
public $mData;
/**
* Utility class
- * @addtogroup Database
+ * @ingroup Database
*
* This allows us to distinguish a blob from a normal string and an array of strings
*/
/**
* Utility class.
- * @addtogroup Database
+ * @ingroup Database
*/
class MySQLField {
private $name, $tablename, $default, $max_length, $nullable,
/**
* Database error base class
- * @addtogroup Database
+ * @ingroup Database
*/
class DBError extends MWException {
public $db;
}
/**
- * @addtogroup Database
+ * @ingroup Database
*/
class DBConnectionError extends DBError {
public $error;
}
/**
- * @addtogroup Database
+ * @ingroup Database
*/
class DBQueryError extends DBError {
public $error, $errno, $sql, $fname;
}
/**
- * @addtogroup Database
+ * @ingroup Database
*/
class DBUnexpectedError extends DBError {}
/**
* Result wrapper for grabbing data queried by someone else
- * @addtogroup Database
+ * @ingroup Database
*/
class ResultWrapper implements Iterator {
var $db, $result, $pos = 0, $currentRow = null;
/**
* Legacy database functions, for compatibility with pre-1.3 code
* NOTE: this file is no longer loaded by default.
- *
+ * @file
+ * @ingroup Database
*/
/**
* This script is the MSSQL Server database abstraction layer
*
* See maintenance/mssql/README for development notes and other specific information
+ * @ingroup Database
+ * @file
*/
/**
- * @addtogroup Database
+ * @ingroup Database
*/
class DatabaseMssql extends Database {
}
/**
- * @addtogroup Database
+ * @ingroup Database
*/
class MSSQLField extends MySQLField {
<?php
+/**
+ * @ingroup Database
+ * @file
+ */
/**
* This is the Oracle database abstraction layer.
- * @addtogroup Database
+ * @ingroup Database
*/
class ORABlob {
var $mData;
* The oci8 extension is fairly weak and doesn't support oci_num_rows, among
* other things. We use a wrapper class to handle that and other
* Oracle-specific bits, like converting column names back to lowercase.
- * @addtogroup Database
+ * @ingroup Database
*/
class ORAResult {
private $rows;
}
/**
- * @addtogroup Database
+ * @ingroup Database
*/
class DatabaseOracle extends Database {
var $mInsertId = NULL;
<?php
+/**
+ * @ingroup Database
+ * @file
+ */
/**
* This is the Postgres database abstraction layer.
* than MySQL ones, some of them should be moved to parent
* Database class.
*
- * @addtogroup Database
+ * @ingroup Database
*/
class PostgresField {
private $name, $tablename, $type, $nullable, $max_length;
}
/**
- * @addtogroup Database
+ * @ingroup Database
*/
class DatabasePostgres extends Database {
var $mInsertId = NULL;
* This script is the SQLite database abstraction layer
*
* See maintenance/sqlite/README for development notes and other specific information
+ * @ingroup Database
+ * @file
*/
/**
- * @addtogroup Database
+ * @ingroup Database
*/
class DatabaseSqlite extends Database {
}
/**
- * @addtogroup Database
+ * @ingroup Database
*/
class SQLiteField extends MySQLField {
/**
* Date formatter, recognises dates in plain text and formats them accoding to user preferences.
* @todo preferences, OutputPage
- * @addtogroup Parser
+ * @ingroup Parser
*/
class DateFormatter
{
<?php
/**
* A few constants that might be needed during LocalSettings.php
+ * @file
*/
/**
<?php
/**
+ * @defgroup DifferenceEngine DifferenceEngine
+ *
+ * @file
* See diff.doc
* @todo indicate where diff.doc can be found.
- * @addtogroup DifferenceEngine
*/
/**
/**
* @todo document
- * @public
- * @addtogroup DifferenceEngine
+ * @ingroup DifferenceEngine
*/
class DifferenceEngine {
/**#@+
/**
* @todo document
* @private
- * @addtogroup DifferenceEngine
+ * @ingroup DifferenceEngine
*/
class _DiffOp {
var $type;
/**
* @todo document
* @private
- * @addtogroup DifferenceEngine
+ * @ingroup DifferenceEngine
*/
class _DiffOp_Copy extends _DiffOp {
var $type = 'copy';
/**
* @todo document
* @private
- * @addtogroup DifferenceEngine
+ * @ingroup DifferenceEngine
*/
class _DiffOp_Delete extends _DiffOp {
var $type = 'delete';
/**
* @todo document
* @private
- * @addtogroup DifferenceEngine
+ * @ingroup DifferenceEngine
*/
class _DiffOp_Add extends _DiffOp {
var $type = 'add';
/**
* @todo document
* @private
- * @addtogroup DifferenceEngine
+ * @ingroup DifferenceEngine
*/
class _DiffOp_Change extends _DiffOp {
var $type = 'change';
*
* @author Geoffrey T. Dairiki, Tim Starling
* @private
- * @addtogroup DifferenceEngine
+ * @ingroup DifferenceEngine
*/
class _DiffEngine {
const MAX_XREF_LENGTH = 10000;
* Class representing a 'diff' between two sequences of strings.
* @todo document
* @private
- * @addtogroup DifferenceEngine
+ * @ingroup DifferenceEngine
*/
class Diff
{
/**
* @todo document, bad name.
* @private
- * @addtogroup DifferenceEngine
+ * @ingroup DifferenceEngine
*/
class MappedDiff extends Diff
{
* to obtain fancier outputs.
* @todo document
* @private
- * @addtogroup DifferenceEngine
+ * @ingroup DifferenceEngine
*/
class DiffFormatter {
/**
/**
* A formatter that outputs unified diffs
- * @addtogroup DifferenceEngine
+ * @ingroup DifferenceEngine
*/
class UnifiedDiffFormatter extends DiffFormatter {
/**
* A pseudo-formatter that just passes along the Diff::$edits array
- * @addtogroup DifferenceEngine
+ * @ingroup DifferenceEngine
*/
class ArrayDiffFormatter extends DiffFormatter {
function format($diff) {
/**
* @todo document
* @private
- * @addtogroup DifferenceEngine
+ * @ingroup DifferenceEngine
*/
class _HWLDF_WordAccumulator {
function _HWLDF_WordAccumulator () {
/**
* @todo document
* @private
- * @addtogroup DifferenceEngine
+ * @ingroup DifferenceEngine
*/
class WordLevelDiff extends MappedDiff {
const MAX_LINE_LENGTH = 10000;
* Wikipedia Table style diff formatter.
* @todo document
* @private
- * @addtogroup DifferenceEngine
+ * @ingroup DifferenceEngine
*/
class TableDiffFormatter extends DiffFormatter {
function TableDiffFormatter() {
* File format docs are available in source package for DjVuLibre:
* http://djvulibre.djvuzone.org/
*
- * @addtogroup Media
+ * @ingroup Media
*/
class DjVuImage {
function __construct( $filename ) {
<?php
/**
* Contains the EditPage class
+ * @file
*/
/**
/**
* Old job used for sending single notification emails;
* kept for backwards-compatibility
+ *
+ * @ingroup JobQueue
*/
class EmaillingJob extends Job {
/**
* Job for email notification mails
+ *
+ * @ingroup JobQueue
*/
class EnotifNotifyJob extends Job {
<?php
+/**
+ * @defgroup Exception Exception
+ */
/**
* MediaWiki exception
- * @addtogroup Exception
+ * @ingroup Exception
*/
class MWException extends Exception {
/**
* Exception class which takes an HTML error message, and does not
* produce a backtrace. Replacement for OutputPage::fatalError().
- * @addtogroup Exception
+ * @ingroup Exception
*/
class FatalError extends MWException {
function getHTML() {
}
/**
- * @addtogroup Exception
+ * @ingroup Exception
*/
class ErrorPageError extends MWException {
public $title, $msg;
<?php
/**
- * @addtogroup Media
- *
+ * @ingroup Media
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License
/**
* @todo document (e.g. one-sentence class-overview description)
- * @addtogroup Media
+ * @ingroup Media
*/
class Exif {
//@{
/**
* @todo document (e.g. one-sentence class-overview description)
- * @addtogroup Media
+ * @ingroup Media
*/
class FormatExif {
/**
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# http://www.gnu.org/copyleft/gpl.html
+/**
+ * @defgroup Dump Dump
+ */
/**
- *
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage Dump
*/
class WikiExporter {
var $list_authors = false ; # Return distinct author list (when not returning full history)
}
/**
- * @addtogroup Dump
+ * @ingroup Dump
*/
class XmlDumpWriter {
/**
* Base class for output stream; prints to stdout or buffer or whereever.
- * @addtogroup Dump
+ * @ingroup Dump
*/
class DumpOutput {
function writeOpenStream( $string ) {
/**
* Stream outputter to send data to a file.
- * @addtogroup Dump
+ * @ingroup Dump
*/
class DumpFileOutput extends DumpOutput {
var $handle;
* Stream outputter to send data to a file via some filter program.
* Even if compression is available in a library, using a separate
* program can allow us to make use of a multi-processor system.
- * @addtogroup Dump
+ * @ingroup Dump
*/
class DumpPipeOutput extends DumpFileOutput {
function DumpPipeOutput( $command, $file = null ) {
/**
* Sends dump output via the gzip compressor.
- * @addtogroup Dump
+ * @ingroup Dump
*/
class DumpGZipOutput extends DumpPipeOutput {
function DumpGZipOutput( $file ) {
/**
* Sends dump output via the bgzip2 compressor.
- * @addtogroup Dump
+ * @ingroup Dump
*/
class DumpBZip2Output extends DumpPipeOutput {
function DumpBZip2Output( $file ) {
/**
* Sends dump output via the p7zip compressor.
- * @addtogroup Dump
+ * @ingroup Dump
*/
class Dump7ZipOutput extends DumpPipeOutput {
function Dump7ZipOutput( $file ) {
* Dump output filter class.
* This just does output filtering and streaming; XML formatting is done
* higher up, so be careful in what you do.
- * @addtogroup Dump
+ * @ingroup Dump
*/
class DumpFilter {
function DumpFilter( &$sink ) {
/**
* Simple dump output filter to exclude all talk pages.
- * @addtogroup Dump
+ * @ingroup Dump
*/
class DumpNotalkFilter extends DumpFilter {
function pass( $page ) {
/**
* Dump output filter to include or exclude pages in a given set of namespaces.
- * @addtogroup Dump
+ * @ingroup Dump
*/
class DumpNamespaceFilter extends DumpFilter {
var $invert = false;
/**
* Dump output filter to include only the last revision in each page sequence.
- * @addtogroup Dump
+ * @ingroup Dump
*/
class DumpLatestFilter extends DumpFilter {
var $page, $pageString, $rev, $revString;
/**
* Base class for output stream; prints to stdout or buffer or whereever.
- * @addtogroup Dump
+ * @ingroup Dump
*/
class DumpMultiWriter {
function DumpMultiWriter( $sinks ) {
*/
/**
- *
- *
* Support for external editors to modify both text and files
* in external applications. It works as follows: MediaWiki
* sends a meta-file with the MIME type 'application/x-external-editor'
<?php
+/**
+ * @defgroup ExternalStorage ExternalStorage
+ */
+
/**
* Constructor class for data kept in external repositories
*
* External repositories might be populated by maintenance/async
* scripts, thus partial moving of data may be possible, as well
* as possibility to have any storage format (i.e. for archives)
+ *
+ * @ingroup ExternalStorage
*/
-
class ExternalStore {
/* Fetch data from given URL */
static function fetchFromURL($url) {
<?php
-/**
- *
- *
- * DB accessable external objects
- *
- */
-
-
/**
* External database storage will use one (or more) separate connection pools
global $wgExternalBlobCache;
$wgExternalBlobCache = array();
+/**
+ * DB accessable external objects
+ * @ingroup ExternalStorage
+ */
class ExternalStoreDB {
/** @todo Document.*/
<?php
/**
- *
- *
* Example class for HTTP accessable external objects
*
+ * @ingroup ExternalStorage
*/
-
class ExternalStoreHttp {
/* Fetch data from given URL */
function fetchFromURL($url) {
/**
* File deletion user interface
*
- * @addtogroup Media
+ * @ingroup Media
* @author Rob Church <robchur@gmail.com>
*/
class FileDeleteForm {
/**
* File reversion user interface
*
- * @addtogroup Media
+ * @ingroup Media
* @author Rob Church <robchur@gmail.com>
*/
class FileRevertForm {
}
/**
- * @addtogroup Exception
+ * @ingroup Exception
*/
class FSException extends MWException { }
* The class is nevertheless a vast improvement on the previous method of using
* Image::getLinksTo() and Title::touchArray(), which uses about 2KB of memory per
* link.
+ *
+ * @ingroup Cache
*/
class HTMLCacheUpdate
{
/**
* @todo document (e.g. one-sentence top-level class description).
+ * @ingroup JobQueue
*/
class HTMLCacheUpdateJob extends Job {
var $table, $start, $end;
<?php
/**
* Contain the HTMLFileCache class
- * @addtogroup Cache
+ * @file
+ * @ingroup Cache
*/
/**
* emergency abort/fallback to cache.
*
* Global options that affect this module:
- * $wgCachePages
- * $wgCacheEpoch
- * $wgUseFileCache
- * $wgFileCacheDirectory
- * $wgUseGzip
+ * - $wgCachePages
+ * - $wgCacheEpoch
+ * - $wgUseFileCache
+ * - $wgFileCacheDirectory
+ * - $wgUseGzip
+ *
+ * @ingroup Cache
*/
class HTMLFileCache {
var $mTitle, $mFileCache;
<?php
-/**
- *
- */
/**
* Pure virtual parent
*
* @author Evan Prodromou <evan@wikitravel.org>
* @see hooks.txt
+ * @file
*/
* * Any subsequent links on the same line are considered to be exceptions,
* i.e. articles where the image may occur inline.
*
- * @param string $name the image name to check
- * @param Title $contextTitle The page on which the image occurs, if known
+ * @param $name string the image name to check
+ * @param $contextTitle Title: the page on which the image occurs, if known
* @return bool
*/
function wfIsBadImage( $name, $contextTitle = false ) {
if ( ! defined( 'MEDIAWIKI' ) )
die( 1 );
-/**
- */
-
/**
* Image gallery
*
* Add images to the gallery using add(), then render that list to HTML using toHTML().
*
- * @addtogroup Media
+ * @ingroup Media
*/
class ImageGallery
{
<?php
-/**
- */
-/**
- *
- */
if( !defined( 'MEDIAWIKI' ) )
die( 1 );
/**
* Special handling for image description pages
*
- * @addtogroup Media
+ * @ingroup Media
*/
class ImagePage extends Article {
/**
* Builds the image revision log shown on image pages
*
- * @addtogroup Media
+ * @ingroup Media
*/
class ImageHistoryList {
* Variant of QueryPage which uses a gallery to output results, thus
* suited for reports generating images
*
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
* @author Rob Church <robchur@gmail.com>
*/
class ImageQueryPage extends QueryPage {
<?php
+/**
+ * @defgroup JobQueue JobQueue
+ */
if ( !defined( 'MEDIAWIKI' ) ) {
die( "This file is part of MediaWiki, it is not a valid entry point\n" );
/**
* Class to both describe a background job and handle jobs.
+ *
+ * @ingroup JobQueue
*/
abstract class Job {
var $command,
/**
* Pop a job off the front of the queue
- * @static
+ *
* @param $offset Number of jobs to skip
* @return Job or false if there's no jobs
*/
/**
* Create the appropriate object to handle a specific job
*
- * @param string $command Job command
- * @param Title $title Associated title
- * @param array $params Job parameters
- * @param int $id Job identifier
+ * @param $command String: Job command
+ * @param $title Title: Associated title
+ * @param $params Array: Job parameters
+ * @param $id Int: Job identifier
* @return Job
*/
static function factory( $command, $title, $params = false, $id = 0 ) {
<?php
+/**
+ * @file
+ * @ingroup Database
+ */
/**
* An interface for generating database load balancers
+ * @ingroup Database
*/
abstract class LBFactory {
static $instance;
<?php
+/**
+ * @file
+ * @ingroup Database
+ */
+
/**
* A multi-wiki, multi-master factory for Wikimedia and similar installations.
*
* masterTemplateOverrides An override array for all master servers.
*
+ * @ingroup Database
*/
class LBFactory_Multi extends LBFactory {
// Required settings
/**
* A License class for use on Special:Upload
*
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason
* Class representing a list of titles
* The execute() method checks them all for existence and adds them to a LinkCache object
*
- * @addtogroup Cache
+ * @ingroup Cache
*/
class LinkBatch {
/**
/**
* Cache for article titles (prefixed DB keys) and ids linked from one source
*
- * @addtogroup Cache
+ * @ingroup Cache
*/
class LinkCache {
// Increment $mClassVer whenever old serialized versions of this class
* so that ever other bit of the wiki doesn't have to
* go loading up Skin to get at it.
*
- * @addtogroup Skins
+ * @ingroup Skins
*/
class Linker {
<?php
+/**
+ * @file
+ * @ingroup Database
+ */
+
/**
* Database load balancing object
*
* @todo document
+ * @ingroup Database
*/
class LoadBalancer {
/* private */ var $mServers, $mConns, $mLoads, $mGroupLoads;
}
/**
- * @addtogroup Pager
+ * @ingroup Pager
*/
class LogPager extends ReverseChronologicalPager {
private $type = '', $user = '', $title = '', $pattern = '', $year = '', $month = '';
/**
* @Deprecated
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class LogReader {
var $pager;
/**
* @Deprecated
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class LogViewer {
const NO_ACTION_LINK = 1;
/**
* Contain log classes
- *
+ * @file
*/
/**
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class MacBinary {
* File for magic words
* See docs/magicword.txt
*
- * @addtogroup Parser
+ * @file
+ * @ingroup Parser
*/
/**
* magic words which are also Parser variables, add a MagicWordwgVariableIDs
* hook. Use string keys.
*
+ * @ingroup Parser
*/
class MagicWord {
/**#@+
/**
* Class for handling an array of magic words
+ * @ingroup Parser
*/
class MagicWordArray {
var $names = array();
<?php
/**
* Contain everything related to <math> </math> parsing
+ * @file
+ * @ingroup Parser
*/
/**
* to rasterized PNG and HTML and MathML approximations. An appropriate
* rendering form is picked and returned.
*
- * by Tomasz Wegrzanowski, with additions by Brion Vibber (2003, 2004)
- *
+ * @author Tomasz Wegrzanowski, with additions by Brion Vibber (2003, 2004)
+ * @ingroup Parser
*/
class MathRenderer {
var $mode = MW_MATH_MODERN;
<?php
+/**
+ * @file
+ * @ingroup Media
+ */
/**
* Base class for the output of MediaHandler::doTransform() and File::transform().
*
- * @addtogroup Media
+ * @ingroup Media
*/
abstract class MediaTransformOutput {
var $file, $width, $height, $url, $page, $path;
/**
* Media transform output for images
*
- * @addtogroup Media
+ * @ingroup Media
*/
class ThumbnailImage extends MediaTransformOutput {
/**
/**
* Basic media transform error class
*
- * @addtogroup Media
+ * @ingroup Media
*/
class MediaTransformError extends MediaTransformOutput {
var $htmlMsg, $textMsg, $width, $height, $url, $path;
/**
* Shortcut class for parameter validation errors
*
- * @addtogroup Media
+ * @ingroup Media
*/
class TransformParameterError extends MediaTransformError {
function __construct( $params ) {
* be necessary to change the cookie settings to work across hostnames.
* See: http://www.php.net/manual/en/function.session-set-save-handler.php
*
+ * @file
+ * @ingroup Cache
*/
/**
<?php
/**
- *
- * @addtogroup Cache
+ * @file
+ * @ingroup Cache
*/
/**
/**
* Message cache
* Performs various MediaWiki namespace-related functions
- *
+ * @ingroup Cache
*/
class MessageCache {
var $mCache, $mUseCache, $mDisable, $mExpiry;
<?php
/**
* Provide things related to namespaces
+ * @file
*/
/**
<?php
/**
- * @addtogroup Cache
+ * @file
+ * @ingroup Cache
*/
/**
* It acts as a memcached server with no RAM, that is, all objects are
* cleared the moment they are set. All set operations succeed and all
* get operations return null.
- * @addtogroup Cache
+ * @ingroup Cache
*/
class FakeMemCachedClient {
function add ($key, $val, $exp = 0) { return true; }
<?php
if ( ! defined( 'MEDIAWIKI' ) )
die( 1 );
-/**
- */
/**
* @todo document
* Page history
*
* Split off from Article.php and Skin.php, 2003-12-22
+ * @file
*/
/**
/**
- * @addtogroup Pager
+ * @ingroup Pager
*/
class PageHistoryPager extends ReverseChronologicalPager {
public $mLastRow = false, $mPageHistory;
/**
* Variant of QueryPage which formats the result as a simple link to the page
*
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class PageQueryPage extends QueryPage {
/**
* Format the result as a simple link to the page
*
- * @param Skin $skin
- * @param object $row Result row
+ * @param $skin Skin
+ * @param $row Object: result row
* @return string
*/
public function formatResult( $skin, $row ) {
<?php
+/**
+ * @defgroup Pager Pager
+ *
+ * @file
+ * @ingroup Pager
+ */
/**
* Basic pager interface.
- * @addtogroup Pager
+ * @ingroup Pager
*/
interface Pager {
function getNavigationBar();
* getQueryInfo() and getIndexField(). Don't forget to call the parent
* constructor if you override it.
*
- * @addtogroup Pager
+ * @ingroup Pager
*/
abstract class IndexPager implements Pager {
public $mRequest;
/**
* IndexPager with an alphabetic list and a formatted navigation bar
- * @addtogroup Pager
+ * @ingroup Pager
*/
abstract class AlphabeticPager extends IndexPager {
function __construct() {
/**
* IndexPager with a formatted navigation bar
- * @addtogroup Pager
+ * @ingroup Pager
*/
abstract class ReverseChronologicalPager extends IndexPager {
public $mDefaultDirection = true;
/**
* Table-based display with a user-selectable sort order
- * @addtogroup Pager
+ * @ingroup Pager
*/
abstract class TablePager extends IndexPager {
var $mSort;
<?php
-
/**
+ * @defgroup Parser Parser
*
+ * @file
+ * @ingroup Parser
* File for Parser and related classes
- *
- * @addtogroup Parser
*/
* * only within ParserOptions
* </pre>
*
- * @addtogroup Parser
+ * @ingroup Parser
*/
class Parser
{
/**
* @todo document, briefly.
- * @addtogroup Parser
+ * @ingroup Parser
*/
class StripState {
var $general, $nowiki;
/**
* @todo document, briefly.
- * @addtogroup Parser
+ * @ingroup Parser
*/
class OnlyIncludeReplacer {
var $output = '';
<?php
/**
- *
- * @addtogroup Cache
+ * @ingroup Cache Parser
* @todo document
*/
class ParserCache {
/**
* Set options of the Parser
* @todo document
- * @addtogroup Parser
+ * @ingroup Parser
*/
class ParserOptions
{
<?php
/**
* @todo document
- * @addtogroup Parser
+ * @ingroup Parser
*/
class ParserOutput
{
<?php
+/**
+ * @ingroup Parser
+ */
class Parser_DiffTest
{
var $parsers, $conf;
<?php
/**
* Parser with old preprocessor
+ * @ingroup Parser
*/
class Parser_OldPP
{
<?php
+/**
+ * @ingroup Parser
+ */
interface Preprocessor {
/** Create a new preprocessor object based on an initialised Parser object */
function __construct( $parser );
function preprocessToObj( $text, $flags = 0 );
}
+/**
+ * @ingroup Parser
+ */
interface PPFrame {
const NO_ARGS = 1;
const NO_TEMPLATES = 2;
* data is provided via two means:
* * PPFrame::expand(), which provides expanded text
* * The PPNode::split*() functions, which provide metadata about certain types of tree node
+ * @ingroup Parser
*/
interface PPNode {
/**
<?php
+/**
+ * @ingroup Parser
+ */
class Preprocessor_DOM implements Preprocessor {
var $parser, $memoryLimit;
/**
* Stack class to help Preprocessor::preprocessToObj()
+ * @ingroup Parser
*/
class PPDStack {
var $stack, $rootAccum, $top;
}
}
+/**
+ * @ingroup Parser
+ */
class PPDStackElement {
var $open, // Opening character (\n for heading)
$close, // Matching closing character
}
}
+/**
+ * @ingroup Parser
+ */
class PPDPart {
var $out; // Output accumulator string
/**
* An expansion frame, used as a context to expand the result of preprocessToObj()
+ * @ingroup Parser
*/
class PPFrame_DOM implements PPFrame {
var $preprocessor, $parser, $title;
/**
* Expansion frame with template arguments
+ * @ingroup Parser
*/
class PPTemplateFrame_DOM extends PPFrame_DOM {
var $numberedArgs, $namedArgs, $parent;
}
}
+/**
+ * @ingroup Parser
+ */
class PPNode_DOM implements PPNode {
var $node;
* Differences from DOM schema:
* * attribute nodes are children
* * <h> nodes that aren't at the top are replaced with <possible-h>
+ * @ingroup Parser
*/
-
class Preprocessor_Hash implements Preprocessor {
var $parser;
/**
* Stack class to help Preprocessor::preprocessToObj()
+ * @ingroup Parser
*/
class PPDStack_Hash extends PPDStack {
function __construct() {
}
}
+/**
+ * @ingroup Parser
+ */
class PPDStackElement_Hash extends PPDStackElement {
function __construct( $data = array() ) {
$this->partClass = 'PPDPart_Hash';
}
}
+/**
+ * @ingroup Parser
+ */
class PPDPart_Hash extends PPDPart {
function __construct( $out = '' ) {
$accum = new PPDAccum_Hash;
}
}
+/**
+ * @ingroup Parser
+ */
class PPDAccum_Hash {
var $firstNode, $lastNode;
/**
* An expansion frame, used as a context to expand the result of preprocessToObj()
+ * @ingroup Parser
*/
class PPFrame_Hash implements PPFrame {
var $preprocessor, $parser, $title;
/**
* Expansion frame with template arguments
+ * @ingroup Parser
*/
class PPTemplateFrame_Hash extends PPFrame_Hash {
var $numberedArgs, $namedArgs, $parent;
}
}
+/**
+ * @ingroup Parser
+ */
class PPNode_Hash_Tree implements PPNode {
var $name, $firstChild, $lastChild, $nextSibling;
}
}
+/**
+ * @ingroup Parser
+ */
class PPNode_Hash_Text implements PPNode {
var $value, $nextSibling;
function splitHeading() { throw new MWException( __METHOD__ . ': not supported' ); }
}
+/**
+ * @ingroup Parser
+ */
class PPNode_Hash_Array implements PPNode {
var $value, $nextSibling;
function splitHeading() { throw new MWException( __METHOD__ . ': not supported' ); }
}
+/**
+ * @ingroup Parser
+ */
class PPNode_Hash_Attr implements PPNode {
var $name, $value, $nextSibling;
<?php
/**
+ * @defgroup Profiler Profiler
+ *
+ * @file
+ * @ingroup Profiler
* This file is only included if profiling is enabled
- * @addtogroup Profiler
*/
/** backward compatibility */
}
/**
+ * @ingroup Profiler
* @todo document
- * @addtogroup Profiler
*/
class Profiler {
var $mStack = array (), $mWorkStack = array (), $mCollated = array ();
/**
* Called by wfProfieIn()
- * @param string $functionname
+ * @param $functionname string
*/
function profileIn( $functionname ) {
global $wgDebugFunctionEntry;
/**
* Called by wfProfieOut()
- * @param string $functionname
+ * @param $functionname string
*/
function profileOut($functionname) {
global $wgDebugFunctionEntry;
/**
* Recursive function the format the current profiling array into a tree
*
- * @param array $stack profiling array
+ * @param $stack profiling array
*/
function remapCallTree( $stack ) {
if( count( $stack ) < 2 ){
/**
* Log a function into the database.
*
- * @param string $name function name
- * @param float $timeSum
- * @param int $eventCount number of times that function was called
+ * @param $name string: function name
+ * @param $timeSum float
+ * @param $eventCount int: number of times that function was called
*/
static function logToDB( $name, $timeSum, $eventCount, $memorySum ){
# Do not log anything if database is readonly (bug 5375)
/**
* Get function caller
- * @param int $level
+ * @param $level int
*/
static function getCaller( $level ) {
$backtrace = wfDebugBacktrace();
/**
* Add an entry in the debug log file
- * @param string $s string to output
+ * @param $s string to output
*/
function debug( $s ) {
if( function_exists( 'wfDebug' ) ) {
<?php
+/**
+ * @file
+ * @ingroup Profiler
+ */
require_once(dirname(__FILE__).'/Profiler.php');
/**
* Simple profiler base class.
* @todo document methods (?)
- * @addtogroup Profiler
+ * @ingroup Profiler
*/
class ProfilerSimple extends Profiler {
var $mMinimumTime = 0;
<?php
+/**
+ * @file
+ * @ingroup Profiler
+ */
+
require_once( dirname( __FILE__ ) . '/ProfilerSimple.php' );
/**
* $wgProfiler = new ProfilerSimpleText;
* $wgProfiler->visible=true;
*
- * @addtogroup Profiler
+ * @ingroup Profiler
*/
class ProfilerSimpleText extends ProfilerSimple {
public $visible=false; /* Show as <PRE> or <!-- ? */
<?php
+/**
+ * @file
+ * @ingroup Profiler
+ */
require_once(dirname(__FILE__).'/ProfilerSimple.php');
/**
* ProfilerSimpleUDP class, that sends out messages for 'udpprofile' daemon
* (the one from mediawiki/trunk/udpprofile SVN )
- * @addtogroup Profiler
+ * @ingroup Profiler
*/
class ProfilerSimpleUDP extends ProfilerSimple {
function getFunctionReport() {
<?php
/**
* Stub profiling functions
- * @addtogroup Profiler
+ * @file
+ * @ingroup Profiler
*/
/** backward compatibility */
/**
* Begin profiling of a function
- * @param string $fn
+ * @param $fn string
*/
function wfProfileIn( $fn = '' ) {
global $hackwhere, $wgDBname, $haveProctitle;
/**
* Stop profiling of a function
- * @param string $fn
+ * @param $fn string
*/
function wfProfileOut( $fn = '' ) {
global $hackwhere, $wgDBname, $haveProctitle;
/**
* @todo document, briefly.
- * @addtogroup SpecialPage
*/
class ProtectionForm {
var $mRestrictions = array();
<?php
/**
* Functions for dealing with proxies
+ * @file
*/
/**
<?php
/**
* Contain a class for special pages
+ * @file
+ * @ingroup SpecialPages
*/
/**
* This is a class for doing query pages; since they're almost all the same,
* we factor out some of the functionality into a superclass, and let
* subclasses derive from it.
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class QueryPage {
/**
* License: GPL (http://www.gnu.org/copyleft/gpl.html)
*
* @author Gabriel Wicke <wicke@wikidev.net>
+ * @file
*/
/**
<?php
-/**
- *
- */
/**
* Utility class for creating new RC entries
/**
* Background job to update links for a given title.
+ *
+ * @ingroup JobQueue
*/
class RefreshLinksJob extends Job {
<?php
/**
* @todo document
+ * @file
*/
/**
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*
- * @addtogroup Parser
+ * @file
+ * @ingroup Parser
*/
/**
/**
* XHTML sanitizer for MediaWiki
- * @addtogroup Parser
+ * @ingroup Parser
*/
class Sanitizer {
const NONE = 0;
<?php
+/**
+ * @defgroup Search Search
+ *
+ * @file
+ * @ingroup Search
+ */
+
/**
* Contain a class for special pages
- * @addtogroup Search
+ * @ingroup Search
*/
class SearchEngine {
var $limit = 10;
}
/**
- * @addtogroup Search
+ * @ingroup Search
*/
class SearchResultSet {
/**
/**
- * @addtogroup Search
+ * @ingroup Search
*/
class SearchResultTooMany {
## Some search engines may bail out if too many matches are found
/**
- * @addtogroup Search
+ * @ingroup Search
*/
class SearchResult {
var $mRevision = null;
/**
* Highlight bits of wikitext
*
- * @addtogroup Search
+ * @ingroup Search
*/
class SearchHighlighter {
var $mCleanWikitext = true;
}
/**
- * @addtogroup Search
+ * @ingroup Search
*/
class SearchEngineDummy {
function search( $term ) {
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# http://www.gnu.org/copyleft/gpl.html
+/**
+ * @file
+ * @ingroup Search
+ */
+
/**
* Search engine hook for MySQL 4+
- * @addtogroup Search
+ * @ingroup Search
*/
class SearchMySQL extends SearchEngine {
var $strictMatching = true;
}
/**
- * @addtogroup Search
+ * @ingroup Search
*/
class MySQLSearchResultSet extends SearchResultSet {
function MySQLSearchResultSet( $resultSet, $terms ) {
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# http://www.gnu.org/copyleft/gpl.html
+/**
+ * @file
+ * @ingroup Search
+ */
+
/**
* Search engine hook for MySQL 4+
* This class retained for backwards compatibility...
* The meat's been moved to SearchMySQL, since the 3.x variety is gone.
- * @addtogroup Search
+ * @ingroup Search
* @deprecated
*/
class SearchMySQL4 extends SearchMySQL {
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# http://www.gnu.org/copyleft/gpl.html
+/**
+ * @file
+ * @ingroup Search
+ */
+
/**
* Search engine hook base class for Oracle (ConText).
- * @addtogroup Search
+ * @ingroup Search
*/
class SearchOracle extends SearchEngine {
function __construct($db) {
}
/**
- * @addtogroup Search
+ * @ingroup Search
*/
class OracleSearchResultSet extends SearchResultSet {
function __construct($resultSet, $terms) {
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# http://www.gnu.org/copyleft/gpl.html
+/**
+ * @file
+ * @ingroup Search
+ */
+
/**
* Search engine hook base class for Postgres
- * @addtogroup Search
+ * @ingroup Search
*/
class SearchPostgres extends SearchEngine {
} ## end of the SearchPostgres class
/**
- * @addtogroup Search
+ * @ingroup Search
*/
class PostgresSearchResult extends SearchResult {
function PostgresSearchResult( $row ) {
}
/**
- * @addtogroup Search
+ * @ingroup Search
*/
class PostgresSearchResultSet extends SearchResultSet {
function PostgresSearchResultSet( $resultSet, $terms ) {
/**
* Search engine hook for PostgreSQL / Tsearch2
- * @addtogroup Search
+ * @file
+ * @ingroup Search
*/
/**
* @todo document
- * @addtogroup Search
+ * @ingroup Search
*/
class SearchTsearch2 extends SearchEngine {
var $strictMatching = false;
<?php
/**
* See deferred.txt
- * @addtogroup Search
+ * @ingroup Search
*/
class SearchUpdate {
/**
* Placeholder class
- * @addtogroup Search
+ * @ingroup Search
*/
class SearchUpdateMyISAM extends SearchUpdate {
# Inherits everything
<?php
+/**
+ * @defgroup Skins Skins
+ */
+
if ( ! defined( 'MEDIAWIKI' ) )
die( 1 );
-# See skin.txt
-
/**
* The main skin class that provide methods and properties for all other skins.
* This base class is also the "Standard" skin.
*
* See docs/skin.txt for more information.
*
- * @addtogroup Skins
+ * @ingroup Skins
*/
class Skin extends Linker {
/**#@+
* to be passed to the template engine.
*
* @private
- * @addtogroup Skins
+ * @ingroup Skins
*/
class MediaWiki_I18N {
var $_context = array();
* to the computations individual esi snippets need. Most importantly no body
* parsing for most of those of course.
*
- * @addtogroup Skins
+ * @ingroup Skins
*/
class SkinTemplate extends Skin {
/**#@+
/**
* Generic wrapper for template functions, with interface
* compatible with what we use of PHPTAL 0.7.
- * @addtogroup Skins
+ * @ingroup Skins
*/
class QuickTemplate {
/**
<?php
/**
* Use this special page to get a list of the MediaWiki system messages.
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
<?php
/**
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
/**
* Implements Special:Allpages
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class SpecialAllpages {
/**
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
* Implements Special:Ancientpages
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class AncientPagesPage extends QueryPage {
/**
* Constructor for Special:Blockip page
*
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
/**
* Form object for the Special:Blockip page.
*
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class IPBlockForm {
var $BlockAddress, $BlockExpiry, $BlockReason;
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
* Special page outputs information on sourcing a book with a particular ISBN
* The parser creates links to this page when dealing with ISBNs in wikitext
*
- * @addtogroup SpecialPage
* @author Rob Church <robchur@gmail.com>
* @todo Validate ISBNs using the standard check-digit method
+ * @ingroup SpecialPages
*/
class SpecialBookSources extends SpecialPage {
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
* A special page listing redirects to non existent page. Those should be
* fixed to point to an existing page.
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class BrokenRedirectsPage extends PageQueryPage {
var $targets = array();
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
function wfSpecialCategories() {
* TODO: Allow sorting by count. We need to have a unique index to do this
* properly.
*
- * @addtogroup SpecialPage
- * @addtogroup Pager
+ * @ingroup SpecialPage Pager
*/
class CategoryPager extends AlphabeticPager {
function getQueryInfo() {
* Special page allows users to request email confirmation message, and handles
* processing of the confirmation code when the link in the email is followed
*
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
* @author Brion Vibber
* @author Rob Church <robchur@gmail.com>
*/
* Special page allows users to cancel an email confirmation using the e-mail
* confirmation code
*
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class EmailInvalidation extends UnlistedSpecialPage {
<?php
/**
* Special:Contributions, show user contributions in a paged list
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
+/**
+ * Pager for Special:Contributions
+ * @ingroup SpecialPage Pager
+ */
class ContribsPager extends ReverseChronologicalPager {
public $mDefaultDirection = true;
var $messages, $target;
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
- *
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class DeadendPagesPage extends PageQueryPage {
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
+/**
+ * @ingroup SpecialPage
+ */
class DisambiguationsPage extends PageQueryPage {
function getName() {
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
* A special page listing redirects to redirecting page.
* The software will automatically not follow double redirects, to prevent loops.
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class DoubleRedirectsPage extends PageQueryPage {
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
/**
* Implements the Special:Emailuser web interface, and invokes userMailer for sending the email message.
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class EmailUserForm {
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# http://www.gnu.org/copyleft/gpl.html
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
function wfExportGetPagesFromCategory( $title ) {
<?php
+/**
+ * @file
+ * @ingroup SpecialPage
+ */
/**
* Special page for listing the articles with the fewest revisions.
*
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
* @author Martin Drashkov
*/
class FewestrevisionsPage extends QueryPage {
* A special page to search for files by hash value as defined in the
* img_sha1 field in the image table
*
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*
* @author Raimond Spekking, based on Special:MIMESearch by Ævar Arnfjörð Bjarmason
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
/**
* Searches the database for files of the requested hash, comparing this with the
* 'img_sha1' field in the image table.
+ * @ingroup SpecialPage
*/
class FileDuplicateSearchPage extends QueryPage {
var $hash, $filename;
<?php
+/**
+ * @file
+ * @ingroup SpecialPage
+ */
function wfSpecialFilepath( $par ) {
global $wgRequest, $wgOut;
}
}
+/**
+ * @ingroup SpecialPage
+ */
class FilepathForm {
var $mTitle;
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
}
/**
- * @addtogroup SpecialPage
- * @addtogroup Pager
+ * @ingroup SpecialPage Pager
*/
class ImageListPager extends TablePager {
var $mFieldNames = null;
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
/**
* Reporting callback
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class ImportReporter {
function __construct( $importer, $upload, $interwiki ) {
/**
*
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class WikiRevision {
var $title = null;
/**
* implements Special:Import
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class WikiImporter {
var $mDebug = false;
/**
* @todo document (e.g. one-sentence class description).
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class ImportStringSource {
function __construct( $string ) {
/**
* @todo document (e.g. one-sentence class description).
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class ImportStreamSource {
function __construct( $handle ) {
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
/**
* implements Special:ipblocklist GUI
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class IPUnblockForm {
var $ip, $reason, $id;
/**
* @todo document
- * @addtogroup Pager
+ * @ingroup Pager
*/
class IPBlocklistPager extends ReverseChronologicalPager {
public $mForm, $mConds;
* This special page lists all defined user groups and the associated rights.
* See also @ref $wgGroupPermissions.
*
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
* @author Petr Kadlec <mormegil@centrum.cz>
*/
class SpecialListGroupRights extends SpecialPage {
<?php
/**
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*
* @author Rob Church <robchur@gmail.com>
* @copyright © 2006 Rob Church
/**
* Special:Listredirects - Lists all the redirects on the wiki.
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class ListredirectsPage extends QueryPage {
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# http://www.gnu.org/copyleft/gpl.html
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
* rights (sysop, bureaucrat, developer) will have them displayed
* next to their names.
*
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
-
class UsersPager extends AlphabeticPager {
function __construct($group=null) {
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
/**
* A form to make the database readonly (eg for maintenance purposes).
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class DBLockForm {
var $reason = '';
# http://www.gnu.org/copyleft/gpl.html
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
* A special page looking for articles with no article linking to them,
* thus being lonely.
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class LonelyPagesPage extends PageQueryPage {
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
*
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class LongPagesPage extends ShortPagesPage {
* A special page to search for files by MIME type as defined in the
* img_major_mime and img_minor_mime fields in the image table
*
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
/**
* Searches the database for files of the requested MIME type, comparing this with the
* 'img_major_mime' and 'img_minor_mime' fields in the image table.
+ * @ingroup SpecialPage
*/
class MIMEsearchPage extends QueryPage {
var $major, $minor;
<?php
-
/**
* Special page allowing users with the appropriate permissions to
* merge article histories, with some restrictions
*
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
/**
* The HTML form for Special:MergeHistory, which allows users with the appropriate
* permissions to view and restore deleted content.
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class MergehistoryForm {
var $mAction, $mTarget, $mDest, $mTimestamp, $mTargetID, $mDestID, $mComment;
<?php
/**
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason
/**
* implements Special:Mostcategories
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class MostcategoriesPage extends QueryPage {
<?php
/**
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason
/**
* implements Special:Mostimages
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class MostimagesPage extends ImageQueryPage {
<?php
+/**
+ * @file
+ * @ingroup SpecialPage
+ */
/**
* A special page to show pages ordered by the number of pages linking to them.
* Implements Special:Mostlinked
*
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @author Rob Church <robchur@gmail.com>
<?php
+/**
+ * @file
+ * @ingroup SpecialPage
+ */
+
/**
* A querypage to show categories ordered in descending order by the pages in them
*
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason
<?php
-
+/**
+ * @file
+ * @ingroup SpecialPage
+ */
+
/**
* Special page lists templates with a large number of
* transclusion links, i.e. "most used" templates
*
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
* @author Rob Church <robchur@gmail.com>
*/
class SpecialMostlinkedtemplates extends QueryPage {
/**
* A special page to show pages in the
*
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason
*/
/**
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class MostrevisionsPage extends QueryPage {
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
/**
* HTML form for Special:Movepage
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class MovePageForm {
var $oldTitle, $newTitle, $reason; # Text input
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
* implements Special:Newpages
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class NewPagesForm {
}
/**
- * @addtogroup Pager
+ * @ingroup SpecialPage Pager
*/
class NewPagesPager extends ReverseChronologicalPager {
// Stored opts
* SpecialPage::$mList. To remove a core static special page at runtime, use
* a SpecialPage_initList hook.
*
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
+ * @defgroup SpecialPage SpecialPage
*/
/**
* Parent special page class, also static functions for handling the special
* page list.
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class SpecialPage
{
/**
* Shortcut to construct a special page which is unlisted by default
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class UnlistedSpecialPage extends SpecialPage
{
/**
* Shortcut to construct an includable special page
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class IncludableSpecialPage extends SpecialPage
{
/**
* Shortcut to construct a special page alias.
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class SpecialRedirectToSpecial extends UnlistedSpecialPage {
var $redirName, $redirSubpage;
/**
* Shortcut to construct a special page pointing to current user user's page.
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class SpecialMypage extends UnlistedSpecialPage {
function __construct() {
/**
* Shortcut to construct a special page pointing to current user talk page.
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class SpecialMytalk extends UnlistedSpecialPage {
function __construct() {
/**
* Shortcut to construct a special page pointing to current user contributions.
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class SpecialMycontributions extends UnlistedSpecialPage {
function __construct() {
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
* implements Special:Popularpages
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class PopularPagesPage extends QueryPage {
<?php
/**
* Hold things related to displaying and saving user preferences.
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
/**
* Preferences form handling
* This object will show the preferences form and can save it as well.
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class PreferencesForm {
var $mQuickbar, $mOldpass, $mNewpass, $mRetypePass, $mStubs;
<?php
/**
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
/**
* implements Special:Prefixindex
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class SpecialPrefixindex extends SpecialAllpages {
// Inherit $maxPerPage
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
* @todo document
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class ProtectedPagesForm {
/**
* @todo document
- * @addtogroup Pager
+ * @ingroup Pager
*/
class ProtectedPagesPager extends AlphabeticPager {
public $mForm, $mConds;
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
* @todo document
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class ProtectedTitlesForm {
/**
* @todo document
- * @addtogroup Pager
+ * @ingroup Pager
*/
class ProtectedtitlesPager extends AlphabeticPager {
public $mForm, $mConds;
/**
* Special page to direct the user to a random page
*
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
* @author Rob Church <robchur@gmail.com>, Ilmari Karonen
* @license GNU General Public Licence 2.0 or later
*/
-
-/**
- * Special page to direct the user to a random page
- *
- * @addtogroup SpecialPage
- */
class RandomPage extends SpecialPage {
private $namespace = NS_MAIN; // namespace to select pages from
/**
* Special page to direct the user to a random redirect page (minus the second redirect)
*
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
* @author Rob Church <robchur@gmail.com>, Ilmari Karonen
* @license GNU General Public Licence 2.0 or later
*/
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
<?php
/**
* This is to display changes made to all articles linked in an article.
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
<?php
+/**
+ * @file
+ * @ingroup SpecialPage
+ */
/** Constructor */
function wfSpecialResetpass( $par ) {
/**
* Let users recover their password.
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class PasswordResetForm extends SpecialPage {
function __construct( $name=null, $reset=null ) {
<?php
-
/**
* Special page allowing users with the appropriate permissions to view
* and hide revisions. Log items can also be hidden.
*
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
function wfSpecialRevisiondelete( $par = null ) {
/**
* Implements the GUI for Revision Deletion.
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class RevisionDeleteForm {
/**
/**
* Implements the actions for Revision Deletion.
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class RevisionDeleter {
function __construct( $db ) {
/**
* Run text & title search and display the output
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
/**
* implements Special:Search - Run text & title search and display the output
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class SpecialSearch {
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
* SpecialShortpages extends QueryPage. It is used to return the shortest
* pages in the database.
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class ShortPagesPage extends QueryPage {
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
* Special page lists various statistics, including the contents of
* `site_stats`, plus page view details if enabled
*
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
/**
* implements Special:Uncategorizedcategories
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class UncategorizedCategoriesPage extends UncategorizedPagesPage {
function UncategorizedCategoriesPage() {
<?php
-
/**
* Special page lists images which haven't been categorised
*
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
* @author Rob Church <robchur@gmail.com>
*/
+/**
+ * @ingroup SpecialPage
+ */
class UncategorizedImagesPage extends ImageQueryPage {
function getName() {
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
* A special page looking for page without any category.
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class UncategorizedPagesPage extends PageQueryPage {
var $requestedNamespace = NS_MAIN;
<?php
+/**
+ * @file
+ * @ingroup SpecialPage
+ */
/**
* Special page lists all uncategorised pages in the
* template namespace
*
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
* @author Rob Church <robchur@gmail.com>
*/
class UncategorizedTemplatesPage extends UncategorizedPagesPage {
* Special page allowing users with the appropriate permissions to view
* and restore deleted content
*
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
/**
* Used to show archived pages and eventually restore them.
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class PageArchive {
protected $title;
/**
* The HTML form for Special:Undelete, which allows users with the appropriate
* permissions to view and restore deleted content.
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class UndeleteForm {
var $mAction, $mTarget, $mTimestamp, $mRestore, $mTargetObj;
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
}
/**
- *
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class DBUnlockForm {
function showForm( $err )
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
- *
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class UnusedCategoriesPage extends QueryPage {
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
* implements Special:Unusedimages
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class UnusedimagesPage extends ImageQueryPage {
<?php
+/**
+ * @file
+ * @ingroup SpecialPage
+ */
/**
* implements Special:Unusedtemplates
* @author Rob Church <robchur@gmail.com>
* @copyright © 2006 Rob Church
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class UnusedtemplatesPage extends QueryPage {
<?php
+/**
+ * @file
+ * @ingroup SpecialPage
+ */
+
/**
* A special page that displays a list of pages that are not on anyones watchlist.
* Implements Special:Unwatchedpages
*
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
* implements Special:Upload
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class UploadForm {
const SUCCESS = 0;
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
/**
* Extends Special:Upload with MogileFS.
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class UploadFormMogile extends UploadForm {
/**
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
/**
* implements Special:Login
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class LoginForm {
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
<?php
-
/**
* Special page to allow managing user group membership
*
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
* A class to manage user levels rights.
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class UserrightsPage extends SpecialPage {
# The target of the local right-adjuster's interest. Can be gotten from
/**#@+
* Give information about the version of MediaWiki, PHP, the DB and extensions
*
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason
$version->execute();
}
+/**
+ * @ingroup SpecialPage
+ */
class SpecialVersion {
private $firstExtOpened = true;
<?php
+/**
+ * @file
+ * @ingroup SpecialPage
+ */
+
/**
* A querypage to list the most wanted categories - implements Special:Wantedcategories
*
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
* implements Special:Wantedpages
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class WantedPagesPage extends QueryPage {
var $nlinks;
<?php
/**
- *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage Watchlist
*/
/**
<?php
/**
- * @TODO: Use some variant of Pager or something; the pagination here is lousy.
+ * @todo Use some variant of Pager or something; the pagination here is lousy.
*
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
/**
* Entry point
- * @param string $par An article name ??
+ * @param $par String: An article name ??
*/
function wfSpecialWhatlinkshere($par = NULL) {
global $wgRequest;
/**
* implements Special:Whatlinkshere
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
*/
class WhatLinksHerePage {
// Stored data
<?php
+/**
+ * @file
+ * @ingroup SpecialPage
+ */
/**
* Special page lists pages without language links
*
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
* @author Rob Church <robchur@gmail.com>
*/
class WithoutInterwikiPage extends PageQueryPage {
<?php
/**
* See deferred.txt
+ * @file
+ * @ingroup Cache
*/
/**
- *
+ * @todo document
+ * @ingroup Cache
*/
class SquidUpdate {
var $urlArr, $mMaxTitles;
<?php
/**
* See title.txt
- *
+ * @file
*/
/** */
<?php
/**
* See user.txt
- *
+ * @file
*/
# Number of characters in user_token field
/**
* Thrown by User::setPassword() on error
- * @addtogroup Exception
+ * @ingroup Exception
*/
class PasswordError extends MWException {
// NOP
<?php
/**
- *
+ * @file
+ * @ingroup Watchlist
*/
/**
- *
+ * @ingroup Watchlist
*/
class WatchedItem {
var $mTitle, $mUser;
* Provides the UI through which users can perform editing
* operations on their watchlist
*
- * @addtogroup Watchlist
+ * @ingroup Watchlist
* @author Rob Church <robchur@gmail.com>
*/
class WatchlistEditor {
/**
* Since PHP4 doesn't have exceptions, here's some error objects
* loosely modeled on the standard PEAR_Error model...
- * @addtogroup Exception
+ * @ingroup Exception
*/
class WikiError {
/**
/**
* Localized error message object
- * @addtogroup Exception
+ * @ingroup Exception
*/
class WikiErrorMsg extends WikiError {
/**
/**
* @todo document
- * @addtogroup Exception
+ * @ingroup Exception
*/
class WikiXmlError extends WikiError {
/**
<?php
-/**
- */
/**
* Client for querying zhdaemon
*
* Self-documentation: code to allow api to document its own state.
*
- * @addtogroup API
+ * @ingroup API
*/
abstract class ApiBase {
* API module that facilitates the blocking of users. Requires API write mode
* to be enabled.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiBlock extends ApiBase {
* API module that facilitates deleting pages. The API eqivalent of action=delete.
* Requires API write mode to be enabled.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiDelete extends ApiBase {
/**
* A query module to list all external URLs found on a given set of pages.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiEditPage extends ApiBase {
* any templates in a provided string, and returns the result of this expansion
* to the caller.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiExpandTemplates extends ApiBase {
* When executed, it performs a nested call to the API to get the needed data,
* and formats it in a proper format.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiFeedWatchlist extends ApiBase {
/**
* This is the abstract base class for API formatters.
*
- * @addtogroup API
+ * @ingroup API
*/
abstract class ApiFormatBase extends ApiBase {
/**
* This printer is used to wrap an instance of the Feed class
- * @addtogroup API
+ * @ingroup API
*/
class ApiFormatFeedWrapper extends ApiFormatBase {
}
/**
- * @addtogroup API
+ * @ingroup API
*/
class ApiFormatDbg extends ApiFormatBase {
}
/**
- * @addtogroup API
+ * @ingroup API
*/
class ApiFormatJson extends ApiFormatBase {
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
* DAMAGE.
*
-* @addtogroup API
+* @ingroup API
* @author Michal Migurski <mike-json@teczno.com>
* @author Matt Knapp <mdknapp[at]gmail[dot]com>
* @author Brett Stimmerman <brettstimmerman[at]gmail[dot]com>
* $value = $json->decode($input);
* </code>
*
- * @addtogroup API
+ * @ingroup API
*/
class Services_JSON
{
if (class_exists('PEAR_Error')) {
/**
- * @addtogroup API
+ * @ingroup API
*/
class Services_JSON_Error extends PEAR_Error
{
/**
* @todo Ultimately, this class shall be descended from PEAR_Error
- * @addtogroup API
+ * @ingroup API
*/
class Services_JSON_Error
{
}
/**
- * @addtogroup API
+ * @ingroup API
*/
class ApiFormatPhp extends ApiFormatBase {
}
/**
- * @addtogroup API
+ * @ingroup API
*/
class ApiFormatTxt extends ApiFormatBase {
}
/**
- * @addtogroup API
+ * @ingroup API
*/
class ApiFormatWddx extends ApiFormatBase {
}
/**
- * @addtogroup API
+ * @ingroup API
*/
class ApiFormatXml extends ApiFormatBase {
}
/**
- * @addtogroup API
+ * @ingroup API
*/
class ApiFormatYaml extends ApiFormatBase {
/**
* A node, used by Spyc for parsing YAML.
- * @addtogroup API
+ * @ingroup API
*/
class YAMLNode {
/**#@+
* $parser = new Spyc;
* $array = $parser->load($file);
* </code>
- * @addtogroup API
+ * @ingroup API
*/
class Spyc {
/**
* This is a simple class to handle action=help
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiHelp extends ApiBase {
/**
* Unit to authenticate log-in attempts to the current wiki.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiLogin extends ApiBase {
* API module to allow users to log out of the wiki. API equivalent of
* Special:Userlogout.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiLogout extends ApiBase {
require_once ('ApiBase.php');
}
+/**
+ * @defgroup API API
+ */
+
/**
* This is the main API class, used for both external and internal processing.
* When executed, it will create the requested formatter object,
* case any internal exceptions will not be handled but passed up to the caller.
* After successful execution, use getResult() for the resulting data.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiMain extends ApiBase {
* This exception will be thrown when dieUsage is called to stop module execution.
* The exception handling code will print a help screen explaining how this API may be used.
*
- * @addtogroup API
+ * @ingroup API
*/
class UsageException extends Exception {
/**
- * @addtogroup API
+ * @ingroup API
*/
class ApiMove extends ApiBase {
}
/**
- * @addtogroup API
+ * @ingroup API
*/
class ApiOpenSearch extends ApiBase {
* second instance of this class, and all subsequent actions will go use the second instance
* for all their work.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiPageSet extends ApiQueryBase {
}
/**
- * @addtogroup API
+ * @ingroup API
*/
class ApiParamInfo extends ApiBase {
}
/**
- * @addtogroup API
+ * @ingroup API
*/
class ApiParse extends ApiBase {
}
/**
- * @addtogroup API
+ * @ingroup API
*/
class ApiProtect extends ApiBase {
* In the generator mode, a generator will be first executed to populate a second ApiPageSet object,
* and that object will be used for all subsequent modules.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQuery extends ApiBase {
* Query module to enumerate all categories, even the ones that don't have
* category pages.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryAllCategories extends ApiQueryGeneratorBase {
/**
* Query module to enumerate links from all pages together.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryAllLinks extends ApiQueryGeneratorBase {
/**
* Query module to enumerate all registered users.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryAllUsers extends ApiQueryBase {
/**
* Query module to enumerate all available pages.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryAllimages extends ApiQueryGeneratorBase {
/**
* A query action to return messages from site message cache
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryAllmessages extends ApiQueryBase {
/**
* Query module to enumerate all available pages.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryAllpages extends ApiQueryGeneratorBase {
* * embeddedin - what pages transclude the given page within themselves,
* * imageusage - what pages use the given image
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryBacklinks extends ApiQueryGeneratorBase {
* This is a base class for all Query modules.
* It provides some common functionality such as constructing various SQL queries.
*
- * @addtogroup API
+ * @ingroup API
*/
abstract class ApiQueryBase extends ApiBase {
}
/**
- * @addtogroup API
+ * @ingroup API
*/
abstract class ApiQueryGeneratorBase extends ApiQueryBase {
/**
* Query module to enumerate all available pages.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryBlocks extends ApiQueryBase {
/**
* A query module to enumerate categories the set of pages belong to.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryCategories extends ApiQueryGeneratorBase {
/**
* This query adds <images> subelement to all pages with the list of images embedded into those pages.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryCategoryInfo extends ApiQueryBase {
/**
* A query module to enumerate pages that belong to a category.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryCategoryMembers extends ApiQueryGeneratorBase {
/**
* Query module to enumerate all available pages.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryDeletedrevs extends ApiQueryBase {
}
/**
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryExtLinksUsage extends ApiQueryGeneratorBase {
/**
* A query module to list all external URLs found on a given set of pages.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryExternalLinks extends ApiQueryBase {
/**
* A query action to get image information and upload history.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryImageInfo extends ApiQueryBase {
/**
* This query adds <images> subelement to all pages with the list of images embedded into those pages.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryImages extends ApiQueryGeneratorBase {
/**
* A query module to show basic page information.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryInfo extends ApiQueryBase {
/**
* A query module to list all langlinks (links to correspanding foreign language pages).
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryLangLinks extends ApiQueryBase {
/**
* A query module to list all wiki links on a given set of pages.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryLinks extends ApiQueryGeneratorBase {
/**
* Query action to List the log events, with optional filtering by various parameters.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryLogEvents extends ApiQueryBase {
/**
* Query module to get list of random pages
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryRandom extends ApiQueryGeneratorBase {
* A query action to enumerate the recent changes that were done to the wiki.
* Various filters are supported.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryRecentChanges extends ApiQueryBase {
* Various pieces of information may be shown - flags, comments, and the actual wiki markup of the rev.
* In the enumeration mode, ranges of revisions may be requested and filtered.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryRevisions extends ApiQueryBase {
/**
* Query module to perform full text search within wiki titles and content
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQuerySearch extends ApiQueryGeneratorBase {
/**
* A query action to return meta information about the wiki site.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQuerySiteinfo extends ApiQueryBase {
/**
* This query action adds a list of a specified user's contributions to the output.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryContributions extends ApiQueryBase {
/**
* Query module to get information about the currently logged-in user
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryUserInfo extends ApiQueryBase {
/**
* Query module to get information about a list of users
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryUsers extends ApiQueryBase {
* This query action allows clients to retrieve a list of recently modified pages
* that are part of the logged-in user's watchlist.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiQueryWatchlist extends ApiQueryGeneratorBase {
* '*' This key has special meaning only to the XML formatter, and is outputed as is
* for all others. In XML it becomes the content of the current element.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiResult extends ApiBase {
}
/**
- * @addtogroup API
+ * @ingroup API
*/
class ApiRollback extends ApiBase {
* API module that facilitates the unblocking of users. Requires API write mode
* to be enabled.
*
- * @addtogroup API
+ * @ingroup API
*/
class ApiUnblock extends ApiBase {
}
/**
- * @addtogroup API
+ * @ingroup API
*/
class ApiUndelete extends ApiBase {
<?php
/**
- * @addtogroup Media
+ * @ingroup Media
*/
class ArchivedFile
{
/**
* A repository for files accessible via the local filesystem. Does not support
* database access or registration.
+ * @ingroup FileRepo
*/
-
class FSRepo extends FileRepo {
var $directory, $deletedDir, $url, $hashLevels, $deletedHashLevels;
var $fileFactory = array( 'UnregisteredLocalFile', 'newFromTitle' );
* The convenience functions wfLocalFile() and wfFindFile() should be sufficient
* in most cases.
*
- * @addtogroup FileRepo
+ * @ingroup FileRepo
*/
abstract class File {
const DELETED_FILE = 1;
/**
* Base class for file repositories
* Do not instantiate, use a derived class.
+ * @ingroup FileRepo
*/
abstract class FileRepo {
const DELETE_SOURCE = 1;
/**
* Generic operation result class for FileRepo-related operations
+ * @ingroup FileRepo
*/
class FileRepoStatus extends Status {
/**
<?php
-// Very hacky and inefficient
-// do not use :D
-
+/**
+ * Very hacky and inefficient
+ * do not use :D
+ *
+ * @ingroup FileRepo
+ */
class ForeignAPIFile extends File {
function __construct( $title, $repo, $info ) {
parent::__construct( $title, $repo );
/**
* File repository with no files, for performance testing
+ *
+ * @ingroup FileRepo
*/
-
class ForeignAPIRepo extends FileRepo {
function __construct( $info ) {
parent::__construct( $info );
<?php
+/**
+ * @ingroup FileRepo
+ */
class ForeignDBFile extends LocalFile {
static function newFromTitle( $title, $repo, $unused = null ) {
return new self( $title, $repo );
* A foreign repository with a remote MediaWiki with an API thingy
* Very hacky and inefficient
* do not use :D
+ * @ingroup FileRepo
*/
-
class ForeignDBRepo extends LocalRepo {
# Settings
var $dbType, $dbServer, $dbUser, $dbPassword, $dbName, $dbFlags,
/**
* A foreign repository with a MediaWiki database accessible via the configured LBFactory
+ * @ingroup FileRepo
*/
class ForeignDBViaLBRepo extends LocalRepo {
var $wiki, $dbName, $tablePrefix;
/**
* A repository for files accessible via InstantCommons.
+ * @ingroup FileRepo
*/
-
class ICRepo extends LocalRepo {
var $directory, $url, $hashLevels, $cache;
var $fileFactory = array( 'ICFile', 'newFromTitle' );
/**
* Backwards compatibility class
* @deprecated
+ * @ingroup FileRepo
*/
class Image extends LocalFile {
function __construct( $title ) {
* The convenience functions wfLocalFile() and wfFindFile() should be sufficient
* in most cases.
*
- * @addtogroup FileRepo
+ * @ingroup FileRepo
*/
class LocalFile extends File
{
/**
* Helper class for file deletion
+ * @ingroup FileRepo
*/
class LocalFileDeleteBatch {
var $file, $reason, $srcRels = array(), $archiveUrls = array(), $deletionBatch, $suppress;
/**
* Helper class for file undeletion
+ * @ingroup FileRepo
*/
class LocalFileRestoreBatch {
var $file, $cleanupBatch, $ids, $all, $unsuppress = false;
/**
* Helper class for file movement
+ * @ingroup FileRepo
*/
class LocalFileMoveBatch {
var $file, $cur, $olds, $oldcount, $archive, $thumbs, $target, $db;
/**
* A repository that stores files in the local filesystem and registers them
* in the wiki's own database. This is the most commonly used repository class.
+ * @ingroup FileRepo
*/
class LocalRepo extends FSRepo {
var $fileFactory = array( 'LocalFile', 'newFromTitle' );
/**
* File repository with no files, for performance testing
+ * @ingroup FileRepo
*/
-
class NullRepo extends FileRepo {
function __construct( $info ) {}
/**
* Class to represent a file in the oldimage table
*
- * @addtogroup FileRepo
+ * @ingroup FileRepo
*/
class OldLocalFile extends LocalFile {
var $requestedTime, $archive_name;
<?php
+/**
+ * @defgroup FileRepo FileRepo
+ *
+ * @file
+ * @ingroup FileRepo
+ */
/**
+ * @ingroup FileRepo
* Prioritized list of file repositories
- * @addtogroup FileRepo
*/
class RepoGroup {
var $localRepo, $foreignRepos, $reposInitialised = false;
* TODO: Currently it doesn't really work in the repository role, there are
* lots of functions missing. It is used by the WebStore extension in the
* standalone role.
+ *
+ * @ingroup FileRepo
*/
class UnregisteredLocalFile extends File {
var $title, $path, $mime, $handler, $dims;
<?php
+/**
+ * @file
+ * @ingroup Media
+ */
/**
* Handler for Microsoft's bitmap format; getimagesize() doesn't
* support these files
*
- * @addtogroup Media
+ * @ingroup Media
*/
class BmpHandler extends BitmapHandler {
<?php
+/**
+ * @file
+ * @ingroup Media
+ */
/**
- * @addtogroup Media
+ * @ingroup Media
*/
class BitmapHandler extends ImageHandler {
function normaliseParams( $image, &$params ) {
<?php
-
/**
- * @addtogroup Media
+ * @file
+ * @ingroup Media
+ */
+
+/**
+ * @ingroup Media
*/
class DjVuHandler extends ImageHandler {
function isEnabled() {
<?php
-
/**
* Media-handling base classes and generic functionality
+ * @file
+ * @ingroup Media
*/
/**
* Base media handler class
*
- * @addtogroup Media
+ * @ingroup Media
*/
abstract class MediaHandler {
const TRANSFORM_LATER = 1;
/**
* Media handler abstract base class for images
*
- * @addtogroup Media
+ * @ingroup Media
*/
abstract class ImageHandler extends MediaHandler {
function canRender( $file ) {
<?php
+/**
+ * @file
+ * @ingroup Media
+ */
/**
- * @addtogroup Media
+ * @ingroup Media
*/
class SvgHandler extends ImageHandler {
function isEnabled() {
* $val = $mc->get('key');
*
* @author Ryan T. Dean <rtdean@cytherianage.net>
- * @package memcached-client
* @version 0.1.2
*/
* memcached client class implemented using (p)fsockopen()
*
* @author Ryan T. Dean <rtdean@cytherianage.net>
- * @addtogroup Cache
+ * @ingroup Cache
*/
class memcached
{
* regression checks for known problems.
* Requires PHPUnit.
*
- * @addtogroup UtfNormal
+ * @ingroup UtfNormal
* @private
*/
class CleanUpTest extends PHPUnit_Framework_TestCase {
* UtfNormal::cleanUp() code paths, and checks to see if there's a
* difference. Will run forever until it finds one or you kill it.
*
- * @addtogroup UtfNormal
+ * @ingroup UtfNormal
* @access private
*/
*
* These are pulled from memcached if possible, as this is faster than filling
* up a big array manually.
- * @addtogroup Language
+ * @ingroup Language
*/
/*
* This script generates Utf8Case.inc from the Unicode Character Database
* and supplementary files.
*
- * @addtogroup UtfNormal
+ * @ingroup UtfNormal
* @access private
*/
*
* These are pulled from memcached if possible, as this is faster than filling
* up a big array manually.
- * @addtogroup Language
+ * @ingroup Language
*/
/*
* Runs the UTF-8 decoder test at:
* http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt
*
- * @addtogroup UtfNormal
+ * @ingroup UtfNormal
* @access private
*/
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# http://www.gnu.org/copyleft/gpl.html
+/**
+ * @defgroup UtfNormal UtfNormal
+ */
+
/** */
require_once dirname(__FILE__).'/UtfNormalUtil.php';
*
* See description of forms at http://www.unicode.org/reports/tr15/
*
- * @addtogroup UtfNormal
+ * @ingroup UtfNormal
*/
class UtfNormal {
/**
/**
* Approximate benchmark for some basic operations.
*
- * @addtogroup UtfNormal
+ * @ingroup UtfNormal
* @access private
*/
* This script generates UniNormalData.inc from the Unicode Character Database
* and supplementary files.
*
- * @addtogroup UtfNormal
+ * @ingroup UtfNormal
* @access private
*/
/**
* Implements the conformance test at:
* http://www.unicode.org/Public/UNIDATA/NormalizationTest.txt
- * @addtogroup UtfNormal
+ * @ingroup UtfNormal
*/
/** */
* Some of these functions are adapted from places in MediaWiki.
* Should probably merge them for consistency.
*
- * @addtogroup UtfNormal
+ * @ingroup UtfNormal
* @public
*/
<?php
+/**
+ * @file
+ * @ingroup Templates
+ */
+
# Prevent XSS
if ( isset( $wgVersion ) ) {
$wgVersion = htmlspecialchars( $wgVersion );
<?php
/**
- * @addtogroup Templates
+ * @defgroup Templates Templates
+ * @file
+ * @ingroup Templates
*/
if( !defined( 'MEDIAWIKI' ) ) die( -1 );
/**
* HTML template for Special:Userlogin form
- * @addtogroup Templates
+ * @ingroup Templates
*/
class UserloginTemplate extends QuickTemplate {
function execute() {
}
/**
- * @addtogroup Templates
+ * @ingroup Templates
*/
class UsercreateTemplate extends QuickTemplate {
function execute() {
<?php
/**
- * @addtogroup Language
+ * @defgroup Language Language
+ *
+ * @file
+ * @ingroup Language
*/
if( !defined( 'MEDIAWIKI' ) ) {
mb_internal_encoding('UTF-8');
}
-/* a fake language converter */
+/**
+ * a fake language converter
+ *
+ * @ingroup Language
+ */
class FakeConverter {
var $mLang;
function FakeConverter($langobj) {$this->mLang = $langobj;}
function armourMath($text){ return $text; }
}
-#--------------------------------------------------------------------------
-# Internationalisation code
-#--------------------------------------------------------------------------
-
+/**
+ * Internationalisation code
+ * @ingrouo Language
+ */
class Language {
var $mConverter, $mVariants, $mCode, $mLoaded = false;
var $mMagicExtensions = array(), $mMagicHookDone = false;
<?php
/**
- * @addtogroup Language
+ * @ingroup Language
*
* @author Zhengzhu Feng <zhengzhu@gmail.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License
* These determine things like interwikis, language selectors, and so on.
* Safe to change without running scripts on the respective sites.
*
- * @addtogroup Language
+ * @ingroup Language
*/
/* private */ $wgLanguageNames = array(
'aa' => 'Afar', # Afar
<?php
/** Arabic (العربية)
*
- * @addtogroup Language
+ * @ingroup Language
*
* @author Niklas Laxström
*/
<?php
/** Azerbaijani (Azərbaycan)
*
- * @addtogroup Language
+ * @ingroup Language
*/
class LanguageAz extends Language {
function ucfirst ( $string ) {
<?php
/** Samogitian (Žemaitėška)
*
- * @addtogroup Language
+ * @ingroup Language
*
* @author Niklas Laxström
*/
* This is still the version from Be-x-old, only duplicated for consistency of
* plural and grammar functions. If there are errors please send a patch.
*
- * @addtogroup Language
+ * @ingroup Language
*
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @bug 1638, 2135
<?php
/** Belarusian in Taraškievica orthography (Беларуская тарашкевіца)
*
- * @addtogroup Language
+ * @ingroup Language
*
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @bug 1638, 2135
<?php
+
/** Bulgarian (Български)
*
- * @addtogroup Language
- */
-
-/**
- * @addtogroup Language
+ * @ingroup Language
*/
class LanguageBg extends Language {
/**
<?php
-/** Bosnian (bosanski)
- *
- * @addtogroup Language
- */
+/** Bosnian (bosanski)
+ *
+ * @ingroup Language
+ */
class LanguageBs extends Language {
function convertPlural( $count, $forms ) {
<?php
+
/** Czech (česky)
*
- * @addtogroup Language
+ * @ingroup Language
*/
-
-#--------------------------------------------------------------------------
-# Internationalisation code
-#--------------------------------------------------------------------------
-
class LanguageCs extends Language {
# Grammatical transformations, needed for inflected languages
# Invoked by putting {{grammar:case|word}} in a message
<?php
-/** Old Church Slavonic (Ѩзыкъ словѣньскъ)
- *
- * @addtogroup Language
- */
-/* Please, see Language.php for general function comments */
+/** Old Church Slavonic (Ѩзыкъ словѣньскъ)
+ *
+ * @ingroup Language
+ */
class LanguageCu extends Language {
# Convert from the nominative form of a noun to some other case
# Invoked with {{grammar:case|word}}
<?php
/** Welsh (Cymraeg)
*
- * @addtogroup Language
+ * @ingroup Language
*
* @author Niklas Laxström
*/
<?php
+
/** Lower Sorbian (Dolnoserbski)
*
- * @addtogroup Language
+ * @ingroup Language
*/
-
class LanguageDsb extends Language {
# Convert from the nominative form of a noun to some other case
<?php
-/** Esperanto (Esperanto)
- * @addtogroup Language
- */
+/** Esperanto (Esperanto)
+ *
+ * @ingroup Language
+ */
class LanguageEo extends Language {
function iconv( $in, $out, $string ) {
# For most languages, this is a wrapper for iconv
<?php
+
/** Estonian (Eesti)
*
- * @addtogroup Language
+ * @ingroup Language
*
*/
-
class LanguageEt extends Language {
/**
* Avoid grouping whole numbers between 0 to 9999
<?php
+
/** Finnish (Suomi)
*
- * @addtogroup Language
+ * @ingroup Language
*
* @author Niklas Laxström
*/
<?php
+
/** French (Français)
*
- * @addtogroup Language
- *
+ * @ingroup Language
*/
-
class LanguageFr extends Language {
/**
* Use singular form for zero (see bug 7309)
<?php
+
/** Irish (Gaeilge)
*
- * @addtogroup Language
+ * @ingroup Language
*/
-
class LanguageGa extends Language {
# Convert day names
# Invoked with {{GRAMMAR:transformation|word}}
<?php
+
/** Alemannic (Alemannisch)
*
- * @addtogroup Language
+ * @ingroup Language
*/
-
class LanguageGsw extends Language {
# Convert from the nominative form of a noun to some other case
# Invoked with result
<?php
+
/**
* Hebrew (עברית)
*
- * @addtogroup Language
+ * @ingroup Language
*
* @author Rotem Liss
*/
-
class LanguageHe extends Language {
/**
* Convert grammar forms of words.
<?php
/** Croatian (hrvatski)
*
- * @addtogroup Language
+ * @ingroup Language
*/
class LanguageHr extends Language {
<?php
/** Upper Sorbian (Hornjoserbsce)
*
- * @addtogroup Language
+ * @ingroup Language
*/
class LanguageHsb extends Language {
<?php
-/**
- * @addtogroup Language
- */
-#
-# Hungarian localisation for MediaWiki
-#
+/** Hungarian localisation for MediaWiki
+ *
+ * @ingroup Language
+ */
class LanguageHu extends Language {
function convertGrammar( $word, $case ) {
global $wgGrammarForms;
<?php
-/** Armenian (Հայերեն)
- *
- * @addtogroup Language
- * @author Ruben Vardanyan (Me@RubenVardanyan.com)
- */
-/* Please, see Language.php for general function comments */
+/** Armenian (Հայերեն)
+ *
+ * @ingroup Language
+ * @author Ruben Vardanyan (Me@RubenVardanyan.com)
+ */
class LanguageHy extends Language {
# Convert from the nominative form of a noun to some other case
# Invoked with {{grammar:case|word}}
<?php
+
/**
* Japanese (日本語)
*
- * @addtogroup Language
+ * @ingroup Language
*/
class LanguageJa extends Language {
function stripForSearch( $string ) {
<?php
+
/** Karakalpak (Qaraqalpaqsha)
*
- *
- * @addtogroup Language
+ * @ingroup Language
*/
-
class LanguageKaa extends Language {
# Convert from the nominative form of a noun to some other case
<?php
-/** Kazakh (Қазақша)
- * converter routines
- *
- * @addtogroup Language
- */
require_once( dirname(__FILE__).'/../LanguageConverter.php' );
require_once( dirname(__FILE__).'/LanguageKk_cyrl.php' );
define( 'H_HAMZA', 'ٴ' ); # U+0674 ARABIC LETTER HIGH HAMZA
//define( 'ZWNJ', '' ); # U+200C ZERO WIDTH NON-JOINER
+/** Kazakh (Қазақша)
+ * converter routines
+ *
+ * @ingroup Language
+ */
class KkConverter extends LanguageConverter {
function __construct($langobj, $maincode,
}
-/* class that handles Cyrillic, Latin and Arabic scripts for Kazakh
- right now it only distinguish kk_cyrl, kk_latn, kk_arab and kk_kz, kk_tr, kk_cn.
-*/
+/**
+ * class that handles Cyrillic, Latin and Arabic scripts for Kazakh
+ * right now it only distinguish kk_cyrl, kk_latn, kk_arab and kk_kz, kk_tr, kk_cn.
+ *
+ * @ingroup Language
+ */
class LanguageKk extends LanguageKk_cyrl {
function __construct() {
<?php
/** Kazakh (Қазақша)
*
- * @addtogroup Language
+ * @ingroup Language
*/
class LanguageKk_cyrl extends Language {
<?php
+
/** Ripuarian (Ripoarėsh)
*
- * @addtogroup Language
+ * @ingroup Language
*
* @author Purodha Blissenbach
*/
-
class LanguageKsh extends Language {
/**
* Avoid grouping whole numbers between 0 to 9999
<?php
-/** Kurdish
- * converter routines
- *
- * @addtogroup Language
- */
-
require_once( dirname(__FILE__).'/../LanguageConverter.php' );
require_once( dirname(__FILE__).'/LanguageKu_ku.php' );
+/** Kurdish
+ * converter routines
+ *
+ * @ingroup Language
+ */
class KuConverter extends LanguageConverter {
var $mArabicToLatin = array(
'ب' => 'b', 'ج' => 'c', 'چ' => 'ç', 'د' => 'd', 'ف' => 'f', 'گ' => 'g', 'ھ' => 'h',
}
}
+/**
+ * @ingroup Language
+ */
class LanguageKu extends LanguageKu_ku {
function __construct() {
<?php
+
/** Kurdish
*
- * @addtogroup Language
+ * @ingroup Language
*/
-
class LanguageKu_ku extends Language {
/** # Convert from the nominative form of a noun to some other case
<?php
-/** Latin (lingua Latina)
- *
- * @addtogroup Language
- */
+/** Latin (lingua Latina)
+ *
+ * @ingroup Language
+ */
class LanguageLa extends Language {
/**
* Convert from the nominative form of a noun to some other case
<?php
+
/** Lithuanian (Lietuvių)
*
- * @addtogroup Language
- *
+ * @ingroup Language
*/
-
class LanguageLt extends Language {
/* Word forms (with examples):
1 - vienas (1) lapas, dvidešimt vienas (21) lapas
<?php
+
/** Latvian (Latviešu)
*
- * @addtogroup Language
+ * @ingroup Language
*
* @author Niklas Laxström
*
* @copyright Copyright © 2006, Niklas Laxström
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
*/
-
class LanguageLv extends Language {
/**
* Plural form transformations. Using the first form for words with the last digit 1, but not for words with the last digits 11, and the second form for all the others.
<?php
+
/** Polish (polski)
*
- * @addtogroup Language
+ * @ingroup Language
*/
-
class LanguagePl extends Language {
function convertPlural( $count, $forms ) {
if ( !count($forms) ) { return ''; }
<?php
+
/** Brazilian Portugese (Portuguêsi do Brasil)
*
- * @addtogroup Language
- *
+ * @ingroup Language
*/
-
class LanguagePt_br extends Language {
/**
* Use singular form for zero (see bug 7309)
<?php
+/**
+ * @ingroup Language
+ */
class LanguageRmy extends Language {
/**
* Convert from the nominative form of a noun to some other case
<?php
+
/** Russian (русский язык)
*
* You can contact Alexander Sigachov (alexander.sigachov at Googgle Mail)
*
- * @addtogroup Language
+ * @ingroup Language
*/
-
-/* Please, see Language.php for general function comments */
class LanguageRu extends Language {
# Convert from the nominative form of a noun to some other case
# Invoked with {{grammar:case|word}}
<?php
+
/**
* Slovak (Slovenčina)
*
- * @addtogroup Language
+ * @ingroup Language
*/
class LanguageSk extends Language {
# Convert from the nominative form of a noun to some other case
<?php
+
/** Slovenian (Slovenščina)
*
- * @addtogroup Language
- *
+ * @ingroup Language
*/
class LanguageSl extends Language {
# Convert from the nominative form of a noun to some other case
<?php
-/**
- * @addtogroup Language
- */
-
-/*
- There are two levels of conversion for Serbian: the script level
- (Cyrillics <-> Latin), and the variant level (ekavian
- <->iyekavian). The two are orthogonal. So we really only need two
- dictionaries: one for Cyrillics and Latin, and one for ekavian and
- iyekavian.
-*/
+
require_once( dirname(__FILE__).'/../LanguageConverter.php' );
require_once( dirname(__FILE__).'/LanguageSr_ec.php' );
require_once( dirname(__FILE__).'/LanguageSr_el.php' );
+/**
+ * There are two levels of conversion for Serbian: the script level
+ * (Cyrillics <-> Latin), and the variant level (ekavian
+ * <->iyekavian). The two are orthogonal. So we really only need two
+ * dictionaries: one for Cyrillics and Latin, and one for ekavian and
+ * iyekavian.
+ *
+ * @ingroup Language
+ */
class SrConverter extends LanguageConverter {
var $mToLatin = array(
'а' => 'a', 'б' => 'b', 'в' => 'v', 'г' => 'g', 'д' => 'd',
}
}
+/**
+ * @ingroup Language
+ */
class LanguageSr extends LanguageSr_ec {
function __construct() {
global $wgHooks;
<?php
-/**
- * @addtogroup Language
- */
-
-#--------------------------------------------------------------------------
-# Internationalisation code
-#--------------------------------------------------------------------------
+/**
+ * @ingroup Language
+ */
class LanguageSr_ec extends Language {
function convertPlural( $count, $forms ) {
if ( !count($forms) ) { return ''; }
<?php
-/**
- * @addtogroup Language
- */
-
-#--------------------------------------------------------------------------
-# Internationalisation code
-#--------------------------------------------------------------------------
+/**
+ * @ingroup Language
+ */
class LanguageSr_el extends Language {
function convertPlural( $count, $forms ) {
if ( !count($forms) ) { return ''; }
<?php
-/**
- * @addtogroup Language
- */
require_once( dirname(__FILE__).'/../LanguageConverter.php' );
/**
* Converts Tajiki to latin orthography
+ * @ingroup Language
*/
class TgConverter extends LanguageConverter {
private $table = array(
}
+/**
+ * @ingroup Language
+ */
class LanguageTg extends Language {
function __construct() {
parent::__construct();
<?php
+
/**
* Turkish (Türkçe)
*
- * @addtogroup Language
+ * @ingroup Language
*/
class LanguageTr extends Language {
function ucfirst ( $string ) {
<?php
+
/** Tyvan localization (Тыва дыл)
- * @addtogroup Language
+ * From friends at tyvawiki.org
+ *
+ * @ingroup Language
*/
-
-# From friends at tyvawiki.org
-
-#--------------------------------------------------------------------------
-# Internationalisation code
-#--------------------------------------------------------------------------
-
class LanguageTyv extends Language {
/**
* Grammatical transformations, needed for inflected languages
* Invoked by putting {{grammar:case|word}} in a message
*
- * @param string $word
- * @param string $case
+ * @param $word string
+ * @param $case string
* @return string
*/
function convertGrammar( $word, $case ) {
<?php
-/** Ukrainian (українська мова)
- *
- * @addtogroup Language
- */
-/* Please, see Language.php for general function comments */
+/** Ukrainian (українська мова)
+ *
+ * @ingroup Language
+ */
class LanguageUk extends Language {
# Convert from the nominative form of a noun to some other case
# Invoked with {{grammar:case|word}}
/**
* Walloon (Walon)
*
- * @addtogroup Language
+ * @ingroup Language
*/
# NOTE: cweri après "NOTE:" po des racsegnes so des ratournaedjes
<?php
/**
- * @addtogroup Language
- */
+ * @ingroup Language
+ */
class LanguageYue extends Language {
function stripForSearch( $string ) {
# MySQL fulltext index doesn't grok utf-8, so we
<?php
-/**
- * @addtogroup Language
- */
+
require_once( dirname(__FILE__).'/../LanguageConverter.php' );
require_once( dirname(__FILE__).'/LanguageZh_hans.php' );
+/**
+ * @ingroup Language
+ */
class ZhConverter extends LanguageConverter {
function loadDefaultTables() {
require( dirname(__FILE__)."/../../includes/ZhConversion.php" );
}
}
-/* class that handles both Traditional and Simplified Chinese
- right now it only distinguish zh_hans, zh_hant, zh_cn, zh_tw, zh_sg and zh_hk.
-*/
+/**
+ * class that handles both Traditional and Simplified Chinese
+ * right now it only distinguish zh_hans, zh_hant, zh_cn, zh_tw, zh_sg and zh_hk.
+ *
+ * @ingroup Language
+ */
class LanguageZh extends LanguageZh_hans {
function __construct() {
<?php
+
/**
- * @addtogroup Language
- */
+ * @ingroup Language
+ */
class LanguageZh_hans extends Language {
function stripForSearch( $string ) {
# MySQL fulltext index doesn't grok utf-8, so we
<?php
/**
- *
- * @addtogroup Language
- */
+ * @ingroup Language
+ * @file
+ */
$fallback = 'ru';
<?php
/** Afrikaans (Afrikaans)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
* @author Adriaan
<?php
/** Akan (Akan)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Natsubee
* @author Siebrand
<?php
/** Gheg Albanian (Gegë)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Cradel
* @author Dardan
<?php
/** Alemannisch
- *
- * @addtogroup Language
- * @comment Deprecated code. Falls back to 'gsw'.
- */
+ *
+ * @ingroup Language
+ * @file
+ * @comment Deprecated code. Falls back to 'gsw'.
+ */
$fallback = 'gsw';
<?php
/** Amharic (አማርኛ)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Codex Sinaiticus
* @author Siebrand
<?php
/** Aragonese (Aragonés)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
* @author Juanpabl
<?php
/** Old English (Anglo Saxon)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
* @author JJohnson
<?php
/** Arabic (العربية)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Meno25
* @author Mido
<?php
/** Aramaic (ܐܪܡܝܐ)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author A2raya07
* @author The Thadman
<?php
/** Araucanian (Mapudungun)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Lin linao
* @author Poquil
<?php
/** Egyptian Spoken Arabic (مصرى)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Ghaly
* @author Alnokta
<?php
/** Assamese (অসমীয়া)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Priyankoo
* @author Siebrand
<?php
/** Asturian (Asturianu)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Esbardu
* @author Helix84
<?php
/** Avaric (Авар)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author MONARCH79
* @author Phoebe
<?php
/** Kotava (Kotava)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Wikimistusik
* @author Sab
<?php
/** Aymara (Aymar)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Kanon6917
* @author Siebrand
<?php
/** Azerbaijani (Azərbaycan)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Siebrand
*/
<?php
/** Bashkir (Башҡорт)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Рустам Нурыев
* @author Siebrand
<?php
/** Bavarian (Boarisch)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
* @author Siebrand
<?php
/** Samogitian (Žemaitėška)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Hugo.arg
* @author Zordsdavini
<?php
/** Bikol Central (Bikol Central)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Filipinayzd
* @author Steven*fung
<?php
/** Belarusian (Беларуская)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Yury Tarasievich
* @author Mienski
<?php
/** Belarusian (Taraškievica orthography) (Беларуская (тарашкевіца))
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Red Winged Duck
* @author EugeneZelenko
<?php
/** Belarusian in Taraškievica orthography (Беларуская тарашкевіца)
- *
- * @addtogroup Language
- * @comment dummy language file. Falls back to 'be-tarask'. Backward compat.
- */
+ *
+ * @ingroup Language
+ * @file
+ * @comment dummy language file. Falls back to 'be-tarask'. Backward compat.
+ */
$fallback = 'be-tarask';
<?php
/** Bulgarian (Български)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author DCLXVI
* @author לערי ריינהארט
<?php
/** Bihari (भोजपुरी)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Jon Harald Søby
*/
<?php
/** Bislama
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
* @author Ushanka
-*/
+ */
$messages = array(
'underline-always' => 'Oltaem',
<?php
/** Bamanankan (Bamanankan)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Guaka
* @author Siebrand
<?php
/** Bengali (বাংলা)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Bellayet
* @author Zaheen
<?php
/** Tibetan (བོད་ཡིག)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*/
$digitTransformTable = array(
<?php
/** Bishnupriya (ইমার ঠার/বিষ্ণুপ্রিয়া মণিপুরী)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Uttam Singha, Dec 2006
* @author Usingha
<?php
/** Breton (Brezhoneg)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Fulup
* @author Nike
<?php
/** Bosnian (Bosanski)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author לערי ריינהארט
* @author Kal-El
<?php
/** Buginese (ᨅᨔ ᨕᨘᨁᨗ)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
* @author Kurniasan
<?php
/** Catalan (Català)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Toniher
* @author SMP
<?php
/** Zamboangueño (Zamboangueño)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
*/
<?php
/** Min Dong Chinese (Mìng-dĕ̤ng-ngṳ̄)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Siebrand
*/
<?php
/** Chechen (Нохчийн)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Girdi
* @author Mega programmer
<?php
/** Cebuano (Cebuano)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
* @author Abastillas
<?php
/** Chamorro (Chamoru)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Gadao01
* @author Magalahi
<?php
/** Cherokee (ᏣᎳᎩ)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
*/
<?php
/** Corsican (Corsu)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
* @author Siebrand
<?php
/** Crimean Turkish (Qırımtatarca)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Alessandro
*/
<?php
/** Crimean Turkish (Cyrillic) (Qırımtatarca (Cyrillic))
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Alessandro
* @author Siebrand
<?php
/** Crimean Turkish (Latin) (Qırımtatarca (Latin))
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Alessandro
* @author AlefZet
<?php
/** Czech (Česky)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Mormegil
* @author Li-sung
<?php
/** Kashubian (Kaszëbsczi)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Warszk
* @author Siebrand
<?php
/** Church Slavic (Словѣньскъ)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
* @author Svetko
<?php
/** Chuvash (Чăвашла)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Siebrand
* @author PCode
<?php
/** Welsh (Cymraeg)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Lloffiwr
* @author Nike
<?php
/** Danish (Dansk)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Lars J. Helbo <lars.helbo@gmail.com>
* @author Anders Wegge Jakobsen <awegge@gmail.com>
<?php
/** German (Deutsch)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Jimmy Collins <jimmy.collins@web.de>
* @author Raimond Spekking (Raymond) <raimond.spekking@gmail.com> since January 2007
<?php
/** German (formal address) (Deutsch (Sie-Form))
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Jimmy Collins <jimmy.collins@web.de>
* @author Raimond Spekking (Raymond) <raimond.spekking@gmail.com> since January 2007
<?php
/** Zazaki (Zazaki)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
* @author Mirzali
<?php
/** Danish
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
* @comment Deprecated code. Falls back to 'dk'.
*/
<?php
/** Lower Sorbian (Dolnoserbski)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Pe7er
* @author Qualia
<?php
/** Divehi (ދިވެހިބަސް)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author MF-Warburg
* @author לערי ריינהארט
<?php
/** Dzongkha (ཇོང་ཁ)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @author Tenzin
<?php
/** Ewe (Eʋegbe)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Natsubee
* @author Cbrown1023
<?php
/** Greek (Ελληνικά)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Dead3y3
* @author ZaDiak
<?php
/** Emiliano-Romagnolo (Emiliàn e rumagnòl)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Timichal
* @author Ottaviano II
<?php
/**
- *
- * @addtogroup Language
- */
+ *
+ * @ingroup Language
+ * @file
+ */
$rtl = true;
<?php
/** British English ()
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Jon Harald Søby
*/
<?php
/** Esperanto (Esperanto)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Tlustulimu
* @author Michawiki
<?php
/** Spanish (Español)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Alhen
* @author Alpertron
<?php
/** Estonian (Eesti)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author WikedKentaur
* @author SPQRobin
<?php
/** Basque (Euskara)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
* @author Helix84
<?php
/** Extremaduran (Estremeñu)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Better
* @author Nike
<?php
/** Persian (فارسی)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Roozbeh Pournader <roozbeh at gmail.com>
* @author G - ג
<?php
/** Fulah (Fulfulde)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Amkoullel
* @author SPQRobin
<?php
/** Finnish (Suomi)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Crt
* @author Nike
<?php
/** Võro (Võro)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Niklas Laxsröm
* @author Sulev Iva (Võrok)
<?php
/** Fijian (Na Vosa Vakaviti)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
*/
<?php
/** Faroese (Føroyskt)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Spacebirdy
* @author לערי ריינהארט
<?php
/** French (Français)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Hégésippe Cormier
* @author Seb35
<?php
/** Cajun French (Français cadien)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author RoyAlcatraz
* @author JeanVoisin
<?php
/** Franco-Provençal (Arpetan)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author ChrisPtDe
* @author Nike
<?php
/** Friulian (Furlan)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Klenje
* @author לערי ריינהארט
<?php
/** Western Frisian (Frysk)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Helix84
* @author Maartenvdbent
<?php
/** Irish (Gaeilge)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Kwekubo
* @author לערי ריינהארט
<?php
/** Gagauz (Gagauz)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Cuman
* @author Nike
<?php
/** Gan (贛語)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Symane
* @author Nike
<?php
/** Scottish Gaelic (Gàidhlig)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
* @author לערי ריינהארט
<?php
/** Galician (Galego)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Alma
* @author Prevert
<?php
/** Gilaki (گیلکی)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author AminSanaei
*/
<?php
/** Guarani (Avañe'ẽ)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Hugo.arg
* @author Nike
<?php
/** Gothic (𐌲𐌿𐍄𐌹𐍃𐌺)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
*/
<?php
/** Ancient Greek (Ἀρχαία ἑλληνικὴ)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author LeighvsOptimvsMaximvs
* @author Lefcant
<?php
/** Swiss German (Alemannisch)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Helix84
* @author 80686
<?php
/** Gujarati (ગુજરાતી)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author לערי ריינהארט
* @author Aksi great
<?php
/** Manx (Gaelg)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author MacTire02
* @author Siebrand
<?php
/** Hakka (Hak-kâ-fa)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Hakka
* @author Siebrand
<?php
/** Hawaiian (Hawai`i)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Singularity
* @author SPQRobin
<?php
/** Hebrew (עברית)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Rotem Dan (July 2003)
* @author Rotem Liss (March 2006 on)
<?php
/** Hindi (हिन्दी)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author לערי ריינהארט
* @author Kaustubh
<?php
/** Fiji Hindi (Fiji Hindi/फ़ीजी हिन्दी)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
* @comment falls back to Fiji Hindi (Latin)
- *
*/
$fallback = 'hif-latn';
<?php
/** Fiji Hindi/फ़ीजी हिन्दी (Latin) (Fiji Hindi/फ़ीजी हिन्दी (Latin))
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Girmitya
* @author Siebrand
<?php
/** Hiligaynon (Ilonggo)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Jose77
* @author Kguirnela
<?php
/** Croatian (Hrvatski)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SpeedyGonsales
* @author MayaSimFan
<?php
/** Upper Sorbian (Hornjoserbsce)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Dundak
* @author Michawiki
<?php
/** Haitian (Kreyòl ayisyen)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Masterches
* @author Siebrand
<?php
/** Hungarian (Magyar)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Dani
* @author Bdamokos
<?php
/** Armenian (Հայերեն)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Ruben Vardanyan (me@RubenVardanyan.com)
* @author Teak
<?php
/** Interlingua (Interlingua)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author לערי ריינהארט
* @author Siebrand
<?php
/** Indonesian (Bahasa Indonesia)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Irwangatot
* @author לערי ריינהארט
<?php
/** Interlingue (Interlingue)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Jmb
* @author SPQRobin
<?php
/** Igbo (Igbo)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
*/
<?php
/** Yi (ꆇꉙ)
- *
- * @addtogroup Language
- */
+ *
+ * @ingroup Language
+ * @file
+ */
$fallback = 'zh-cn';
<?php
/** Inupiaq (Iñupiak)
*
- * @addtogroup Language
- *
+ * @ingroup Language
+ * @file
*/
$messages = array(
<?php
/** Eastern Canadian (Unified Canadian Aboriginal Syllabics) (ᐃᓄᒃᑎᑐᑦ)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
* @author Siebrand
<?php
/** Eastern Canadian (Latin) (inuktitut)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
* @author M.M.S.
<?php
/** Iloko (Ilokano)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Saluyot
* @author לערי ריינהארט
<?php
/** Ingush (ГІалгІай Ğalğaj)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Tagir
* @author Siebrand
<?php
/** Ido (Ido)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Albonio
* @author Artomo
<?php
/** Icelandic (Íslenska)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Steinninn
* @author Jóna Þórunn
<?php
/** Italian (Italiano)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author BrokenArrow
* @author Gianfranco
<?php
/** Inuktitut (ᐃᓄᒃᑎᑐᑦ/inuktitut)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
* @comment Macro language; kept for backward compatibility
*/
<?php
/** Japanese (日本語)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Suisui
* @author Marine-Blue
<?php
/** Lojban (Lojban)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Malafaya
* @author OldakQuill
<?php
/** Jutish (Jysk)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Ælsån
* @author Huslåke
<?php
/** Javanese (Basa Jawa)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Meursault2004
* @author Helix84
<?php
/** Georgian (ქართული)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author ka.wikipedia.org sysops
* @author Alsandro
<?php
/** Kara-Kalpak (Qaraqalpaqsha)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Atabek
* @author Jiemurat
<?php
/** Kabyle (Taqbaylit)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Agurzil
* @author Siebrand
<?php
/** Kongo (Kikongo)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*/
$messages = array(
<?php
/**
- * Kazakh (Қазақша)
- *
- * @addtogroup Language
- */
+ * Kazakh (Қазақша)
+ *
+ * @ingroup Language
+ * @file
+ */
# Stub message file for converter code "kk"
<?php
/** Kazakh (Arabic) (قازاقشا (توتە))
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author GaiJin
* @author AlefZet
-
+ *
* END USERS: DO NOT EDIT THIS FILE DIRECTLY!
*
* Changes in this file will be lost during software upgrades.
<?php
/**
- * Kazakh (China) (قازاقشا (جۇنگو))
- *
- * @addtogroup Language
- */
+ * Kazakh (China) (قازاقشا (جۇنگو))
+ *
+ * @ingroup Language
+ * @file
+ */
# Inherit everything for now
$fallback = 'kk-arab';
<?php
/** Kazakh (Cyrillic) (Қазақша (Кирил))
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author GaiJin
* @author AlefZet
<?php
/**
- * Kazakh (Kazakhstan) (Қазақша (Қазақстан))
- *
- * @addtogroup Language
- */
+ * Kazakh (Kazakhstan) (Қазақша (Қазақстан))
+ *
+ * @ingroup Language
+ * @file
+ */
# Inherit everything for now
$fallback = 'kk-cyrl';
<?php
/** Kazakh (Latin) (Qazaqşa (Latın))
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author GaiJin
* @author AlefZet
-
+ *
* END USERS: DO NOT EDIT THIS FILE DIRECTLY!
*
* Changes in this file will be lost during software upgrades.
<?php
/**
- * Kazakh (Turkey) (Qazaqşa (Türkïya))
- *
- * @addtogroup Language
- */
+ * Kazakh (Turkey) (Qazaqşa (Türkïya))
+ *
+ * @ingroup Language
+ * @file
+ */
# Inherit everything for now
$fallback = 'kk-latn';
<?php
/** Kalaallisut (Kalaallisut)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author לערי ריינהארט
* @author SPQRobin
<?php
/** Khmer (ភាសាខ្មែរ)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @author Bunly
<?php
/** Kannada (ಕನ್ನಡ)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Mana
* @author Shushruth
<?php
/** Korean (한국어)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Klutzy
* @author PuzzletChung
<?php
/** Kinaray-a (Kinaray-a)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author RonaldPanaligan
* @author Jose77
<?php
/** Kashmiri language file ( कश्मीरी - (ﻚﺸﻤﻳﺮﻳ) )
- *
- * @addtogroup Language
- */
+ *
+ * @ingroup Language
+ * @file
+ */
#FIXME: inherit almost everything for now
$rtl = true;
<?php
/** Ripoarisch (Ripoarisch)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Caesius noh en Idee vum Manes
* @author Purodha
* and not from the Akademie (for example: Gedöns, geeße, gegovve, aadig, iggelig, nüdig)
* Otherwise most part of the following expressions are taken from the Akademie.
*
- * @addtogroup Language
+ * @ingroup Language
*
* @author Caesius noh en Idee vum Manes
*/
<?php
/**
- * Kurdish (latin)
- *
- * @addtogroup Language
- */
+ * Kurdish (latin)
+ *
+ * @ingroup Language
+ * @file
+ */
$fallback = 'ku-latn';
<?php
/** Kurdish (Arab)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Aras Noori
*/
<?php
/** Kurdish (Latin) (Kurdî / كوردی (Latin))
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Bangin
* @author Siebrand
<?php
/** Komi (Коми)
- *
- * @addtogroup Language
- */
+ *
+ * @ingroup Language
+ * @file
+ */
$fallback = 'ru';
<?php
/** Cornish (Kernewek)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author MF-Warburg
* @author Malafaya
<?php
/** Kirghiz (Кыргызча)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Aidabishkek
* @author SPQRobin
<?php
/** Latin (Latina)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
* @author UV
<?php
/** Ladino (Ladino)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author ILVI
* @author Taichi
<?php
/** Luxembourgish (Lëtzebuergesch)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
* @author Siebrand
<?php
/** Лакку (Лакку)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author M.M.S.
*/
<?php
/** Lingua Franca Nova (Lingua Franca Nova)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Cgboeree
* @author Nike
<?php
/** Ganda (Luganda)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Kizito
* @author Siebrand
<?php
/** Limburgish (Limburgs)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Ooswesthoesbes
* @author Cicero
<?php
/** Líguru (Líguru)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Jon Harald Søby
* @author Dario vet
<?php
/** Ladin (Ladin)
*
- * @addtogroup Language
- *
+ * @ingroup Language
+ * @file
*/
$fallback = 'it';
<?php
/** Lumbaart (Lumbaart)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Kemmótar
* @author Flavio05
/**
* Lingala language
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
*/
<?php
/** Lao (ລາວ)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Passawuth
* @author Tuinui
<?php
/** Lozi (Silozi)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SF-Language
* @author Litingatinga Silozi
<?php
/** Lithuanian (Lietuvių)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Garas
* @author Hugo.arg
<?php
/** Latvian (Latviešu)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Niklas Laxström
* @author Yyy
<?php
/** Maithili (मैथिली)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Ggajendra
* @author Siebrand
<?php
/** Banyumasan (Basa Banyumasan)
*
- * @addtogroup Language
- *
+ * @ingroup Language
+ * @file
*/
$fallback = 'jv';
<?php
/** Moksha (мокшень кяль)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Numulunj pilgae
* @author Kranch
<?php
/** Malagasy (Malagasy)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
* @author Siebrand
<?php
/** Maori (Māori)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*/
$messages = array(
<?php
/** Macedonian (Македонски)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author FlavrSavr
* @author Misos
<?php
/** Malayalam (മലയാളം)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @author Sadik Khalid <sadik.khalid@gmail.com>
<?php
/** Mongolian (Монгол)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author לערי ריינהארט
* @author Chinneeb
<?php
/** Moldavian (Молдовеняскэ)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Node ue
* @author לערי ריינהארט
<?php
/** Marathi (मराठी)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Angela
* @author Hemanshu
<?php
/** Malay (Bahasa Melayu)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author לערי ריינהארט
* @author Aviator
<?php
/** Maltese (Malti)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*/
$messages = array(
<?php
/** Mirandese (Mirandés)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author MCruz
* @author Malafaya
<?php
/** Burmese (Myanmasa)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Hakka
*/
<?php
/** Erzya (эрзянь кель)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Botuzhaleny-sodamo
* @author Erzianj jurnalist
<?php
/** Mazandarani
- *
- * Minimalistic setup, needed to switch to right-to-left writing.
- *
- * @addtogroup Language
- */
+ *
+ * Minimalistic setup, needed to switch to right-to-left writing.
+ *
+ * @ingroup Language
+ * @file
+ */
$linkPrefixExtension = true;
$fallback8bitEncoding = 'windows-1256';
<?php
/** Nauru (Ekakairũ Naoero)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author CdaMVvWgS
* @author Belgian man
<?php
/** Nahuatl (Nahuatl)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Rob Church <robchur@gmail.com>
* @author Fluence
<?php
/**
- * Min Nan (Bân-lâm-gú/閩南話)
- *
- * @addtogroup Language
- */
+ * Min Nan (Bân-lâm-gú/閩南話)
+ *
+ * @ingroup Language
+ * @file
+ */
$datePreferences = array(
'default',
<?php
/** Neapolitan (Nnapulitano)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Carmine Colacino
* @author SabineCretella
<?php
/** Norwegian (Norsk (bokmål))
- *
- * @addtogroup Language
- * @comment Correct code, but for historical reasons this started as 'no'. Falls back to 'no'. May be reversed some day.
- */
+ *
+ * @ingroup Language
+ * @file
+ * @comment Correct code, but for historical reasons this started as 'no'. Falls back to 'no'. May be reversed some day.
+ */
$fallback = 'no';
<?php
/** Low German (Plattdüütsch)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Slomox
* @author Siebrand
<?php
/** Nedersaksisch (Nedersaksisch)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @author Jens Frank
<?php
/** Nepali (नेपाली)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author ne.wikipedia.org sysops
* @author SPQRobin
<?php
/** Newari (नेपाल भाषा)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Eukesh
* @author SPQRobin
<?php
/** Dutch (Nederlands)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Extended by Hendrik Maryns <hendrik.maryns@uni-tuebingen.de>, March 2007.
* @author Siebrand
<?php
/** Norwegian Nynorsk (Norsk (nynorsk))
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Olve Utne
* @author Guttorm Flatabø
<?php
/** Norwegian (bokmål) (Norsk (bokmål))
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Samuelsen
* @author Jon Harald Søby
<?php
/** Novial (Novial)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author nov.wikipedia.org sysops
* @author Malafaya
<?php
/** Northern Sotho (Sesotho sa Leboa)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Mohau
* @author Siebrand
<?php
/** Navajo (Diné bizaad)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*/
$skinNames = array(
<?php
/** Nyanja (Chi-Chewa)
*
- * @addtogroup Language
- *
+ * @ingroup Language
+ * @file
*/
$messages = array(
<?php
/** Occitan (Occitan)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Cedric31
* @author Nike
<?php
/** Oriya (ଓଡ଼ିଆ)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @author Jon Harald Søby
<?php
/** Ossetic (Иронау)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Siebrand
* @author לערי ריינהארט
<?php
/** Punjabi (ਪੰਜਾਬੀ)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Sukh
* @author Ævar Arnfjörð Bjarmason
<?php
/** Pangasinan (Pangasinan)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Arikasikis
* @author SPQRobin
<?php
/** Pampanga (Kapampangan)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Val2397
* @author Katimawan2005
<?php
/** Papiamento (Papiamentu)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Kamizu
* @author לערי ריינהארט
<?php
/** Deitsch (Deitsch)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author G - ג
* @author SPQRobin
<?php
/** Pfälzisch (Pfälzisch)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPS
*/
<?php
/** Pali (पािऴ)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Jon Harald Søby
*/
<?php
/** Norfuk / Pitkern (Norfuk / Pitkern)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author http://pih.wikipedia.org sysops
*/
<?php
/** Polish (Polski)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Derbeth
* @author Wpedzich
<?php
/** Piemontèis (Piemontèis)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>, Jens Frank
* @author Teak
<?php
/** Pontic (Ποντιακά)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Consta
* @author Sinopeus
<?php
/** Pashto (پښتو)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Ahmed-Najib-Biabani-Ibrahimkhel
* @author SPQRobin
<?php
/** Portuguese (Português)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Yves Marques Junqueira
* @author Rodrigo Calanca Nishino
<?php
/** Brazilian Portuguese (Português do Brasil)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Yves Marques Junqueira
* @author Rodrigo Calanca Nishino
<?php
/** Quechua (Runa Simi)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Nike
* @author AlimanRuna
<?php
/** Rhaeto-Romance (Rumantsch)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
* @author Siebrand
<?php
/** Romani (Romani)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Niklas Laxström
* @author לערי ריינהארט
<?php
/** Romanian (Română)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Emily
* @author KlaudiuMihaila
<?php
/** Aromanian (Armãneashce)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
* @author Niklas Laxström
* @author Hakka (with the help of a native speaker Dumitrachi T. Fundu)
*/
<?php
/** Russian (Русский)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Alexander Sigachov (alexander.sigachov@gmail.com)
* @author לערי ריינהארט
<?php
/** Megleno-Romanian (Vlăheşte)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
* @comment redirects to Megleno-Romanian (Latin)
- *
*/
$fallback = 'ruq-latn';
<?php
/** Megleno-Romanian (Cyrillic) (Vlăheşte (Cyrillic))
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Макѕе
* @author Кумулај Маркус
<?php
/** Megleno-Romanian (Greek script) (Βλαεστε)
*
- * @addtogroup Language
- *
+ * @ingroup Language
+ * @file
*/
$fallback = 'el';
<?php
/** Megleno-Romanian (Latin) (Vlăheşte (Latin))
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Макѕе
* @author Кумулај Маркус
<?php
/** Sanskrit (संस्कृत)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Kaustubh
*/
<?php
/** Yakut (Саха тыла)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author HalanTul
* @author Bert Jickty
<?php
/** Sardinian (Sardu)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Nike
* @author Siebrand
<?php
/** Sicilian (Sicilianu)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Niklas Laxström
* @author Sarvaturi
<?php
/** Scots (Scots)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author sco.wikipedia.org editors
* @author OchAyeTheNoo
<?php
/** Sindhi (سنڌي)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
* @author Siebrand
<?php
/** Sassaresu (Sassaresu)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Felis
* @author Antofa
<?php
/** Northern Sami (Sámegiella)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Skuolfi
* @author לערי ריינהארט
<?php
/** Cmique Itom (Cmique Itom)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SeriCtam
* @author Ccaxjoj Iteja Z Iti Poop
<?php
/** Sango (Sängö)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author sg.wikipedia.org sysops
* @author Siebrand
<?php
/** Tachelhit (Tašlḥiyt)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Zanatos
* @author Siebrand
<?php
/** Sinhalese (සිංහල)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Asiri wiki
* @author Chandana
<?php
/** English
- *
- * @addtogroup Language
- * @comment dummy language file. Falls back to 'en'. Needed for http://simple.wikipedia.org.
- */
+ *
+ * @ingroup Language
+ * @file
+ * @comment dummy language file. Falls back to 'en'. Needed for http://simple.wikipedia.org.
+ */
$fallback = 'en';
<?php
/** Slovak (Slovenčina)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Valasek
* @author Palica
<?php
/** Slovenian (Slovenščina)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author XJamRastafire
* @author romanm
<?php
/** Samoan (Gagana Samoa)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author sm.wikipedia.org sysops
* @author SPQRobin
<?php
/** Southern Sami (Åarjelsaemien gïele)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author M.M.S.
* @author Siebrand
<?php
/** Shona (chiShona)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*/
$messages = array(
<?php
/** Somali (Soomaaliga)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Mimursal
* @author Nike
<?php
/** Albanian (Shqip)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Dori
* @author Cradel
<?php
/**
- * Serbian
- *
- * @addtogroup Language
- */
+ * Serbian
+ *
+ * @ingroup Language
+ * @file
+ */
$fallback = 'sr-ec';
$linkTrail = '/^([abvgdđežzijklljmnnjoprstćufhcčdžšабвгдђежзијклљмнњопрстћуфхцчџш]+)(.*)$/usD';
-
-
<?php
/** Serbian Cyrillic ekavian (ћирилица)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Red Baron
* @author Sasa Stefanovic
<?php
/** latinica (latinica)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Siebrand
* @author לערי ריינהארט
<?php
/** Sranan Tongo (Sranantongo)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Adfokati
* @author Jordi
<?php
/** Swati (SiSwati)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author MF-Warburg
* @author Jatrobat
<?php
/** Southern Sotho (Sesotho)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Cbrown1023
* @author SPQRobin
<?php
/** Seeltersk (Seeltersk)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Maartenvdbent
* @author Pyt
<?php
/** Sundanese (Basa Sunda)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Kandar
* @author Irwangatot
<?php
/** Swedish (Svenska)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Sannab
* @author Habjchen
<?php
/** Swahili (Kiswahili)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Robert Ullmann
* @author Malangali
<?php
/** Silesian (Ślůnski)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Lajsikonik
* @author Herr Kriss
<?php
/** Tamil (தமிழ்)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Trengarasu
* @author Mayooranathan
<?php
/** Telugu (తెలుగు)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @author Mpradeep
<?php
/** Tetum (Tetun)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author MF-Warburg
* @author Siebrand
<?php
/** Tajik (Тоҷикӣ/tojikī)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
* @comment falls back to Tajik (Cyrillic)
*
*/
<?php
/** Tajik (Cyrillic) (Тоҷикӣ/tojikī (Cyrillic))
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Ibrahim
* @author FrancisTyers
<?php
/** Thai (ไทย)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author วรากร อึ้งวิเชียร (Varakorn Ungvichian)
* @author จักรกฤช วงศ์สระหลวง (Jakkrit Vongsraluang) / PaePae
<?php
/** Tigrinya (ትግርኛ)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Blake
* @author Niklas Laxström
<?php
/** Turkmen (Türkmen)
*
- * @addtogroup Language
- *
+ * @ingroup Language
+ * @file
*/
$messages = array(
<?php
/** Tagalog (Tagalog)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Sky Harbor
* @author לערי ריינהארט
<?php
/** Klingon (tlhIngan-Hol)
- *
- * @addtogroup Language
- */
+ *
+ * @ingroup Language
+ * @file
+ */
$namespaceNames = array(
NS_MEDIA => "Doch",
<?php
/** Tswana (Setswana)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Hakka
* @author Cbrown1023
<?php
/** Tonga (faka-Tonga)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
* @author Tauʻolunga
<?php
/** Toki Pona (Toki Pona)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author http://tokipona.wikia.com sysops
* @author Siebrand
<?php
/** Toki Pona
- *
- * @addtogroup Language
- * @comment not an official code. Falls back to 'tokipona'. Also see http://www.sil.org/iso639-3/cr_files/2007-011_tok.pdf
- */
+ *
+ * @ingroup Language
+ * @file
+ * @comment not an official code. Falls back to 'tokipona'. Also see http://www.sil.org/iso639-3/cr_files/2007-011_tok.pdf
+ */
$fallback = 'tokipona';
<?php
/** Tok Pisin (Tok Pisin)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Wantok
* @author Niklas Laxström
<?php
/** Turkish (Türkçe)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Uğur Başak
* @author SPQRobin
<?php
/** Tatar (Tatarça)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Siebrand
* @comment Placeholder for Tatar. Falls back to Tatar in Latin script.
<?php
/** Tatar (Cyrillic) (Tatarça/Татарча (Cyrillic))
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Ерней
* @author Himiq Dzyu
<?php
/** Tatar (Latin) (Tatarça/Татарча (Latin))
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author לערי ריינהארט
* @author Siebrand
<?php
/** Tahitian (Reo Mā`ohi)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
* @author Sab
<?php
/** Tuvinian (Тыва дыл)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Krice from Tyvanet.com
* @author friends at tyvawiki.org
<?php
/** Udmurt (Удмурт)
*
- * @addtogroup Language
- *
+ * @ingroup Language
+ * @file
*/
$fallback = 'ru';
<?php
/** Uighur (Uyghurche / ئۇيغۇرچە)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
*/
<?php
/** Ukrainian (Українська)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Gutsul (Gutsul.ua at Google Mail)
* @author Ahonc
<?php
/** Urdu (اردو)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author לערי ריינהארט
* @author Wisesabre
<?php
/** Uzbek (O'zbek)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Behzod Saidov <behzodsaidov@gmail.com>
* @author Abdulla
<?php
/** Venda (Tshivenda)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Node ue
*/
<?php
/** Vèneto (Vèneto)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Nick1915
* @author BrokenArrow
<?php
/** Vietnamese (Tiếng Việt)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Trần Thế Trung
* @author Nguyễn Thanh Quang
<?php
/** West-Vlams (West-Vlams)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author SPQRobin
* @author Siebrand
<?php
/** Volapük (Volapük)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Smeira
* @author Nike
<?php
/** Walloon (Walon)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Srtxg
* @author Siebrand
<?php
/** Waray (Winaray)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Harvzsf
* @author לערי ריינהארט
<?php
/** Wolof (Wolof)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Ibou
* @author Siebrand
<?php
/** Wu (吴语)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author O
*/
<?php
/** Kalmyk (Хальмг)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author M.M.S.
* @author לערי ריינהארט
<?php
/** Xhosa (isiXhosa)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Jose77
*/
<?php
/** Mingrelian (მარგალური)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Dato deutschland
* @author Alsandro
<?php
/** Eastern Yiddish (מיזרח־ייִדיש)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*/
$rtl = true;
<?php
/** Yiddish (ייִדיש)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Yidel
* @author Siebrand
<?php
/** Yoruba (Yorùbá)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Demmy
* @author SPQRobin
<?php
/** Cantonese (粵語/廣東話)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*/
$skinNames = array(
<?php
/** Zhuang (壮语)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*/
$fallback = 'zh-hans';
<?php
/** Zeeuws (Zeêuws)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Rob Church <robchur@gmail.com>
* @author Steinbach
<?php
/**
- * Chinese (中文)
- *
- * @addtogroup Language
- */
+ * Chinese (中文)
+ *
+ * @ingroup Language
+ * @file
+ */
# Stub message file for converter code "zh"
<?php
/** Old Chinese / Late Middle Chinese (文言)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* Based on http://zh-classical.wikipedia.org/w/index.php?title=Wikipedia:%E7%94%A8%E6%88%B6%E4%BB%8B%E9%9D%A2%E7%BF%BB%E8%AD%AF/MessagesZh_classical.php&oldid=60161
*/
/**
* Chinese (PRC) (中文 (中国大陆))
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*/
# Inherit everything for now
<?php
/** Chinese (Simplified) (中文 (简化字))
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Shinjiman
* @author O
<?php
/** Traditional Chinese (中文(傳統字))
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author Shinjiman
* @author Alexsh
/**
* Chinese (Hong Kong) (中文 (香港))
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*/
$fallback = 'zh-hant';
/**
* Min Nan (Bân-lâm-gú/閩南話)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*/
# Inherit everything for now
/**
* Chinese (Singapore) (中文 (新加坡))
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*/
# Inherit everything for now
<?php
/** Chinese (Taiwan) (中文(台灣))
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author BobChao
* @author Siebrand
/**
* Cantonese (粵語/廣東話)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*/
# Inherit everything for now
<?php
/** Zulu (isiZulu)
*
- * @addtogroup Language
+ * @ingroup Language
+ * @file
*
* @author לערי ריינהארט
* @author SPQRobin
<?php
+/**
+ * @file
+ * @ingroup Maintenance
+ */
require_once( 'cleanupDupes.inc' );
require_once( 'userDupes.inc' );
define( 'MW_UPGRADE_NULL', null );
define( 'MW_UPGRADE_CALLBACK', null ); // for self-documentation only
+/**
+ * @ingroup Maintenance
+ */
class FiveUpgrade {
function FiveUpgrade() {
$this->conversionTables = $this->prepareWindows1252();
}
}
-
-?>
php parserTests.php --quiet
doc:
- php mwdocgen.php -all
+ php mwdocgen.php --all
echo 'Doc generation done. Look at ./docs/html/'
doxydoc:
<?php
+/**
+ * Add a new wiki
+ * Wikimedia specific!
+ *
+ * @file
+ * @ingroup Maintenance
+ */
$wgNoDBParam = true;
<?php
-
-# Optional upgrade script to populate the img_sha1 field
+/**
+ * Optional upgrade script to populate the img_sha1 field
+ *
+ * @file
+ * @ingroup MaintenanceArchive
+ */
$optionsWithArgs = array( 'method' );
require_once( dirname(__FILE__).'/../commandLine.inc' );
/**
* Rebuild recent changes table
*
+ * @file
* @deprecated
- * @addtogroup MaintenanceArchive
+ * @ingroup MaintenanceArchive
+ * @defgroup MaintenanceArchive MaintenanceArchive
*/
/** */
<?php
-
/**
* Replication-safe online upgrade script for log_id/log_deleted
+ *
+ * @file
+ * @ingroup MaintenanceArchive
*/
require( dirname(__FILE__).'/../commandLine.inc' );
<?php
/**
+ * @file
* @deprecated
- * @addtogroup MaintenanceArchive
+ * @ingroup MaintenanceArchive
*/
/** */
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
*/
require_once( 'commandLine.inc' );
<?php
/**
* Script for re-attributing edits
+ * Use reassingEdits.php
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
*/
/** */
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup Dump Maintenance
*/
+/**
+ * @ingroup Dump Maintenance
+ */
class DumpDBZip2Output extends DumpPipeOutput {
function DumpDBZip2Output( $file ) {
parent::DumpPipeOutput( "dbzip2", $file );
}
}
+/**
+ * @ingroup Dump Maintenance
+ */
class BackupDumper {
var $reportingInterval = 100;
var $reporting = true;
$this->progress->revCount();
}
}
-
-?>
* recorded, so the previous dump is a reliable source
*
* Requires PHP 5 and the XMLReader PECL extension.
+ * @ingroup Maintenance
*/
class BaseDump {
var $reader = null;
return null;
}
}
-
-?>
<?php
/**
* Squid purge benchmark script
- * @addtogroup Maintenance
+ *
+ * @file
+ * @ingroup Maintenance
*/
/** */
/**
* Change the password of a given user
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
*
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason
$cp = new ChangePassword( @$options['user'], @$options['password'] );
$cp->main();
+/**
+ * @ingroup Maintenance
+ */
class ChangePassword {
var $dbw;
var $user, $password;
);
}
}
-
-
<?php
+/**
+ * @file
+ * @ingroup Maintenance
+ */
+
error_reporting(E_ALL ^ E_NOTICE);
require_once 'commandLine.inc';
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*
+ * @file
* @author Brion Vibber <brion at pobox.com>
- * @addtogroup maintenance
+ * @ingroup maintenance
*/
$options = array( 'dry-run' );
require_once( 'commandLine.inc' );
require_once( 'FiveUpgrade.inc' );
+/**
+ * @ingroup Maintenance
+ */
class CapsCleanup extends FiveUpgrade {
function CapsCleanup( $dryrun = false, $namespace=0 ) {
parent::FiveUpgrade();
$ns = isset( $options['namespace'] ) ? $options['namespace'] : 0;
$caps = new CapsCleanup( isset( $options['dry-run'] ), $ns );
$caps->cleanup();
-
-
* If on the old non-unique indexes, check the cur table for duplicate
* entries and remove them...
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
*/
function fixDupes( $fixthem = false) {
}
}
}
-
-?>
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*
+ * @file
* @author Brion Vibber <brion at pobox.com>
- * @addtogroup maintenance
+ * @ingroup Maintenance
*/
require_once( 'commandLine.inc' );
require_once( 'cleanupTable.inc' );
+/**
+ * @ingroup Maintenance
+ */
class ImageCleanup extends TableCleanup {
function __construct( $dryrun = false ) {
parent::__construct( 'image', $dryrun );
<?php
+/**
+ * @file
+ * @ingroup Maintenance
+ */
require_once( 'commandLine.inc' );
require_once( "$IP/includes/LinkFilter.php" );
require_once( 'FiveUpgrade.inc' );
+/**
+ * @ingroup Maintenance
+ */
abstract class TableCleanup extends FiveUpgrade {
function __construct( $table, $dryrun = false ) {
parent::__construct();
abstract function processPage( $row );
}
-
-?>
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*
+ * @file
* @author Brion Vibber <brion at pobox.com>
- * @addtogroup maintenance
+ * @ingroup Maintenance
*/
require_once( 'commandLine.inc' );
require_once( 'cleanupTable.inc' );
+/**
+ * @ingroup Maintenance
+ */
class TitleCleanup extends TableCleanup {
function __construct( $dryrun = false ) {
parent::__construct( 'page', $dryrun );
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*
+ * @file
* @author Brion Vibber <brion at pobox.com>
- * @addtogroup maintenance
+ * @ingroup Maintenance
*/
$options = array( 'fix' );
require_once( 'commandLine.inc' );
require_once( 'FiveUpgrade.inc' );
+/**
+ * @ingroup Maintenance
+ */
class WatchlistCleanup extends FiveUpgrade {
function WatchlistCleanup( $dryrun = false ) {
parent::FiveUpgrade();
/**
* This script is used to clear the interwiki links for ALL languages in
* memcached.
- * @addtogroup Maintenance
+ *
+ * @file
+ * @ingroup Maintenance
*/
/** */
<?php
+/**
+ * @file
+ * @ingroup Maintenance
+ */
+
require_once('commandLine.inc');
foreach ( $wgLocalDatabases as $db ) {
<?php
/**
+ * @file
* @todo document
- * @addtogroup Maintenance
+ * @ingroup Maintenance
+ * @defgroup Maintenance Maintenance
*/
$wgRequestTime = microtime(true);
<?php
/**
+ * @file
* @todo document
- * @addtogroup Maintenance
+ * @ingroup Maintenance
*/
/** */
list($usec, $sec) = explode(" ", microtime());
return ((float)$usec + (float)$sec);
}
-
-
-
-?>
* Convert from the old links schema (string->ID) to the new schema (ID->ID)
* The wiki should be put into read-only mode while this script executes
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
*/
/** */
require_once( "convertLinks.inc" );
convertLinks();
-
-
<?php
+/**
+ * Helper file for update.php
+ *
+ * @file
+ * @ingroup Maintenance
+ */
+
function print_c($last, $current) {
echo str_repeat( chr(8), strlen( $last ) ) . $current;
}
/**
* Maintenance script to create an account and grant it administrator rights
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Rob Church <robchur@gmail.com>
*/
/**
* Support functions for the deleteArchivedFiles script
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Aaron Schulz
*/
$transaction->commit();
}
-
-?>
\ No newline at end of file
/**
* Delete archived (non-current) files from the database
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Aaron Schulz
* Based on deleteOldRevisions.php by Rob Church
*/
/**
* Support functions for the deleteArchivedRevisions script
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Aaron Schulz
*/
}
}
-
-?>
\ No newline at end of file
/**
* Delete arcived (deleted from public) revisions from the database
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Aaron Schulz
* Shamelessly stolen from deleteOldRevisions.php by Rob Church :)
*/
<?php
-# delete a batch of pages
-# Usage: php deleteBatch.php [-u <user>] [-r <reason>] [-i <interval>] <listfile>
-# where
-# <listfile> is a file where each line contains the title of a page to be deleted.
-# <user> is the username
-# <reason> is the delete reason
-# <interval> is the number of seconds to sleep for after each delete
+/**
+ * delete a batch of pages
+ * Usage: php deleteBatch.php [-u <user>] [-r <reason>] [-i <interval>] <listfile>
+ * where
+ * <listfile> is a file where each line contains the title of a page to be deleted.
+ * <user> is the username
+ * <reason> is the delete reason
+ * <interval> is the number of seconds to sleep for after each delete
+ *
+ * @file
+ * @ingroup Maintenance
+ */
$oldCwd = getcwd();
$optionsWithArgs = array( 'u', 'r', 'i' );
/**
* Deletes all pages in the MediaWiki namespace which were last edited by
* "MediaWiki default".
+ *
+ * @file
+ * @ingroup Maintenance
*/
if ( !defined( 'MEDIAWIKI' ) ) {
<?php
// php deleteImageMemcached.php --until "2005-09-05 00:00:00" --sleep 0 --report 10
+/**
+ * @file
+ * @ingroup Maintenance
+ */
+
$optionsWithArgs = array( 'until', 'sleep', 'report' );
require_once 'commandLine.inc';
+/**
+ * @ingroup Maintenance
+ */
class DeleteImageCache {
var $until, $sleep, $report;
<?php
-
/**
* Support functions for the deleteOldRevisions script
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Rob Church <robchur@gmail.com>
*/
}
}
-
-?>
\ No newline at end of file
/**
* Delete old (non-current) revisions from the database
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Rob Church <robchur@gmail.com>
*/
/**
* Support functions for the deleteOrphanedRevisions maintenance script
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Rob Church <robchur@gmail.com>
*/
* Maintenance script to delete revisions which refer to a nonexisting page
* Sometimes manual deletion done in a rush leaves crap in the database
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Rob Church <robchur@gmail.com>
* @todo More efficient cleanup of text records
*/
<?php
+/**
+ * @file
+ * @ingroup Maintenance
+ */
+
require_once( 'commandLine.inc' );
$dbw = wfGetDB( DB_MASTER );
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup Dump Maintenance
*/
$originalDir = getcwd();
* Rebuild interwiki table using the file on meta and the language list
* Wikimedia specific!
*
+ * @file
* @todo document
- * @addtogroup Maintenance
+ * @ingroup Maintenance
*/
-/** */
-
/**
* @todo document
- * @addtogroup Maintenance
+ * @ingroup Maintenance
*/
class Site {
var $suffix, $lateral, $url;
print "{$source}:{$entry['iw_prefix']} {$entry['iw_url']} {$entry['iw_local']}\n";
}
-
-?>
/**
* Rebuild interwiki table using the file on meta and the language list
* Wikimedia specific!
+ *
+ * @file
* @todo document
- * @addtogroup Maintenance
+ * @ingroup Maintenance
*/
/** */
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup Mainatenance
*/
require_once 'commandLine.inc';
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
require_once( 'commandLine.inc' );
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup Maintenance
*/
$originalDir = getcwd();
* Stream wrapper around 7za filter program.
* Required since we can't pass an open file resource to XMLReader->open()
* which is used for the text prefetch.
+ *
+ * @ingroup Maintenance
*/
class SevenZipStream {
var $stream;
}
stream_wrapper_register( 'mediawiki.compress.7z', 'SevenZipStream' );
-
+/**
+ * @ingroup Maintenance
+ */
class TextPassDumper extends BackupDumper {
var $prefetch = null;
var $input = "php://stdin";
<?php
+/**
+ * @file
+ * @ingroup Maintenance
+ */
require_once 'commandLine.inc';
<?php
+/**
+ * @file
+ * @ingroup Maintenance
+ */
$optionsWithArgs = array( 'u', 's' );
* To get decent line editing behavior, you should compile PHP with support
* for GNU readline (pass --with-readline to configure).
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
*/
$wgUseNormalUser = (bool)getenv('MW_WIKIUSER');
<?php
-
/**
* Communications protocol...
+ *
+ * @file
+ * @ingroup Maintenance
*/
require "commandLine.inc";
*
* Any instance of wfRunHooks that doesn't meet these parameters will be noted.
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
*
* @author Ashar Voultoiz <hashar@altern.org>
* @copyright Copyright © Ashar voultoiz
<?php
+/**
+ * @file
+ * @ingroup Maintenance
+ */
$wgUseRootUser = true;
require_once( 'commandLine.inc' );
<?php
-
/**
* This script fixes timestamp corruption caused by one or more webservers
* temporarily being set to the wrong time. The time offset must be known and
* consistent. Start and end times (in 14-character format) restrict the search,
* and must bracket the damage. There must be a majority of good timestamps in the
* search period.
+ *
+ * @file
+ * @ingroup Maintenance
*/
require_once( 'commandLine.inc' );
/**
* Fix the user_registration field.
* In particular, for values which are NULL, set them to the date of the first edit
+ *
+ * @file
+ * @ingroup Maintenance
*/
require_once( 'commandLine.inc' );
<?php
/**
-* @addtogroup Maintenance
+* @file
+* @ingroup Maintenance
* @author Nick Jenkins ( http://nickj.org/ ).
* @copyright 2006 Nick Jenkins
* @licence GNU General Public Licence 2.0
/**
* Creates a sitemap for the site
*
- * @addtogroup Maintenance
+ * @ingroup Maintenance
*
* @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason
* @copyright Copyright © 2005, Jens Frank <jeluf@gmx.de>
<?php
+/**
+ * @file
+ * @ingroup Maintenance
+ */
require 'commandLine.inc';
<?php
+/**
+ * @file
+ * @ingroup Maintenance
+ */
require_once( dirname(__FILE__).'/commandLine.inc' );
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
*/
$optionsWithArgs = array( 'report' );
require_once( 'commandLine.inc' );
+/**
+ * @ingroup Maintenance
+ */
class BackupReader {
var $reportingInterval = 100;
var $reporting = true;
/**
* Support functions for the importImages script
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Rob Church <robchur@gmail.com>
*/
* Maintenance script to import one or more images from the local file system into
* the wiki without using the web-based interface
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Rob Church <robchur@gmail.com>
*/
*
* Not yet complete.
*
+ * @file
* @todo document
- * @addtogroup Maintenance
+ * @ingroup Maintenance
*/
/** */
/**
* Log importer
* @todo document
- * @addtogroup Maintenance
+ * @ingroup Maintenance
*/
class LogImporter {
var $dummy = false;
$text );
return $text;
}
-
-?>
<?php
/**
* @todo document
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
*/
/** */
* Maintenance script allows creating or editing pages using
* the contents of a text file
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Rob Church <robchur@gmail.com>
*/
* 2005-03-14
*
* @todo document
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
*/
if( php_sapi_name() != 'cli' ) {
<?php
+/**
+ * @file
+ * @ingroup Maintenance
+ */
require_once "commandLine.inc";
<?php
+/**
+ * @file
+ * @ingroup Maintenance
+ */
function wfInitStats( $options=array() ) {
$dbr = wfGetDB( DB_SLAVE );
echo( "done.\n" );
}
-
-?>
\ No newline at end of file
/**
* Maintenance script to re-initialise or update the site statistics table
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Brion Vibber
* @author Rob Church <robchur@gmail.com>
* @licence GNU General Public Licence 2.0 or later
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
*/
$optionsWithArgs = array( 'target', 'repository', 'repos' );
define('EXTINST_WRITEPATCH', 6);
define('EXTINST_HOTPATCH', 10);
+/**
+ * @ingroup Maintenance
+ */
class InstallerRepository {
var $path;
}
}
+/**
+ * @ingroup Maintenance
+ */
class LocalInstallerRepository extends InstallerRepository {
function LocalInstallerRepository ( $path ) {
}
}
+/**
+ * @ingroup Maintenance
+ */
class WebInstallerRepository extends InstallerRepository {
function WebInstallerRepository ( $path ) {
}
}
+/**
+ * @ingroup Maintenance
+ */
class SVNInstallerRepository extends InstallerRepository {
function SVNInstallerRepository ( $path ) {
}
}
+/**
+ * @ingroup Maintenance
+ */
class InstallerResource {
var $path;
var $isdir;
}
}
+/**
+ * @ingroup Maintenance
+ */
class LocalInstallerResource extends InstallerResource {
function LocalInstallerResource( $path ) {
InstallerResource::InstallerResource( $path, is_dir( $path ), true );
}
+/**
+ * @ingroup Maintenance
+ */
class WebInstallerResource extends InstallerResource {
function WebInstallerResource( $path ) {
InstallerResource::InstallerResource( $path, false, false );
}
}
+/**
+ * @ingroup Maintenance
+ */
class SVNInstallerResource extends InstallerResource {
function SVNInstallerResource( $path ) {
InstallerResource::InstallerResource( $path, true, false );
}
}
+/**
+ * @ingroup Maintenance
+ */
class ExtensionInstaller {
var $source;
var $target;
/**
* Statistic output classes.
*
+ * @file
+ * @ingroup MaintenanceLanguage
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @author Ashar Voultoiz <thoane@altern.org>
*/
<?php
/**
- * @addtogroup Maintenance
+ * @file
+ * @ingroup MaintenanceLanguage
*
* Get all the translations messages, as defined in the English language file.
*/
/**
* Check the extensions language files.
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup MaintenanceLanguage
*/
require_once( dirname(__FILE__).'/../commandLine.inc' );
<?php
+/**
+ * @ingroup MaintenanceLanguage
+ */
class CheckLanguageCLI {
protected $code = null;
/**
* Check a language file.
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup MaintenanceLanguage
*/
require_once( dirname(__FILE__).'/../commandLine.inc' );
<?php
+/**
+ * @file
+ * @ingroup MaintenanceLanguage
+ */
$ts = '20010115123456';
* percentage of messages correctly localised and the number of messages to be
* translated.
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup MaintenanceLanguage
*/
/** This script run from the commandline */
<?php
+/**
+ * @file
+ * @ingroup MaintenanceLanguage
+ */
+
require( '../commandLine.inc' );
# A list of unicode numerals is available at:
<?php
/**
* @todo document
- * @addtogroup Maintenance
+ * @file
+ * @ingroup MaintenanceLanguage
*/
/** */
<?php
+/**
+ * @file
+ * @ingroup MaintenanceLanguage
+ */
define( 'MEDIAWIKI', 1 );
define( 'NOT_REALLY_MEDIAWIKI', 1 );
* Todo:
* - generate .po header
* - fix escaping of \
+ *
+ * @file
+ * @ingroup MaintenanceLanguage
*/
$optionsWithArgs[] = 'lang';
/**
* Dumb program that tries to get the memory usage
* for each language file.
+ *
+ * @file
+ * @ingroup MaintenanceLanguage
*/
/** This is a command line script */
/**
* Handle messages in the language files.
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup MaintenanceLanguage
*/
+/**
+ * @ingroup MaintenanceLanguage
+ */
class languages {
protected $mLanguages; # List of languages
protected $mRawMessages; # Raw list of the messages in each language
/**
* Several types of messages.
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup MaintenanceLanguage
*/
/** Ignored messages, which should be exist only in the English messages file. */
/**
* Define the messages structure in the messages file, for an automated rewriting.
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup MaintenanceLanguage
*/
/** The structure of the messages, divided to blocks */
/**
* Rewrite the messages array in the files languages/messages/MessagesXX.php.
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup MaintenanceLanguage
+ * @defgroup MaintenanceLanguage MaintenanceLanguage
*/
require_once( dirname(__FILE__).'/../commandLine.inc' );
/**
* Statistics about the localisation.
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup MaintenanceLanguage
*
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @author Ashar Voultoiz <thoane@altern.org>
<?php
+/**
+ * @file
+ * @ingroup MaintenanceLanguage
+ */
if ( !isset( $argv[1] ) ) {
print "Usage: php {$argv[0]} <filename>\n";
/**
* Write a messages array as a PHP text.
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup MaintenanceLanguage
*/
+/**
+ * @ingroup MaintenanceLanguage
+ */
class MessageWriter {
static $optionalComment = 'only translate this message to other languages if you have to change it';
static $ignoredComment = "do not translate or duplicate this message to other languages";
/**
* memcached diagnostic tool
*
+ * @file
* @todo document
- * @addtogroup Maintenance
+ * @ingroup Maintenance
*/
/** */
<?php
-/* $Id$ */
+/**
+ * $Id$
+ * @file
+ * @ingroup Maintenance
+ */
$optionsWithArgs = array( 'i' );
/**
* Maintenance script to move a batch of pages
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Tim Starling
*
* USAGE: php moveBatch.php [-u <user>] [-r <reason>] [-i <interval>] <listfile>
* - the menu doesnt work, got disabled at revision 13740. Need to code it.
*
*
+ * @file
* @todo document
- * @addtogroup Maintenance
+ * @ingroup Maintenance
*
* @author Ashar Voultoiz <thoane@altern.org>
* @version first release
<?php
-#
-# Print SQL to insert namespace names into database.
-# This source code is in the public domain.
+/**
+ * Print SQL to insert namespace names into database.
+ * This source code is in the public domain.
+ *
+ * @file
+ * @ingroup Maintenance
+ */
require_once( "commandLine.inc" );
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# http://www.gnu.org/copyleft/gpl.html
+/**
+ * @file
+ * @ingroup Maintenance
+ */
+
$options = array( 'fix', 'suffix', 'help' );
/** */
<?php
-
-/*
+/**
* Pick a database that has pending jobs
+ *
+ * @file
+ * @ingroup Maintenance
*/
$options = array( 'type' );
* back up your DB if there's anything in the MediaWiki that is important to
* you.
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Steve Sanbeg
* based on nukePage by Rob Church
*/
/**
* Support functions for the nukeArticle script
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Rob Church <robchur@gmail.com>
*/
* Erase a page record from the database
* Irreversible (can't use standard undelete) and does not update link tables
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Rob Church <robchur@gmail.com>
*/
* Then, kill the poor widows and orphans.
* Man this is depressing.
*
+ * @file
* @author <brion@pobox.com>
- * @addtogroup Maintenance
+ * @ingroup Maintenance
*/
$options = array( 'fix' );
<?php
/**
* @todo document
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
*/
/** */
/**
* @todo Make this more independent of the configuration (and if possible the database)
* @todo document
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
*/
/** */
require_once( "$IP/maintenance/parserTestsParserTime.php" );
/**
- * @addtogroup Maintenance
+ * @ingroup Maintenance
*/
class ParserTest {
/**
TestRecorder::end();
}
}
-
-?>
# http://www.gnu.org/copyleft/gpl.html
/**
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
*/
/** */
* A basic extension that's used by the parser tests to test whether input and
* arguments are passed to extensions properly.
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
*
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @copyright Copyright © 2005, 2006 Ævar Arnfjörð Bjarmason
* compensate with the passage of time and certainly less expensive than a
* time-freezing device, get yours now!
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
*
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @copyright Copyright © 2005, 2006 Ævar Arnfjörð Bjarmason
* A basic extension that's used by the parser tests to test whether the parser
* calls extensions when they're called inside comments, it shouldn't do that
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
*
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @copyright Copyright © 2005, 2006 Ævar Arnfjörð Bjarmason
<?php
-
-// Manually run an SQL patch outside of the general updaters.
-// This ensures that the DB options (charset, prefix, engine) are correctly set.
+/**
+ * Manually run an SQL patch outside of the general updaters.
+ * This ensures that the DB options (charset, prefix, engine) are correctly set.
+ *
+ * @file
+ * @ingroup Maintenance
+ */
require_once 'commandLine.inc';
require_once "$IP/maintenance/updaters.inc";
<?php
/**
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Simetrical
*/
<?php
/**
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Simetrical
*/
<?php
+/**
+ * @file
+ * @ingroup Maintenance
+ */
require_once( dirname( __FILE__ ). '/../maintenance/commandLine.inc' );
<?php
-
/**
* Send purge requests for listed pages to squid
+ *
+ * @file
+ * @ingroup Maintenance
*/
require_once( "commandLine.inc" );
/**
* Support functions for cleaning up redundant text records
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Rob Church <robchur@gmail.com>
*/
$dbw->commit();
}
-
-?>
/**
* Purge old text records from the database
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Rob Church <robchur@gmail.com>
*/
/**
* Support functions for the reassignEdits script
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Rob Church <robchur@gmail.com>
* @licence GNU General Public Licence 2.0 or later
*/
/**
* Reassign edits from a user or IP address to another user
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Rob Church <robchur@gmail.com>
* @licence GNU General Public Licence 2.0 or later
*/
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*
+ * @file
* @author Brion Vibber <brion at pobox.com>
- * @addtogroup maintenance
+ * @ingrouo maintenance
*/
$options = array( 'missing', 'dry-run' );
* Rebuild interwiki table using the file on meta and the language list
* Wikimedia specific!
*
+ * @file
* @todo document
- * @addtogroup Maintenance
+ * @ingroup Maintenance
*/
-/** */
-
/**
* @todo document
- * @addtogroup Maintenance
+ * @ingroup Maintenance
*/
class Site {
var $suffix, $lateral, $url;
$sql .= "(" . $dbr->makeList( $entry ) . ")";
return $sql;
}
-
-?>
/**
* Rebuild interwiki table using the file on meta and the language list
* Wikimedia specific!
+ *
+ * @file
* @todo document
- * @addtogroup Maintenance
+ * @ingroup Maintenance
*/
/** */
/**
* Rebuild link tracking tables from scratch. This takes several
* hours, depending on the database size and server configuration.
+ *
+ * @file
* @todo document
- * @addtogroup Maintenance
+ * @ingroup Maintenance
*/
/** */
<?php
+/**
+ * @file
+ * @ingroup Maintenance
+ */
require_once( 'commandLine.inc' );
/**
* Rebuild recent changes table.
*
+ * @file
* @todo document
- * @addtogroup Maintenance
+ * @ingroup Maintenance
*/
/** Public entry; more passes might come in! :) */
$dbw->freeResult( $res );
}
-
-?>
* Rebuild link tracking tables from scratch. This takes several
* hours, depending on the database size and server configuration.
*
+ * @file
* @todo document
- * @addtogroup Maintenance
+ * @ingroup Maintenance
*/
/** */
* Rebuilding is faster if you drop the index and recreate it,
* but that will prevent searches from working while it runs.
*
+ * @file
* @todo document
- * @addtogroup Maintenance
+ * @ingroup Maintenance
*/
/** */
$n += RTI_CHUNK_SIZE;
}
}
-
-?>
* This is only for MySQL (see bug 9905). For postgres we can probably
* use SearchPostgres::update($pageid);
*
+ * @file
* @todo document
- * @addtogroup Maintenance
+ * @ingroup Maintenance
*/
/** */
<?php
-
-// Quickie hack; patch-ss_images.sql uses variables which don't
-// replicate properly.
+/**
+ * Quickie hack; patch-ss_images.sql uses variables which don't
+ * replicate properly.
+ *
+ * @file
+ * @ingroup Maintenance
+ */
require_once( "commandLine.inc" );
<?php
/**
* @todo document
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
*/
/** */
<?php
/**
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
*/
/** */
/**
* Support functions for the removeUnusedAccounts maintenance script
*
- *
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Rob Church <robchur@gmail.com>
*/
echo( " --delete : Delete accounts which are discovered to be inactive\n" );
echo( "\n" );
}
-
-?>
\ No newline at end of file
<?php
-
/**
* Remove unused user accounts from the database
* An unused account is one which has made no edits
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Rob Church <robchur@gmail.com>
*/
<?php
-require_once( "commandLine.inc" );
-
/**
* Why yes, this *is* another special-purpose Wikimedia maintenance script!
* Should be fixed up and generalized.
+ *
+ * @file
+ * @ingroup Maintenance
*/
+require_once( "commandLine.inc" );
+
if ( count( $args ) != 2 ) {
wfDie( "Rename external storage dbs and leave a new one...\n" .
"Usage: php renamewiki.php <olddb> <newdb>\n" );
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
*/
$optionsWithArgs = array( 'report' );
<?php
+/**
+ * @file
+ * @ingroup Maintenance
+ */
$optionsWithArgs = array( 'maxjobs', 'type' );
$wgUseNormalUser = true;
/**
* Based on runJobs.php
*
+ * @file
+ * @ingroup Maintenance
* @author Tim Starling
* @author Ashar Voultoiz
*/
* Maintenance script to show the cached statistics.
* Give out the same output as [[Special:Statistics]]
*
+ * @file
+ * @ingroup Maintenance
* @author Ashar Voultoiz <hashar@altern.org>
* Based on initStats.php by:
* @author Brion Vibber
<?php
-
/**
* Send SQL queries from the specified file to the database, performing
* variable replacement along the way.
- *
- * @addtogroup Database
+ *
+ * @file
+ * @ingroup Database Maintenance
*/
require_once( dirname(__FILE__) . '/' . 'commandLine.inc' );
<?php
+/**
+ * Show statistics from memcached
+ *
+ * @file
+ * @ingroup Maintenance
+ */
+
require_once('commandLine.inc');
if( get_class( $wgMemc ) == 'FakeMemCachedClient' ) {
<?php
-
/**
* Fsck for MediaWiki
+ *
+ * @file
+ * @ingroup Maintenance ExternalStorage
*/
define( 'CONCAT_HEADER', 'O:27:"concatenatedgziphistoryblob"' );
//----------------------------------------------------------------------------------
-class CheckStorage
-{
+/**
+ * @ingroup Maintenance ExternalStorage
+ */
+class CheckStorage {
var $oldIdMap, $errors;
var $dbStore = null;
<?php
/**
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance ExternalStorage
*/
/** */
}
return true;
}
-?>
<?php
/**
- * Compress the text of a wiki
+ * Compress the text of a wiki.
*
- * @addtogroup Maintenance
- */
-
-/** */
-
-/**
* Usage:
*
* Non-wikimedia
* -h <threshold> is a minimum number of KB, where <max-factor> cuts in
* --extdb <cluster> store specified revisions in an external cluster (untested)
*
+ * @file
+ * @ingroup Maintenance ExternalStorage
*/
$optionsWithArgs = array( 't', 'c', 's', 'f', 'h', 'extdb', 'endid', 'e' );
<?php
+/**
+ * @file
+ * @ingroup Maintenance ExternalStorage
+ */
require_once( dirname(__FILE__) . '/../commandLine.inc' );
<?php
+/**
+ * Move revision's text to external storage
+ *
+ * @file
+ * @ingroup Maintenance ExternalStorage
+ */
define( 'REPORTING_INTERVAL', 1 );
<?php
+/**
+ * @file
+ * @ingroup Maintenance ExternalStorage
+ */
define( 'REPORTING_INTERVAL', 100 );
<?php
+/**
+ * Undelete a page
+ *
+ * @file
+ * @ingroup Maintenance
+ */
$usage = <<<EOT
Undelete a page
/**
* Run all updaters.
*
+ * @file
* @todo document
- * @addtogroup Maintenance
+ * @ingroup Maintenance
*/
/** */
<?php
-
/**
* Support class for the updateArticleCount.php maintenance script
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Rob Church <robchur@gmail.com>
*/
<?php
-
/**
* Maintenance script to provide a better count of the number of articles
* and update the site statistics table, if desired
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
* @author Rob Church <robchur@gmail.com>
*/
<?php
-
-/*
+/**
* Makes the required database updates for Special:ProtectedPages
* to show all protected pages, even ones before the page restrictions
* schema change. All remaining page_restriction column values are moved
* to the new table.
+ *
+ * @file
+ * @ingroup Maintenance
*/
define( 'BATCH_SIZE', 100 );
<?php
/**
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
*/
/** */
print $text;
}
}
-
-?>
* LOCKTIME is how long the searchindex and cur tables will be locked for
* -q means quiet
*
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
*/
/** */
<?php
-
-# Run this script periodically if you have miser mode enabled, to refresh the caches
+/**
+ * Run this script periodically if you have miser mode enabled, to refresh the
+ * caches
+ *
+ * @file
+ * @ingroup Maintenance
+ */
$options = array('only','help');
require_once( 'commandLine.inc' );
<?php
/**
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
*/
- /** */
-
if ( !defined( 'MEDIAWIKI' ) ) {
echo "This file is not a valid entry point\n";
exit( 1 );
<?php
-
-// Alternate 1.4 -> 1.5 schema upgrade
-// This does only the main tables + UTF-8
-// and is designed to allow upgrades to interleave
-// with other updates on the replication stream so
-// that large wikis can be upgraded without disrupting
-// other services.
-//
-// Note: this script DOES NOT apply every update, nor
-// will it probably handle much older versions, etc.
-// Run this, FOLLOWED BY update.php, for upgrading
-// from 1.4.5 release to 1.5.
+/**
+ * Alternate 1.4 -> 1.5 schema upgrade.
+ * This does only the main tables + UTF-8 and is designed to allow upgrades to
+ * interleave with other updates on the replication stream so that large wikis
+ * can be upgraded without disrupting other services.
+ *
+ * Note: this script DOES NOT apply every update, nor will it probably handle
+ * much older versions, etc.
+ * Run this, FOLLOWED BY update.php, for upgrading from 1.4.5 release to 1.5.
+ *
+ * @file
+ * @ingroup Maintenance
+ */
$options = array( 'step', 'noimages' );
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# http://www.gnu.org/copyleft/gpl.html
+/**
+ * @file
+ * @ingroup Maintenance
+ */
+
/**
* Look for duplicate user table entries and optionally prune them.
+ * @ingroup Maintenance
*/
class UserDupes {
var $db;
}
}
-
-
-?>
<?php
+/**
+ * @file
+ * @ingroup Maintenance
+ */
+
// Options we will use
$options = array( 'list', 'nowarn', 'quiet', 'usage', 'dry' );
$optionsWithArgs = array( 'old', 'new' );
require_once( 'commandLine.inc' );
+/**
+ * @ingroup Maintenance
+ */
class userOptions {
public $mQuick;
public $mQuiet;
}
}
-?>
*
* Made on an original idea by Fooey (freenode)
*
+ * @file
+ * @ingroup Maintenance
* @author Ashar Voultoiz <hashar@altern.org>
*/
<?php
+/**
+ * @file
+ * @ingroup Maintenance
+ */
+
require_once( "commandLine.inc" );
if ( isset( $args[0] ) ) {
wfWaitForSlaves($args[0]);
* See docs/skin.txt
*
* @todo document
- * @addtogroup Skins
+ * @file
+ * @ingroup Skins
*/
if( !defined( 'MEDIAWIKI' ) )
/**
* @todo document
- * @addtogroup Skins
+ * @ingroup Skins
*/
class SkinChick extends SkinTemplate {
function initPage( &$out ) {
* See docs/skin.txt
*
* @todo document
- * @addtogroup Skins
+ * @file
+ * @ingroup Skins
*/
if( !defined( 'MEDIAWIKI' ) )
/**
* @todo document
- * @addtogroup Skins
+ * @ingroup Skins
*/
class SkinCologneBlue extends Skin {
* Modern skin, derived from monobook template.
*
* @todo document
- * @addtogroup Skins
+ * @file
+ * @ingroup Skins
*/
if( !defined( 'MEDIAWIKI' ) )
/**
* Inherit main code from SkinTemplate, set the CSS and template filter.
* @todo document
- * @addtogroup Skins
+ * @ingroup Skins
*/
class SkinModern extends SkinTemplate {
/*
/**
* @todo document
- * @addtogroup Skins
+ * @ingroup Skins
*/
class ModernTemplate extends QuickTemplate {
/**
* dependency on PHPTAL.
*
* @todo document
- * @addtogroup Skins
+ * @file
+ * @ingroup Skins
*/
if( !defined( 'MEDIAWIKI' ) )
/**
* Inherit main code from SkinTemplate, set the CSS and template filter.
* @todo document
- * @addtogroup Skins
+ * @ingroup Skins
*/
class SkinMonoBook extends SkinTemplate {
/** Using monobook. */
/**
* @todo document
- * @addtogroup Skins
+ * @ingroup Skins
*/
class MonoBookTemplate extends QuickTemplate {
/**
* See docs/skin.txt
*
* @todo document
- * @addtogroup Skins
+ * @file
+ * @ingroup Skins
*/
if( !defined( 'MEDIAWIKI' ) )
/**
* @todo document
- * @addtogroup Skins
+ * @ingroup Skins
*/
class SkinMySkin extends SkinTemplate {
function initPage( &$out ) {
* See docs/skin.txt
*
* @todo document
- * @addtogroup Skins
+ * @file
+ * @ingroup Skins
*/
if( !defined( 'MEDIAWIKI' ) )
/**
* @todo document
- * @addtogroup Skins
+ * @ingroup Skins
*/
class SkinNostalgia extends Skin {
* See docs/skin.txt
*
* @todo document
- * @addtogroup Skins
+ * @file
+ * @ingroup Skins
*/
if( !defined( 'MEDIAWIKI' ) )
/**
* @todo document
- * @addtogroup Skins
+ * @ingroup Skins
*/
class SkinSimple extends SkinTemplate {
function initPage( &$out ) {
* See docs/skin.txt
*
* @todo document
- * @addtogroup Skins
+ * @file
+ * @ingroup Skins
*/
if( !defined( 'MEDIAWIKI' ) )
/**
* @todo document
- * @addtogroup Skins
+ * @ingroup Skins
*/
class SkinStandard extends Skin {
/**
* PHP script to stream out an image thumbnail.
*
- * @addtogroup Media
+ * @file
+ * @ingroup Media
*/
define( 'MW_NO_OUTPUT_COMPRESSION', 1 );
require_once( './includes/WebStart.php' );
<?php
/**
* Provide functions to handle article trackbacks.
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
require_once( './includes/WebStart.php' );
require_once( './includes/DatabaseFunctions.php' );