public $rssIsPermalink = false;
/**
- * Constructor
- *
* @param string|Title $title Item's title
* @param string $description
* @param string $url URL uniquely designating the item.
private $oldimage = '';
/**
- * Constructor
- *
* @param File $file File object we're deleting
*/
public function __construct( $file ) {
public $mMaxSize = 10000000;
public $mMaxCount = 100;
- /**
- * Constructor
- */
public function __construct() {
if ( !function_exists( 'gzdeflate' ) ) {
throw new MWException( "Need zlib support to read or write this "
}
/**
- * Constructor
- *
* @param object|array $row Either a database row or an array
* @throws MWException
* @access private
private $mUsers = null, $mFiles = null;
/**
- * Constructor
* @param bool|IDatabase $database
* - boolean: Whether to use the master DB
* - IDatabase: Database connection to use
protected $params;
/**
- * Constructor.
- *
* @param string $global Name of the global variable.
* @param string|callable $class Name of the class of the real object
* or a factory function to call
}
/**
- * Constructor.
- *
* Only public since 1.21
*
* @param Page $page
private $mergeableKeys = null;
/**
- * Constructor.
* For constructor parameters, see the documentation in DefaultSettings.php
* for $wgLocalisationCacheConf.
*
public $format, $type, $titleMsg, $descMsg;
/**
- * Constructor
- *
* @param string $format Feed's format (either 'rss' or 'atom')
* @param string $type Type of feed (for cache keys)
*/
private $digitTransformLang;
/**
- * Constructor
- *
* @param $lang Language How to convert digits.
* For example, if given language "my" than ၇ is treated like 7.
*
private $timing;
/**
- * Constructor
* @param IContextSource $context Context to inherit from
*/
public function __construct( IContextSource $context ) {
private $db;
/**
- * Constructor
- *
* @param IMaintainableDatabase $db A database subclass
* @param array $tablesToClone An array of tables to clone, unprefixed
* @param string $newTablePrefix Prefix to assign to the tables
private $db;
/**
- * Constructor
- *
* @param Title $title Title of the page we're updating
* @param ParserOutput $parserOutput Output from a full parse of this page
* @param bool $recursive Queue jobs for recursive updates?
private $page;
/**
- * Constructor
- *
* @param int $id Page id to update
* @param Title|string $title Title of page to update
* @param Content|string|bool $c Content of the page to update. Default: false.
protected $bailoutComplexity = 0;
/**
- * Constructor.
* Computes diff between sequences of strings.
*
* @param string[] $from_lines An array of strings.
/**#@-*/
/**
- * Constructor
* @param IContextSource $context Context to use, anything else will be ignored
* @param int $old Old ID we want to show and diff with.
* @param string|int $new Either revision ID or 'prev' or 'next'. Default: 0.
private $httpCode, $header, $content;
/**
- * Constructor
- *
* @param int $httpCode HTTP status code to send to the client
* @param string|Message $content Content of the message
* @param string|Message|null $header Content of the header (\<title\> and \<h1\>)
}
/**
- * Constructor.
* Do not call this except from inside a repo class.
* @param Title $title
* @param FileRepo $repo
];
/**
- * Constructor.
- *
* @param string $siteName
* @param string $admin
* @param array $option
protected $holdContentHandlerUseDB = true;
/**
- * Constructor
- *
* @param Database $db To perform updates on
* @param bool $shared Whether to perform updates on shared tables
* @param Maintenance $maintenance Maintenance object which created us
protected $installer;
/**
- * Constructor.
- *
* @param Installer $installer
*/
public function __construct( Installer $installer ) {
protected $currentPageName;
/**
- * Constructor.
- *
* @param WebRequest $request
*/
public function __construct( WebRequest $request ) {
}
/**
- * Constructor.
* @see ArrayObject::__construct
*
* @since 1.20
private $callableName;
/**
- * Constructor.
- *
* @throws InvalidArgumentException if $callable is not a callable.
* @param callable $callable Function or method to memoize.
* @param int $ttl TTL in seconds. Defaults to 3600 (1hr). Capped at 86400 (24h).
const KEY_SUFFIX = ':2';
/**
- * Constructor
- *
* Available parameters are:
* - nativeSerialize: If true, pass objects to apc_store(), and trust it
* to serialize them correctly. If false, serialize
*/
class APCUBagOStuff extends APCBagOStuff {
/**
- * Constructor
- *
* Available parameters are:
* - nativeSerialize: If true, pass objects to apcu_store(), and trust it
* to serialize them correctly. If false, serialize
class MemcachedPeclBagOStuff extends MemcachedBagOStuff {
/**
- * Constructor
- *
* Available parameters are:
* - servers: The list of IP:port combinations holding the memcached servers.
* - persistent: Whether to use a persistent connection
private $logger;
/**
- * Constructor.
- *
* Primary job is to initialize the XMLParser
*/
function __construct( LoggerInterface $logger = null ) {
protected $legacy = false;
/**
- * Constructor.
- *
* @since 1.19
* @param string $type
* @param string $subtype
private $linkRenderer;
/**
- * Constructor.
* The first two parameters used to be $skin and $out, but now only a context
* is needed, that's why there's a second unused parameter.
*
private $target;
/**
- * Constructor
- *
* @param string $type One of '', 'block', 'protect', 'rights', 'delete',
* 'upload', 'move'
* @param bool $rc Whether to update recent changes as well as the logging table
public $mLogEventsList;
/**
- * Constructor
- *
* @param LogEventsList $list
* @param string|array $types Log types to show
* @param string $performer The user who made the log entries
const DJVUTXT_MEMORY_LIMIT = 300000;
/**
- * Constructor
- *
* @param string $filename The DjVu file name.
*/
function __construct( $filename ) {
private $byteOrder;
/**
- * Constructor
- *
* @param string $file Filename.
* @param string $byteOrder Type of byte ordering either 'BE' (Big Endian)
* or 'LE' (Little Endian). Default ''.
private $languagePrefixes = [];
/**
- * Constructor
- *
* Creates an SVGReader drawing from the source provided
* @param string $source URI from which to read
* @throws MWException|Exception
}
/**
- * Constructor
* @warning For interaction with the parser cache, use
* WikiPage::makeParserOptions(), ContentHandler::makeParserOptions(), or
* ParserOptions::newCanonical() instead.
protected $params = [];
/**
- * Constructor
* @param Profiler $collector The actual profiler
* @param array $params Configuration array, passed down from $wgProfiler
*/
protected $db;
/**
- * Constructor
* @param IDatabase $db The database to search from
*/
public function __construct( IDatabase $db = null ) {
const PATH_PAGE = 'page_path';
/**
- * Constructor.
- *
* @since 1.21
*
* @param string $type
protected $internalId = null;
/**
- * Constructor.
- *
* @since 1.21
*
* @param string $type
*/
class SpecialActiveUsers extends SpecialPage {
- /**
- * Constructor
- */
public function __construct() {
parent::__construct( 'Activeusers' );
}
*/
protected $table;
- /**
- * Constructor
- */
public function __construct() {
parent::__construct( 'Allmessages' );
}
protected $nsfromMsg = 'allpagesfrom';
/**
- * Constructor
- *
* @param string $name Name of the special page, as seen in links and URLs (default: 'Allpages')
*/
function __construct( $name = 'Allpages' ) {
private $pageLinkDepth;
private $importSources;
- /**
- * Constructor
- */
public function __construct() {
parent::__construct( 'Import', 'import' );
}
* @ingroup SpecialPage
*/
class SpecialListUsers extends IncludableSpecialPage {
- /**
- * Constructor
- */
+
public function __construct() {
parent::__construct( 'Listusers' );
}
*/
class SpecialUpload extends SpecialPage {
/**
- * Constructor : initialise object
* Get data POSTed through the form and assign them to the object
* @param WebRequest $request Data posted.
*/
];
/**
- * Constructor
- *
* @param Serializer $serializer
*/
public function __construct( Serializer $serializer ) {
class UserRightsProxy {
/**
- * Constructor.
- *
* @see newFromId()
* @see newFromName()
* @param IDatabase $db Db connection
/** @var FileContentsHasher */
private static $instance;
- /**
- * Constructor.
- */
public function __construct() {
$this->cache = ObjectCache::getLocalServerInstance( 'hash' );
}
public $mUnidtable = [];// array of the translation in each variant
/**
- * Constructor
- *
* @param string $text The text between -{ and }-
* @param LanguageConverter $converter
*/
*/
private $identifier;
- /**
- * Constructor
- */
public function __construct() {
parent::__construct();
$this->addDescription( 'Creates a sitemap for the site' );
private $includeExif = false;
/**
- * Constructor.
* @param array $options Options for script.
*/
public function __construct( array $options ) {
private $extensions;
/**
- * Constructor.
* @param array $options Options for script.
* @param string $extension The extension name (or names).
*/