/** @var array Array of article/category IDs */
protected $next = [];
- /** @var int Max layer depth **/
+ /** @var int Max layer depth */
protected $maxdepth = -1;
/** @var array Array of DBKEY category names */
( strpos( PHP_SAPI, 'apache2filter' ) === false ) &&
( strpos( PHP_SAPI, 'isapi' ) === false );
-/**@}*/
+/** @} */
/************************************************************************//**
* @name URLs and file paths
*/
$wgActionPaths = [];
-/**@}*/
+/** @} */
/************************************************************************//**
* @name Files and file uploads
* - captionLength: Length to truncate filename to in caption when using "showfilename".
* A value of 'true' will truncate the filename to one line using CSS
* and will be the behaviour after deprecation.
- * @deprecated since 1.28
+ * @deprecated since 1.28
* - showBytes: Show the filesize in bytes in categories
* - showDimensions: Show the dimensions (width x height) in categories
* - mode: Gallery mode
*/
$wgDBWindowsAuthentication = false;
-/**@}*/ # End of DB settings }
+/** @} */ # End of DB settings }
/************************************************************************//**
* @name Text storage
* @code
* $wgInterwikiPrefixDisplayTypes = [
* 'iwprefix' => 'definition'
- *];
+ * ];
* @endcode
*/
$wgInterwikiPrefixDisplayTypes = [];
# Obsolete aliases
-/**@{
+/** @{
* Obsolete IDatabase::makeList() constants
* These are also available as Database class constants
*/
define( 'LIST_SET', IDatabase::LIST_SET );
define( 'LIST_NAMES', IDatabase::LIST_NAMES );
define( 'LIST_OR', IDatabase::LIST_OR );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Virtual namespaces; don't appear in the page database
*/
define( 'NS_MEDIA', -2 );
define( 'NS_SPECIAL', -1 );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Real namespaces
*
* Number 100 and beyond are reserved for custom namespaces;
define( 'NS_HELP_TALK', 13 );
define( 'NS_CATEGORY', 14 );
define( 'NS_CATEGORY_TALK', 15 );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Cache type
*/
define( 'CACHE_ANYTHING', -1 ); // Use anything, as long as it works
define( 'CACHE_DB', 1 ); // Store cache objects in the DB
define( 'CACHE_MEMCACHED', 2 ); // MemCached, must specify servers in $wgMemCacheServers
define( 'CACHE_ACCEL', 3 ); // APC or WinCache
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Antivirus result codes, for use in $wgAntivirusSetup.
*/
define( 'AV_NO_VIRUS', 0 ); # scan ok, no virus found
define( 'AV_VIRUS_FOUND', 1 ); # virus found!
define( 'AV_SCAN_ABORTED', -1 ); # scan aborted, the file is probably immune
define( 'AV_SCAN_FAILED', false ); # scan failed (scanner not found or error in scanner)
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Anti-lock flags
* Was used by $wgAntiLockFlags, which was removed with 1.25
* Constants kept to not have warnings when used in LocalSettings
define( 'ALF_PRELOAD_EXISTENCE', 2 ); // unused
define( 'ALF_NO_LINK_LOCK', 4 ); // unused
define( 'ALF_NO_BLOCK_LOCK', 8 ); // unused
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Date format selectors; used in user preference storage and by
* Language::date() and co.
*/
define( 'MW_DATE_DMY', 'dmy' );
define( 'MW_DATE_YMD', 'ymd' );
define( 'MW_DATE_ISO', 'ISO 8601' );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* RecentChange type identifiers
*/
define( 'RC_EDIT', 0 );
define( 'RC_LOG', 3 );
define( 'RC_EXTERNAL', 5 );
define( 'RC_CATEGORIZE', 6 );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Article edit flags
*/
define( 'EDIT_NEW', 1 );
define( 'EDIT_DEFER_UPDATES', 32 ); // Unused since 1.27
define( 'EDIT_AUTOSUMMARY', 64 );
define( 'EDIT_INTERNAL', 128 );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Hook support constants
*/
define( 'MW_SUPPORTS_PARSERFIRSTCALLINIT', 1 );
define( 'MW_SUPPORTS_LOCALISATIONCACHE', 1 );
define( 'MW_SUPPORTS_CONTENTHANDLER', 1 );
define( 'MW_EDITFILTERMERGED_SUPPORTS_API', 1 );
-/**@}*/
+/** @} */
/** Support for $wgResourceModules */
define( 'MW_SUPPORTS_RESOURCE_MODULES', 1 );
-/**@{
+/** @{
* Allowed values for Parser::$mOutputType
* Parameter to Parser::startExternalParse().
* Use of Parser consts is preferred:
define( 'OT_PREPROCESS', 3 );
define( 'OT_MSG', 3 ); // b/c alias for OT_PREPROCESS
define( 'OT_PLAIN', 4 );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Flags for Parser::setFunctionHook
* Use of Parser consts is preferred:
* - Parser::SFH_NO_HASH
*/
define( 'SFH_NO_HASH', 1 );
define( 'SFH_OBJECT_ARGS', 2 );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Autopromote conditions (must be here and not in Autopromote.php, so that
* they're loaded for DefaultSettings.php before AutoLoader.php)
*/
define( 'APCOND_AGE_FROM_EDIT', 7 );
define( 'APCOND_BLOCKED', 8 );
define( 'APCOND_ISBOT', 9 );
-/**@}*/
+/** @} */
/** @{
* Protocol constants for wfExpandUrl()
define( 'PROTO_CURRENT', null );
define( 'PROTO_CANONICAL', 1 );
define( 'PROTO_INTERNAL', 2 );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Content model ids, used by Content and ContentHandler.
* These IDs will be exposed in the API and XML dumps.
*
define( 'CONTENT_MODEL_CSS', 'css' );
define( 'CONTENT_MODEL_TEXT', 'text' );
define( 'CONTENT_MODEL_JSON', 'json' );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Content formats, used by Content and ContentHandler.
* These should be MIME types, and will be exposed in the API and XML dumps.
*
define( 'CONTENT_FORMAT_JSON', 'application/json' );
// for future use with the api, and for use by extensions
define( 'CONTENT_FORMAT_XML', 'application/xml' );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Max string length for shell invocations; based on binfmts.h
*/
define( 'SHELL_MAX_ARG_STRLEN', '100000' );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Schema compatibility flags.
*
* Used as flags in a bit field that indicates whether the old or new schema (or both)
define( 'SCHEMA_COMPAT_READ_BOTH', SCHEMA_COMPAT_READ_OLD | SCHEMA_COMPAT_READ_NEW );
define( 'SCHEMA_COMPAT_OLD', SCHEMA_COMPAT_WRITE_OLD | SCHEMA_COMPAT_READ_OLD );
define( 'SCHEMA_COMPAT_NEW', SCHEMA_COMPAT_WRITE_NEW | SCHEMA_COMPAT_READ_NEW );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Schema change migration flags.
*
* Used as values of a feature flag for an orderly transition from an old
define( 'MIGRATION_WRITE_BOTH', 0x10000000 | SCHEMA_COMPAT_READ_BOTH | SCHEMA_COMPAT_WRITE_BOTH );
define( 'MIGRATION_WRITE_NEW', 0x20000000 | SCHEMA_COMPAT_READ_BOTH | SCHEMA_COMPAT_WRITE_NEW );
define( 'MIGRATION_NEW', 0x30000000 | SCHEMA_COMPAT_NEW );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* XML dump schema versions, for use with XmlDumpWriter.
* See also the corresponding export-nnnn.xsd files in the docs directory,
* which are also listed at <https://www.mediawiki.org/xml/>.
*/
define( 'XML_DUMP_SCHEMA_VERSION_10', '0.10' );
define( 'XML_DUMP_SCHEMA_VERSION_11', '0.11' );
-/**@}*/
+/** @} */
/** Integer type, maps guessType() to WebRequest::getInt() */
const INT = 1;
/** Float type, maps guessType() to WebRequest::getFloat()
- * @since 1.23 */
+ * @since 1.23
+ */
const FLOAT = 4;
/** Boolean type, maps guessType() to WebRequest::getBool() */
const BOOL = 2;
*/
const INTNULL = 3;
/** Array type, maps guessType() to WebRequest::getArray()
- * @since 1.29 */
+ * @since 1.29
+ */
const ARR = 5;
/* @} */
* @ingroup Parser
*/
class MagicWord {
- /**#@-*/
+ /** #@- */
/** @var string */
public $mId;
/** @var Language */
private $contLang;
- /**#@-*/
+ /** #@- */
/**
* Create a new MagicWord object
* @ingroup Parser
*/
class MagicWordFactory {
- /**#@-*/
+ /** #@- */
/** @var bool */
private $mVariableIDsInitialised = false;
/** @var Language */
private $contLang;
- /**#@-*/
+ /** #@- */
/**
* @param Language $contLang Content language
protected $mCanonicalUrl = false;
/**
- * @var string The contents of <h1> */
+ * @var string The contents of <h1>
+ */
private $mPageTitle = '';
/**
/** @var CommentStoreComment|null */
protected $mComment;
- /** @var Title */
+ /** @var Title */
protected $mTitle; // TODO: we only need the title for permission checks!
/** @var RevisionSlots */
/**
* Load a fresh row from the database to ensure we return updated information
-
+ *
* @throws RevisionAccessException if the row could not be loaded
*/
private function loadFreshRow() {
private $mPageLanguage = false;
/** @var string|bool|null The page language code from the database, null if not saved in
- * the database or false if not loaded, yet. */
+ * the database or false if not loaded, yet.
+ */
private $mDbPageLanguage = false;
/** @var TitleValue|null A corresponding TitleValue object */
*/
const PARAM_TEMPLATE_VARS = 25;
- /**@}*/
+ /** @} */
const ALL_DEFAULT_STRING = '*';
return null;
}
- /**@}*/
+ /** @} */
/************************************************************************//**
* @name Data access methods
return MediaWikiServices::getInstance()->getPermissionManager();
}
- /**@}*/
+ /** @} */
/************************************************************************//**
* @name Parameter handling
);
}
- /**@}*/
+ /** @} */
/************************************************************************//**
* @name Utility methods
} );
}
- /**@}*/
+ /** @} */
/************************************************************************//**
* @name Warning and error reporting
wfDebugLog( 'api-feature-usage', $s, 'private', $ctx );
}
- /**@}*/
+ /** @} */
/************************************************************************//**
* @name Help message generation
public function modifyHelp( array &$help, array $options, array &$tocData ) {
}
- /**@}*/
+ /** @} */
}
/**
public function requestExtraData( $pageSet ) {
}
- /**@}*/
+ /** @} */
/************************************************************************//**
* @name Data access
return $this->getQuery()->getPageSet();
}
- /**@}*/
+ /** @} */
/************************************************************************//**
* @name Querying
}
}
- /**@}*/
+ /** @} */
/************************************************************************//**
* @name Utility methods
);
}
- /**@}*/
+ /** @} */
}
const IS_DELETED = 1; // Whether the field is revision-deleted
const CANNOT_VIEW = 2; // Whether the user cannot view the field due to revdel
- /**@}*/
+ /** @} */
protected $limit, $diffto, $difftotext, $difftotextpst, $expandTemplates, $generateXML,
$section, $parseContent, $fetchContent, $contentFormat, $setParsedLimit = true,
self::OVERRIDE | self::NO_SIZE_CHECK );
}
- /**@}*/
+ /** @} */
/************************************************************************//**
* @name Metadata
self::setArrayTypeRecursive( $arr, $tag, $kvpKeyName );
}
- /**@}*/
+ /** @} */
/************************************************************************//**
* @name Utility
}
}
- /**@}*/
+ /** @} */
}
/** Log in with an existing (not necessarily local) user */
const ACTION_LOGIN = 'login';
/** Continue a login process that was interrupted by the need for user input or communication
- * with an external provider */
+ * with an external provider
+ */
const ACTION_LOGIN_CONTINUE = 'login-continue';
/** Create a new user */
const ACTION_CREATE = 'create';
/** Continue a user creation process that was interrupted by the need for user input or
- * communication with an external provider */
+ * communication with an external provider
+ */
const ACTION_CREATE_CONTINUE = 'create-continue';
/** Link an existing user to a third-party account */
const ACTION_LINK = 'link';
/** Continue a user linking process that was interrupted by the need for user input or
- * communication with an external provider */
+ * communication with an external provider
+ */
const ACTION_LINK_CONTINUE = 'link-continue';
/** Change a user's credentials */
const ACTION_CHANGE = 'change';
return array_keys( $ret );
}
- /**@}*/
+ /** @} */
/**
* @name Authentication data changing
}
}
- /**@}*/
+ /** @} */
/**
* @name Account creation
return Status::newGood();
}
- /**@}*/
+ /** @} */
/**
* @name Account linking
}
}
- /**@}*/
+ /** @} */
/**
* @name Information methods
return null;
}
- /**@}*/
+ /** @} */
/**
* @name Internal methods
self::$instance = null;
}
- /**@}*/
+ /** @} */
}
/** Indicates that the request is required by a primary authentication
* provider. Since the user can choose which primary to authenticate with,
- * the request might or might not end up being actually required. */
+ * the request might or might not end up being actually required.
+ */
const PRIMARY_REQUIRED = 2;
/** @var string|null The AuthManager::ACTION_* constant this request was
public $action = null;
/** @var int For login, continue, and link actions, one of self::OPTIONAL,
- * self::REQUIRED, or self::PRIMARY_REQUIRED */
+ * self::REQUIRED, or self::PRIMARY_REQUIRED
+ */
public $required = self::REQUIRED;
/** @var string|null Return-to URL, in case of redirect */
public $returnToUrl = null;
/** @var string|null Username. See AuthenticationProvider::getAuthenticationRequests()
- * for details of what this means and how it behaves. */
+ * for details of what this means and how it behaves.
+ */
public $username = null;
/**
*
* @var array
* @since 1.34
- * */
+ */
public static $constructorOptions = [
'ApplyIpBlocksToXff',
'CookieSetOnAutoblock',
) {
$title = $rc->getTitle();
/** Check for rollback permissions, disallow special pages, and only
- * show a link on the top-most revision */
+ * show a link on the top-most revision
+ */
if ( $title->quickUserCan( 'rollback', $this->getUser() ) ) {
$rev = new Revision( [
'title' => $title,
public static function stripComment( $text ) {
return preg_replace( '/\[\[([^]]*\|)?([^]]+)\]\]/', '\2', $text );
}
- /**#@-*/
+ /** #@- */
}
/** @var Content|null Content of the page (not text) */
private $content;
- /** @var WikiPage **/
+ /** @var WikiPage */
private $page;
/**
*/
protected $isSlotDiffRenderer = false;
- /**#@-*/
+ /** #@- */
/**
* @param IContextSource|null $context Context to use, anything else will be ignored
const NAME_AND_TIME_ONLY = 1;
/** @var bool Whether to fetch commons image description pages and display
- * them on the local wiki */
+ * them on the local wiki
+ */
public $fetchDescription;
/** @var int */
protected $thumbScriptUrl;
/** @var bool Whether to skip media file transformation on parse and rely
- * on a 404 handler instead. */
+ * on a 404 handler instead.
+ */
protected $transformVia404;
/** @var string URL of image description pages, e.g.
*/
class CSSMin {
- /** @var string Strip marker for comments. **/
+ /** @var string Strip marker for comments. */
const PLACEHOLDER = "\x7fPLACEHOLDER\x7f";
/**
* @deprecated since 1.34, no longer used
*/
class MWMessagePack {
- /** @var bool|null Whether current system is bigendian. **/
+ /** @var bool|null Whether current system is bigendian. */
public static $bigendian = null;
/**
*/
const PARAM_IGNORE_INVALID_VALUES = 'param-ignore-invalid-values';
- /**@}*/
+ /** @} */
/** Magic "all values" value when PARAM_ALL is true. */
const ALL_DEFAULT_STRING = '*';
<?php
/**
-* Helper class for representing operations with transaction support.
-*
-* This program is free software; you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 2 of the License, or
-* (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License along
-* 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
-*
-* @file
-* @ingroup FileBackend
-*/
+ * Helper class for representing operations with transaction support.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * 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
+ *
+ * @file
+ * @ingroup FileBackend
+ */
/**
* Delete a file at the given storage path from the backend.
* @file
*/
-/**@{
+/** @{
* Media types.
* This defines constants for the value returned by File::getMediaType()
*/
define( 'MEDIATYPE_ARCHIVE', 'ARCHIVE' );
// 3D file types (stl)
define( 'MEDIATYPE_3D', '3D' );
-/**@}*/
+/** @} */
use Wikimedia\Rdbms\ILoadBalancer;
use Wikimedia\Rdbms\IDatabase;
-/**@{
+/** @{
* Database related constants
*/
define( 'DBO_DEBUG', IDatabase::DBO_DEBUG );
define( 'DBO_DDLMODE', IDatabase::DBO_DDLMODE );
define( 'DBO_SSL', IDatabase::DBO_SSL );
define( 'DBO_COMPRESS', IDatabase::DBO_COMPRESS );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Valid database indexes
* Operation-based indexes
*/
define( 'DB_REPLICA', ILoadBalancer::DB_REPLICA );
define( 'DB_MASTER', ILoadBalancer::DB_MASTER );
-/**@}*/
+/** @} */
private $type;
/** @var string One of '', 'block', 'protect', 'rights', 'delete',
- * 'upload', 'move', 'move_redir' */
+ * 'upload', 'move', 'move_redir'
+ */
private $action;
/** @var string Comment associated with action */
}
}
- /**#@-*/
+ /** #@- */
- /**#@+
+ /** #@+
* @return array
*/
return $this->mFilteredExifData;
}
- /**#@-*/
+ /** #@- */
/**
* The version of the output format
}
}
- /**#@-*/
+ /** #@- */
/**
* Validates if a tag has a legal value according to the Exif spec
return $cacheable;
}
- /**#@-*/
+ /** #@- */
/**
* Lightweight method to get the parser output for a page, checking the parser cache
self::purgeInterwikiCheckKey( $title );
}
- /**#@-*/
+ /** #@- */
/**
* Purge the check key for cross-wiki cache entries referencing this page
protected $remoteBasePath;
/**
- * @var string Path to the file */
+ * @var string Path to the file
+ */
protected $path;
/**
$this->remove( $offset );
}
- /**@}*/
+ /** @} */
}
self::$globalSessionRequest = null;
}
- /**@}*/
+ /** @} */
}
*/
class Token {
/** CSRF token suffix. Plus and terminal backslash are included to stop
- * editing from certain broken proxies. */
+ * editing from certain broken proxies.
+ */
const SUFFIX = '+\\';
/** @var string */
*/
abstract class AuthManagerSpecialPage extends SpecialPage {
/** @var string[] The list of actions this special page deals with. Subclasses should override
- * this. */
+ * this.
+ */
protected static $allowedActions = [
AuthManager::ACTION_LOGIN, AuthManager::ACTION_LOGIN_CONTINUE,
AuthManager::ACTION_CREATE, AuthManager::ACTION_CREATE_CONTINUE,
protected $securityLevel;
/** @var bool True if the user if creating an account for someone else. Flag used for internal
- * communication, only set at the very end. */
+ * communication, only set at the very end.
+ */
protected $proxyAccountCreation;
/** @var User FIXME another flag for passing data. */
protected $targetUser;
*
* @var array
* @since 1.33
- * */
+ */
public static $constructorOptions = [
'ContentHandlerUseDB',
'DisableInternalSearch',
*/
class SpecialBlock extends FormSpecialPage {
/** @var User|string|null User to be blocked, as passed either by parameter (url?wpTarget=Foo)
- * or as subpage (Special:Block/Foo) */
+ * or as subpage (Special:Block/Foo)
+ */
protected $target;
/** @var int DatabaseBlock::TYPE_ constant */
return true;
}
- /** Misc variables **/
+ /** Misc variables */
/** @var WebRequest|FauxRequest The request this form is supposed to handle */
public $mRequest;
public $mLocalFile;
public $mUploadClicked;
- /** User input variables from the "description" section **/
+ /** User input variables from the "description" section */
/** @var string The requested target file name */
public $mDesiredDestName;
public $mComment;
public $mLicense;
- /** User input variables from the root section **/
+ /** User input variables from the root section */
public $mIgnoreWarning;
public $mWatchthis;
public $mCopyrightStatus;
public $mCopyrightSource;
- /** Hidden variables **/
+ /** Hidden variables */
public $mDestWarningAck;
/** @var bool Subclasses can use this to determine whether a file was uploaded */
public $mUploadSuccessful = false;
- /** Text injection points for hooks not using HTMLForm **/
+ /** Text injection points for hooks not using HTMLForm */
public $uploadFormTextTop;
public $uploadFormTextAfterSummary;
*/
protected function processVerificationError( $details ) {
switch ( $details['status'] ) {
- /** Statuses that only require name changing **/
+ /** Statuses that only require name changing */
case UploadBase::MIN_LENGTH_PARTNAME:
$this->showRecoverableUploadError( $this->msg( 'minlength1' )->escaped() );
break;
$this->showRecoverableUploadError( $this->msg( 'windows-nonascii-filename' )->parse() );
break;
- /** Statuses that require reuploading **/
+ /** Statuses that require reuploading */
case UploadBase::EMPTY_FILE:
$this->showUploadError( $this->msg( 'emptyfile' )->escaped() );
break;
}
}
- /*** Functions for formatting warnings ***/
+ /** Functions for formatting warnings */
/**
* Formats a result of UploadBase::getExistsWarning as HTML
/** @var string|null */
protected $selected;
- /**#@-*/
+ /** #@- */
/**
* @param array $params
return str_repeat( "\t", $depth ) . Xml::element( 'option', $attribs, $val ) . "\n";
}
- /**#@-*/
+ /** #@- */
/**
* Accessor for $this->lines
<?php
/** Ingush (ГӀалгӀай)
-*
-* To improve a translation please visit https://translatewiki.net
-*
-* @ingroup Language
-* @file
-*
-*/
+ *
+ * To improve a translation please visit https://translatewiki.net
+ *
+ * @ingroup Language
+ * @file
+ *
+ */
$fallback = 'ru';
/**
* Create a set of pages. These must not change, otherwise the tests might give wrong results.
*
-*@see MediaWikiTestCase::addDBDataOnce()
+ * @see MediaWikiTestCase::addDBDataOnce()
*/
function addDBDataOnce() {
try {
/**
* Create a set of pages. These must not change, otherwise the tests might give wrong results.
*
-*@see MediaWikiTestCase::addDBDataOnce()
+ * @see MediaWikiTestCase::addDBDataOnce()
*/
function addDBDataOnce() {
try {
/**
* Create a set of pages. These must not change, otherwise the tests might give wrong results.
*
-*@see MediaWikiTestCase::addDBDataOnce()
+ * @see MediaWikiTestCase::addDBDataOnce()
*/
function addDBDataOnce() {
try {
* Cases with empty url() for CSSMin::remap.
*
* Regression test for T191237.
- *
+ *
* @dataProvider provideRemapEmptyUrl
* @covers CSSMin
*/
/**
* Data provider for testCallAny().
- */
+ */
public function provideCallAny() {
return [
[
# #### HELPERS #####################################################
/**
- *Wrapper to verify text stay the same after applying conversion
+ * Wrapper to verify text stay the same after applying conversion
* @param string $text Text to convert
* @param string $variant Language variant 'sr-ec' or 'sr-el'
* @param string $msg Optional message
$this->assertConverted( $text, 'sr-ec', $msg );
}
- /** Wrapper for converter::convertTo() method*/
+ /** Wrapper for converter::convertTo() method */
protected function convertTo( $text, $variant ) {
return $this->getLang()
->mConverter
$this->assertConverted( $text, 'uz-cyrl', $msg );
}
- /** Wrapper for converter::convertTo() method*/
+ /** Wrapper for converter::convertTo() method */
protected function convertTo( $text, $variant ) {
return $this->getLang()->mConverter->convertTo( $text, $variant );
}
/**
* Tests for CategoryChangesAsRdf recent changes exporter.
- * @covers CategoryChangesAsRdf
+ * @covers CategoryChangesAsRdf
*/
class CategoryChangesAsRdfTest extends MediaWikiLangTestCase {