From: jenkins-bot Date: Wed, 18 Oct 2017 20:04:55 +0000 (+0000) Subject: Merge "RCFilters: define consistent interface in ChangesListFilterGroup" X-Git-Tag: 1.31.0-rc.0~1720 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=d94c0484302f80cf30ef107b2fdb6b84293e1937;hp=b31c87ab91b3e2bbb80d3b814953ea3790498c36 Merge "RCFilters: define consistent interface in ChangesListFilterGroup" --- diff --git a/RELEASE-NOTES-1.31 b/RELEASE-NOTES-1.31 index 5d2d9d9e82..3c22e78ca8 100644 --- a/RELEASE-NOTES-1.31 +++ b/RELEASE-NOTES-1.31 @@ -9,9 +9,13 @@ production. * $wgEnableAPI and $wgEnableWriteAPI are now deprecated and will be removed in a future version. The API is now considered to be stable, secure and essential. +* $wgUsejQueryThree was removed, as it is now the default. This was documented as a + temporary variable during the migration period, deprecated since 1.29. +* … === New features in 1.31 === -* … +* Wikimedia\Rdbms\IDatabase->select() and similar methods now support + joins with parentheses for grouping. === External library changes in 1.31 === diff --git a/autoload.php b/autoload.php index 83f25193ed..cf4a115a9b 100644 --- a/autoload.php +++ b/autoload.php @@ -930,6 +930,7 @@ $wgAutoloadLocalClasses = [ 'MediaWiki\\Session\\UserInfo' => __DIR__ . '/includes/session/UserInfo.php', 'MediaWiki\\ShellDisabledError' => __DIR__ . '/includes/exception/ShellDisabledError.php', 'MediaWiki\\Shell\\Command' => __DIR__ . '/includes/shell/Command.php', + 'MediaWiki\\Shell\\CommandFactory' => __DIR__ . '/includes/shell/CommandFactory.php', 'MediaWiki\\Shell\\Result' => __DIR__ . '/includes/shell/Result.php', 'MediaWiki\\Shell\\Shell' => __DIR__ . '/includes/shell/Shell.php', 'MediaWiki\\Site\\MediaWikiPageNameNormalizer' => __DIR__ . '/includes/site/MediaWikiPageNameNormalizer.php', diff --git a/composer.json b/composer.json index 2bd8d6c4ed..7364506713 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "ext-xml": "*", "liuggio/statsd-php-client": "1.0.18", "mediawiki/at-ease": "1.1.0", - "oojs/oojs-ui": "0.23.5", + "oojs/oojs-ui": "0.24.0", "oyejorge/less.php": "1.7.0.14", "php": ">=5.5.9", "psr/log": "1.0.2", diff --git a/includes/CategoryFinder.php b/includes/CategoryFinder.php index 89bf5c7327..2a70f5f3fd 100644 --- a/includes/CategoryFinder.php +++ b/includes/CategoryFinder.php @@ -190,7 +190,7 @@ class CategoryFinder { $layer = []; $res = $this->dbr->select( /* FROM */ 'categorylinks', - /* SELECT */ '*', + /* SELECT */ [ 'cl_to', 'cl_from' ], /* WHERE */ [ 'cl_from' => $this->next ], __METHOD__ . '-1' ); diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index bd944d24d8..c1a518a96c 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -3696,16 +3696,6 @@ $wgResourceLoaderMinifierMaxLineLength = 1000; */ $wgIncludeLegacyJavaScript = false; -/** - * Use jQuery 3 (with jQuery Migrate) instead of jQuery 1. - * - * This is a temporary feature flag for the MediaWiki 1.29 development cycle while - * instabilities with jQuery 3 are being addressed. See T124742. - * - * @deprecated since 1.29 - */ -$wgUsejQueryThree = true; - /** * Whether or not to assign configuration variables to the global window object. * diff --git a/includes/MediaWikiServices.php b/includes/MediaWikiServices.php index 84fc959fa7..0d010b49d1 100644 --- a/includes/MediaWikiServices.php +++ b/includes/MediaWikiServices.php @@ -10,6 +10,7 @@ use GenderCache; use GlobalVarConfig; use Hooks; use IBufferingStatsdDataFactory; +use MediaWiki\Shell\CommandFactory; use Wikimedia\Rdbms\LBFactory; use LinkCache; use Wikimedia\Rdbms\LoadBalancer; @@ -681,6 +682,14 @@ class MediaWikiServices extends ServiceContainer { return $this->getService( 'ReadOnlyMode' ); } + /** + * @since 1.30 + * @return CommandFactory + */ + public function getShellCommandFactory() { + return $this->getService( 'ShellCommandFactory' ); + } + /////////////////////////////////////////////////////////////////////////// // NOTE: When adding a service getter here, don't forget to add a test // case for it in MediaWikiServicesTest::provideGetters() and in diff --git a/includes/MovePage.php b/includes/MovePage.php index 2f8255ba38..fe8246535f 100644 --- a/includes/MovePage.php +++ b/includes/MovePage.php @@ -310,7 +310,7 @@ class MovePage { # Protect the redirect title as the title used to be... $res = $dbw->select( 'page_restrictions', - '*', + [ 'pr_type', 'pr_level', 'pr_cascade', 'pr_user', 'pr_expiry' ], [ 'pr_page' => $pageid ], __METHOD__, 'FOR UPDATE' diff --git a/includes/ServiceWiring.php b/includes/ServiceWiring.php index d048007c3a..75ce8eca94 100644 --- a/includes/ServiceWiring.php +++ b/includes/ServiceWiring.php @@ -41,6 +41,7 @@ use MediaWiki\Interwiki\ClassicInterwikiLookup; use MediaWiki\Linker\LinkRendererFactory; use MediaWiki\Logger\LoggerFactory; use MediaWiki\MediaWikiServices; +use MediaWiki\Shell\CommandFactory; return [ 'DBLoadBalancerFactory' => function ( MediaWikiServices $services ) { @@ -428,6 +429,23 @@ return [ ); }, + 'ShellCommandFactory' => function ( MediaWikiServices $services ) { + $config = $services->getMainConfig(); + + $limits = [ + 'time' => $config->get( 'MaxShellTime' ), + 'walltime' => $config->get( 'MaxShellWallClockTime' ), + 'memory' => $config->get( 'MaxShellMemory' ), + 'filesize' => $config->get( 'MaxShellFileSize' ), + ]; + $cgroup = $config->get( 'ShellCgroup' ); + + $factory = new CommandFactory( $limits, $cgroup ); + $factory->setLogger( LoggerFactory::getInstance( 'exec' ) ); + + return $factory; + }, + /////////////////////////////////////////////////////////////////////////// // NOTE: When adding a service here, don't forget to add a getter function // in the MediaWikiServices class. The convenience getter should just call diff --git a/includes/api/i18n/zh-hant.json b/includes/api/i18n/zh-hant.json index ecdf37d3fb..105a19c9c6 100644 --- a/includes/api/i18n/zh-hant.json +++ b/includes/api/i18n/zh-hant.json @@ -311,6 +311,7 @@ "apierror-permissiondenied": "您沒有權限$1。", "apierror-reauthenticate": "於本工作階段還未核對身分,請重新核對。", "apierror-timeout": "伺服器未有在預計的時間內回應。", + "api-feed-error-title": "錯誤($1)", "api-credits-header": "製作群", "api-credits": "API 開發人員:\n* Roan Kattouw (首席開發者 Sep 2007–2009)\n* Victor Vasiliev\n* Bryan Tong Minh\n* Sam Reed\n* Yuri Astrakhan (創立者,首席開發者 Sep 2006–Sep 2007)\n* Brad Jorsch (首席開發者 2013–present)\n\n請傳送您的評論、建議以及問題至 mediawiki-api@lists.wikimedia.org\n或者回報問題至 https://phabricator.wikimedia.org/。" } diff --git a/includes/installer/DatabaseInstaller.php b/includes/installer/DatabaseInstaller.php index 6c56b3d430..d4150c87ab 100644 --- a/includes/installer/DatabaseInstaller.php +++ b/includes/installer/DatabaseInstaller.php @@ -697,7 +697,7 @@ abstract class DatabaseInstaller { } $this->db->selectDB( $this->getVar( 'wgDBname' ) ); - if ( $this->db->selectRow( 'interwiki', '*', [], __METHOD__ ) ) { + if ( $this->db->selectRow( 'interwiki', '1', [], __METHOD__ ) ) { $status->warning( 'config-install-interwiki-exists' ); return $status; diff --git a/includes/libs/objectcache/WANObjectCache.php b/includes/libs/objectcache/WANObjectCache.php index 1f757a41e9..cab5782f37 100644 --- a/includes/libs/objectcache/WANObjectCache.php +++ b/includes/libs/objectcache/WANObjectCache.php @@ -1083,7 +1083,7 @@ class WANObjectCache implements IExpiringStore, LoggerAwareInterface { * $setOpts += Database::getCacheSetOptions( $dbr ); * * // Load the row for this file - * $row = $dbr->selectRow( 'file', '*', [ 'id' => $id ], __METHOD__ ); + * $row = $dbr->selectRow( 'file', File::selectFields(), [ 'id' => $id ], __METHOD__ ); * * return $row ? (array)$row : false; * }, @@ -1169,7 +1169,7 @@ class WANObjectCache implements IExpiringStore, LoggerAwareInterface { * * // Load the rows for these files * $rows = []; - * $res = $dbr->select( 'file', '*', [ 'id' => $ids ], __METHOD__ ); + * $res = $dbr->select( 'file', File::selectFields(), [ 'id' => $ids ], __METHOD__ ); * foreach ( $res as $row ) { * $rows[$row->id] = $row; * $mtime = wfTimestamp( TS_UNIX, $row->timestamp ); diff --git a/includes/libs/rdbms/database/Database.php b/includes/libs/rdbms/database/Database.php index bc1454baec..c04e167738 100644 --- a/includes/libs/rdbms/database/Database.php +++ b/includes/libs/rdbms/database/Database.php @@ -2015,11 +2015,21 @@ abstract class Database implements IDatabase, IMaintainableDatabase, LoggerAware // No alias? Set it equal to the table name $alias = $table; } + + if ( is_array( $table ) ) { + // A parenthesized group + $joinedTable = '(' + . $this->tableNamesWithIndexClauseOrJOIN( $table, $use_index, $ignore_index, $join_conds ) + . ')'; + } else { + $joinedTable = $this->tableNameWithAlias( $table, $alias ); + } + // Is there a JOIN clause for this table? if ( isset( $join_conds[$alias] ) ) { list( $joinType, $conds ) = $join_conds[$alias]; $tableClause = $joinType; - $tableClause .= ' ' . $this->tableNameWithAlias( $table, $alias ); + $tableClause .= ' ' . $joinedTable; if ( isset( $use_index[$alias] ) ) { // has USE INDEX? $use = $this->useIndexClause( implode( ',', (array)$use_index[$alias] ) ); if ( $use != '' ) { @@ -2041,7 +2051,7 @@ abstract class Database implements IDatabase, IMaintainableDatabase, LoggerAware $retJOIN[] = $tableClause; } elseif ( isset( $use_index[$alias] ) ) { // Is there an INDEX clause for this table? - $tableClause = $this->tableNameWithAlias( $table, $alias ); + $tableClause = $joinedTable; $tableClause .= ' ' . $this->useIndexClause( implode( ',', (array)$use_index[$alias] ) ); @@ -2049,14 +2059,14 @@ abstract class Database implements IDatabase, IMaintainableDatabase, LoggerAware $ret[] = $tableClause; } elseif ( isset( $ignore_index[$alias] ) ) { // Is there an INDEX clause for this table? - $tableClause = $this->tableNameWithAlias( $table, $alias ); + $tableClause = $joinedTable; $tableClause .= ' ' . $this->ignoreIndexClause( implode( ',', (array)$ignore_index[$alias] ) ); $ret[] = $tableClause; } else { - $tableClause = $this->tableNameWithAlias( $table, $alias ); + $tableClause = $joinedTable; $ret[] = $tableClause; } diff --git a/includes/libs/rdbms/database/DatabaseMssql.php b/includes/libs/rdbms/database/DatabaseMssql.php index 8a69eec428..53beb65f9a 100644 --- a/includes/libs/rdbms/database/DatabaseMssql.php +++ b/includes/libs/rdbms/database/DatabaseMssql.php @@ -440,8 +440,14 @@ class DatabaseMssql extends Database { if ( strpos( $sql, 'MAX(' ) !== false || strpos( $sql, 'MIN(' ) !== false ) { $bitColumns = []; if ( is_array( $table ) ) { - foreach ( $table as $t ) { - $bitColumns += $this->getBitColumns( $this->tableName( $t ) ); + $tables = $table; + while ( $tables ) { + $t = array_pop( $tables ); + if ( is_array( $t ) ) { + $tables = array_merge( $tables, $t ); + } else { + $bitColumns += $this->getBitColumns( $this->tableName( $t ) ); + } } } else { $bitColumns = $this->getBitColumns( $this->tableName( $table ) ); diff --git a/includes/libs/rdbms/database/DatabasePostgres.php b/includes/libs/rdbms/database/DatabasePostgres.php index 5a7da4976f..8c21d726b0 100644 --- a/includes/libs/rdbms/database/DatabasePostgres.php +++ b/includes/libs/rdbms/database/DatabasePostgres.php @@ -532,26 +532,30 @@ __INDEXATTR__; unset( $options[$forUpdateKey] ); $options['FOR UPDATE'] = []; - // All tables not in $join_conds are good - foreach ( $table as $alias => $name ) { - if ( is_numeric( $alias ) ) { + $toCheck = $table; + reset( $toCheck ); + while ( $toCheck ) { + $alias = key( $toCheck ); + $name = $toCheck[$alias]; + unset( $toCheck[$alias] ); + + $hasAlias = !is_numeric( $alias ); + if ( !$hasAlias && is_string( $name ) ) { $alias = $name; } - if ( !isset( $join_conds[$alias] ) ) { - $options['FOR UPDATE'][] = $alias; - } - } - foreach ( $join_conds as $table_cond => $join_cond ) { - if ( 0 === preg_match( '/^(?:LEFT|RIGHT|FULL)(?: OUTER)? JOIN$/i', $join_cond[0] ) ) { - $options['FOR UPDATE'][] = $table_cond; + if ( !isset( $join_conds[$alias] ) || + !preg_match( '/^(?:LEFT|RIGHT|FULL)(?: OUTER)? JOIN$/i', $join_conds[$alias][0] ) + ) { + if ( is_array( $name ) ) { + // It's a parenthesized group, process all the tables inside the group. + $toCheck = array_merge( $toCheck, $name ); + } else { + // Quote alias names so $this->tableName() won't mangle them + $options['FOR UPDATE'][] = $hasAlias ? $this->addIdentifierQuotes( $alias ) : $alias; + } } } - - // Quote alias names so $this->tableName() won't mangle them - $options['FOR UPDATE'] = array_map( function ( $name ) use ( $table ) { - return isset( $table[$name] ) ? $this->addIdentifierQuotes( $name ) : $name; - }, $options['FOR UPDATE'] ); } if ( isset( $options['ORDER BY'] ) && $options['ORDER BY'] == 'NULL' ) { diff --git a/includes/libs/rdbms/database/IDatabase.php b/includes/libs/rdbms/database/IDatabase.php index 67e8e85518..868c2d4b00 100644 --- a/includes/libs/rdbms/database/IDatabase.php +++ b/includes/libs/rdbms/database/IDatabase.php @@ -620,6 +620,19 @@ interface IDatabase { * This includes the user table in the query, with the alias "a" available * for use in field names (e.g. a.user_name). * + * Joins using parentheses for grouping (since MediaWiki 1.31) may be + * constructed using nested arrays. For example, + * + * [ 'tableA', 'nestedB' => [ 'tableB', 'b2' => 'tableB2' ] ] + * + * along with `$join_conds` like + * + * [ 'b2' => [ 'JOIN', 'b_id = b2_id' ], 'nestedB' => [ 'LEFT JOIN', 'b_a = a_id' ] ] + * + * will produce SQL something like + * + * FROM tableA LEFT JOIN (tableB JOIN tableB2 AS b2 ON (b_id = b2_id)) ON (b_a = a_id) + * * All of the table names given here are automatically run through * Database::tableName(), which causes the table prefix (if any) to be * added, and various other table name mappings to be performed. diff --git a/includes/shell/Command.php b/includes/shell/Command.php index 4fc282c8c4..bd44ef8937 100644 --- a/includes/shell/Command.php +++ b/includes/shell/Command.php @@ -63,7 +63,7 @@ class Command { private $everExecuted = false; /** @var string|false */ - private $cGroup = false; + private $cgroup = false; /** * Constructor. Don't call directly, instead use Shell::command() @@ -83,12 +83,14 @@ class Command { */ public function __destruct() { if ( !$this->everExecuted ) { + $context = [ 'command' => $this->command ]; $message = __CLASS__ . " was instantiated, but execute() was never called."; if ( $this->method ) { - $message .= " Calling method: {$this->method}."; + $message .= ' Calling method: {method}.'; + $context['method'] = $this->method; } - $message .= " Command: {$this->command}"; - trigger_error( $message, E_USER_NOTICE ); + $message .= ' Command: {command}'; + $this->logger->warning( $message, $context ); } } @@ -131,7 +133,8 @@ class Command { /** * Sets execution limits * - * @param array $limits Optional array with limits(filesize, memory, time, walltime). + * @param array $limits Associative array of limits. Keys (all optional): + * filesize (for ulimit -f), memory, time, walltime. * @return $this */ public function limits( array $limits ) { @@ -185,11 +188,11 @@ class Command { /** * Sets cgroup for this command * - * @param string|false $cgroup + * @param string|false $cgroup Absolute file path to the cgroup, or false to not use a cgroup * @return $this */ public function cgroup( $cgroup ) { - $this->cGroup = $cgroup; + $this->cgroup = $cgroup; return $this; } @@ -241,7 +244,7 @@ class Command { escapeshellarg( "MW_INCLUDE_STDERR=" . ( $this->useStderr ? '1' : '' ) . ';' . "MW_CPU_LIMIT=$time; " . - 'MW_CGROUP=' . escapeshellarg( $this->cGroup ) . '; ' . + 'MW_CGROUP=' . escapeshellarg( $this->cgroup ) . '; ' . "MW_MEM_LIMIT=$mem; " . "MW_FILE_SIZE_LIMIT=$filesize; " . "MW_WALL_CLOCK_LIMIT=$wallTime; " . @@ -253,7 +256,7 @@ class Command { if ( !$useLogPipe && $this->useStderr ) { $cmd .= ' 2>&1'; } - wfDebug( __METHOD__ . ": $cmd\n" ); + $this->logger->debug( __METHOD__ . ": $cmd" ); // Don't try to execute commands that exceed Linux's MAX_ARG_STRLEN. // Other platforms may be more accomodating, but we don't want to be diff --git a/includes/shell/CommandFactory.php b/includes/shell/CommandFactory.php new file mode 100644 index 0000000000..c0b8f899ed --- /dev/null +++ b/includes/shell/CommandFactory.php @@ -0,0 +1,65 @@ +limits = $limits; + $this->cgroup = $cgroup; + $this->setLogger( new NullLogger() ); + } + + /** + * Instantiates a new Command + * + * @return Command + */ + public function create() { + $command = new Command(); + $command->setLogger( $this->logger ); + + return $command + ->limits( $this->limits ) + ->cgroup( $this->cgroup ); + } +} diff --git a/includes/shell/Shell.php b/includes/shell/Shell.php index e21d762d20..a660a22314 100644 --- a/includes/shell/Shell.php +++ b/includes/shell/Shell.php @@ -22,7 +22,6 @@ namespace MediaWiki\Shell; -use MediaWiki\Logger\LoggerFactory; use MediaWiki\MediaWikiServices; /** @@ -57,18 +56,9 @@ class Shell { // treat it as a list of arguments $args = reset( $args ); } - $command = new Command(); - $config = MediaWikiServices::getInstance()->getMainConfig(); - - $limits = [ - 'time' => $config->get( 'MaxShellTime' ), - 'walltime' => $config->get( 'MaxShellWallClockTime' ), - 'memory' => $config->get( 'MaxShellMemory' ), - 'filesize' => $config->get( 'MaxShellFileSize' ), - ]; - $command->limits( $limits ); - $command->cgroup( $config->get( 'ShellCgroup' ) ); - $command->setLogger( LoggerFactory::getInstance( 'exec' ) ); + $command = MediaWikiServices::getInstance() + ->getShellCommandFactory() + ->create(); return $command->params( $args ); } diff --git a/includes/specialpage/AuthManagerSpecialPage.php b/includes/specialpage/AuthManagerSpecialPage.php index 0cdc55f060..95729f3c56 100644 --- a/includes/specialpage/AuthManagerSpecialPage.php +++ b/includes/specialpage/AuthManagerSpecialPage.php @@ -679,7 +679,7 @@ abstract class AuthManagerSpecialPage extends SpecialPage { ]; if ( $type === 'submit' && isset( $singleFieldInfo['label'] ) ) { - $descriptor['default'] = wfMessage( $singleFieldInfo['label'] )->plain(); + $descriptor['default'] = $singleFieldInfo['label']->plain(); } elseif ( $type !== 'submit' ) { $descriptor += array_filter( [ // help-message is omitted as it is usually not really useful for a web interface diff --git a/includes/specialpage/ChangesListSpecialPage.php b/includes/specialpage/ChangesListSpecialPage.php index bd8c4b6ec7..67f68ea10a 100644 --- a/includes/specialpage/ChangesListSpecialPage.php +++ b/includes/specialpage/ChangesListSpecialPage.php @@ -1192,7 +1192,10 @@ abstract class ChangesListSpecialPage extends SpecialPage { * @param FormOptions $opts */ public function validateOptions( FormOptions $opts ) { - if ( $this->fixContradictoryOptions( $opts ) ) { + $isContradictory = $this->fixContradictoryOptions( $opts ); + $isReplaced = $this->replaceOldOptions( $opts ); + + if ( $isContradictory || $isReplaced ) { $query = wfArrayToCgi( $this->convertParamsForLink( $opts->getChangedValues() ) ); $this->getOutput()->redirect( $this->getPageTitle()->getCanonicalURL( $query ) ); } @@ -1263,6 +1266,34 @@ abstract class ChangesListSpecialPage extends SpecialPage { return false; } + /** + * Replace old options 'hideanons' or 'hideliu' with structured UI equivalent + * + * @param FormOptions $opts + * @return bool True if the change was made + */ + public function replaceOldOptions( FormOptions $opts ) { + if ( !$this->isStructuredFilterUiEnabled() ) { + return false; + } + + // At this point 'hideanons' and 'hideliu' cannot be both true, + // because fixBackwardsCompatibilityOptions resets (at least) 'hideanons' in such case + if ( $opts[ 'hideanons' ] ) { + $opts->reset( 'hideanons' ); + $opts[ 'userExpLevel' ] = 'registered'; + return true; + } + + if ( $opts[ 'hideliu' ] ) { + $opts->reset( 'hideliu' ); + $opts[ 'userExpLevel' ] = 'unregistered'; + return true; + } + + return false; + } + /** * Convert parameters values from true/false to 1/0 * so they are not omitted by wfArrayToCgi() diff --git a/includes/upload/UploadStash.php b/includes/upload/UploadStash.php index 755f9fdf7b..da896f973d 100644 --- a/includes/upload/UploadStash.php +++ b/includes/upload/UploadStash.php @@ -515,7 +515,12 @@ class UploadStash { $row = $dbr->selectRow( 'uploadstash', - '*', + [ + 'us_user', 'us_key', 'us_orig_path', 'us_path', 'us_props', + 'us_size', 'us_sha1', 'us_mime', 'us_media_type', + 'us_image_width', 'us_image_height', 'us_image_bits', + 'us_source_type', 'us_timestamp', 'us_status', + ], [ 'us_key' => $key ], __METHOD__ ); diff --git a/languages/i18n/ais.json b/languages/i18n/ais.json index 8b03d47747..88b85ee86b 100644 --- a/languages/i18n/ais.json +++ b/languages/i18n/ais.json @@ -7,6 +7,7 @@ "Tokoabibi" ] }, + "tog-underline": "nu sasaan sacuzu’ masasiket:", "tog-hideminor": "midimut ibabuay nu capi a sumad mikilulay a sumad", "tog-hidepatrolled": "midimut capiay a demiad masumaday tayza-mikibiay a mikawaway-kalumyiti", "tog-newpageshidepatrolled": "midimut baluhayay a kasabelih piazihan-tu-sulit tayza-mikibi a kasabelih", @@ -14,6 +15,7 @@ "tog-extendwatchlist": "micuwat miazihay a piazihan-tu-sulit paazih yamalyilu capi demiad zumaay a sacahamin sumad", "tog-usenewrc": "kilul capi demiad misumad atu miazihay a piazihan-tu-sulit a kasabelih kakuniza paazih ku masumaday", "tog-numberheadings": "satangahan lunuk pabanggu", + "tog-showtoolbar": "paazih mikawaway-kalumyiti sakaluk tusil", "tog-editondblclick": "sapecec sakatusa hawsa mikawaway-kalumyiti kasabelih", "tog-editsectiononrightclick": "miwawah hwasu kawanan-penec sapecec tusil satangahan mikawaway-kalumyiti", "tog-watchcreations": "amipatizeng kasabelih nu maku atu patapabaw a tangan pacunus miazihay a piazihan-tu-sulit", @@ -30,6 +32,7 @@ "tog-enotifminoredits": "anu kasabelih atu tangan izaw ku mikilulay asumad, pabahel imyiyo(email) patakus takuwan", "tog-enotifrevealaddr": "ilabu nu patakusay a tigami paazih imyiyo(email) puenengan", "tog-shownumberswatching": "paazih misisip misaungayay a nikayadah", + "tog-oldsig": "nu misuay ayzaay a sulitan a ngangan:", "tog-fancysig": "sulitan a ngangan mahiza ku Wikitext kamu (caay lunuk misanga’ masasiket)", "tog-forceeditsummary": "caay misulit mikawaway-kalumyiti pecu’ nu lacul haw pacekil takuwan", "tog-watchlisthideown": "midimut ilabu miazihay a piazihan-tu-sulit numakuay a mikawaway-kalumyiti", @@ -126,6 +129,8 @@ "category-article-count": "{{PLURAL:$2|uyni kakuniza hatiza ku cacay yamalyilu sailuc-kakuniza. kina kakuniza yamalyilu isasa $2 a sailuc-kasasizuma, ilabu {{PLURAL:$1}}mahiza ku isasaay}}", "category-file-count": "{{PLURAL:$2|kakuniza yamalyilu isasaay a cacay ku tangan. kakuniza yamalyilu isasaay izaway $1 ku tangan, pulung $2 makalaan.}}", "listingcontinuesabbrev": "palalid", + "index-category": "mapatayza kapah pikiliman tu nisulitan miasipay kasabelih", + "noindex-category": "caay kasilsil i kapah pikiliman tu nisulitan miasipay kasabelih", "broken-file-category": "tangan masasiket malepi’ay a kasabelih", "about": "mahizaay", "article": "lacul kasabelih", @@ -197,6 +202,7 @@ "pool-queuefull": "laylay saculuk matumestu", "pool-errorunknown": "caay kapulita ku mungangaw", "pool-servererror": "la’cus pisaungay laylay miasipay mietap ($1)", + "poolcounter-usage-error": "sahicaan mungangaw: $1", "aboutsite": "mahizaay {{SITENAME}}", "aboutpage": "Project:mahizaay", "copyright": "anu izaw ku zuma buhci tu kamu, kasabelih aazihen a lacul i labu, pisaungay hamin $1 sapabeli tu kinli a ceding.", @@ -331,6 +337,7 @@ "password-change-forbidden": "amana kisu misumad tina Wiki a mima.", "externaldberror": "uyniyan hakay u nanu kalunasulitan-sulu sawantan mungangaw, saca caay mahasa kisu mitadas ihekalay a canghaw.", "login": "patalabu", + "login-security": "sawantanen tu ID nu misu", "nav-login-createaccount": "patalabu / panganganen ku canghaw", "logout": "katahkal", "notloggedin": "caay henay patalabu", @@ -399,6 +406,7 @@ "oldpassword": "malumannay a mima", "newpassword": "baluhay a mima:", "retypenew": "miliyaw suliten baluhay a mima:", + "resetpass_submit": "setin mima atu patalabu", "changepassword-success": "mima nu misu masumad tu!", "changepassword-throttled": "capi demiad mitanam mangasiw patalabu.\npihalhal henay $1 pitaneng aca.", "botpasswords": "kikay-tademaw a mima", @@ -485,8 +493,10 @@ "showdiff": "paazih ku masumaday", "anoneditwarning": "patalaw:caay henay kisu patalabu. anu miteka mikawaway tu kalumyiti, IP adolyise nu misu ama mitilak. anu kisu [$1 patalabu ] acasa [$2 panganganen ku canghaw ], misuay mikawaway tu kalumyiti payni tu nu misuay misaungayay kalungangan sacuzu’ ,izaway zuma kapahayay.", "missingcommenttext": "pisuliten buhci tu kamu isasa’.", + "summary-preview": "mikawaway-kalumyiti pecu’ nu lacul pataayaway miazih:", "subject-preview": "pataayaway miazih taazihan tu kawaw:", "previewerrortext": "mitanam pataayaway miazih sumad nu misu sa mungangaw.", + "blockedtitle": "misaungayay malangat tuway", "blockednoreason": "caay pasaheci tu mahicaay", "whitelistedittext": "piayawen $1 sakapah mikawaway-kalumyiti kasabelih.", "nosuchsectiontitle": "caykatepa tu tusil", @@ -517,6 +527,7 @@ "template-semiprotected": "(madiputay a kasabelih - satizep mikawaway tu kalumyiti)", "hiddencategories": "kina kasabelih tungusay nu {{PLURAL:$1|1 midimut kakuniza }}mamikawaw:", "nocreate-loggedin": "inayi’ tungus kisu patizeng baluhayay a kasabelih.", + "sectioneditnotsupported-title": "caay pidama mikawaway-kalumyiti tusil", "sectioneditnotsupported-text": "tina kasabelih caay midama mikawaway-kalumyiti tusil.", "permissionserrors": "mungangaw ku tungus", "permissionserrorstext-withaction": "namakay isasaay {{PLURAL:$1|mahicaay}}, inayi’ kisu situngus miteka $2 miteka tuway misaungay:", @@ -578,6 +589,7 @@ "history-show-deleted": "paazih a cacay ku masipuay tu masumad", "histfirst": "sakasumamadan", "histlast": "sabaluhay", + "historysize": "({{PLURAL:$1|1 wyiyincu}})", "historyempty": "(inayi’)", "history-feed-title": "masumad nu ayaway a nazipa’an", "history-feed-description": "tina Wiki tina kasabelih nu masumaday a nazipa’an", @@ -627,6 +639,7 @@ "mergehistory-empty": "inayi’ amikabuay a sumad.", "mergehistory-fail": "la’cus miteka nazipa’an mikabu, piliyaw kinsa kya kasabelih atu tuki aazihen-sulyang", "mergehistory-fail-bad-timestamp": "tatukian a suyling la’cus.", + "mergehistory-fail-invalid-source": "saangangan kasabelih la’cus.", "mergehistory-fail-invalid-dest": "pamutekan kasabelih la’cus.", "mergehistory-fail-permission": "mangadis tungus,la’cus mikabu nazipa’an.", "mergehistory-fail-self-merge": "malecad ku kalungangan nu saangangan kasabelih atu papatuzu’an kasabelih.", @@ -704,6 +717,7 @@ "skin-preview": "pataayaway miazih", "datedefault": "sulyang nu pataayaw tu kawaw", "prefs-labs": "mitanam henay a sasahicaan", + "prefs-personal": "misaungayay angangan a kalunasulitan", "prefs-rc": "capi a demaiday a sumad", "prefs-watchlist": "miazihay a piazihan tu sulit", "prefs-editwatchlist": "miazihay a piazihan tu sulit nu mikawaway-kalumyiti", @@ -713,6 +727,7 @@ "prefs-watchlist-days": "ilabu nu miazihay a piazihan-tu-sulit paazih a demiad nikayadah:", "prefs-watchlist-days-max": "sayadahay $1 {{PLURAL:$1|a demiad}}", "prefs-watchlist-edits-max": "makelec nikayadah:1000", + "prefs-watchlist-token": "miazihay a piazihan tu sulit sabuhat:", "prefs-misc": "zuma", "prefs-resetpass": "misumad tu mima", "prefs-changeemail": "misumad saca misipu imyiyo(email) puenengan", @@ -784,13 +799,16 @@ "userrights": "tungus nu misaungayay", "userrights-lookup-user": "mipili’ misaungayay", "userrights-user-editname": "pisuliti misaungayay a kalungangan:", + "editusergroup": "pacumud misaungayay luyaluy", "userrights-editusergroup": "mikawaway-kalumyiti {{GENDER:$1|misaungayay}} cyucu", "userrights-viewusergroup": "ciwsace {{GENDER:$1|misaungayay}} luyaluy", "saveusergroups": "misuped {{GENDER:$1|misaungayay}} luyaluy", "userrights-groupsmember": "canan a luyaluy:", + "userrights-groupsmember-auto": "litinay yamalyilu luyaluy:", "userrights-reason": "mahicaay:", "userrights-no-interwiki": "inayi’ tungus kisu mikawaway-kalumyiti zuma Wiki misaungayay a tungus.", "userrights-nodatabase": "kalunasulitan-sulu $1 inayi’ saca inayi’ itiniay a angangan-kikay.", + "userrights-changeable-col": "kapah kisu ku misumaday tu luyaluy", "userrights-unchangeable-col": "amana kisu misumad tu luyaluy", "userrights-expiry-current": "kakatekuhan $1", "userrights-expiry-none": "inayi’ kakatekuhan", @@ -825,6 +843,7 @@ "right-createtalk": "patizeng matatengil kasabelih", "right-createaccount": "patizeng baluhay misaungayay a canghaw", "right-autocreateaccount": "pisaungay hekalay a misaungayay canghaw lunuk patalabu", + "right-minoredit": "sacuzu’ mikawaway-kalumyiti mala mikilulay", "right-move": "milimad kasabelih", "right-move-subpages": "milimad kasabelih atu sailuc-kasabelih", "right-move-rootuserpages": "milimad tu limit misaungayay a kasabelih", @@ -832,6 +851,7 @@ "right-movefile": "milimad tu tangan", "right-suppressredirect": "milimad kasabelih caay i angangan kasabelih kakitizaan patizeng miliyaw patatuzu’ kasabelih", "right-upload": "patapabaw tu tangan", + "right-reupload": "mitahpu tu izaay ayza a tangan", "right-reupload-own": "mitahpu patapabaway a tangan nu misu", "right-reupload-shared": "mitahpu kapulungan myiti tangan-sulu i itiniay a tangan", "right-upload_by_url": "pisaungay URL patapabaw tangan", @@ -901,8 +921,10 @@ "grant-editprotected": "mikawaway-kalumyiti madiputay a kasabelih", "grant-highvolume": "masibek mikawaway-kalumyiti", "grant-oversight": "midimut misaungayay atu satezep paazih masumad nu ayaway", + "grant-patrol": "mikibi tu kasabelihay a misumad", "grant-privateinfo": "misuped-miala madimut kasikazan a cesyun", "grant-protect": "midiput atu palawpes midiput kasabelih", + "grant-rollback": "patiku kasabelih a sumad", "grant-sendemail": "pabahel imyiyo(email) patakus zuma misaungayay", "grant-uploadeditmovefile": "patapabaw, mibalic atu milimad tangan", "grant-uploadfile": "patapabaw ku baluhay a tangan", @@ -912,6 +934,7 @@ "grant-viewrestrictedlogs": "ciwsace makelecay a nasulitan-nazipa’an kasacacay", "newuserlogpage": "patizeng misaungayay nasulitan nakawawan", "newuserlogpagetext": "uniyan sa u patizeng misaungayay a nasulitan-nazipa’an.", + "rightslog": "misaungayay a tungus nasulitan nazipa’an", "rightslogtext": "uyiniyan sa ku misumad misaungayay tungus a nasulitan-nazipa’an.", "action-read": "miasip tina kasabelih", "action-edit": "mikawaway-kalumyiti uyni a kasabelih", @@ -984,6 +1007,7 @@ "rcfilters-savedqueries-cancel-label": "palawpes", "rcfilters-restore-default-filters": "patiku pataayaw tu kawaw mipili’ay sakacucek", "rcfilters-search-placeholder": "pili’ tu labuay sulit capi misumad (azih saca miteka suzu)", + "rcfilters-invalid-filter": "la’cusay a sebseb sakacucek", "rcfilters-empty-filter": "inayi’ pisaungay pili’ tu labuay sulit. mapaazih sacahamin a paanin.", "rcfilters-filterlist-title": "sakacucek nu misapili’", "rcfilters-highlightbutton-title": "pulita sacuzu’ a heci", @@ -1017,9 +1041,11 @@ "rcfilters-filter-minor-description": "masacudaday sacuzu’ tuway mikilulay a mikawaway-kalumyiti.", "rcfilters-filter-major-label": "caay mikilulay mikawaway-kalumyiti", "rcfilters-filter-major-description": "caay silusi mikilulay a mikawaway-kalumyiti.", + "rcfilters-filtergroup-watchlist": "mikantuk tu lisetoay kasabelih", "rcfilters-filter-watchlist-watched-label": "miazih piazihan tu sulit", "rcfilters-filter-watchlist-watched-description": "misumad piazihan-tu-sulit i misisip nu misu.", "rcfilters-filter-watchlist-watchednew-label": "nasumadan nu baluhayay misisip a piazihan-tu-sulit", + "rcfilters-filter-watchlist-notwatched-label": "caayay ka kantuk a liseto", "rcfilters-filtergroup-changetype": "misumad nikalahizaan", "rcfilters-filter-pageedits-label": "mikawaway-kalumyiti nu kasabelih", "rcfilters-filter-pageedits-description": "nay Wiki lacul, matatengil, kakuniza buhci tu kamu nasangaan a mikawaway-kalumyiti...", @@ -1099,6 +1125,7 @@ "filetype-badmime": "amana mahasa patapabaw MIME nikalahizaan ku \"$1\" a tangan.", "empty-file": "patayzaan nu misu a tangan u inayi’ay.", "file-too-large": "patayzaan tangan nu misu micalapay.", + "filename-tooshort": "tangan kalungangan tada apuyu’.", "filetype-banned": "tina nikalahizaan tangan masatezep pisaungay tuway.", "verification-error": "tina tangan caay kasawantan.", "hookaborted": "mitanam kisu misumad pasatezep nu sacunus-tuutuud.", @@ -1121,12 +1148,16 @@ "uploaded-hostile-svg": "i mapatapabaway a SVG tangan yangse aazihen-paya matepa caay kaenapay a CSS.", "uploadinvalidxml": "la’cus mitingalaw matapabaway tangan a XML.", "upload-source": "saangangan a tangan", + "sourcefilename": "saangangan tangan kalungangan:", + "sourceurl": "saangangan URL:", "destfilename": "pamutekan tangan kalungangan:", "upload-maxfilesize": "hacica-tabaki nu tangan makelec: $1", "upload-description": "tangan sapuelac", "upload-options": "patapabaw mapiliay", "watchthisupload": "miazih tina tangan", + "upload-proto-error": "padinwaay a ketun caay katatenga’", "upload-file-error": "ilabuay a mungangaw", + "upload-misc-error": "caay kapulita patudud mungangaw", "upload-too-many-redirects": "kya URL miliyaw patatuzu’ tayza sayadah zuma a puenengan", "upload-http-error": "HTTP mungangaw: $1", "upload-copy-upload-invalid-domain": "tina calay-subal(wangyi) caay mahasa kopi patapabaway a tangan.", @@ -1214,6 +1245,7 @@ "upload_source_file": "(mapili’ay a tangan nu misu i tinnaw nu misu)", "listfiles-delete": "misipu", "listfiles-summary": "uyni sazumaay a kasabelih paazih sacahamin patabapaw a tangan.", + "listfiles_search_for": "mikilim myiti kalungangan:", "listfiles-userdoesnotexist": "misaungayay canghaw \"$1\" caay henay pangangan.", "imgfile": "tangan", "listfiles": "piazihan tu sulit nu tangan", @@ -1270,6 +1302,8 @@ "filedelete-edit-reasonlist": "masipu a mahicaay nu mikawaway-kalumyiti", "filedelete-maintenance": "midiput a demiad sa tangan misipu atu patiku nanunuz pisaungay.", "filedelete-maintenance-title": "la’cus masipu tu tangan", + "mimesearch": "MIME kilim", + "mimetype": "MIME nikalahizaan:", "download": "patasasa'", "unwatchedpages": "caayay kasisip a kasabelih", "listredirects": "miliyaw patatuzu’ piazihan tu sulit", @@ -1286,6 +1320,7 @@ "statistics": "sausi", "statistics-header-pages": "kasabelih sausi", "statistics-header-edits": "sausi mikawaway-kalumyiti", + "statistics-header-users": "misaungayay a sausi cesyun", "statistics-header-hooks": "zuma a sausi", "statistics-articles": "lacul kasabelih", "statistics-pages-desc": "i Wiki sacahamin a kasabelih, yamalyilu sasukamu kasabelih, miliyaw patatuzau’ kasabelih…", @@ -1300,6 +1335,7 @@ "pageswithprop-prophidden-long": "midimut mangasiw tanaya’ a susin sulyang ($1) tuway", "pageswithprop-prophidden-binary": "madimut tusa-taayaw-eneng susin sulyang ($1)", "doubleredirects": "tusaay a miliyaw patatuzu’", + "double-redirect-fixer": "miliyaw patatuzu’ misumaday", "brokenredirects": "malepi’ ay miliyaw patatuzu’", "brokenredirectstext": "isasa’ miliyaw patatuzu’ kasabelih masasiket a kasabelih inayi’:", "brokenredirects-delete": "misipu", @@ -1307,6 +1343,7 @@ "withoutinterwiki-summary": "isasa’ay inayi’ masasiket tu zuma kamu baziyong a kasabelih.", "withoutinterwiki-legend": "saayaway a sulit", "withoutinterwiki-submit": "paazih", + "fewestrevisions": "sainayi'ay masumaday nu kasabelih", "nbytes": "$1 {{PLURAL:$1|wyiyincu}}", "ncategories": "{{PLURAL:$1|kakuniza}}", "nlinks": "$1 {{PLURAL:$1|masasiket}}", @@ -1329,8 +1366,10 @@ "wantedtemplates": "maydihay a taazihan mitudung", "mostlinkedcategories": "masasiket sayadahay a kakuniza", "mostlinkedtemplates": "nipacaliwan kayadahay a kasabelih", + "mostcategories": "iyadah ku kakunizaay nu kasabelih", "mostimages": "masasiket kayadahay a tangan", "mostinterwikis": "sayadah lakec masasiket nu Wiki a kasabelih", + "mostrevisions": "iyadah ku masumaday nu kasabelih", "prefixindex": "kilul tatangahan nu sulit palalitemuh tu kawaw kasabelih", "prefixindex-namespace": "kilulen tatangahan nu sulit palalitemuh tu kawaw kasabelih ($1 pangangananay a salaedan)", "prefixindex-submit": "paazih", @@ -1356,6 +1395,7 @@ "protectedtitles-submit": "paazih tu satangahan", "listusers": "misaungayay a piazihan tu sulit", "listusers-editsonly": "paazih a cacay izaw misaungayay nu mikawaway-kalumyiti", + "listusers-creationsort": "i patizeng a demiad tu kasalaylay", "listusers-desc": "pisaungay nay tabakiay katukuh adidi’ kasalaylay", "usereditcount": "$1 {{PLURAL:$1|ku mikawaway-kalumyiti}}", "usercreated": "i $1 $2 {{GENDER:$3|patizeng}}", @@ -1367,6 +1407,7 @@ "unusedcategoriestext": "isasa’ kakuniza inayi’ caay henay masaungay nu kasabelih saca kakuniza", "notargettitle": "inayi’ ku pabalucu’an", "notargettext": "caay henay kisu matuzu’ papatuzu'an kasabelih saca misaungayay amiteka tina saungay.", + "nopagetitle": "inayi’ku pamutekan tu kasabelih", "nopagetext": "matuzu’ay a papatuzu’an a kasabelih nu misu inayi’.", "pager-newer-n": "{{PLURAL:$1|baluhay $1}}", "pager-older-n": "{{PLURAL:$1| kusa malumanay}}", @@ -1400,6 +1441,7 @@ "apisandbox-results-error": "miasip API palalitemuh tu kawaw patukil sa mungangaw: $1.", "apisandbox-request-selectformat-label": "paazih milunguc kalunasulitan u:", "apisandbox-request-format-url-label": "URL palalitemuh tu kawaw sulisulitan", + "apisandbox-request-url-label": "milunguc URL:", "apisandbox-request-json-label": "milunguc JSON:", "apisandbox-request-time": "milungucay a tatukian:{{PLURAL:$1|$1 ms}}", "apisandbox-results-fixtoken": "misumad mima-sacukcuk sa miliyaw patayzaan", @@ -1462,6 +1504,7 @@ "activeusers-excludegroups": "palawpes tungusay nu isasa’ay luyaluy a misaungayay:", "activeusers-noresult": "caykatepa misaungayay.", "activeusers-submit": "paazih misaungayay i saungay nu binawlan", + "listgrouprights": "misaungayay luyaluy a tungus", "listgrouprights-group": "luyaluy", "listgrouprights-rights": "kinli", "listgrouprights-helppage": "Help:Group rights", @@ -1489,6 +1532,7 @@ "defemailsubject": "{{SITENAME}} misaungayay \"$1\" patigamiay a imyiyo(email)", "usermaildisabled": "mapasatezep imyiyo(email)", "usermaildisabledtext": "la’cus pabahel imyiyo(email) tayza tian Wiki zumaay a misaungayay", + "noemailtitle": "inayi’ imyiyo(email) puenegan", "noemailtext": "tina misaungayay caay henay matuzu’ay cacay ku kapahay a imyiyo(email) puenengan.", "nowikiemailtext": "tina misaungayay mipili’ caay mizawis zuma misaungayay a tigami.", "emailnotarget": "milayapay inayi’ saca la’cus ku misaungayay a kalungangan.", @@ -1505,6 +1549,7 @@ "emailccsubject": "napatigami $1 nu misa a palatuh mikilulay-cudad: $2", "emailsent": "mapatahkal tu i imyiyo(email)", "emailsenttext": "patigamitu ku imyiyo(email) palatuh nu misu.", + "usermessage-summary": "subelid tu latuh tayza i sisetyimo.", "watchlist": "miazihay a piazihan tu sulit", "mywatchlist": "miazihay a piazihan tu sulit", "watchlistfor2": "$1 miazihay a piazihan-tu-sulit $2", @@ -1533,7 +1578,8 @@ "wlshowhidemine": "numakuay a mikawaway-kalumyiti", "wlshowhidecategorization": "kasabelih nu kakuniza", "watchlist-options": "misisipa piazihan-tu-sulit a syinsiang", - "unwatching": "palawpes aazihan...", + "watching": "imahini miazih...", + "unwatching": "imahini pahanhan mikantuk…", "watcherrortext": "imahini misumad \"$1\" miazihay a piazihan-tu-sulit setin sa mungangaw", "enotif_reset": "silusi sacahamin kasabelih ku maciwsaceay", "enotif_impersonal_salutation": "{{SITENAME}} misaungayay", @@ -1574,6 +1620,7 @@ "changecontentmodel-title-label": "kasabelih satangahan", "changecontentmodel-model-label": "tatudungen misanga’ nu baluhay a lacul", "changecontentmodel-reason-label": "mahicaay:", + "changecontentmodel-success-title": "masumad tuway lacul tatudungen misanga’", "changecontentmodel-success-text": "masumad tuway [[:$1]] a lacul nikalahizaan.", "changecontentmodel-cannot-convert": "[[:$1]] a lacul la’cus miliyaw tu $2 a nikalahizaan.", "changecontentmodel-nodirectediting": "$1 a lacul tatudungen-misanga’ caay midama kakelulay a mikawaway-kalumyiti", @@ -1591,6 +1638,7 @@ "protect-badnamespace-title": "pangangananay a salaedan amana midiput", "protect-badnamespace-text": "tina ilabu nupangangananay a salaedan a kasabelih la’cusay setin tu midiput.", "protect-norestrictiontypes-text": "la’cus midiput tina kasabelih, inayi’ sapakelecay a kasacacay.", + "protect-norestrictiontypes-title": "inayi’ midiputay a kasabelih", "protect-legend": "malucekay tu midiputay", "protectcomment": "mahicaay:", "protectexpiry": "kakatekuhan:", @@ -1631,6 +1679,7 @@ "undelete-revision": "masipu nu $3 a $1 (i $4 $5) masumad nu ayaway", "undelete-nodiff": "inayi’ nasawniay a sumad.", "undeletebtn": "patiku", + "undeletelink": "ciwsace/patiku", "undeleteinvert": "kabelihan mipili’", "undeletecomment": "mahicaay:", "cannotundelete": "liyad saca hamin a palawpes misipu mungangaw:\n$1", @@ -1695,11 +1744,13 @@ "whatlinkshere-filters": "sakacucek nu misapili’", "whatlinkshere-submit": "mileku", "block": "milangat misaungayay", + "unblock": "mihulak malangat misaungayay", "blockip": "milangat {{GENDER:$1|misaungayay}}", "ipaddressorusername": "IP puenengan saca misaungayay a kalungangan:", "ipbexpiry": "kakatekuhan:", "ipbreason": "mahicaay:", "ipb-hardblock": "amana pisaungay tina IP puenengan patalabuay a misaungayay mikawaway-kalumyiti", + "ipbcreateaccount": "mitena’ patizeng baluhay canghaw", "ipbemailban": "satezep misaungayay pabahel imyiyo(email)", "ipbsubmit": "milangat tina misaungayay", "ipbother": "zuma a tatukian:", @@ -1717,6 +1768,7 @@ "ipb-blocklist": "ciwsace katukuhayza a langat", "ipb-blocklist-contribs": "{{GENDER:$1|$1}} a paanin", "ipb-blocklist-duration-left": "$1 pakawili", + "unblockip": "mihulak malangat misaungayay", "ipusubmit": "misipu tina langat", "unblocked": "[[User:$1|$1]] a langat mahulak tuway.", "unblocked-range": "mahulak tu ku langat $1.", @@ -1745,6 +1797,7 @@ "createaccountblock": "canghaw patizeng mapasatezep tuway", "emailblock": "mapasatezep imyiyo(email)", "blocklist-nousertalk": "la’cus mikawaway-kalumyiti sasukamu kasabelih nu misu", + "ipblocklist-empty": "malangat piazihan tu sulit nayi’tu ku canan.", "ipblocklist-no-results": "milungucay a IP puenengan saca misaungayay a kalungangan caay henay palangat.", "blocklink": "milangat", "unblocklink": "mihulak tu langat", @@ -1762,6 +1815,7 @@ "block-log-flags-noemail": "mapasatezep imyiyo(email)", "block-log-flags-nousertalk": "la’cus mikawaway-kalumyiti sasukamu kasabelih nu misu", "block-log-flags-angry-autoblock": "pangaleb lunuk-langat mawawah tuway", + "block-log-flags-hiddenname": "midimut misaungayay a kalungangan", "range_block_disabled": "mikuwanay kapah patizeng subal milangat a tungus maedeb tuway.", "ipb_expiry_old": "kakatukuhan a demiad mangasiw tuway.", "ipb_expiry_temp": "midimut misaungayay a kalungangan langat amana misetin kakatekuhan.", @@ -1777,9 +1831,11 @@ "ipbblocked": "izay kisu malangat, sisa la’cus milangat saca mihulak malangatay a zuma misaungayay", "ipbnounblockself": "caay mahasa mihulak malangat tu kisu.", "lockdb": "pamutek tu sulu nu kalunasulitan", + "unlockdb": "mihulak azihen nasulitan-sulu", "lockconfirm": "hang, maydih kaku pamutek kalunasulitan-sulu.", "unlockconfirm": "hang, maydih kaku mihulak pamutek sulu nu nasulitan", "lockbtn": "pamutek tu sulu nu kalunasulitan", + "unlockbtn": "mihulak azihen nasulitan-sulu", "locknoconfirm": "caay henay kisu hatizaay malucekay tu mapili’ay atilad", "lockdbsuccesssub": "malahci pamutek sulu nu nasulitan tuway", "unlockdbsuccesssub": "misipu pamutek tu sulu nu kalunasulitan tuway", @@ -1871,10 +1927,12 @@ "import-interwiki-history": "kopi tina kasabelih sacahamin nazipa’an masumad nu ayaway", "import-interwiki-templates": "yamalyilu sacahamin taazihan mitudung", "import-interwiki-submit": "pacumud", + "import-mapping-default": "pacumud tayza pataayaw tu kawaw kakitizaan", "import-mapping-namespace": "pacumud i pangangananay a salaedan:", "import-mapping-subpage": "pacumud sapa isasa’ay kasabelih a sailuc-kasabelih:", "import-upload-filename": "kalungangan nu tangan:", "import-comment": "pacunus sakacaay kapawan:", + "importstart": "pacumud tayza pataayaw tu kawaw kakitizaan", "import-revision-count": "$1 {{PLURAL:$1|masumad nu ayaway}}", "importnopages": "inayi’ mapacumuday a kasabelih.", "importfailed": "pacumud mungangaw:$1", @@ -1914,6 +1972,7 @@ "tooltip-pt-createaccount": "taneng kami pauuh kisuan panganganen tu cacay canghaw atu patalabu, anu caay ku tabakiay a pisaungay.", "tooltip-ca-talk": "matatengil tu mahizaay lacul nu kasabelih", "tooltip-ca-edit": "mikawaway-kalumyiti uyni a kasabelih", + "tooltip-ca-addsection": "miteka tu cacay baluhay ngatu", "tooltip-ca-viewsource": "uyni kasabelih madiputay tuway.\nkapah kisu miciwsace tuyni kasabelih sakatizeng bangu", "tooltip-ca-history": "uyini kasabelih nasawniay a sumad", "tooltip-ca-protect": "midiput tina kasabelih", @@ -2076,6 +2135,7 @@ "newimages-user": "IP puenengan saca misaungayay a kalungangan", "newimages-newbies": "paazih a cacay baluhay canghaw a paanin", "newimages-showbots": "paazih nay tademaw-kikay patapabaw a tangan", + "newimages-hidepatrolled": "midimut natayza tu mikibi patudud", "noimages": "inayi’ amahicahica tu zunga.", "gallery-slideshow-toggle": "ketun mibalic sukep tu zunga", "ilsubmit": "kilim", @@ -2115,6 +2175,7 @@ "exif-samplesperpixel": "syangsu nikayadah", "exif-planarconfiguration": "kalunasulitan misilsil", "exif-ycbcrsubsampling": "takuliway pasumad sumanahay sakatusa mipiri’", + "exif-ycbcrpositioning": "likat atu takelal kakitizaan", "exif-xresolution": "sasuala katingalaw", "exif-yresolution": "mitelekay katingalaw", "exif-stripoffsets": "iga kalunasulitan kakitizaan", @@ -2139,6 +2200,7 @@ "exif-pixelxdimension": "zunga nu hacica-ahebal", "exif-pixelydimension": "zunga nu hacica-takalaw", "exif-usercomment": "misaungayay a buhci tu kamu", + "exif-relatedsoundfile": "mahizaay nu suniay a tangan", "exif-datetimeoriginal": "kalunasulitan masangaay’ a demiad atu tuki", "exif-datetimedigitized": "suwyihwaay a demiad atu tuki", "exif-subsectime": "DateTime saba-beti", @@ -2179,6 +2241,7 @@ "exif-sharpness": "kacidem", "exif-devicesettingdescription": "sakaluk setin sapuelac", "exif-subjectdistancerange": "baat nu tatizengan a liwliw", + "exif-imageuniqueid": "sassing dada’ sakatineng mipulita", "exif-gpsversionid": "GPS baziyong nu aazihen a paya", "exif-gpslatituderef": "pyiwyi asaca nanwyi", "exif-gpslongituderef": "tongcing asaca sicing", @@ -2191,9 +2254,14 @@ "exif-gpsdop": "miditek a tatungus", "exif-gpsspeedref": "saduba’ kalamkam a sacacaycacay", "exif-gpsspeed": "GPS pizawis-sakaluk saduba’ kalamkam", + "exif-gpstrackref": "milimad pasayzaan miazih tu tatenga’ay sulyang", + "exif-gpsimgdirectionref": "pasayzaan nu iga miazih tu tatenga’ay sulyang", "exif-gpsmapdatum": "pisaungay ulaulangan miditek a kalunasulitan", + "exif-gpsdestlatituderef": "pametekan wyitu miazih tu tatenga’ay sulyang", "exif-gpsdestlatitude": "pabalucu’an a wyitu", - "exif-gpsdestlongituderef": "pabalucu’an a cintu", + "exif-gpsdestlongituderef": "pamutekan cintu miazih tu tatenga’ay sulyang", + "exif-gpsdestbearingref": "pamutekan sasakawawen miazih tu tatenga’ay sulyang", + "exif-gpsdestdistanceref": "pamutekan baat miazih tu tatenga’ay sulyang", "exif-gpsprocessingmethod": "GPS saungay sasakawawen kalungangan", "exif-gpsdatestamp": "GPS a demiad", "exif-gpsdifferential": "GPS chafen misumad", @@ -2268,6 +2336,7 @@ "exif-unknowndate": "caay kapulita ku demiad", "exif-orientation-1": "tatungus", "exif-orientation-2": "mabelih tu zazay", + "exif-orientation-3": "malineng 180°", "exif-orientation-4": "mabelih tu mitelekay", "exif-orientation-5": "cuis tu culil nu tuki malineng 90° atu pitelekay mibelih", "exif-orientation-7": "duduc tu culil nu tuki malineng 90° atu mitelekay mibelih", @@ -2372,6 +2441,8 @@ "exif-gpsdestdistance-m": "inli", "exif-gpsdestdistance-n": "hayli", "exif-gpsdop-excellent": "tada kapah ($1)", + "exif-gpsdop-good": "kapahay ($1)", + "exif-gpsdop-moderate": "hucu ($1)", "exif-gpsdop-poor": "la’cus ($1)", "exif-objectcycle-a": "namalamam a cacay", "exif-objectcycle-p": "nakalahukan a cacay", @@ -2381,6 +2452,7 @@ "exif-ycbcrpositioning-1": "teban", "exif-ycbcrpositioning-2": "palecad miala tu maaziahan", "exif-dc-contributor": "paaninay tu kalusasing", + "exif-dc-coverage": "myitiay ahebal nu hekal", "exif-dc-date": "demiad", "exif-dc-publisher": "insacay", "exif-dc-relation": "mahizaay u myiti", @@ -2475,6 +2547,7 @@ "version-other": "zuma", "version-mediahandlers": "myiti saungayay a sakaluk", "version-hooks": "kulawid", + "version-parser-extensiontags": "patingalaway-kikay micuwat tu taazihen-paya", "version-parser-function-hooks": "kamu-sakilul mapulita sapisausi makulawit", "version-hook-name": "kalawid a kalungangan", "version-hook-subscribedby": "pangangan", @@ -2496,6 +2569,7 @@ "version-software-version": "baziyong", "version-entrypoints": "sacumud URL", "version-entrypoints-header-url": "URL", + "version-libraries": "malaculay a cengse-sulu", "version-libraries-library": "sulu nu cengse", "version-libraries-version": "baziyong", "version-libraries-license": "sapabeli tu kinli a cedang", @@ -2507,6 +2581,7 @@ "redirect-value": "sulyang:", "redirect-user": "misaungayay ID", "redirect-page": "kasabelih ID", + "redirect-revision": "misumad tu kasabelih ID", "redirect-file": "kalungangan nu tangan", "redirect-logid": "nasulitan nazipa’an ID", "redirect-not-exists": "caykatepa ku sulyang", @@ -2520,14 +2595,18 @@ "specialpages-group-maintenance": "aazihen a cudad nu midiputay", "specialpages-group-other": "sazumaay cidek a kasabelih", "specialpages-group-login": "patalabu / panganganen ku canghaw", + "specialpages-group-changes": "capi misumad atu nasulitan nazipa’an", + "specialpages-group-media": "myiti patapabaw atu aazihen cudad", "specialpages-group-users": "misaungayay atu tungus", "specialpages-group-highuse": "sawsawniay a kasabelih", "specialpages-group-pages": "piazihan tu sulit nu kasabelih", "specialpages-group-pagetools": "kasabelih sakaluk", "specialpages-group-wiki": "kalunasulitan atu sakaluk", "specialpages-group-redirects": "miliyaw patatuzu’ mahizaay sazumaay a kasabelih", + "specialpages-group-spam": "satena’ tu babakahen a sulit sakaluk", "specialpages-group-developer": "saayaway miteka a misakakawaway sakaluk", "blankpage": "salengacay a kasabelih", + "intentionallyblankpage": "kasabelih padetengan a miliwan.", "tags": "kapah misumad tu tazihan a paya", "tag-filter": "[[Special:Tags|aazihen paya]] kilim:", "tag-filter-submit": "kilim", @@ -2536,6 +2615,7 @@ "tags-title": "aazihen a paya", "tags-tag": "aazihen a paya kalungangan", "tags-display-header": "ilabu nu misumad nasulitan-nazipa’an paazih sasakawawen", + "tags-description-header": "malekuay mibuhci tu kamu", "tags-source-header": "saangangan", "tags-active-header": "miwawah", "tags-actions-header": "saungay", @@ -2587,6 +2667,7 @@ "tags-edit-existing-tags-none": "inayi’", "tags-edit-new-tags": "baluhay aazihen a paya:", "tags-edit-add": "micunus uyniyay aazihen a paya:", + "tags-edit-remove": "misipu uyniyay taazihen-paya:", "tags-edit-chosen-placeholder": "mipili’ hatizaay aazihen a paya", "tags-edit-chosen-no-results": "inayi’ aazihen a paya matatungus sakacucek", "tags-edit-reason": "mahicaay:", @@ -2601,6 +2682,7 @@ "compare-rev1": "misumad nu ayaway 1", "compare-rev2": "misumad nu ayaway 2", "compare-submit": "sasutili’ay", + "compare-invalid-title": "matuzu’ay satangahan la’cus.", "compare-title-not-exists": "matuzu’ay a satangah nu misu inayi’.", "compare-revision-not-exists": "matuzu’ay a sumad nu misu inayi’.", "diff-form": "sasizuma", @@ -2622,6 +2704,7 @@ "htmlform-selectorother-other": "zuma", "htmlform-no": "caay", "htmlform-yes": "hang", + "htmlform-chosen-placeholder": "kapipili’tu cacay mapiliay", "htmlform-cloner-create": "ngalepen tu cunus", "htmlform-cloner-delete": "milimad", "htmlform-cloner-required": "anu inayi’ i manakanca suliten cacay kalunasulitan.", @@ -2644,6 +2727,7 @@ "logentry-suppress-delete": "$1 {{GENDER:$2|misatezep paazih tuway}} kasabelih $3", "revdelete-content-hid": "madimut tu ku lacul", "revdelete-summary-hid": "madimut mikawaway-kalumyiti pecu’ nu lacul", + "revdelete-uname-hid": "midimut misaungayay a kalungangan", "revdelete-content-unhid": "palawpes midimut tu lacul", "revdelete-summary-unhid": "palawpes midimut mikawaway-kalumyiti pecu’ nu lacul", "revdelete-uname-unhid": "palawpes midimut misaungayay a kalungangan", @@ -2797,8 +2881,11 @@ "log-action-filter-import": "pacumud nikalahizaan:", "log-action-filter-managetags": "nikalahizaan nu aazihen a paya mikuwanay a saungay:", "log-action-filter-move": "milimad nikalahizaan:", + "log-action-filter-newusers": "canghaw patizengay a nikalahizaan:", "log-action-filter-patrol": "tayza mikibi nikalahizaan:", "log-action-filter-protect": "midiput nikalahizaan:", + "log-action-filter-rights": "tungus misumad a nikalahizaan:", + "log-action-filter-suppress": "satezep paazih nikalahizaan:", "log-action-filter-upload": "nikalahizaan nu patapabaw:", "log-action-filter-all": "hamin", "log-action-filter-block-block": "milangat", @@ -2859,6 +2946,7 @@ "authmanager-userdoesnotexist": "misaungayay canghaw \"$1\" caay henay pangangan.", "authmanager-userlogin-remembermypassword-help": "apabalucu’en ku mima amiala ku tanaya’ay a kasasiketan tuki.", "authmanager-username-help": "zencen a misaungayay a kalungangan.", + "authmanager-password-help": "sapizencen a mima.", "authmanager-domain-help": "ihekal zencenay a calay-subal(wangyi).", "authmanager-retype-help": "misult mima kinacacay henay kya malucek.", "authmanager-email-label": "imyiyo(email)", @@ -2873,12 +2961,14 @@ "authprovider-confirmlink-failed": "canghaw masasiket caay kahamin malahci: $1", "authprovider-confirmlink-ok-help": "paazih masasiket mungangaw a palatuh sa palalid.", "authprovider-resetpass-skip-label": "sekipo", + "authprovider-resetpass-skip-help": "takud han miliyaw patizeng tu mima.", "authform-nosession-login": "malahci tu mizencen, uyzasa saazihay-sakaluk nu misu la’cus \"i balucu’en\" patalabu cesyun.\n\n$1", "authform-nosession-signup": "panganganen tu ku canghaw, uyzasa saazihay-sakaluk nu misu la’cus \"i balucu’en\" patalabu cesyun.\n\n$1", "authform-newtoken": "mahedaw mima-sacukcuk. $1", "authform-wrongtoken": "mima-sacukcuk mungangaw", "specialpage-securitylevel-not-allowed-title": "amana", "specialpage-securitylevel-not-allowed": "ahicanaca, caay mahasa pisaungay tina belih kisu, u nanu ID nu misu caay henay sawantan.", + "authpage-cannot-login": "la’cus miteka patalabu.", "authpage-cannot-login-continue": "la’cus milalid patalabu, kasasiketan nu misu hakay mautang tuway.", "authpage-cannot-create": "la’cus miteka patizeng tu canghaw.", "authpage-cannot-create-continue": "la’cus palalid patizeng tu canghaw. kasasiketan nu misu mahiza mautang.", diff --git a/languages/i18n/anp.json b/languages/i18n/anp.json index 4734ca24a3..b78f426c0e 100644 --- a/languages/i18n/anp.json +++ b/languages/i18n/anp.json @@ -13,6 +13,7 @@ "tog-hideminor": "हाल के बदलाव सॆं छोटॊ बदलाव छुपाबॊ", "tog-hidepatrolled": "निगरानी मॆं करलॊ गेलॊ संपादनॊ कॆ हाल के बदलावॊ मॆं नै देखाबॊ", "tog-newpageshidepatrolled": "निगरानी वाला पन्ना कॆ नया पन्ने वाला सूची मॆं नै देखाबॊ", + "tog-hidecategorization": "पृष्ठ के श्रेणीकरण छिपाबौ", "tog-extendwatchlist": "ध्यान सूची मॆं सब्भे बदलाव दर्शाबॊ, सिर्फ हाले के नै", "tog-usenewrc": "हाल मं॑ होलऽ परिवर्तनऽ आरू ध्यानसूची मं॑ परिवर्तनऽ क॑ पृष्ठ अनुसार समूहऽ मं॑ बाँटऽ", "tog-numberheadings": "शीर्षक स्वयं-क्रमांकित करॊ", @@ -23,6 +24,7 @@ "tog-watchdefault": "हमरऽ संपादित करलऽ पन्ना आरू फाइल क॑ हमरऽ ध्यानसूची मं॑ रखियै", "tog-watchmoves": "हमरऽ हटैलऽ पन्ना आरू फाइल क॑ हमरऽ ध्यानसूची मं॑ रखियै", "tog-watchdeletion": "हमरऽ मेटैलऽ पन्ना आरू फाइल क॑ हमरऽ ध्यानसूची मं॑ रखियै", + "tog-watchuploads": "हमरौ नया फ़ाइल क॑ हमरौ ध्यानसूची में डालौ ।", "tog-watchrollback": "हमरऽ द्वारा प्रत्यापन्न (रोलबैक) करलऽ गेलऽ पन्ना सब क॑ हमरऽ ध्यानसूची मंं॑ जोड़ऽ", "tog-minordefault": "सब्भे सम्पादनऽ क॑ छोटऽ बदलाव के रूप मं॑ चिह्नित करऽ", "tog-previewontop": "एडिट बॉक्स के उपर झलक दिखाबॊ", @@ -32,9 +34,9 @@ "tog-enotifminoredits": "पन्ना आरू फाइल मं॑ तनी-मनी बदलाव लेली भी हमरा इ-मेल भेजऽ", "tog-enotifrevealaddr": "अधिसूचना ईमेल मं॑ हमरऽ ईमेल पता दर्शाबऽ", "tog-shownumberswatching": "ध्यान रखै वाला यूजर के संख्या देखाबऽ", - "tog-oldsig": "वर्तमान दसखत:", + "tog-oldsig": "आपन॑ के वर्तमान हस्ताक्षर:", "tog-fancysig": "दसखत क॑ विकिपाठ ऐसनऽ मानऽ (बिना स्वचालित कड़ी केरऽ)", - "tog-uselivepreview": "सजीवन झलक के प्रयोग करऽ", + "tog-uselivepreview": "सजीवन झलक के उपयोग करौ", "tog-forceeditsummary": "जों सम्पादन सारांश नै देलऽ गेलऽ छै त॑ हमरा सूचित करऽ", "tog-watchlisthideown": "हमरऽ ध्यानसूची सं॑ हमरऽ करलऽ बदलाव छिपाबऽ", "tog-watchlisthidebots": "हमरऽ ध्यानसूची सं॑ बॉट द्वारा करलऽ बदलाव छिपाबऽ", @@ -52,7 +54,6 @@ "underline-never": "कहियो नै", "underline-default": "प्राथमिक त्वचा या ब्राउज़र", "editfont-style": "सम्पादन क्षेत्र केरऽ मुद्रलिपि शैली:", - "editfont-default": "प्राथमिक ब्राउज़र", "editfont-monospace": "एकल स्थल मुद्रलिपि", "editfont-sansserif": "'सॅन्स-सेरिफ' मुद्रालिपि", "editfont-serif": "'सेरिफ' मुद्रालिपि", @@ -146,13 +147,7 @@ "anontalk": "इ आई॰पी लेली वार्ता", "navigation": "भ्रमण", "and": " आरू", - "qbfind": "खोजॊ", - "qbbrowse": "ब्राउज़", - "qbedit": "संपादन", - "qbpageoptions": "इ पन्ना", - "qbmyoptions": "हमरऽ पन्ना", "faq": "अक्सर पूछलऽ जाबै वाला प्रश्न", - "faqpage": "Project:अक्सर पूछलऽ जाबै वाला सवाल", "actions": "क्रिया", "namespaces": "नामस्थान", "variants": "संस्करण", @@ -177,29 +172,19 @@ "edit-local": "स्थानीय विवरण सम्पादित करऽ", "create": "सृजन करॊ", "create-local": "स्थानीय विवरण जोड़ऽ", - "editthispage": "ई पन्ना के सम्पादन करॊ", - "create-this-page": "इ पन्ना सृजित करऽ", "delete": "हटाबॊ", - "deletethispage": "इ पन्ना हटाबऽ", - "undeletethispage": "इ पन्ना क॑ पुनर्स्थापित करऽ", "undelete_short": "{{PLURAL:$1|एगऽ हटैलऽ गेलै|$1 हटैलऽ गेलै}} बदलाव वापस लानऽ", "viewdeleted_short": "देखऽ {{PLURAL:$1|एगऽ हटैलऽ गेलऽ सम्पादन|$1 हटैलऽ गेलऽ सम्पादन}}", "protect": "सुरक्षित करॊ", "protect_change": "बदलॊ", - "protectthispage": "इ पन्ना सुरक्षित करऽ", "unprotect": "सुरक्षितता बदलऽ", - "unprotectthispage": "इ पन्ना केरऽ सुरक्षितता बदलऽ", "newpage": "नया पन्ना", - "talkpage": "इ पन्ना पर चर्चा करॊ", "talkpagelinktext": "वार्ता", "specialpage": "विशेष पन्ना", "personaltools": "वैयक्तिक औज़ार", - "articlepage": "लेख पन्ना", "talk": "चर्चा", "views": "दर्शाव", "toolbox": "उपकरण", - "userpage": "सदस्य पन्ना देखऽ", - "projectpage": "प्रोजेक्ट पन्ना देखऽ", "imagepage": "फाइल पन्ना देखऽ", "mediawikipage": "सन्देश पृष्ठ देखऽ", "templatepage": "साँचा पृष्ठ देखऽ", @@ -210,7 +195,7 @@ "redirectedfrom": "($1 स॑ भेजलऽ गेलऽ)", "redirectpagesub": "पुन: निर्देशित पन्ना", "redirectto": "क॑ अनुप्रेषित:", - "lastmodifiedat": "$1 के $2 पर इ पन्ना पर अन्तिम बार परिवर्तन भेलै.", + "lastmodifiedat": "$1 के $2 प॑ ई पन्ना प॑ अन्तिम बार परिवर्तन भेलै ।", "viewcount": "इ पृष्ठ {{PLURAL:$1|एक|$1}} बार देखलऽ गेलऽ छै.", "protectedpage": "सुरक्षित पन्ना", "jumpto": "हिन्न॑ जा:", @@ -412,12 +397,17 @@ "showdiff": "बदलाव देखाबऽ", "anoneditwarning": "सावधान: आपन॑ लॉग-इन नै करन॑ छियै. जों आपन॑ सम्पादन करै छियै त॑ इ पृष्ठ के संपादन इतिहास मं॑ आपने के आइ.पी. पता अंकित करलऽ जैतै. जों आपन॑ [$1 लॉगिन] करै छियै अथवा [$2 खाता बनाबै छियै] त॑ अन्य सुविधा के साथ-साथ आपन॑ क॑ संपादनऽ केरऽ श्रेय आपन॑ केरऽ सदस्यनाम पर देलऽ जैतै.", "summary-preview": "सारांश पूर्वावलोकन:", + "blockedtext": "'''आपका सदस्यनाम अथवा आइ॰पी पता अवरोधित कर दिया गया हैं ।'''\n\nअवरोध $1 द्वारा किया गया था।\nअवरोध का कारण है ''$2''\n\n* अवरोध का आरंभ: $8\n* अवरोध की समाप्ति: $6\n* अवरोधित इकाई: $7\n\nइस अवरोध के बारे में चर्चा करने के लिए आप $1 या किसी अन्य [[{{MediaWiki:Grouppage-sysop}}|प्रबन्धक]] से संपर्क कर सकते हैं।\nअगर आपने [[Special:Preferences|अपनी वरीयताओं]] में वैध ई-मेल पता प्रविष्ट किया है तो ही आप 'इस प्रयोक्ता को ई-मेल भेजें' वाली सुविधा का इस्तेमाल कर सकते हैं और आपको इसका इस्तेमाल करने से नहीं रोका गया है।\nआपका मौजूदा आइ॰पी पता $3 है और अवरोध क्रमांक #$5 है।\nअपने किसी भी प्रश्न में कृपया यह सभी जानकारी भी शामिल करें।", "loginreqlink": "लॉग-इन", "newarticle": "(नया)", "newarticletext": "आपनॆ जे लेख चाहै छियै वू अखनी तलक लिखलॊ नै गेलॊ छै. इ लेख लिखै लेली नीचे टाइप करॊ. सहायता लेली [$1 ऐन्जां] क्लीक करॊ.\n\nजों आपनॆ यहां पर गलती सॆं आबी गेलॊ छियै तॆ आपनॊ ब्राउज़र कॆ बॅक (back) पर क्लीक करॊ.", + "anontalkpagetext": "----\nयह वार्ता पृष्ठ उन बेनामी सदस्यों के लिये है जिन्होंने या तो खाता नहीं खोला है या खाते का प्रयोग नहीं कर रहे हैं।\nइसलिये उनकी पहचान के लिये हमें उनका संख्यात्मक आई॰पी॰ पता प्रयोग करना पड़ता है।\nऐसा आई॰पी॰ पता कई सदस्यों के लिए साझा हो सकता है।\nयदि आप एक बेनामी सदस्य हैं और आपको लगता है कि आपके बारे में अप्रासंगिक टीका टिप्पणी की गई है तो कृपया [[Special:CreateAccount|सदस्यता लें]] या [[Special:UserLogin|सत्रारंभ करें]] ताकि अन्य बेनामी सदस्यों में से आपको अलग से पहचाना जा सके।", "noarticletext": "फ़िलहाल ई पन्ना पर कोनो सामग्री नै छै.\nआपन॑ अन्य पन्ना मं॑ [[Special:Search/{{PAGENAME}}|ई सामग्री के खोज]] कर॑ सकै छियै,\n[{{fullurl:{{#Special:Log}}|page={{FULLPAGENAMEE}}}} संबंधित चिट्ठा मं॑ खोज कर॑ सकै छियै],\nया [{{fullurl:{{FULLPAGENAME}}|action=edit}} इ पन्ना क॑ संपादित कर॑ सक॑ छियै].", "noarticletext-nopermission": "\nफ़िलहाल इ पन्ना पर कोय सामग्री नै छै.\nआपने अन्य पन्ना म॑ [[Special:Search/{{PAGENAME}}|इ सामग्री केरऽ खोज]] कर॑ सकै छियै,\n[{{fullurl:{{#Special:Log}}|page={{FULLPAGENAMEE}}}} संबंधित चिट्ठा मं॑ खोज कर॑ सकै छियै],\nया फेरू [{{fullurl:{{FULLPAGENAME}}|action=edit}} इ पन्ना क॑ संपादित कर॑ सकै छियै].", - "previewnote": "'''याद रखॊ, इ केवल एगॊ झलक छेकै आरू अभी तलक सुरक्षित नै करलॊ गेलॊ छै!'''", + "userpage-userdoesnotexist-view": "सदस्य \"$1\" पंजीकृत नै छै।", + "clearyourcache": "'''ध्यान दिऐ:''' संजोला के बाद बदलाव देखै लेली आपन॑ क॑ अपने ब्राउज़र के कैश खाली करै ल॑ पड़॑ सकै छै।\n* '''फ़ायरफ़ॉक्स / सफ़ारी:''' ''Reload'' (रीलोड) दबाते समय ''Shift'' (शिफ़्ट) दबा के रखें, या फिर ''Ctrl-F5'' (कंट्रोल-F5) या ''Ctrl-R'' (कंट्रोल-R) दबाएँ (मैक पर ''⌘-R'')\n* '''गूगल क्रोम:''' ''Ctrl-Shift-R'' (कंट्रोल-शिफ़्ट-R) दबाएँ (मैक पर ''⌘-Shift-R'')\n* '''इन्टर्नेट एक्सप्लोरर:''' ''Ctrl'' (कंट्रोल) दबाकर ''Refresh'' (रिफ़्रेश) करें या ''Ctrl-F5'' (कंट्रोल-F5) दबाएँ\n* '''ऑपेरा:''' ''Tools → Preferences'' (उपकरण → वरीयताएँ) में कैश साफ़ करें", + "previewnote": "'''याद रखऽ, ई खाली एगऽ झलक छेकै आरू अभी तलक सुरक्षित नै करलऽ गेलऽ छै!'''", + "continue-editing": "संपादन क्षेत्र म॑ जा", "editing": "$1 केरऽ सम्पादन चली रहलऽ छै.", "creating": "$1 बनाबऽ", "editingsection": "$1 सम्पादन (अनुभाग)", @@ -427,8 +417,12 @@ "template-protected": "(सुरक्षित)", "template-semiprotected": "(अर्ध-सुरक्षीत)", "hiddencategories": "इ लेख निम्नलिखित {{PLURAL:$1|1 छुपैलऽ श्रेणी म॑|$1 छुपैलऽ श्रेणी म॑}} छै:", + "permissionserrors": "अनुमति त्रुटि", "permissionserrorstext-withaction": "आपन॑क॑ $2 केरऽ अनुमति नै छै, निम्नलिखित {{PLURAL:$1|कारण लेली|कारणऽ लेली}}:", - "moveddeleted-notice": "इ पन्ना हटाय देलऽ गेलऽ छै.\nपन्ना हटाबै केरऽ लॉग संदर्भ लेली नीचें देलऽ गेलऽ छै.", + "recreate-moveddeleted-warn": "'''चेतावनी: आप एक पहले हटाए गए पृष्ठ को पुनर्निर्मित कर रहे हैं।'''\n\nआप को विचार करना चाहिये कि क्या इस पृष्ठ का संपादन जारी रखना उचित होगा।\nइस पृष्ट के हटाने व स्थानांतरण का लॉग सुविधा के लिये उपलब्ध है:", + "moveddeleted-notice": "ई पन्ना हटाय देलऽ गेलऽ छै ।\nपन्ना हटाबै केरऽ लॉग संदर्भ लेली नीचें देलऽ गेलऽ छै ।", + "content-model-wikitext": "विकिपाठ्य", + "undo-failure": "ई बीच अन्य बदलाव होला के कारण ई संपादन पूर्ववत करना संभव नै छै।", "viewpagelogs": "इ पन्ना केरऽ लॉग देखॊ", "currentrev-asof": "$1 केरऽ समय के संस्करण", "revisionasof": "$1 केरऽ संस्करण", @@ -439,26 +433,34 @@ "cur": "चालू", "last": "पिछला", "histlegend": "फर्क चयन: फर्क देखै लेली पुराना अवतरणॊ के आगे देलॊ गेलॊ रेडियो बॉक्सपर क्लीक करॊ तथा एन्टर करॊ अथवा नीचॆं देलॊ बटन पर क्लीक करॊ
\nलिजेंड: (चालू) = सद्य अवतरण के बीच मॆ फर्क,\n(आखिरी) = पिछला अवतरण के बीच मॆं फर्क, छो = छोटा बदलाव", - "history-fieldset-title": "इतिहास के विचरण करॊ", - "histfirst": "बहुत पहिले के", - "histlast": "एकदम हाल के", + "history-fieldset-title": "अवतरण हेतु खोजऽ", + "histfirst": "सबस॑ पहलकरऽ", + "histlast": "सबस॑ नया", + "history-feed-title": "अवतरण इतिहास", + "history-feed-description": "विकि प॑ उपलब्ध ई पृष्ठ केरऽ अवतरण इतिहास", + "history-feed-item-nocomment": "$1 $3 क॑ $4 बजे", "rev-delundel": "दिखाब/छुपाबऽ", "revdel-restore": "दृश्यता बदलॊ", + "mergelog": "एकत्रीकरण लॉग", "revertmerge": "अलग करॊ", "history-title": "\"$1\" केरऽ अवतरण इतिहास", "difference-title": "\"$1\" केरऽ संशोधनऽ के बीच फरक", "lineno": "पंक्ति $1:", "compareselectedversions": "च़यन करलॊ अवतरणों मॆं फर्क देखियै", "editundo": "पूर्ववत करऽ", + "diff-empty": "(कोय फरक नै)", "diff-multi-sameuser": "({{PLURAL:$1|एगऽ मध्यवर्ती संशोधन|$1 मध्यवर्ती संशोधन}} एक्के यूजर द्वारा नै दिखलैलऽ गेलऽ)", + "diff-multi-otherusers": "({{PLURAL:$2|एक अन्य सदस्य|$2 सदस्यऽ}} द्वारा {{PLURAL:$1|करलऽ गेलऽ बीच के एगो अवतरण नै दर्शैलऽ|करलऽ गेलै बीच के $1 अवतरण नै दर्शैलऽ गेलऽ}})", "searchresults": "खोज परिणाम", "searchresults-title": "\"$1\" लेली खोज परिणाम", "notextmatches": "कोनो पन्ना मॆं इ सामग्री नै मिललै.", "prevn": "पिछला {{PLURAL:$1|$1}}", "nextn": "अगला {{PLURAL:$1|$1}}", + "prevn-title": "{{PLURAL:$1|पिछला|पिछला सब}} $1 परिणाम", "nextn-title": "अगला $1 {{PLURAL:$1|नतीजा|जादा नतीजा}}", "shown-title": "हर पन्ना प॑ $1 {{PLURAL:$1|result|results}} दिखाबऽ", "viewprevnext": "देख़ऽ ($1 {{int:pipe-separator}} $2) ($3)", + "searchmenu-exists": "ई विकि पर \"[[:$1]]\" नाम स॑ एगो पृष्ठ छेकै। {{PLURAL:$2|0=|अन्य प्राप्त खोज परिणाम भी देखऽ।}}", "searchmenu-new": "इ विकि पर \"[[:$1]]\" नाम केरऽ पन्ना बनाबऽ!{{PLURAL:$2|0=|आपने केरऽ खोज सं॑ मेल खैतें पन्ना भी देखऽ.|खोज परिणाम भी देखऽ।}}", "searchprofile-articles": "सामग्री पृष्ठ", "searchprofile-images": "मल्टीमीडिया", @@ -469,8 +471,10 @@ "searchprofile-everything-tooltip": "(वार्ता पृष्ठ सहित) सब्भे सामग्री मं॑ खोजऽ", "searchprofile-advanced-tooltip": "विशेष नामस्थानऽ मं॑ खोजऽ", "search-result-size": "$1 ({{PLURAL:$2|1 शब्द|$2 शब्द}})", - "search-redirect": "($1 क॑ अनुप्रेषित)", + "search-result-category-size": "{{PLURAL:$1|$1 सदस्य}} ({{PLURAL:$2|$2 उपश्रेणी|$2 उपश्रेणियाँ}}, {{PLURAL:$3|$3 सञ्चिका|$3 सञ्चिकाएँ}})", + "search-redirect": "($1 स॑ पुनर्निर्देशित)", "search-section": "(विभाग $1)", + "search-file-match": "(फ़ाइल सामग्री स॑ मेल खाय छै)", "search-suggest": "की आपन॑ के मतलब $1 छै ?", "search-interwiki-caption": "अन्य प्रकल्प", "search-interwiki-default": "$1 के रिज़ल्ट:", @@ -482,17 +486,21 @@ "powersearch-ns": "नामस्थानॊ मॆ खोजॊ:", "preferences": "वरीयता", "mypreferences": "वरीयता", + "group-bot": "बॉट", "group-sysop": "प्रचालक", + "grouppage-bot": "{{ns:project}}:बॉट", "grouppage-sysop": "{{ns:project}}:प्रचालक", "right-writeapi": "लेखन API के प्रयोग करऽ", "newuserlogpage": "नयऽ सदस्यऽ के सूची", "rightslog": "सदस्य अधिकार सूची", "action-edit": " ई पन्ना के सम्पादन करॊ", + "action-createaccount": "ई सदस्य के खाता खोलऽ", "nchanges": "$1 {{PLURAL:$1|बदलाव|बदलाव}}", "enhancedrc-history": "इतिहास", "recentchanges": "हाल मं॑ होलऽ बदलाव", "recentchanges-legend": "हाल केरऽ परिवर्तन संबंधी विकल्प", "recentchanges-summary": "इस विकि पर हाल मं॑ होलऽ बदलाव इ पन्ना पर देखलऽ जाब॑ सकै छै.", + "recentchanges-noresult": "ई अवधि के दौरान ई मापदंड क॑ पूरा करतें कोय परिवर्तन नै करलऽ गेलऽ छै।", "recentchanges-feed-description": "इ फ़ीड मॆ होय वाला विकि पर हाल मॆ होलॊ बदलाव देखियै.", "recentchanges-label-newpage": "इ संपादन सं॑ तैयार होलऽ नया पन्ना", "recentchanges-label-minor": "इ एगऽ छोटऽ बदलाव छेकै", @@ -501,6 +509,7 @@ "recentchanges-label-plusminus": "पृष्ठ आकार इ बाइट संख्या सं॑ बदललै", "recentchanges-legend-heading": "विवरण:", "recentchanges-legend-newpage": "{{int:recentchanges-label-newpage}} ([[Special:NewPages|नया पन्ना के सूची]] क॑ भी देखऽ)", + "rcnotefrom": "नीचे $2 के बाद स॑ ($1 तलक) {{PLURAL:$5|होलऽ बदलाव दर्शैलऽ गेलऽ छै |होलऽ बदलाव दर्शैलऽ गेलऽ छै}}।", "rclistfrom": "$3 $2 सं॑ नया बदलाव देखलाबऽ", "rcshowhideminor": "छोटऽ बदलाव $1", "rcshowhideminor-show": "देखाबऽ", @@ -509,10 +518,12 @@ "rcshowhidebots-show": "देखाबऽ", "rcshowhidebots-hide": "छुपाबऽ", "rcshowhideliu": "पंजीकृत सदस्य $1", + "rcshowhideliu-show": "देखाबऽ", "rcshowhideliu-hide": "छुपाबऽ", "rcshowhideanons": "$1 अनामक सदस्यऽ", "rcshowhideanons-show": "देखाबऽ", "rcshowhideanons-hide": "छुपाबऽ", + "rcshowhidepatr": "परीक्षित सम्पादन $1", "rcshowhidemine": "हमरऽ संपादन $1", "rcshowhidemine-show": "देखाबऽ", "rcshowhidemine-hide": "छुपाबऽ", @@ -527,7 +538,9 @@ "rc-change-size-new": "बदलाव केरऽ बाद $1 {{PLURAL:$1|बाइट}}", "rc-enhanced-expand": "विस्तृत जानकारी देखाबॊ (ऐकरा लेली जावास्क्रिप्ट चाहियॊ)", "rc-enhanced-hide": "विस्तृत जानकारी छिपाबॊ", + "rc-old-title": "मूल रूप स॑ \"$1\" नाम स॑ बनैलऽ गेलऽ छेलै", "recentchangeslinked": "इ पृष्ठ संबंधी बदलाव", + "recentchangeslinked-feed": "इ पृष्ठ संबंधी बदलाव", "recentchangeslinked-toolbox": "इ पृष्ठ संबंधी बदलाव", "recentchangeslinked-title": "\"$1\" म॑ होलऽ बदलाव", "recentchangeslinked-summary": "कोनो पन्ना के हवाले कत्त॑ भी पन्ना मौजूद हुअ॑ सकै छै, इ सूची उ पन्ना (या कोनो श्रेणी के सदस्यऽ) मं॑ होलऽ हाल के बदलाव देखाबै छै.\n[[Special:Watchlist|आपन॑ के ध्यानसूची]] मं॑ मौजूद पन्ना '''मोटा''' अक्षरऽ मं॑ दिखतै.", @@ -536,30 +549,39 @@ "upload": "फाईल अपलोड", "uploadlogpage": "अपलोड सूची", "filedesc": "सारांश", + "license": "लाइसेन्सिंग:", "license-header": "लाइसेन्सिंग", "imgfile": "फाइल", + "listfiles": "फ़ाइल सूची", "file-anchor-link": "फ़ाइल", "filehist": "फाइल के इतिहास", "filehist-help": "संचिका पुरानऽ समय में कैन्हऽ दिखै रहै इ जानै लेली वांछित दिनांक/समय पर चटका लगाबऽ.", + "filehist-revert": "पूर्ववत करऽ", "filehist-current": "मौजूदा", "filehist-datetime": "तारीख/समय", "filehist-thumb": "थम्बनेल", "filehist-thumbtext": "$1 केरऽ समय के संस्करण के अँगूठाकार प्रारूप", + "filehist-nothumb": "कोय अंगूठाकार नै", "filehist-user": "सदस्य", "filehist-dimensions": "आयाम", "filehist-comment": "टिप्पणी", "imagelinks": "फ़ाइल केरऽ उपयोग", "linkstoimage": "निम्नोक्त {{PLURAL:$1|पन्ने|$1 पन्ना सीनी}} मं॑ इ संचिका के हवाले छै:", + "linkstoimage-more": "{{PLURAL:$1|$1}} से अधिक पृष्ठ इस फ़ाइल से जुड़ते हैं।\nनिम्नोक्त सूची फ़ाइल से जुड़ने वाले {{PLURAL:$1|$1 पृष्ठ|$1 पृष्ठ सब}} दिखाती है।\n[[Special:WhatLinksHere/$2|पूरी सूची]] भी उपलब्ध है।", "nolinkstoimage": "इ फ़ाइल स॑ कोय पन्ना नै जुड़ै छै.", + "linkstoimage-redirect": "$1(फ़ाइल पुनर्निर्देश) $2", "sharedupload": "ई फाईल $1 सॆ छै आरू संभवतः अन्य परियोजना भी एकरॊ इस्तेमाल करी रहलॊ होतै.", "sharedupload-desc-here": "इ फ़ाइल $1 स॑ छेकै आरू अन्य परियोजना द्वारा भी प्रयोग करलऽ जाब॑ सकै छै.\nवहाँ पर एकरऽ [$2 फ़ाइल विवरण पृष्ठ] मं॑ मौजूद विवरण निम्नांकित छै.", + "filepage-nofile": "ई नाम के कोय फ़ाइल मौजूद नै छै।", "uploadnewversion-linktext": "इ फाईल के नया संस्करण अपलॊड करॊ", "upload-disallowed-here": "आपन॑ इ फ़ाइल क॑ अधिलेखित नै कर॑ सकै छो", "randompage": "कोय्यो पन्ना", "statistics": "आँकड़ा", + "double-redirect-fixer": "पुनर्प्रेषण मिस्त्री", "nbytes": "{{PLURAL:$1|बाइट|बाइट}}", "nmembers": "$1 {{PLURAL:$1|सदस्य|जादा सदस्य}}", "prefixindex": "इ उपसर्ग वाल सब्भे पन्ना", + "listusers": "सदस्यसूची", "newpages": "नया पन्ना", "move": "स्थानांतरण", "movethispage": "इ पन्ना स्थानांतरित करॊ", @@ -568,29 +590,40 @@ "booksources": "पुस्तक स्रोत", "booksources-search-legend": "पुस्तक स्रोत खोजऽ", "booksources-search": "खोजऽ", + "specialloguserlabel": "कर्ता:", + "speciallogtitlelabel": "लक्ष्य (शीर्षक या \"{{ns:सदस्यनाम}}:सदस्यनाम\" सदस्य हेतु):", "log": "लॉग सूची", + "all-logs-page": "सब सार्वजनिक लॉग", + "alllogstext": "{{SITENAME}} की सभी उपलब्ध लॉगों की प्रविष्टियों का मिला-जुला प्रदर्शन।\nआप और बारीकी के लिए लॉग का प्रकार, सदस्य नाम (लघु-दीर्घ-अक्षर संवेदी), या प्रभावित पृष्ठ (लघु-दीर्घ-अक्षर संवेदी) चुन सकते हैं।", + "logempty": "लॉग में ऐसनऽ प्रविष्टि नै छै।", "allpages": "सब्भे पन्ना", "prevpage": "पिछला पन्ना ($1)", "allpagesfrom": "देलॊ गेलॊ अक्षर सॆं आरंभ होयवाला लेख दर्शाबॊ:", "allpagesto": "ऐना समाप्त होय वाला पन्ना दिखाबॊ:", "allarticles": "सब्भे पन्ना", "allpagessubmit": "चलऽ", + "allpages-hide-redirects": "पुनर्निर्देश छुपाबऽ", "categories": "श्रेणी", "linksearch": "बाहरी कड़ी", "listgrouprights-members": "(सदस्य सूची)", "emailuser": "इ सदस्य कॆ ई-मेल भेजॊ", - "watchlist": "हमरॊ ध्यानसूची", + "usermessage-editor": "सिस्टम दूत", + "watchlist": "ध्यानसूची", "mywatchlist": "ध्यानसूची", + "watchlistfor2": "$1 $2 लेली", "addedwatchtext": "\"[[:$1]]\" आपनॆके [[Special:Watchlist|ध्यानसूची]] मॆं \"$1\" केरॊ समावेश करी देलॊ गेलॊ छै.\nभविष्य मॆं इ पन्ना तथा इ पन्ने केरॊ वार्ता मॆं होय वाला बदलाव आपनॆकॆ ध्यानसूची मॆं दिखतै तथा [[Special:RecentChanges|हाल मॆं होलॊ बदलावॊ के सूची]] मॆं ई पन्ना बोल्ड दिखतै ताकि आपनॆ आसानी सॆं एकरॊ ध्यान रखॆ सकियै.\n\n

अगर आपनॆकॆ इ पन्ना कॆ अपनॊ ध्यानसूची सॆं निकालना छै तॆ [[Special:RecentChanges|टटका परिवर्तन]] पर क्लिक करॊ.", "removedwatchtext": "\"[[:$1]]\" नामक पन्ना कॆ आपनॆ के [[Special:Watchlist|ध्यानसूची]] सॆं हटाय देलॊ गेलॊ छै.", "watch": "ध्यान रखऽ", "watchthispage": "ई पन्ना ध्यानसूची में डालॊ", "unwatch": "ध्यान हटाबॊ", - "watchlist-details": "वार्ता पन्ना केरॊ अलावा {{PLURAL:$1|$1 पन्ना|$1 पन्ने}} आपने के ध्यानसूची मॆं छै.", - "wlshowlast": "पिछला $1 घंटा $2 दिन देखॊ", + "watchlist-details": " {{PLURAL:$1|$1 पृष्ठ}} आपन॑ के ध्यानसूची म॑ छै (वार्ता पृष्ठऽ के अलावा)।", + "wlheader-showupdated": "आपन॑ के देखला गेला के बाद जोन पृष्ठऽ म॑ बदलाव होतै, ओकरऽ कड़ी गहरा रंग के दिखतै।", + "wlnote": "$3 क॑ $4 बजे तलक पिछला $2 {{PLURAL:$2|घंटा|घंटां}} म॑ {{PLURAL:$1|हुआ एक|होलै $1}} परिवर्तन निम्न {{PLURAL:$1|छै|छैं}}।", + "wlshowlast": "पिछला $1 घंटा $2 दिन देखऽ", "watchlist-options": "ध्यानसूची विकल्प", "watching": "ध्यान दय रहलॊ छै...", "unwatching": "ध्यान हटाय रहलॊ छियै...", + "enotif_reset": "सब पृष्ठ देखलऽ जैन्हऽ दर्शाबऽ", "deletepage": "पन्ना हटाबॊ", "confirmdeletetext": "आपनॆ एगॊ लेख ओकरॊ सब्भॆ अवतरणॊ के साथ हटाय लॆ चाहै छहॊ.\nआपनॆ सॆं अनुरोध छै कि आपनॆ जे करी रहलॊ छियै वू मीडिया विकि के [[{{MediaWiki:Policy-url}}|नीतिनुसार]] छै इ बात के पुष्टि करी लॆ तथा क्रिया करला सॆं पहले आपनॊ क्रिया के परिणाम जानी लॆ.", "actioncomplete": "कार्य पूर्ण", @@ -665,40 +698,51 @@ "contributions-title": "$1 लेली सदस्यॊ के योगदान", "mycontris": "योगदान", "anoncontribs": "योगदान", - "contribsub2": "$1 लेली ($2)", - "uctop": "(उपर)", + "contribsub2": "{{GENDER:$3|$1}} ($2) लेली", + "nocontribs": "ई कसौटी स॑ मिलै वाला बदलाव मिललै नै ।", + "uctop": "मौजूदा", "month": "इ महिना स॑ (आरू पुरान॑):", "year": "इ साल स॑ (आरू पुरानऽ):", "sp-contributions-newbies": "सिर्फ नया सदस्यॊ के योगदान दर्शाबॊ", "sp-contributions-blocklog": "ब्लॉक सूची", + "sp-contributions-uploads": "अपलोड", + "sp-contributions-logs": "लॉग सूची", + "sp-contributions-talk": "वार्ता", "sp-contributions-search": "योगदान लेली खोज", "sp-contributions-username": "आईपी एड्रेस या सदस्यनाम:", + "sp-contributions-toponly": "खाली वू सम्पादनऽ क॑ दिखाबऽ जे नवीनतम संशोधन छेकै", + "sp-contributions-newonly": "केवल वे सम्पादन दिखाएँ जिनसे पृष्ठ निर्मित हुए हों हुअ॑", "sp-contributions-submit": "खोज", "whatlinkshere": "एन्जां की जुड़तै", "whatlinkshere-title": "$1 सं॑ जुड़लऽ पन्ना", "whatlinkshere-page": "पन्ना:", "linkshere": "नीचे के सब पन्ना '''[[:$1]]''' स॑ जुड़लऽ:", + "nolinkshere": "[[:$1]] स॑ कोय भी पन्ना नै जुड़लऽ छै।", "isredirect": "पुन: निर्दिष्ट पन्ना", "istemplate": "मिलाबऽ", "isimage": "फाइल लिंक", "whatlinkshere-prev": "{{PLURAL:$1|पिछला|पिछला सीनी $1}}", "whatlinkshere-next": "{{PLURAL:$1|अगला|अगला $1}}", "whatlinkshere-links": "← लिंक", - "whatlinkshere-hideredirs": "$1 अनुप्रेषितें", + "whatlinkshere-hideredirs": "$1 पुनर्निर्देश", "whatlinkshere-hidetrans": "$1 ट्रान्स्क्ल्युजन्स", "whatlinkshere-hidelinks": "$1 लिंक", + "whatlinkshere-hideimages": "$1 फ़ाइल कड़ी", "whatlinkshere-filters": "फिल्टर्स", "blockip": "अवरोधित करॊ", "ipboptions": "२ घंटा:2 hours,१ दिन:1 day,३ दिन:3 days,१ हफ्ता:1 week,२ हफ्ता:2 weeks,१ महिना:1 month,३ महिना:3 months,६ महिना:6 months,१ साल:1 year,अनंत:infinite", "ipblocklist": "अवरोधित आईपी पता व सदस्यनाम", + "infiniteblock": "इनफाईनाईट", "blocklink": "अवरोधित करऽ", "unblocklink": "अवरोध हटाएँ (अनब्लॉक)", "change-blocklink": "ब्लॉक बदलॊ", "contribslink": "योगदान", "blocklogpage": "ब्लॉक सूची", "blocklogentry": "\"[[$1]]\" कॆ $2 $3 तलक बदलाव करै सॆं रोकी देलॊ गेलॊ छै.", + "reblock-logentry": "[[$1]] केरऽ अवरोध जमाव बदललऽ गेलै, मियाद अब॑ $2 $3 प॑ खत्म होतै", "unblocklogentry": "$1 ब्लॉक निकाली देलॊ गेलॊ छै.", "block-log-flags-nocreate": "खाता निर्माण पर रोक", + "proxyblocker": "प्रॉक्सी ब्लॉकर", "movepagetext": "नीचॆं देलॊ पर्चा पन्ना के नाम बदली देतै, ऐकरॊ सारा इतिहास भी नयॊ नाम सॆं दिखना शुरू होय जैतै.\nपुराना शीर्षक नया नाम कॆ अनुप्रेषित करी लेतै.\nमूल शीर्षक दन्नॆ जाय वाला अग्रेषणॊ कॆ आपनॆ स्वचालित रूपॊ सॆं बदलॆ सकॆ छियै.\nयदि आपनॆ ऐन्हॊ नै करै छियै तॆ कृपया [[Special:DoubleRedirects|दोहरा]] पुनर्निर्देशण या [[Special:BrokenRedirects|टूटलॊ पुनर्निर्देशन]] लेली ज़रूर जाँच करॊ.\nकड़ी सीनी सही जगह इंगित करी रहलॊ छै, ई सुनिश्चित करना आपनॆ कॆ जिम्मेदारी छै.\n\nअगर नयॊ शीर्षक के लेख पहलै सॆं छै तॆ स्थानांतरण '''नै''' होतै. पर अगर नयॊ शीर्षक वाला लेख खाली छै अथवा कहीं आरू अनुप्रेषित करै छियै आरू साथ ही ओकरॊ पुरानॊ संस्करण नै छै तॆ स्थानांतरण होय जैतै.\nएकरॊ मतलब कि यदि आपनॆ सॆं गलती हो जाय तॆ आपनॆ वापस पुरानॊ नाम पर इ पन्ना कॆ स्थानांतरण करॆ सकॆ छियै, आरू साथ ही आपनॆ कोनॊ मौजूदा पन्ना के बदले ई स्थानांतरण नै करॆ सकॆ छियै.\n\n'''चेतावनी!'''\nयदि पन्ना काफ़ी लोकप्रिय छै तॆ ओकरा लेली ई एक बहुत बड़ा व अकस्मात् परिवर्तन हुऎ सकॆ छै;\nआगू बढ़ला सॆं पहले अंजाम अच्छा सॆं समझी लॆ.\n\n'''सूचना!'''\nस्थानांतरण करला सॆं कोय भी महत्वपूर्ण लेख मॆं अनपेक्षित बदलाव हुऎ सकॆ छै\nआपनॆ सॆं अनुरोध छै कि आपनॆ एकरॊ परिणाम जानी लियै.", "movepagetalktext": "संबंधित वार्ता पृष्ठ ऐकरॊ साथ स्थानांतरीत नै होतै '''अगर:'''\n* आपनॆ पन्ना दोसरॊ नामस्थान मॆं स्थानांतरीत करी रहलॊ छहॊ.\n* इ नाम के वार्ता पृष्ठ पहलॆ सॆं बनलॊ छै, या\n* नीचॆं देलॊ गेलॊ चेक बॉक्स आपनॆ निकाली देनॆ छियै.\n\nइ मामला मॆं आपनॆकॆ स्वयं इ पन्ना जोडै लॆ पड़तै.", "newtitle": "नया शीर्षक दन्नॆ:", @@ -713,6 +757,7 @@ "revertmove": "पुरानॊ अवतरण पर लॆ चलॊ (रिवर्ट)", "export": "पन्ना क॑ निर्यात करऽ", "thumbnail-more": "बड़ा करऽ", + "importlogpage": "आयात सूची", "tooltip-pt-userpage": "{{GENDER:|आपन॑ के प्रयोक्ता}} पन्ना", "tooltip-pt-mytalk": "{{GENDER:|आपन॑ के}} वार्ता पृष्ठ", "tooltip-pt-preferences": "{{GENDER:|आपन॑ के}} वरीयता", @@ -747,7 +792,7 @@ "tooltip-feed-rss": "इ पन्ना के आरएसएस फ़ीड", "tooltip-feed-atom": "इ पन्ना के अणु फ़ीड", "tooltip-t-contributions": "{{GENDER:$1| केरऽ ई साल}} म॑ सदस्य के योगदान केरऽ सूची देखियै", - "tooltip-t-emailuser": "इस सदस्य कॆ इमेल भेजॊ", + "tooltip-t-emailuser": "{{GENDER:$1|ई सदस्य}} क॑ इमेल भेजऽ", "tooltip-t-upload": "फाईल लादऽ (अपलोड )", "tooltip-t-specialpages": "ख़ास पन्ना केरऽ सूची", "tooltip-t-print": "इ पन्ना के छापे लायक संस्करण.", @@ -757,6 +802,7 @@ "tooltip-ca-nstab-special": "इ एगऽ खास पन्ना छै, आपन॑ एकरा बदल॑ नै सकै छियै.", "tooltip-ca-nstab-project": "प्रोजेक्ट पन्ना देखियै", "tooltip-ca-nstab-image": "फाइल के पन्ना देखऽ", + "tooltip-ca-nstab-mediawiki": "प्रणाली सन्देश देखऽ", "tooltip-ca-nstab-template": "टेम्प्लेट देखियै", "tooltip-ca-nstab-category": "श्रेणी पन्ना देखऽ", "tooltip-minoredit": "ऐकरा छोटा बदलाव के तौर पर दर्ज करॊ", @@ -769,10 +815,45 @@ "tooltip-undo": "\"पुरानऽ स्थिति पर लानऽ\" इ बदलाव क॑ वापस ल॑ जाय क॑ संपादन पर्चा क॑ झलक रीति म॑ दिखलाबै छै.\nएकरऽ जरिया सं॑ सारांश मं॑ पुरानऽ स्थिति मं॑ लानै के कारण लिखलऽ जाब॑ पार॑.", "tooltip-summary": "एक संक्षिप्त सारांश दर्ज करऽ", "simpleantispam-label": "स्पैम-विरोधी जाँच.\nएकरा म॑ इ नै भरऽ!", + "pageinfo-title": "\"$1\" लेली जानकारी", + "pageinfo-header-basic": "मूल जानकारी", + "pageinfo-header-edits": "सम्पादन इतिहास", + "pageinfo-header-restrictions": "पृष्ठ सुरक्षा", + "pageinfo-header-properties": "पृष्ठ जानकारी", + "pageinfo-display-title": "प्रदर्शित शीर्षक", + "pageinfo-default-sort": "डिफ़ॉल्ट सॉर्ट की", + "pageinfo-length": "पृष्ठ आकार (बाइट्स म॑)", + "pageinfo-article-id": "पृष्ठ आइ॰डी", + "pageinfo-language": "पृष्ठ सामग्री भाषा", + "pageinfo-content-model": "पृष्ठ सामग्री के नमूना", + "pageinfo-robot-policy": "सर्च इंजन बॉट द्वारा अनुक्रमण", + "pageinfo-robot-index": "अनुमतित", + "pageinfo-robot-noindex": "नै अनुमतित", + "pageinfo-watchers": "पृष्ठ पर नज़र रखै वाला के संख्या", + "pageinfo-few-watchers": "$1 स॑ कम ध्यान दै {{PLURAL:$1|वाला|वालां}}", + "pageinfo-redirects-name": "इ पृष्ठ क॑ पुनर्निर्देश के संख्या", + "pageinfo-subpages-name": "ई पृष्ठ के उप-पृष्ठ", + "pageinfo-subpages-value": "$1 ($2 {{PLURAL:$2|पुनर्निर्देश}}; $3 {{PLURAL:$3|ग़ैर-पुनर्निर्देश}})", + "pageinfo-firstuser": "पृष्ठ निर्माता", + "pageinfo-firsttime": "पृष्ठ निर्माण तिथि", + "pageinfo-lastuser": "नवीनतम सम्पादक", + "pageinfo-lasttime": "नवीनतम सम्पादन तिथि", + "pageinfo-edits": "संपादन के कुल संख्या", + "pageinfo-authors": "लेखक सिनी के संख्या", + "pageinfo-recent-edits": "हाल म॑ होलऽ सम्पादनऽ के संख्या (पिछ्ला $1 म॑)", + "pageinfo-recent-authors": "हाल ही म॑ लेखकऽ के संख्या", + "pageinfo-magic-words": "जादुई {{PLURAL:$1|शब्द}} ($1)", + "pageinfo-hidden-categories": "छुपलऽ {{PLURAL:$1|श्रेणी|श्रेणियाँ}} ($1)", + "pageinfo-templates": "प्रयुक्त {{PLURAL:$1|साँचा|साँचां}} ($1)", "pageinfo-toolboxlink": "पृष्ठ सूचना", + "pageinfo-contentpage": "सामग्री पृष्ठऽ म॑ गिनलऽ जाय छै", + "pageinfo-contentpage-yes": "हाँ", + "patrol-log-page": "परीक्षण लॉग", "previousdiff": " पुराना संपादन", "nextdiff": "टटका संपादन", + "widthheightpage": "$1 × $2, $3 {{PLURAL:$3|पृष्ठ|पृष्ठ सब}}", "file-info-size": "$1 × $2 चित्रतत्व, संचिका के आकार: $3, MIME प्रकार: $4", + "file-info-size-pages": "$1 × $2 पिक्सेल, फ़ाइल केरऽ आकार: $3 , MIME प्रकार: $4 , $5 {{PLURAL:$5| page|pages}}", "file-nohires": "स॑ ज्यादा रिज़ोल्यूशन उपलब्ध नै छै.", "svg-long-desc": "SVG फ़ाईल, साधारणत: $1 × $2 पीक्सेल्स, फ़ाईल केरॊ आकार: $3", "show-big-image": "संपूर्ण रिजोल्यूशन", @@ -799,16 +880,42 @@ "exif-orientation-1": "सामान्य", "namespacesall": "सब्भे", "monthsall": "सब्भे", + "imgmultipagenext": "अगला पृष्ठ →", + "imgmultigo": "जा !", + "imgmultigoto": "$1 पृष्ठ प॑ जा", + "watchlisttools-clear": "ध्यानसूची खाली करऽ", "watchlisttools-view": "प्रासंगिक बदलाव देखॊ", "watchlisttools-edit": "ध्यानसूची देखॊ आरू संपादित करॊ.", "watchlisttools-raw": "अनिर्मित ध्यानसूची देखॊ एवम्‌ संपादित करॊ", "signature": "[[{{ns:user}}:$1|$2]] ([[{{ns:user_talk}}:$1|वार्ता]])", + "redirect": "फ़ाइल, सदस्य, पृष्ठ, अवतरण या लॉग आईडी द्वारा अनुप्रेषित", + "redirect-summary": "ई विशेष पृष्ठ एगो फाइल (फाइल नाम देलऽ गेलऽ छै), एक पृष्ठ (एक अवतरण पता अथवा पृष्ठ पता दिया गया), एक सदस्य पृष्ठ (एक संख्यात्मक सदस्य पता) अथवा एक लॉग प्रविष्टि (लॉग पता दिया गया) पर अनुप्रेषित होता है। उपयोग: [[{{#Special:Redirect}}/file/Example.jpg]], [[{{#Special:Redirect}}/page/64308]], [[{{#Special:Redirect}}/revision/328429]], [[{{#Special:Redirect}}/user/101]], अथवा [[{{#Special:Redirect}}/logid/186]].", + "redirect-submit": "चलऽ", + "redirect-lookup": "ढूँढऽ:", + "redirect-value": "मूल्य:", + "redirect-user": "सदस्य आई॰डी", + "redirect-page": "पृष्ठ आइ॰डी", + "redirect-revision": "पृष्ठ अवतरण संख्या", + "redirect-file": "फ़ाइल नाम", "specialpages": "खास पन्ना", "tag-filter": "[[Special:Tags|चिप्पी]] छननी:", "tag-list-wrapper": "([[Special:Tags|{{PLURAL:$1|टैग}}]]: $2)", + "tags-active-yes": "हाँ", + "tags-active-no": "नै", + "tags-hitcount": "$1 {{PLURAL:$1|बदलाव|बदलाव सिनी}}", "logentry-delete-delete": "$1 न॑ पृष्ठ $3 {{GENDER:$2|हटाय}} देलकै", + "logentry-delete-restore": "$1 न॑ पृष्ठ $3 ($4) क॑ {{GENDER:$2|पुनर्स्थापित}} करी देलकै", + "logentry-delete-revision": "$1 न॑ $3 पृष्ठ के {{PLURAL:$5|एक अवतरण|$5 अवतरणों}} के दृश्यता {{GENDER:$2|बदललकै}}: $4", + "revdelete-content-hid": "सामग्री छिपैलऽ गेलै", "logentry-move-move": "$1 न॑ $3 पृष्ठ $4 पर {{GENDER:$2|स्थानांतरित}} करलकै", + "logentry-move-move-noredirect": "$1 न॑ $3 पर पुनर्निर्देश छोड़ल॑ बिना ओकरा $4 पर {{GENDER:$2|स्थानांतरित}} करलकै", + "logentry-move-move_redir": "$1 ने $4 स॑ पुनर्निर्देश हटायक॑ $3 क॑ ओकरा प॑ {{GENDER:$2|स्थानांतरित}} करलकै", + "logentry-patrol-patrol-auto": "$1 न॑ $3 पृष्ठ केरऽ $4 अवतरण क॑ स्वचालित रूप स॑ परीक्षित {{GENDER:$2|चिन्हित}} करलकै", "logentry-newusers-create": "यूजर खाता $1 {{GENDER:$2|बनैलऽ गेलै}}", + "logentry-newusers-autocreate": "खाता $1 स्वचालित रूप स॑ {{GENDER:$2|बनैलऽ}} गेलऽ छेलै", "logentry-upload-upload": "$1 {{GENDER:$2|अपलोड}} $3", - "searchsuggest-search": "खोजऽ" + "logentry-upload-overwrite": "$1 {{GENDER:$2|अपलोड करलऽ गेलै}} $3 केरऽ एगो नया अवतरण", + "searchsuggest-search": "{{SITENAME}} मं॑ खोजऽ", + "duration-days": "$1 {{PLURAL:$1|दिन}}", + "randomrootpage": "अविशिष्ट मूल पृष्ठ" } diff --git a/languages/i18n/bg.json b/languages/i18n/bg.json index 709d33bb93..f7d6085961 100644 --- a/languages/i18n/bg.json +++ b/languages/i18n/bg.json @@ -1223,6 +1223,7 @@ "action-deleterevision": "изтриване на версии", "action-deletelogentry": "изтриване на записи от дневника", "action-deletedhistory": "преглед на изтритата история на тази страница", + "action-deletedtext": "преглед на текста на изтритата версия", "action-browsearchive": "търсене на изтрити страници", "action-undelete": "възстановяване на страници", "action-suppressrevision": "преглеждане и възстановяване на скрити версии", @@ -1248,6 +1249,7 @@ "action-editcontentmodel": "редактиране на модела на съдържанието на страница", "action-managechangetags": "създаване и (де)активиране на етикети", "action-applychangetags": "прилагане на етикетите заедно с промените ви", + "action-deletechangetags": "изтриване на етикети от базата данни", "action-purge": "почисти кеша на тази страница", "nchanges": "$1 {{PLURAL:$1|промяна|промени}}", "enhancedrc-since-last-visit": "$1 {{PLURAL:$1|от последното посещение}}", @@ -1280,7 +1282,7 @@ "rcfilters-days-show-hours": "$1 {{PLURAL:$1|час|часа}}", "rcfilters-highlighted-filters-list": "Маркирани: $1", "rcfilters-quickfilters": "Запазени филтри", - "rcfilters-quickfilters-placeholder-title": "Няма запазени препратки", + "rcfilters-quickfilters-placeholder-title": "Няма запазени филтри", "rcfilters-quickfilters-placeholder-description": "За да запазите настройките на филтрите и да ги използвате повторно по-късно, щракнете върху иконката за отметки в блока „Активни филтри“ по-долу.", "rcfilters-savedqueries-defaultlabel": "Съхранени филтри", "rcfilters-savedqueries-rename": "Преименуване", @@ -1356,7 +1358,7 @@ "rcfilters-filter-categorization-description": "Записи от добавяне или премахване на страници от категории.", "rcfilters-filter-logactions-label": "Записани в дневника действия", "rcfilters-filter-logactions-description": "Административни действия, създавания на сметки, изтривания на страници, качвания...", - "rcfilters-filtergroup-lastRevision": "Текуща версия", + "rcfilters-filtergroup-lastRevision": "Текущи версии", "rcfilters-filter-lastrevision-label": "Текуща версия", "rcfilters-filter-lastrevision-description": "Последната промяна на страница.", "rcfilters-filter-previousrevision-label": "По-ранни версии", @@ -1541,6 +1543,7 @@ "upload-form-label-not-own-work-message-generic-foreign": "Ако не можете да качите този файл в съответствие с правилата на споделеното хранилище, моля, затворете този прозорец и опитайте друг метод.", "backend-fail-notexists": "Файлът „$1“ не съществува.", "backend-fail-delete": "Файлът „$1“ не може да бъде изтрит.", + "backend-fail-describe": "Метаданните не могат да бъдат променени за файл „$1“.", "backend-fail-alreadyexists": "Файлът „$1“ вече съществува.", "backend-fail-store": "Файлът „$1“ не може да бъде съхранен в „$2“.", "backend-fail-copy": "Файлът „$1“ не можа да бъде копиран в „$2“.", @@ -1709,6 +1712,7 @@ "pageswithprop-text": "На тази страница са показани всички страници, които използват page property.", "pageswithprop-prop": "Име на свойството:", "pageswithprop-reverse": "Подреждане в обратен ред", + "pageswithprop-sortbyvalue": "Подреждане по стойност на свойството", "pageswithprop-submit": "Отваряне", "doubleredirects": "Двойни пренасочвания", "doubleredirectstext": "Тази страница съдържа списък със страници, които пренасочват към друга пренасочваща страница.\nВсеки ред съдържа препратки към първото и второто пренасочване, както и целта на второто пренасочване, която обикновено е „истинската“ целева страница, към която първото пренасочване би трябвало да сочи.\nЗадрасканите записи са коригирани.", @@ -2047,6 +2051,7 @@ "rollbacklinkcount": "отмяна на $1 {{PLURAL:$1|редакция|редакции}}", "rollbacklinkcount-morethan": "отмяна на повече от $1 {{PLURAL:$1|редакция|редакции}}", "rollbackfailed": "Отмяната не сполучи", + "rollback-missingrevision": "Данните за версията не могат да бъдат заредени.", "cantrollback": "Не може да се извърши отмяна на редакциите. Последният редактор е и единствен автор на страницата.", "alreadyrolled": "Редакцията на [[:$1]], направена от [[User:$2|$2]] ([[User talk:$2|Беседа]]{{int:pipe-separator}}[[Special:Contributions/$2|{{int:contribslink}}]]), не може да бъде отменена. Някой друг вече е редактирал страницата или е отменил промените.\n\nПоследната редакция е на [[User:$3|$3]] ([[User talk:$3|Беседа]]{{int:pipe-separator}}[[Special:Contributions/$3|{{int:contribslink}}]]).", "editcomment": "Резюмето на редакцията беше: $1.", @@ -2063,6 +2068,8 @@ "changecontentmodel-submit": "Променяне", "changecontentmodel-success-title": "Моделът на съдържанието беше променен", "changecontentmodel-success-text": "Типът на съдържанието на [[:$1]] е успешно променен.", + "changecontentmodel-cannot-convert": "Съдържанието на [[:$1]] не може да превърнато в тип $2.", + "changecontentmodel-nodirectediting": "Моделът на съдържание $1 не поддържа пряко редактиране", "changecontentmodel-emptymodels-title": "Не са налични модели на съдържание", "changecontentmodel-emptymodels-text": "Съдържанието в [[:$1]] не може да бъде превърнато в никакъв тип.", "log-name-contentmodel": "Дневник на промените на модела на съдържанието", @@ -3121,6 +3128,7 @@ "watchlistedit-clear-submit": "Изчистване на списъка за наблюдение (Необратимо!)", "watchlistedit-clear-done": "Списъкът за наблюдение беше изчистен.", "watchlistedit-clear-removed": "{{PLURAL:$1|1 заглавие беше премахнато|$1 заглавия бяха премахнати}}:", + "watchlistedit-too-many": "Има твърде много страници за показване тук.", "watchlisttools-clear": "Изчистване на списъка за наблюдение", "watchlisttools-view": "Преглед на списъка за наблюдение", "watchlisttools-edit": "Преглед и редактиране на списъка за наблюдение", @@ -3300,7 +3308,7 @@ "compare-invalid-title": "Посоченото заглавие е невалидно.", "compare-title-not-exists": "Посоченото заглавие не съществува.", "compare-revision-not-exists": "Посочената версия не съществува.", - "diff-form": "'''формуляр'''", + "diff-form": "Разлики", "diff-form-submit": "Показване на разликите", "permanentlink": "Постоянна препратка", "permanentlink-revid": "ID на редакцията", @@ -3480,6 +3488,7 @@ "default-skin-not-found-row-disabled": "* $1 / $2 (изключено)", "mediastatistics": "Статистика за файлове", "mediastatistics-summary": "Статистика за видовете качени файлове. Тя включва само последните версии на файловете, без старите или изтритите версии.", + "mediastatistics-nbytes": "{{PLURAL:$1|$1 байт|$1 байта}} ($2; $3%)", "mediastatistics-bytespertype": "Пълен размер на файловете за този раздел: {{PLURAL:$1|$1 байт|$1 байта}} ($2; $3%).", "mediastatistics-allbytes": "Общ размер на всички файлове: {{PLURAL:$1|$1 байт|$1 байта}} ($2).", "mediastatistics-table-mimetype": "MIME тип", diff --git a/languages/i18n/da.json b/languages/i18n/da.json index 382d0123fd..f0308cca30 100644 --- a/languages/i18n/da.json +++ b/languages/i18n/da.json @@ -578,6 +578,10 @@ "botpasswords-updated-body": "Robottens adgangskode for robotnavn »$1« for brugeren »$2« blev opdateret.", "botpasswords-deleted-title": "Bot kodeord slettet", "botpasswords-deleted-body": "Robottens adgangskode for robotnavn »$1« for brugeren »$2« blev slettet.", + "botpasswords-newpassword": "Den nye adgangskode at logge ind med for $1 er $2. Gem denne oplysning for fremtidig reference.
(For gamle robotter som kræver at logindnavnet er det samme som det eventuelle brugernavn, så kan du også bruge $3 som brugernavn og $4 som adgangskode).", + "botpasswords-no-provider": "BotPasswordsSessionProvider er ikke tilgængelig.", + "botpasswords-restriction-failed": "Begrænsninger for robotadgangskode forhindrer dette logind.", + "botpasswords-invalid-name": "Det angivne brugernavn indeholder ikke adskillelsestegnet for robotadgangskoden (»$1«).", "botpasswords-not-exist": "Brugeren »$1« har ikke en robotadgangskode navngivet »$2«.", "resetpass_forbidden": "Adgangskoder kan ikke ændres", "resetpass_forbidden-reason": "Adgangskoder kan ikke ændres: $1", @@ -904,6 +908,7 @@ "mergehistory-fail-bad-timestamp": "Tidsangivelsen er ugyldig.", "mergehistory-fail-invalid-source": "Kildesiden er ugyldig.", "mergehistory-fail-invalid-dest": "Målsiden er ugyldigt.", + "mergehistory-fail-no-change": "Historiksammenføjning sammenføjede ikke nogle revisioner. Kontroller siden og tidsparametre igen.", "mergehistory-fail-permission": "Utilstrækkelige tilladelser for at flette historik.", "mergehistory-fail-self-merge": "Kilde- og destinationssider er ens.", "mergehistory-fail-timestamps-overlap": "Kilderevisioner overlapper eller kommer efter destinationsrevisioner.", @@ -1102,11 +1107,13 @@ "userrights-user-editname": "Skriv et brugernavn:", "editusergroup": "Indlæs brugergrupper", "editinguser": "Ændrer brugerrettigheder for {{GENDER:$1|brugeren}} [[User:$1|$1]] $2", + "viewinguserrights": "Viser brugerrettigheder for {{GENDER:$1|bruger}} [[User:$1|$1]] $2", "userrights-editusergroup": "Redigér {{GENDER:$1|brugergrupper}}", + "userrights-viewusergroup": "Vis {{GENDER:$1|user}}-grupper", "saveusergroups": "Gem {{GENDER:$1|brugergrupper}}", "userrights-groupsmember": "Medlem af:", "userrights-groupsmember-auto": "Implicit medlem af:", - "userrights-groups-help": "Du kan ændre denne brugers gruppemedlemsskaber:\n* Et markeret afkrydsningsfelt betyder at brugeren er medlen af den pågældende gruppe.\n* Et umarkeret felt betyder at brugeren ikke er medlem af gruppen.\n* En * betyder at du ikke kan fravælge gruppen, når den først er tilføjet og omvendt.", + "userrights-groups-help": "Du kan ændre denne brugers gruppemedlemsskaber:\n* Et markeret afkrydsningsfelt betyder at brugeren er medlen af den pågældende gruppe.\n* Et umarkeret felt betyder at brugeren ikke er medlem af gruppen.\n* En * betyder at du ikke kan fravælge gruppen, når den først er tilføjet og omvendt.\n* En # betyder at du kun kan forkorte udløbsperioden for dette gruppemedlemskab; du kan ikke forlænge den.", "userrights-reason": "Årsag:", "userrights-no-interwiki": "Du har ikke tilladelse til at redigere brugerrettigheder på andre wikier.", "userrights-nodatabase": "Databasen $1 eksisterer ikke lokalt.", @@ -1415,10 +1422,12 @@ "rcfilters-filter-lastrevision-label": "Seneste revision", "rcfilters-filter-lastrevision-description": "Den nyeste ændring af en side.", "rcfilters-filter-previousrevision-label": "Tidligere revisioner", - "rcfilters-filter-previousrevision-description": "Alle ændringer som ikke er den nyeste ændring af en side.", + "rcfilters-filter-previousrevision-description": "Alle ændringer som ikke er »seneste revision«.", + "rcfilters-filter-excluded": "Ekskluderet", "rcfilters-view-advanced-filters-label": "Avancerede filtre", "rcfilters-view-tags": "Mærkede redigeringer", "rcfilters-view-namespaces-tooltip": "Filtrer resultater efter navnerum", + "rcfilters-watchlist-markseen-button": "Marker alle ændringer som set", "rcfilters-watchlist-edit-watchlist-button": "Rediger din liste med overvågede sider", "rcfilters-preference-label": "Skjul den forbedrede verson af Seneste ændringer", "rcnotefrom": "Nedenfor er op til '''$1''' {{PLURAL:$5|ændring|ændringer}} siden '''$2''' vist.", @@ -1900,6 +1909,7 @@ "apisandbox-results": "Resultater", "apisandbox-sending-request": "Sender API-forespørgsel ...", "apisandbox-loading-results": "Modtager API-resultater ...", + "apisandbox-results-error": "Der opstod en fejl under indlæsning af API-forespørgelsessvaret: $1.", "apisandbox-request-format-url-label": "Adresseforepørgselsstreng", "apisandbox-request-url-label": "Forespurgt URL:", "apisandbox-request-time": "Forespørgselstid: {{PLURAL:$1|$1 ms}}", @@ -1967,7 +1977,10 @@ "activeusers-intro": "Dette er en liste over brugere, som har haft en eller anden form for aktivitet inden for {{PLURAL:$1|den|de}} seneste {{PLURAL:$1|dag|$1 dage}}.", "activeusers-count": "$1 {{PLURAL:$1|handling|handlinger}} i {{PLURAL:$3|det seneste døgn|de seneste $3 dage}}", "activeusers-from": "Vis brugere som starter med:", + "activeusers-groups": "Vis brugere tilhørende grupperne:", + "activeusers-excludegroups": "Ekskluder brugere tilhørende grupperne:", "activeusers-noresult": "Ingen brugere fundet.", + "activeusers-submit": "Vis aktive brugere", "listgrouprights": "Brugergrupperettigheder", "listgrouprights-summary": "Denne side viser de brugergrupper der er defineret på denne wiki og de enkelte gruppers rettigheder.\n\nDer findes muligvis [[{{MediaWiki:Listgrouprights-helppage}}|yderligere information]] om de enkelte rettigheder.", "listgrouprights-key": "Forklaring:\n* Bevilget rettighed\n* Tilbagetrukket rettighed", @@ -1986,12 +1999,15 @@ "listgrouprights-namespaceprotection-header": "Navnerumsbegrænsninger", "listgrouprights-namespaceprotection-namespace": "Navnerum", "listgrouprights-namespaceprotection-restrictedto": "Rettighed(er) der giver brugeren mulighed for at redigere", + "listgrants": "Tildelinger", + "listgrants-grant": "Tildeling", "listgrants-rights": "Rettigheder", "trackingcategories": "Sporingskategorier", "trackingcategories-summary": "Denne side viser sporing af de kategorier, som er automatisk udfyldt af MediaWiki-softwaren. Deres navne kan ændres ved at ændre de relevante system-beskeder i {{ns:8}}-navnerummet.", "trackingcategories-msg": "Sporingskategori", "trackingcategories-name": "Navn på besked", "trackingcategories-desc": "Optagelseskriterier for kategori", + "restricted-displaytitle-ignored": "Sider med ignorerede visningstitler", "noindex-category-desc": "Siden indekseres ikke af robotter, fordi den indeholder det magiske ord __NOINDEX__ og er i et navnerum, hvor dette flag er tilladt.", "index-category-desc": "Siden indeholder __INDEX__ (og er i et navnerum, hvor dette flag er tilladt), og bliver derfor indekseret af robotter, hvor den normalt ikke ville blive det.", "post-expand-template-inclusion-category-desc": "Siden er større end $wgMaxArticleSize efter alle skabeloner er udvidet, så nogle skabeloner blev ikke udvidet.", @@ -2125,9 +2141,14 @@ "rollback-success": "Ændringerne fra $1 er fjernet,\nog den seneste version af $2 er gendannet.", "sessionfailure-title": "Sessionsfejl", "sessionfailure": "Der lader til at være et problem med din loginsession; denne handling blev annulleret som en sikkerhedsforanstaltning mod kapring af sessionen. Tryk på \"tilbage\"-knappen og genindlæs den side du kom fra, og prøv dernæst igen.", + "changecontentmodel-legend": "Ændr indholdsmodel", "changecontentmodel-title-label": "Sidetitel", "changecontentmodel-model-label": "Ny indholdsmodel", "changecontentmodel-reason-label": "Begrundelse:", + "changecontentmodel-submit": "Ændr", + "changecontentmodel-success-title": "Indholdsmodellen blev ændret", + "changecontentmodel-success-text": "Indholdstypen for [[:$1]] er blevet ændret.", + "changecontentmodel-cannot-convert": "Indholdet for [[:$1]] kan ikke konverteres til en type af $2.", "changecontentmodel-emptymodels-title": "Ingen indholdsmodeller er tilgængelige", "changecontentmodel-emptymodels-text": "Indholdet på [[:$1]] kan ikke konverteres til en anden type.", "protectlogpage": "Skrivebeskyttelseslog", @@ -2211,6 +2232,7 @@ "undelete-search-title": "Søg i slettede sider", "undelete-search-box": "Søg efter slettede sider", "undelete-search-prefix": "Vis sider som starter med:", + "undelete-search-full": "Vis sidetitler indeholdende:", "undelete-search-submit": "Søg", "undelete-no-results": "Der blev ikke fundet en passende side i arkivet.", "undelete-filename-mismatch": "Kan ikke gendanne filen med tidsstempel $1: forkert filnavn", @@ -2277,7 +2299,7 @@ "block": "Bloker bruger", "unblock": "Ophæv blokering af bruger", "blockip": "Bloker {{GENDER:$1|bruger}}", - "blockiptext": "Brug formularen herunder til at blokere for skriveadgang fra en bestemt IP-adresse eller et brugernavn.\nDette bør kun gøres for at forhindre vandalisme og skal være i overensstemmelse med [[{{MediaWiki:Policy-url}}|retningslinjerne]].\nAngiv en konkret begrundelse herunder (for eksempel med angivelse af sider der har været udsat for vandalisme).", + "blockiptext": "Brug formularen herunder til at blokere for skriveadgang fra en bestemt IP-adresse eller et brugernavn.\nDette bør kun gøres for at forhindre vandalisme og skal være i overensstemmelse med [[{{MediaWiki:Policy-url}}|retningslinjerne]].\nAngiv en konkret begrundelse herunder (for eksempel med angivelse af sider der har været udsat for vandalisme).\nDu kan blokere IP-adresseintervaller via syntaksen fra [https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing CIDR]; det største tilladte interval er /$1 for IPv4 og /$2 for IPv6.", "ipaddressorusername": "IP-adresse eller brugernavn", "ipbexpiry": "varighed", "ipbreason": "Begrundelse:", @@ -2312,10 +2334,12 @@ "unblocked": "[[User:$1|$1]] blev frigivet", "unblocked-range": "$1 er fjernet fra blokering", "unblocked-id": "Blokering $1 er blevet fjernet", + "unblocked-ip": "[[Special:Contributions/$1|$1]] har fået fjernet blokering.", "blocklist": "Blokerede brugere", "autoblocklist": "Autoblokeringer", "autoblocklist-submit": "Søg", "autoblocklist-legend": "Vis autoblokeringer", + "autoblocklist-total-autoblocks": "Samlet antal automatiske blokeringer: $1", "autoblocklist-empty": "Autoblokeringslisten er tom.", "autoblocklist-otherblocks": "Andre {{PLURAL:$1|autoblokering|autoblokeringer}}", "ipblocklist": "Blokerede brugere", @@ -3314,6 +3338,7 @@ "tags-active-yes": "Ja", "tags-active-no": "Nej", "tags-source-extension": "Defineret af programmellet", + "tags-source-manual": "Anvendt manuelt af brugere og robotter", "tags-source-none": "Anvendes ikke længere", "tags-edit": "redigér", "tags-delete": "slet", diff --git a/languages/i18n/diq.json b/languages/i18n/diq.json index 305fcd004f..4024e134cd 100644 --- a/languages/i18n/diq.json +++ b/languages/i18n/diq.json @@ -1991,7 +1991,7 @@ "undelete-error-long": "hewn a kerdışê na dosyayi wexta tepiya geriyenê xeta vıraziya:\n\n$1", "undelete-show-file-confirm": "\"$1\" şıma emin î dosyaya revizyonê no $2 $3 tarixi bıvini?", "undelete-show-file-submit": "Eya", - "namespace": "Namey herun:", + "namespace": "Heruna namey:", "invert": "Weçinayışi dimlaşt ke", "tooltip-invert": "nameyo ke nışan biyo (u nameyo elekeyın zi nışanyyayo se) vurnayışan zerrekan nımtışi re ena dore tesdiqi nışan kerê", "namespace_association": "Heruna namanê elaqedaran", diff --git a/languages/i18n/en.json b/languages/i18n/en.json index d3e82168c6..9b2ff9c250 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -646,7 +646,7 @@ "anonpreviewwarning": "You are not logged in. Saving will record your IP address in this page's edit history.", "missingsummary": "Reminder: You have not provided an edit summary.\nIf you click \"$1\" again, your edit will be saved without one.", "selfredirect": "Warning: You are redirecting this page to itself.\nYou may have specified the wrong target for the redirect, or you may be editing the wrong page.\nIf you click \"$1\" again, the redirect will be created anyway.", - "missingcommenttext": "Please enter a comment below.", + "missingcommenttext": "Please enter a comment.", "missingcommentheader": "Reminder: You have not provided a subject for this comment.\nIf you click \"$1\" again, your edit will be saved without one.", "summary-preview": "Preview of edit summary:", "subject-preview": "Preview of subject:", diff --git a/languages/i18n/eu.json b/languages/i18n/eu.json index 5bf88d20d2..0df18d19a7 100644 --- a/languages/i18n/eu.json +++ b/languages/i18n/eu.json @@ -657,6 +657,7 @@ "anontalkpagetext": "Orrialde hau konturik sortu ez edo erabiltzen ez duen erabiltzaile anonimo baten eztabaida orria da.\nBere IP helbidea erabili beharko da beraz identifikatzeko.\nErabiltzaile batek baino gehiagok IP bera erabil dezakete ordea.\nErabiltzaile anonimoa bazara eta zurekin zerikusirik ez duten mezuak jasotzen badituzu, mesedez [[Special:CreateAccount|Izena eman]] edo [[Special:UserLogin|saioa hasi]] etorkizunean horrelakoak gerta ez daitezen.", "noarticletext": "Oraindik ez dago testurik orri honetan.\nEdukiz hornitzeko, aukera hauek dituzu: beste orri batzuetan [[Special:Search/{{PAGENAME}}|orri izenburu hau bilatzea]],\n[{{fullurl:{{#Special:Log}}|page={{FULLPAGENAMEE}}}} lotutako logak bilatzea],\nedo [{{fullurl:{{FULLPAGENAME}}|action=edit}} orri hau sortzea].", "noarticletext-nopermission": "Une honetan ez dago testurik orrialde honetan.\nBeste orrialdeetan [[Special:Search/{{PAGENAME}}|izenburu hau bilatu dezakezu]],\nedo [{{fullurl:{{#Special:Log}}|page={{FULLPAGENAMEE}}}} erlazionatutako erregistroak bilatu], baina ez duzu orrialde hau sortzeko baimenik.", + "missing-revision": "\"{{FULLPAGENAME}}\" izeneko orriaren #$1 berrikusketa ez da existitzen.\n\n\nHau ezabatu egin den orri baten historia zaharkiturik dagoen esteka baten ondorioz sortua izaten da.\n\nXehetasunak hemen aurkitu daiteke [{{fullurl:{{#Special:Log}}/delete|page={{FULLPAGENAMEE}}}} deletion log].", "userpage-userdoesnotexist": "\"$1\" lankidea ez dago erregistatuta. Mesedez, konprobatu orri hau editatu/sortu nahi duzun.", "userpage-userdoesnotexist-view": "\"$1\" erabiltzaile-kontua ez dago erregistraturik.", "blocked-notice-logextract": "Erabiltzaile hau blokeatuta dago une honetan.\nAzken blokeoaren erregistroa ageri da behean, erreferentzia gisa:", @@ -740,6 +741,7 @@ "content-json-empty-object": "Objetu hustua", "content-json-empty-array": "Matrize hutsa", "deprecated-self-close-category": "HTML etiketa automatikoak ez diren balioak erabiltzen ari diren oriialdeak", + "deprecated-self-close-category-desc": "Orriak HTML etiketa autoitxi baliogabeak dauzka, adibidez <b/> edo <span/>. Hauen jarrera HTML5 zehaztapenekin bat egiteko goiz aldatuko dira, zaharkiturik geratzen direla wikitestuan.", "duplicate-args-warning": "Oharra: [[:$1]]k [[:$2]] \"$3\" parametroarentzako balio bat baino gehiagorekin deitzen ari da. Emandako azken balioa bakarrik erabiliko da.", "duplicate-args-category": "Txantiloi-deietan argumentu bikoiztuak erabiltzen dituzten orrialdeak", "duplicate-args-category-desc": "Orriak argumentu bikoitzak erabiltzen dituzten txantiloien deiak ditu, hala nola {{foo|bar=1|bar=2}} edo {{foo|bar|1=baz}}.", @@ -1544,7 +1546,9 @@ "uploaded-script-svg": "Igotako SVG fitxategian \"$1\" elementu aldagarria aurkitu egin da.", "uploaded-hostile-svg": "Igotako SVG fitxategiko estilo elementuan segurua ez den CSS-a aurkitu da.", "uploaded-event-handler-on-svg": "Ekitaldiaren $1=\"$2\" kudeatze-atributuak ezartzea ez da onartzen SVG fitxategietan.", + "uploaded-href-unsafe-target-svg": "Babesgabeko datuentzako aurkitutako href-a: URI <$1 $2=\"$3\"> xedea igotako SVG fitxategian.", "uploaded-setting-href-svg": "\"set\" etiketa \"href\" atributua guraso elementuetara gehitzeko blokeatuta dago.", + "uploaded-image-filter-svg": "Irudi iragazkia aurkitua URL-arekin: <$1 $2=\"$3\"> igotako SVG fitxategian.", "uploadscriptednamespace": "SVG fitxategi hau legez kanpoko \"$1\" izen eremua dauka.", "uploadinvalidxml": "Ezin izan da analizatu XMLa igotako fitxategian.", "uploadvirus": "Fitxategiak birusa dauka! Xehetasunak: $1", @@ -1613,9 +1617,12 @@ "backend-fail-create": "Ezin izan da \"$1\" fitxategia idatzi.", "backend-fail-maxsize": "Ezin izan da idatzi \"$1\" fitxategia {{PLURAL:$2|byte bat|$2 byte}} baino handiagoa delako.", "backend-fail-readonly": "$1 biltegiratze motorea irakurtzeko soilik dago orain. Emandako arrazoia: $2", + "backend-fail-synced": "\"$1\" fitxategia barneko biltegiratzeen babeskopietan dago behin behieneko egoeran", "backend-fail-connect": "Ezin izan da \"$1\" gordailuaren atzeko aldearekin konektatu.", "backend-fail-internal": "Akats ezezaguna gertatu da \"$1\" gordailuaren atzeko aldean.", "backend-fail-contenttype": "Ezin izan da $1n gordeko den artxiboaren eduki mota zehaztu.", + "backend-fail-batchsize": "Biltegiratze-euskarriari ; $1 {{PLURAL:$1|eragiketa|eragiketak}} fitxategi sorta eman zaio; muga $2 {{PLURAL:$2|eragiketa|eragiketak}} d(ir)elarik.", + "backend-fail-usable": "Ezin izan da \"$1\" fitxategia irakurri edo idaztzi baimen nahikorik edo direktorio/edukiontzirik ez delako aurkitzen.", "filejournal-fail-dbconnect": "Ezin izan da $1 biltegiratze-ataleko datu-basearen egunkarira konektatu.", "filejournal-fail-dbquery": "Ezin izan da egunkariaren datu-basea eguneratu $1 biltegiratze-atalerako.", "lockmanager-notlocked": "Ezin izan da \"$1\" askatu; ez dago itxita.", @@ -1816,6 +1823,7 @@ "uncategorizedcategories": "Kategorizatu gabeko kategoriak", "uncategorizedimages": "Kategorizatu gabeko irudiak", "uncategorizedtemplates": "Sailkatu gabeko txantiloiak", + "uncategorized-categories-exceptionlist": "# Kategoria zerrenda bat dauka, Special:UncategorizedCategories lekuan ez zena aipatu behar. Lerro bakoitzeko, \"*\" hasita. Beste karaktere batekin hasten diren lerroak (zuriuneak barne) ez dira kontuan hartuko. Erabili \"#\" iruzkinetarako.", "unusedcategories": "Erabili gabeko kategoriak", "unusedimages": "Erabili gabeko fitxategiak", "wantedcategories": "Eskatutako kategoriak", @@ -1823,6 +1831,7 @@ "wantedpages-summary": "Lotura gehien dituzten eta existitzen ez diren orrialdeen zerrenda da hau, eurengana birzuzenketak baino ez dituzten orrialdeak kenduta. Eurenganako birzuzenketak dituzten baina existitzen ez diren orrialdeen zerrenda bat ikusteko, [[{{#special:BrokenRedirects}}|apurtutako birzuzenketen zerrendara]] jo dezakezu.", "wantedpages-badtitle": "Izenburu okerra hautatutako emaitzetan: $1", "wantedfiles": "Eskatutako fitxategiak", + "wantedfiletext-cat-noforeign": "Hurrengo fitxategiak erabiltzen dira baina ez dira existitzen. Gainera, existitzen ez diren fitxategiak txertatzen dituzten orriak ez dira zerrendatzen [[:$1]]n.", "wantedfiletext-nocat-noforeign": "Hurrengo artxiboak erabiltzen ari dira baina ez dira existitzen.", "wantedtemplates": "Eskatutako txantiloiak", "mostlinked": "Gehien lotutako orrialdeak", @@ -1892,6 +1901,7 @@ "apisandbox-reset": "Garbitu", "apisandbox-retry": "Saiatu berriro", "apisandbox-loading": "API $1 modulorako informazioa kargatzen...", + "apisandbox-load-error": "\"$1\" API modulorako informazioa kargatzerakoan akats bat gertatu da: $2", "apisandbox-no-parameters": "API modulu honek ez du parametrorik.", "apisandbox-helpurls": "Laguntza estekak", "apisandbox-examples": "Adibideak", @@ -2144,6 +2154,7 @@ "revertpage": "[[Special:Contributions/$2|$2]] ([[User talk:$2|talk]]) wikilariaren aldaketak deseginda, edukia [[User:$1|$1]] wikilariaren azken bertsiora itzuli da.", "revertpage-nouser": "{{GENDER:$1|[[User:$1|$1]]}}-n azken berrikuspena ezkutatutako erabiltzaile batek egindako leheneraketa aldaketak.", "rollback-success": "{{GENDER:$3|$1}}; wikilariaren aldaketak deseginda,\nedukia {{GENDER:$4|$2}} wikilariaren azken bertsiora itzuli da.", + "rollback-success-notify": "$1k leheneratutako aldaketal;\nazkenengo berrikusketara aldatu da berriz $2ren eskutik. [$3 Erakutsi aldaketak]", "sessionfailure-title": "Saio-akatsa", "sessionfailure": "Badirudi saioarekin arazoren bat dagoela; bandalismoak saihesteko ekintza hau ezeztatu egin da. Mesedez, nabigatzaileko \"atzera\" botoian klik egin, hona ekarri zaituen orrialde hori berriz kargatu, eta saiatu berriz.", "changecontentmodel": "Aldatu orri bateko eduki eredua", @@ -2594,8 +2605,8 @@ "import-rootpage-nosubpage": "Jatorri orrialdearen «$1» izen-tarteak ez du baimentzen azpi-orrialderik.", "importlogpage": "Inportazio erregistroa", "importlogpagetext": "Beste wiki batzutatik historial eta guzti egindako orrialdeen inportazio administratiboak.", - "import-logentry-upload-detail": "$1 {{PLURAL:$1|berrikuspen|berrikuspen}}", - "import-logentry-interwiki-detail": "$1 {{PLURAL:$1|berrikuspen|berrikuspen}} $2-(e)tik", + "import-logentry-upload-detail": "$1 {{PLURAL:$1|berrikuspen|berrikuspenak}} inportatuak", + "import-logentry-interwiki-detail": "$1 {{PLURAL:$1|berrikuspen|berrikuspenak}} $2-(e)tik inportatuak", "javascripttest": "JavaScript frogatzen", "javascripttest-pagetext-unknownaction": "Ekintza ezezaguna \"$1\".", "javascripttest-qunit-intro": "Ikusi [$1 frogen dokumentazioa] mediawiki.org orrialdean.", @@ -3552,6 +3563,7 @@ "rightslogentry-temporary-group": "$1 (momentuz, $2rarte)", "feedback-adding": "Orriari feedbacka gehitzen...", "feedback-back": "Atzera", + "feedback-bugcheck": "Primeran! Soilik egiaztatu ez dagoela [$1 ezagututako zomorroak] barruan.", "feedback-bugnew": "Txekeatu dut. Bug berria bidaliko", "feedback-cancel": "Utzi", "feedback-close": "Egina", @@ -3649,8 +3661,10 @@ "mediastatistics-header-archive": "Formatu konprimatuak", "mediastatistics-header-total": "Fitxategi guztiak", "json-error-depth": "Multzoaren gehienezko sakonera gainditu egin da", + "json-error-state-mismatch": "Balio ez duen edo txarto egituratua dagoen JSON-a", "json-error-ctrl-char": "Kontrol-karaktere errorea, ziurrenik gaizki kodeatzeagatik.", "json-error-syntax": "Sintaxi-errorea", + "json-error-utf8": "Gaizki egituratutako UTF-8 karaktereak, ziurrenik gaizki kodeatutak", "json-error-recursion": "Erreferentzia errekurtsibo bat edo gehiago kodeatzeko balioan", "json-error-inf-or-nan": "NAN edo INF bat edo gehiago kodeatzeko balioan", "json-error-unsupported-type": "Kodeatu ezin daitekeen balio mota eman da", @@ -3747,6 +3761,7 @@ "authmanager-authn-no-primary": "Emandako kredentzialak ezin izan dira egiaztatu.", "authmanager-authn-no-local-user": "Emandako kredentzialak ez dute lotura wiki honetako erabiltzaileekin.", "authmanager-authn-no-local-user-link": "Hornitutako kredentzialak baliagarriak dira, baina ez dira lotzen wiki honetako erabiltzaileekin. Beste modu batean saioa hasi edo erabiltzaile berri bat sortu eta zure aurreko kredentzialak kontu horri lotzeko aukera izango duzu.", + "authmanager-authn-autocreate-failed": "Tokiko kontu bat automatikoki sortzerakoan huts egin du: $1", "authmanager-change-not-supported": "Hornitutako kredentzialak ezin dira aldatu, erabiliko ez direlako.", "authmanager-create-disabled": "Auto-sorkuntza ezgaituta.", "authmanager-create-from-login": "Zure kontua sortzeko, bete itzazu eremu guztiak.", @@ -3774,8 +3789,11 @@ "authmanager-provider-password": "Pasahitzan oinarritutako baieztapena", "authmanager-provider-password-domain": "Pasahitza eta domeinuan oinarritutako baieztapena", "authmanager-provider-temporarypassword": "Behin-behineko pasahitza", + "authprovider-confirmlink-message": "Zure azken saio-hasierako saiakeretan oinarrituta, hurrengo kontuak zure wiki-kontuarekin lotu daitezke. Estekatzeak kontu hauen bidez saioa hastea ahalbidetzen du. Hautatu zeintzuk diren lotu behar direnak mesedez.", "authprovider-confirmlink-request-label": "Linkatu beharko ziren kontuak", "authprovider-confirmlink-success-line": "$1: ederki linkatu egin da.", + "authprovider-confirmlink-failed": "Kontua linkatzea ezin izan da guztiz burutu: $1", + "authprovider-confirmlink-ok-help": "Jarraitu estekatze akats mezuak erakutsi ondoren.", "authprovider-resetpass-skip-label": "Utzi", "authprovider-resetpass-skip-help": "Utzi pasahitzaren berrezartzeari.", "authform-nosession-login": "Autentifikazioa arrakastatsua izan da, baina zure nabigatzaileak ezin du \"gogoratu\" saioa hasita izatea.\n\n$1", @@ -3815,11 +3833,16 @@ "usercssispublic": "Kontutan izan mesedez: CSS azpiorriek ez lukete datu konfidentzialik eraman behar, beste erabiltzaileek ikusi ahal dituztelako.", "restrictionsfield-badip": "Baliogabeko IP helbide edo eremua: $1", "restrictionsfield-label": "Onartutako IP eremuak:", + "restrictionsfield-help": "Linea bakoitzeko IP helbide edo CIDR eremu bakarra. Guztia gaitzeko, erabili: \n

0.0.0.0/0\n::/0
", "revid": "$1 berrikusi", "pageid": "$1 orri IDa", "rawhtml-notallowed": "<html> etiketak ezin dira orri arruntetatik kanpo erabili.", "gotointerwiki": "{{SITENAME}}(e)tik irteten", "gotointerwiki-invalid": "Zehaztutako titulua baliogabea da.", + "gotointerwiki-external": "{{SITENAME}} ustear zaude [[$2]] bisitatzeko, bananduta dagoen webgunea dena.\n\n'''[$1 Jarraitu hona $1]'''", + "undelete-cantedit": "Ezin duzu orri honen ezabaketa desegin ez daukazulako orri hau aldatzeko baimenik.", + "undelete-cantcreate": "Ezin duzu orri honen ezabaketa desegin ez dagoelako izen honekin existitzen den orririk eta ez daukazulako orri hau sortzeko baimenik.", "pagedata-title": "Orri data", + "pagedata-text": "Orrialde honek orrien interfaze datuak eskaintzen ditu. Eman orrialdearen izenburua URLan, azpiorri sintaxia erabiliz.\n*Edukiaren negoziazioa zure bezeroaren onarpen goiburuan oinarritzen erabiltzen da. Horrek esan nahi du orriaren datuak zure bezeroak nahiago duen formatuan emango direla.", "pagedata-bad-title": "Izenburu baliogabea: $1" } diff --git a/languages/i18n/he.json b/languages/i18n/he.json index 71aaab6fe4..277cfb3904 100644 --- a/languages/i18n/he.json +++ b/languages/i18n/he.json @@ -643,7 +643,7 @@ "anonpreviewwarning": "אתם לא מחוברים לחשבון. שמירה תגרום לכתובת ה־IP שלכם להירשם בהיסטוריית העריכות של הדף.", "missingsummary": "תזכורת: לא הזנת תקציר עריכה.\nלחיצה חוזרת על הכפתור \"$1\" תגרום לעריכה שלך להישמר בלעדיו.", "selfredirect": "אזהרה: ניסית ליצור הפניה מדף זה לעצמו.\nאולי כתבת יעד שגוי להפניה, ואולי ערכת את הדף הלא־נכון.\nלחיצה חוזרת על הכפתור \"$1\" תגרום להפניה להיווצר בכל זאת.", - "missingcommenttext": "יש להקליד את ההודעה למטה.", + "missingcommenttext": "יש להקליד את ההערה.", "missingcommentheader": "תזכורת: לא הזנת נושא להודעה זו.\nלחיצה חוזרת על הכפתור \"$1\" תגרום לעריכה שלך להישמר ללא נושא.", "summary-preview": "תצוגה מקדימה של תקציר העריכה:", "subject-preview": "תצוגה מקדימה של הנושא:", diff --git a/languages/i18n/id.json b/languages/i18n/id.json index 76420a8475..a0ec4209f0 100644 --- a/languages/i18n/id.json +++ b/languages/i18n/id.json @@ -721,6 +721,7 @@ "yourtext": "Teks Anda", "storedversion": "Versi tersimpan", "editingold": "'''Peringatan:\nAnda menyunting revisi lama suatu halaman.\nJika Anda menyimpannya, perubahan-perubahan yang dibuat sejak revisi ini akan hilang.'''", + "unicode-support-fail": "Tampaknya peramban Anda tidak mendukung Unicode, yang menjadi syarat penyuntingan halaman. Jadi suntingan Anda tidak disimpan.", "yourdiff": "Perbedaan", "copyrightwarning": "Perhatikan bahwa semua kontribusi terhadap {{SITENAME}} dianggap dilisensikan sesuai dengan $2 (lihat $1 untuk informasi lebih lanjut). Jika Anda tidak ingin tulisan Anda disunting dan disebarkan ke halaman web yang lain, jangan kirimkan ke sini.
Anda juga berjanji bahwa ini adalah hasil karya Anda sendiri, atau disalin dari sumber milik umum atau sumber bebas yang lain. '''JANGAN KIRIMKAN KARYA YANG DILINDUNGI HAK CIPTA TANPA IZIN!'''", "copyrightwarning2": "Perhatikan bahwa semua kontribusi terhadap {{SITENAME}} dapat disunting, diubah, atau dihapus oleh penyumbang lainnya. Jika Anda tidak ingin tulisan Anda disunting orang lain, jangan kirimkan ke sini.
Anda juga berjanji bahwa ini adalah hasil karya Anda sendiri, atau disalin dari sumber milik umum atau sumber bebas yang lain (lihat $1 untuk informasi lebih lanjut). '''JANGAN KIRIMKAN KARYA YANG DILINDUNGI HAK CIPTA TANPA IZIN!'''", @@ -788,6 +789,7 @@ "parser-template-loop-warning": "Hubungan berulang templat terdeteksi: [[$1]]", "template-loop-category": "Halaman dengan templat berulang", "template-loop-category-desc": "Halaman ini mengandung templat melingkar, yaitu templat yang memanggil dirinya sendiri secara bolak-balik.", + "template-loop-warning": "Peringatan: Halaman ini memanggil [[:$1]] yang menyebabkan template loop (panggilan rekursif tak hingga).", "parser-template-recursion-depth-warning": "Limit kedalaman hubungan berulang templat terlampaui ($1)", "language-converter-depth-warning": "Batas kedalaman pengonversi bahasa terlampaui ($1)", "node-count-exceeded-category": "Halaman dimana hitungan-node terlampaui", @@ -1057,7 +1059,8 @@ "timezoneregion-europe": "Eropa", "timezoneregion-indian": "Samudera Hindia", "timezoneregion-pacific": "Samudera Pasifik", - "allowemail": "Izinkan pengguna lain mengirim surel", + "allowemail": "Izinkan pengguna lain mengirim surel kepada saya", + "email-blacklist-label": "Cegah para pengguna ini mengirim saya surel:", "prefs-searchoptions": "Cari", "prefs-namespaces": "Ruang nama", "default": "baku", @@ -1366,12 +1369,12 @@ "rcfilters-restore-default-filters": "Kembalikan filter bawaan", "rcfilters-clear-all-filters": "Hapus semua penyaringan", "rcfilters-show-new-changes": "Tampilkan perubahan terbaru", - "rcfilters-search-placeholder": "Filter perubahan terbaru (jelajahi atau masukan input)", + "rcfilters-search-placeholder": "Filter perubahan terbaru (jelajahi atau masukkan input)", "rcfilters-invalid-filter": "Penyqringan tidak sah", "rcfilters-empty-filter": "Tidak ada filter aktif. Semua kontribusi ditampilkan.", "rcfilters-filterlist-title": "Penyaringan", "rcfilters-filterlist-whatsthis": "Bagaimana hal ini bekerja?", - "rcfilters-filterlist-feedbacklink": "Berikan umpan balik untuk filter uji coba baru", + "rcfilters-filterlist-feedbacklink": "Berikan umpan balik untuk alat-alat filter (baru) ini", "rcfilters-highlightbutton-title": "Sorot hasil", "rcfilters-highlightmenu-title": "Pilih warna", "rcfilters-highlightmenu-help": "Pilihlah warna untuk menyorot atribut ini", @@ -1447,6 +1450,7 @@ "rcfilters-liveupdates-button-title-on": "Matikan perubahan langsung", "rcfilters-liveupdates-button-title-off": "Tampilkan perubahan baru ketika perubahan tersebut terjadi", "rcfilters-watchlist-markseen-button": "Tandai semua perubahan sebagai terlihat", + "rcfilters-watchlist-edit-watchlist-button": "Sunting daftar pantauan Anda", "rcnotefrom": "Di bawah ini adalah {{PLURAL:$5|perubahan}} sejak $3, $4 (ditampilkan sampai $1 perubahan).", "rclistfromreset": "Atur ulang pilihan tanggal", "rclistfrom": "Perlihatkan perubahan terbaru sejak $3 $2", @@ -1723,7 +1727,7 @@ "listfiles_size": "Ukuran", "listfiles_description": "Deskripsi", "listfiles_count": "Versi", - "listfiles-show-all": "Termasuk versi lama gambar", + "listfiles-show-all": "Masukkan versi lama berkas", "listfiles-latestversion": "Versi terkini", "listfiles-latestversion-yes": "Ya", "listfiles-latestversion-no": "Tidak", @@ -2553,7 +2557,7 @@ "delete_and_move_text": "Halaman yang dituju, \"[[:$1]]\", telah berisi.\nApakah Anda ingin menghapusnya untuk memberikan ruang bagi pemindahan?", "delete_and_move_confirm": "Ya, hapus halaman tersebut", "delete_and_move_reason": "Dihapus untuk mengantisipasikan pemindahan halaman dari \"[[$1]]\"", - "selfmove": "Pemindahan halaman tidak dapat dilakukan karena judul sumber dan judul tujuan sama.", + "selfmove": "Tidak dapat memindahkan halaman, karena judul sumber dan judul tujuan sama.", "immobile-source-namespace": "Tidak dapat memindahkan halaman dalam ruang nama \"$1\"", "immobile-target-namespace": "Tidak dapat memindahkan halaman ke ruang nama \"$1\"", "immobile-target-namespace-iw": "Pranala interwiki bukanlah target yang valid untuk pemindahan halaman.", diff --git a/languages/i18n/it.json b/languages/i18n/it.json index 2e2fc9d834..7945aa85cc 100644 --- a/languages/i18n/it.json +++ b/languages/i18n/it.json @@ -1399,7 +1399,7 @@ "rcfilters-days-show-hours": "$1 {{PLURAL:$1|ora|ore}}", "rcfilters-highlighted-filters-list": "Evidenziato: $1", "rcfilters-quickfilters": "Filtri salvati", - "rcfilters-quickfilters-placeholder-title": "Nessun collegamento salvato ancora", + "rcfilters-quickfilters-placeholder-title": "Nessun filtro salvato ancora", "rcfilters-quickfilters-placeholder-description": "Per salvare le impostazioni del tuo filtro e riutilizzarle dopo, clicca l'icona segnalibro nell'area \"Filtri attivi\" qui sotto", "rcfilters-savedqueries-defaultlabel": "Filtri salvati", "rcfilters-savedqueries-rename": "Rinomina", diff --git a/languages/i18n/mwl.json b/languages/i18n/mwl.json index 44b7cd453d..4a96efa649 100644 --- a/languages/i18n/mwl.json +++ b/languages/i18n/mwl.json @@ -368,6 +368,7 @@ "minoredit": "Marcar cumo eidiçon pequerrixa", "watchthis": "Begiar esta páigina", "savearticle": "Grabar páigina", + "publishpage": "Publicar páigina", "publishchanges": "Publicar altaraçones", "preview": "Ber cumo queda", "showpreview": "Ber cumo queda", diff --git a/languages/i18n/nan.json b/languages/i18n/nan.json index 8955a9d369..0c0f76172b 100644 --- a/languages/i18n/nan.json +++ b/languages/i18n/nan.json @@ -39,7 +39,7 @@ "tog-shownumberswatching": "Hián-sī tng leh khoàⁿ ê iōng-chiá sò͘-bo̍k", "tog-oldsig": "Lí kì-sêng ê chhiam-miâ:", "tog-fancysig": "共我的簽名當做文章文字,(無需要自動連結)", - "tog-uselivepreview": "Ēng sui khoàⁿ-māi", + "tog-uselivepreview": "Bián têng-lia̍h ia̍h-bīn ê preview tián-sī", "tog-forceeditsummary": "Pian-chi̍p khài-iàu bô thiⁿ ê sî-chūn, kā goá thê-chhéⁿ", "tog-watchlisthideown": "Kàm-sī-toaⁿ bián hián-sī goá ê pian-chi̍p", "tog-watchlisthidebots": "Kàm-sī-toaⁿ bián hián-sī ki-khì pian-chi̍p", @@ -1117,5 +1117,7 @@ "expand_templates_input": "Su-ji̍p bûn-jī:", "expand_templates_output": "Kiat-kó:", "expand_templates_remove_comments": "Comments the̍h tiāu", - "mw-widgets-mediasearch-input-placeholder": "搜揣媒體" + "mw-widgets-mediasearch-input-placeholder": "搜揣媒體", + "date-range-from": "Khai-sí ji̍t-chí:", + "date-range-to": "Kiat-sok ji̍t-chí:" } diff --git a/languages/i18n/sv.json b/languages/i18n/sv.json index f4400cade1..facf480861 100644 --- a/languages/i18n/sv.json +++ b/languages/i18n/sv.json @@ -1074,7 +1074,7 @@ "timezoneregion-europe": "Europa", "timezoneregion-indian": "Indiska oceanen", "timezoneregion-pacific": "Stilla havet", - "allowemail": "Tillåt e-post från andra användare", + "allowemail": "Låt andra användare skicka e-post till mig", "email-blacklist-label": "Förhindra följande användare att skicka e-post till mig:", "prefs-searchoptions": "Sök", "prefs-namespaces": "Namnrymder", @@ -1368,7 +1368,7 @@ "rcfilters-days-show-hours": "$1 {{PLURAL:$1|timme|timmar}}", "rcfilters-highlighted-filters-list": "Markerade: $1", "rcfilters-quickfilters": "Sparade filter", - "rcfilters-quickfilters-placeholder-title": "Inga länkar har sparats ännu", + "rcfilters-quickfilters-placeholder-title": "Inga filter har sparats ännu", "rcfilters-quickfilters-placeholder-description": "För att spara dina filterinställningar och återanvända dem senare, klicka på bokmärkesikonen under \"Aktiva filter\" nedan.", "rcfilters-savedqueries-defaultlabel": "Sparade filter", "rcfilters-savedqueries-rename": "Döp om", @@ -1603,7 +1603,7 @@ "uploaded-script-svg": "Hittade skriptelementet \"$1\" i den uppladdade SVG-filen.", "uploaded-hostile-svg": "Hittade osäker CSS i den uppladdade filens stilelement.", "uploaded-event-handler-on-svg": "Att ange event-handler-attribut $1=\"$2\" är inte tillåtet i SVG-filer.", - "uploaded-href-attribute-svg": "href-attribut i SVG-filer tillåts endast att länka till http:// eller https:// som återfinns <$1 $2=\"$3\">.", + "uploaded-href-attribute-svg": "Elementen kan endast länkar (href) till data: (inbäddad fil), http:// eller https:// eller fragmentmål (#, inom samma dokument). För andra element, som , endast data: och fragment är tillåtna. Försök att bädda in bilder när du exporterar din SVG. Hittade <$1 $2=\"$3\">.", "uploaded-href-unsafe-target-svg": "Hittade href till osäker data: URI-mål <$1 $2=\"$3\"> i den uppladdade SVG-filen.", "uploaded-animate-svg": "Hittades taggen \"animate\" som kan ändra href med hjälp av attributen \"from\" <$1 $2=\"$3\"> i den uppladdade SVG-filen.", "uploaded-setting-event-handler-svg": "Att ange event-handler-attribut är blockerat. Hittade <$1 $2=\"$3\"> i den uppladdade SVG-filen.", diff --git a/languages/i18n/ur.json b/languages/i18n/ur.json index 931191067d..75ecb564ab 100644 --- a/languages/i18n/ur.json +++ b/languages/i18n/ur.json @@ -62,7 +62,7 @@ "tog-shownumberswatching": "دیکھنے والے صارفین کی تعداد دکھائیں", "tog-oldsig": "آپ کے موجودہ دستخط:", "tog-fancysig": "سادہ دستخط (بلا خودکار ربط)", - "tog-uselivepreview": "راست نمائش استعمال کریں", + "tog-uselivepreview": "صفحہ تازہ کیے بغیر نمائش دکھائیں", "tog-forceeditsummary": "خلاصہ ترمیم خالی چھوڑنے پر مجھے آگاہ کریں", "tog-watchlisthideown": "زیرِنظر فہرست سے میری ترامیم چھپائیں", "tog-watchlisthidebots": "زیرِنظر فہرست سے روبہ جاتی ترامیم چھپائیں", @@ -232,7 +232,7 @@ "redirectedfrom": "($1 سے رجوع مکرر)", "redirectpagesub": "رجوع مکرر", "redirectto": "رجوعِ مکرر از:", - "lastmodifiedat": "اس صفحہ میں آخری بار مورخہ $1ء کو $2 بجے ترمیم کی گئی۔", + "lastmodifiedat": "اس صفحہ میں آخری بار مورخہ $1 کو $2 بجے ترمیم کی گئی۔", "viewcount": "اِس صفحہ تک {{PLURAL:$1|ایک‌بار|$1 مرتبہ}} رسائی کی گئی", "protectedpage": "محفوظ شدہ صفحہ", "jumpto": "یہاں جائیں:", @@ -779,8 +779,8 @@ "page_first": "پہلا", "page_last": "آخری", "histlegend": "انتخاب: مختلف نسخوں کا موازنہ کرنے کے لیے ریڈیو خانوں کو نشان زد کر کے نیچے دیے گئے بٹن پر کلک کریں۔\n\n'''علامات:'''\n\n(رائج) = موجودہ متن سے اختلاف، (سابقہ) = گزشتہ متن سے اختلاف، م = معمولی ترمیم", - "history-fieldset-title": "تاریخ ملاحظہ کریں", - "history-show-deleted": "صرف حذف شدہ", + "history-fieldset-title": "نسخوں کی تلاش", + "history-show-deleted": "صرف حذف شدہ نسخہ", "histfirst": "قدیم ترین", "histlast": "تازہ ترین", "historysize": "({{PLURAL:$1|1 بائٹ|$1 بائٹ}})", @@ -924,13 +924,13 @@ "searchprofile-advanced-tooltip": "حسب مرضی نام فضا میں تلاش کریں", "search-result-size": "$1 ({{PLURAL:$2|1 لفظ|$2 الفاظ}})", "search-result-category-size": "{{PLURAL:$1|1 رُکن|$1 اراکین}} ({{PLURAL:$2|1 ذیلی زمرہ|$2 ذیلی زمرہ جات}}، {{PLURAL:$3|1 فائل|$3 فائلیں}})", - "search-redirect": "(رجوع مکرر $1)", + "search-redirect": "($1 سے رجوع مکرر)", "search-section": "(قطعہ $1)", "search-category": "(زمرہ $1)", "search-file-match": "فائل مواد سے ملتا ہے", "search-suggest": "کیا آپ کا مطلب تھا: $1", "search-rewritten": "$1 کے نتائج کی نمائش، اس کی بجائے آپ $2 کو تلاش کر سکتے ہیں۔", - "search-interwiki-caption": "ساتھی منصوبے", + "search-interwiki-caption": "ساتھی منصوبوں سے اخذ کردہ نتائج", "search-interwiki-default": "$1 نتائج:", "search-interwiki-more": "(مزید)", "search-interwiki-more-results": "مزید نتائج", @@ -1009,7 +1009,8 @@ "timezoneregion-europe": "یورپ", "timezoneregion-indian": "بحر ہند", "timezoneregion-pacific": "بحر الکاہل", - "allowemail": "دوسرے صارفین کو برقی خظ لکھنے کا اختیار دیں", + "allowemail": "دوسرے صارفین کو برقی خظ بھیجنے کا اختیار دیں", + "email-blacklist-label": "ان صارفین کو برقی خط ارسال کرنے سے باز رکھیں:", "prefs-searchoptions": "تلاش", "prefs-namespaces": "جائے نام", "default": "طے شدہ", @@ -1072,7 +1073,7 @@ "saveusergroups": "حلقہ ہائے {{GENDER:$1|صارف}} کو محفوظ کریں", "userrights-groupsmember": "رکنِ:", "userrights-groupsmember-auto": "اعتباری صارف در", - "userrights-groups-help": "آپ ان حلقوں میں تبدیلی کرسکتے ہیں جن سے صارف متعلق ہے: \n* نشان زد خانہ کا مطلب یہ ہے کہ صارف کا تعلق اس گروہ سے ہے۔ \n* غیر نشان زد خانہ کا مطلب یہ ہے کہ صارف کا تعلق اس گروہ سے نہیں ہے۔ \n* یہ * علامت اس بات کا اشارہ ہے کہ آپ اس گروہ کو نہیں ہٹا سکتے جسے ایک مرتبہ آپ نے شامل کردیا ہو، یا اس کے بر عکس۔", + "userrights-groups-help": "آپ ان حلقوں میں تبدیلی کرسکتے ہیں جن سے صارف متعلق ہے: \n* نشان زد خانہ کا مطلب یہ ہے کہ صارف کا تعلق اس گروہ سے ہے۔ \n* غیر نشان زد خانہ کا مطلب یہ ہے کہ صارف کا تعلق اس گروہ سے نہیں ہے۔ \n* یہ # علامت اس بات کا اشارہ ہے کہ آپ اس گروہ کو نہیں ہٹا سکتے جسے ایک مرتبہ آپ نے شامل کردیا ہو۔", "userrights-reason": "وجہ:", "userrights-no-interwiki": "دوسرے ویکیوں پر حقوقِ صارف میں ترمیم کی آپ کو اجازت نہیں ہے.", "userrights-nodatabase": "ڈیٹابیس $1 موجود نہیں یا مقامی نہیں۔", @@ -1081,7 +1082,11 @@ "userrights-expiry-current": "وقت اختتام $1", "userrights-expiry-none": "لامحدود", "userrights-expiry": "اختتام:", + "userrights-expiry-existing": "موجودہ وقت اختتام: $3، $2", "userrights-expiry-othertime": "دیگر وقت:", + "userrights-expiry-options": "1 دن:1 day,1 ہفتہ:1 week,1 مہینہ:1 month,3 مہینے:3 months,6 مہینے:6 months,1 سال:1 year", + "userrights-invalid-expiry": "گروہ «$1» کا وقت اختتام درست نہیں ہے۔", + "userrights-expiry-in-past": "گروہ «$1» کا وقت اختتام بیت چکا ہے۔", "userrights-conflict": "اختیارات کی تبدیلی میں تنازع! براہ کرم نظر ثانی کریں اور اپنی تبدیلیوں کی تصدیق کریں۔", "group": "حلقہ:", "group-user": "صارفین", @@ -1208,6 +1213,7 @@ "grant-basic": "بنیادی اختیارات", "grant-viewdeleted": "حذف شدہ فائلوں اور صفحات کا معائنہ", "grant-viewmywatchlist": "اپنی زیرنظر فہرست کا معائنہ", + "grant-viewrestrictedlogs": "ممنوع اندراجات نوشتہ دیکھیں", "newuserlogpage": "نوشتۂ آمد صارف", "newuserlogpagetext": "یہ نۓ صارفوں کی آمد کا نوشتہ ہے", "rightslog": "نوشتہ صارفی اختیارات", @@ -1232,6 +1238,7 @@ "action-writeapi": "اے پی آئی تحریر کے استعمال کرنے", "action-delete": "یہ صفحہ حذف کرنے", "action-deleterevision": "یہ نسخہ حذف کرنے", + "action-deletelogentry": "نوشتے کے اندراجات کو حذف کریں", "action-deletedhistory": "اس صفحہ کا حذف شدہ تاریخچہ دیکھیں", "action-browsearchive": "حذف شدہ صفحات میں تلاش کرنے", "action-undelete": "یہ صفحہ بحال کرنے", @@ -1250,6 +1257,7 @@ "action-userrights-interwiki": "دوسری ویکیوں پر صارف کے اختیارات میں ترمیم کرنے", "action-siteadmin": "ڈیٹابیس کو مقفل کرنے یا کھولنے", "action-sendemail": "برقی خطوط روانہ کرنے", + "action-editmyoptions": "اپنی ترجیحات میں ترمیم کرنے", "action-editmywatchlist": "اپنی زیرنظر فہرست میں ترمیم کرنے", "action-viewmywatchlist": "اپنی زیر نظر فہرست دیکھنے", "action-viewmyprivateinfo": "اپنی نجی معلومات دیکھنے", @@ -1276,6 +1284,7 @@ "recentchanges-legend-heading": "اختصارات:", "recentchanges-legend-newpage": "{{int:recentchanges-label-newpage}} (نیز [[Special:NewPages|جدید صفحات کی فہرست]]) ملاحظہ فرمائیں", "recentchanges-submit": "دکھائیں", + "rcfilters-tag-remove": "حذف «$1»", "rcfilters-legend-heading": "اختصارات کی فہرست:", "rcfilters-other-review-tools": "نظرثانی کے دیگر آلات", "rcfilters-group-results-by-page": "نتائج گروہ بندی بلحاظ صفحہ", @@ -1287,15 +1296,38 @@ "rcfilters-days-title": "حالیہ دنوں کی تعداد", "rcfilters-hours-title": "حالیہ گھنٹوں کی تعداد", "rcfilters-days-show-days": "$1 {{PLURAL:$1|دن}}", + "rcfilters-days-show-hours": "$1 {{PLURAL:$1|گھنٹہ|گھنٹے}}", + "rcfilters-highlighted-filters-list": "نمایاں: $1", "rcfilters-quickfilters": "محفوظ فلٹر", - "rcfilters-quickfilters-placeholder-title": "اب تک کوئی ربط محفوظ نہیں ہوا ہے", + "rcfilters-quickfilters-placeholder-title": "اب تک کوئی فلٹر محفوظ نہیں ہوا ہے", "rcfilters-quickfilters-placeholder-description": "اپنی فلٹر ترتیبات کو محفوظ اور انہیں دوبارہ استعمال کرنے کے لیے نیچے فعال فلٹر خانے میں موجود بک مارک کی علامت پر کلک کریں۔", "rcfilters-savedqueries-defaultlabel": "محفوظ فلٹر", + "rcfilters-savedqueries-rename": "نام کی تبدیلی", + "rcfilters-savedqueries-setdefault": "طے شدہ طور پر محفوظ کریں", + "rcfilters-savedqueries-unsetdefault": "طے شدہ طور پر ہٹائیں", + "rcfilters-savedqueries-remove": "ہٹائیں", + "rcfilters-savedqueries-new-name-label": "نام", + "rcfilters-savedqueries-new-name-placeholder": "فلٹر کا مقصد واضح کریں", + "rcfilters-savedqueries-apply-label": "فلٹر بنائیں", + "rcfilters-savedqueries-apply-and-setdefault-label": "طے شدہ فلٹر بنائیں", + "rcfilters-savedqueries-cancel-label": "منسوخ کریں", + "rcfilters-savedqueries-add-new-title": "فلٹر کی موجودہ ترتیبات محفوظ کریں", + "rcfilters-restore-default-filters": "طے شدہ فلٹر بحال کریں", + "rcfilters-clear-all-filters": "تمام فلٹروں کو ہٹائیں", "rcfilters-show-new-changes": "تازہ ترین تبدیلیاں دیکھیں", "rcfilters-search-placeholder": "حالیہ تبدیلیوں کا فلٹر (تلاش یا تحریر کریں)", + "rcfilters-invalid-filter": "نادرست فلٹر", + "rcfilters-empty-filter": "کوئی فلٹر فعال نہیں ہے چنانچہ تمام شراکتیں دکھائی جا رہی ہیں۔", "rcfilters-filterlist-title": "فلٹروں کی فہرست", + "rcfilters-filterlist-whatsthis": "یہ کام کیسے کرتے ہیں؟", "rcfilters-filterlist-feedbacklink": "ان (نئے) فلٹر آلات کے متعلق ہمیں اپنے تاثرات سے آگاہ کریں", "rcfilters-highlightbutton-title": "نتائج کو نمایاں کریں", + "rcfilters-highlightmenu-title": "رنگ پسند کریں", + "rcfilters-highlightmenu-help": "اس خاصیت کو نمایاں کرنے کے لیے کوئی رنگ پسند کریں", + "rcfilters-filterlist-noresults": "کوئی فلٹر نہیں ملا", + "rcfilters-noresults-conflict": "کوئی نتیجہ برآمد نہیں ہوا کیونکہ تلاش کی کسوٹی باہم متعارض ہے", + "rcfilters-state-message-subset": "یہ فلٹر غیر موثر ہے کیونکہ اس کے نتائج ذیل کے زیادہ عمومی {{PLURAL:$2|فلٹر|فلٹروں}} میں شامل ہیں (اسے نمایاں کرنے کی کوشش کریں): $1", + "rcfilters-state-message-fullcoverage": "اس گروہ میں تمام فلٹروں کو منتخب کرنے کا کوئی فائدہ نہیں، لہذا یہ فلٹر غیر موثر ہے۔ گروہ میں یہ شامل ہیں: $1", "rcfilters-filtergroup-authorship": "ویکی نویسی", "rcfilters-filter-editsbyself-label": "آپ کی تبدیلیاں", "rcfilters-filter-editsbyself-description": "آپ کی اپنی شراکتیں", @@ -1317,16 +1349,27 @@ "rcfilters-filter-bots-description": "ترامیم بذریعہ خودکار آلات", "rcfilters-filter-humans-label": "دستی (غیر روبہ جاتی)", "rcfilters-filter-humans-description": "ترامیم بدست انسانی", + "rcfilters-filtergroup-reviewstatus": "نظر ثانی کی صورت حال", + "rcfilters-filter-patrolled-label": "مراجعت شدہ", + "rcfilters-filter-patrolled-description": "بطور مراجعت شدہ نشان زد ترامیم", + "rcfilters-filter-unpatrolled-label": "غیر مراجعت شدہ", + "rcfilters-filter-unpatrolled-description": "غیر مراجعت شدہ نشان زد ترامیم", "rcfilters-filtergroup-significance": "اہمیت", "rcfilters-filter-minor-label": "معمولی ترامیم", "rcfilters-filter-minor-description": "ترامیم جنہیں صارفین نے معمولی قرار دیا", + "rcfilters-filter-major-label": "معمولی ترامیم کے سوا", "rcfilters-filter-major-description": "ترامیم جنہیں معمولی قرار نہیں دیا گیا", "rcfilters-filtergroup-watchlist": "زیر نظر صفحات", + "rcfilters-filter-watchlist-watched-label": "زیر نظر فہرست میں", "rcfilters-filter-watchlist-watched-description": "آپ کی زیر نظر فہرست کے صفحات میں ہونے والی تبدیلیاں۔", + "rcfilters-filter-watchlist-watchednew-label": "زیر نظر فہرست کی نئی تبدیلیاں", "rcfilters-filter-watchlist-watchednew-description": "آپ کے ان زیر نظر صفحات کی تبدیلیاں جنہیں آپ نے تبدیل ہونے کے بعد نہیں دیکھا۔", "rcfilters-filter-watchlist-notwatched-label": "زیر نظر فہرست میں نہیں", "rcfilters-filter-watchlist-notwatched-description": "اپنے زیر نظر صفحات کی تبدیلیوں کے سوا سب کچھ", + "rcfilters-filtergroup-watchlistactivity": "زیر نظر فہرست کی سرگرمی", + "rcfilters-filter-watchlistactivity-unseen-label": "نادیدہ تبدیلیاں", "rcfilters-filter-watchlistactivity-unseen-description": "ان صفحات کی تبدیلیاں جنہیں آپ نے تبدیل ہونے کے بعد نہیں دیکھا۔", + "rcfilters-filter-watchlistactivity-seen-label": "دیدہ تبدیلیاں", "rcfilters-filter-watchlistactivity-seen-description": "ان صفحات کی تبدیلیاں جنہیں آپ نے تبدیل ہونے کے بعد دیکھا ہے۔", "rcfilters-filtergroup-changetype": "تبدیلی کی نوعیت", "rcfilters-filter-pageedits-label": "صفحاتی ترامیم", @@ -1337,20 +1380,34 @@ "rcfilters-filter-categorization-description": "زمروں میں شامل یا ان سے حذف کیے جانے والے صفحات کے نوشتے", "rcfilters-filter-logactions-label": "درج نوشتہ اقدامات", "rcfilters-filter-logactions-description": "انتظامی اقدامات، تخلیق کھاتہ، صفحات کی حذف شدگی، اپلوڈ وغیرہ۔۔۔", + "rcfilters-hideminor-conflicts-typeofchange-global": "«معمولی ترامیم» والا فلٹر «تبدیلی کی نوعیت» والے ایک یا زائد فلٹروں سے متعارض ہو جاتا ہے کیونکہ کچھ مخصوص قسم کی تبدیلیاں \"معمولی\" نہیں کہلاتیں۔ یہ متعارض فلٹر اوپر موجود «فعال فلٹر» کے تحت نمایاں کر دیے گئے ہیں۔", + "rcfilters-hideminor-conflicts-typeofchange": "مخصوص قسم کی تبدیلیاں \"معمولی\" نہیں کہلاتیں، اس صورت میں یہ فلٹر درج ذیل «تبدیلی کی نوعیت» فلٹروں سے متعارض ہو جاتا ہے: $1", + "rcfilters-typeofchange-conflicts-hideminor": "اس نوعیت کی تبدیلی والا فلٹر «معمولی ترامیم» والے فلٹر سے متعارض ہو جاتا ہے؛ کیونکہ کچھ مخصوص قسم کی تبدیلیاں \"معمولی\" نہیں کہلاتیں۔", "rcfilters-filtergroup-lastRevision": "تازہ ترین نسخے", + "rcfilters-filter-lastrevision-label": "تازہ ترین نسخہ", "rcfilters-filter-lastrevision-description": "صفحے کی محض حالیہ ترین تبدیلی", "rcfilters-filter-previousrevision-label": "تازہ ترین نسخہ کے سوا", "rcfilters-filter-previousrevision-description": "«تازہ ترین نسخہ» کے سوا تمام تبدیلیاں", "rcfilters-filter-excluded": "مستثنیٰ شدہ", + "rcfilters-tag-prefix-namespace-inverted": ":نہیں $1", "rcfilters-exclude-button-off": "منتخب شدہ کو مستثنیٰ کریں", + "rcfilters-exclude-button-on": "منتخب شدہ مستثنی ہیں", "rcfilters-view-advanced-filters-label": "اضافی فلٹر", "rcfilters-view-tags": "ٹیگ شدہ ترامیم", + "rcfilters-view-namespaces-tooltip": "فلٹر کے نتائج بلحاظ نام فضا", + "rcfilters-view-tags-tooltip": "ترمیمی ٹیگ کے ذریعہ نتائج کو فلٹر کریں", + "rcfilters-view-return-to-default-tooltip": "فلٹر کے مرکزی مینو میں واپس جائیں", "rcfilters-view-tags-help-icon-tooltip": "ٹیگ شدہ ترامیم کے متعلق مزید معلومات", + "rcfilters-liveupdates-button": "راست تبدیلیاں", + "rcfilters-liveupdates-button-title-on": "راست تبدیلیاں بند کریں", + "rcfilters-liveupdates-button-title-off": "نئی تبدیلیاں ہوتے ہی دکھائیں", + "rcfilters-watchlist-markseen-button": "تمام تبدیلیوں کو بطور دیدہ نشان زد کریں", "rcfilters-watchlist-edit-watchlist-button": "اپنی زیرنظر صفحات کی فہرست ترمیم کیجیے", "rcfilters-watchlist-showupdated": "تبدیلیوں کے رونما ہونے کے بعد جن صفحات کو آپ نے نہیں دیکھا وہ جلی حرفوں میں ٹھوس علامتوں کے ساتھ نظر آئیں گے۔", "rcfilters-preference-label": "حالیہ تبدیلیوں کا اصلاح شدہ نسخہ چھپائیں", "rcfilters-preference-help": "سنہ 2017ء کے انٹرفیس کو واپس لایا گیا ہے اور تمام آلات کو شامل کیا گیا ہے۔", "rcnotefrom": "ذیل میں $2 سے کی گئی {{PLURAL:$5|تبدیلی|تبدیلیاں}} $1 تک دکھائی جا رہی ہیں۔", + "rclistfromreset": "انتخاب تاریخ کی ترتیب نو", "rclistfrom": "$2، $3ء سے ہونے والی نئی تبدیلیاں دکھائیں", "rcshowhideminor": "معمولی ترامیم $1", "rcshowhideminor-show": "دکھائیں", diff --git a/languages/messages/MessagesKo.php b/languages/messages/MessagesKo.php index 3ac7779fb4..3146a36b5e 100644 --- a/languages/messages/MessagesKo.php +++ b/languages/messages/MessagesKo.php @@ -142,7 +142,7 @@ $specialPageAliases = [ 'Preferences' => [ '환경설정' ], 'Prefixindex' => [ '접두어찾기' ], 'Protectedpages' => [ '보호된문서' ], - 'Protectedtitles' => [ '만들기보호된문서', '생성보호된문서' ], + 'Protectedtitles' => [ '생성보호된문서', '만들기보호된문서' ], 'Randompage' => [ '임의문서' ], 'RandomInCategory' => [ '분류안의임의문서' ], 'Randomredirect' => [ '임의넘겨주기' ], @@ -165,7 +165,7 @@ $specialPageAliases = [ 'Uncategorizedpages' => [ '분류안된문서' ], 'Uncategorizedtemplates' => [ '분류안된틀' ], 'Undelete' => [ '삭제취소', '삭제된문서' ], - 'Unlockdb' => [ 'DB잠금취소', 'DB잠금해제' ], + 'Unlockdb' => [ 'DB잠금해제', 'DB잠금취소' ], 'Unusedcategories' => [ '안쓰는분류', '쓰이지않는분류' ], 'Unusedimages' => [ '안쓰는파일', '안쓰는그림', '쓰이지않는파일', '쓰이지않는그림' ], 'Unusedtemplates' => [ '안쓰는틀', '쓰이지않는틀' ], @@ -311,8 +311,8 @@ $magicWords = [ 'displaytitle' => [ '1', '보일제목', '표시제목', 'DISPLAYTITLE' ], 'rawsuffix' => [ '1', '원', 'R' ], 'nocommafysuffix' => [ '0', '구분자없음', 'NOSEP' ], - 'newsectionlink' => [ '1', '__새글쓰기__', '__NEWSECTIONLINK__' ], - 'nonewsectionlink' => [ '1', '__새글쓰기숨기기__', '__NONEWSECTIONLINK__' ], + 'newsectionlink' => [ '1', '__새문단쓰기__', '__새글쓰기__', '__NEWSECTIONLINK__' ], + 'nonewsectionlink' => [ '1', '__새문단쓰기숨기기__', '__새글쓰기숨기기__', '__NONEWSECTIONLINK__' ], 'currentversion' => [ '1', '현재버전', 'CURRENTVERSION' ], 'urlencode' => [ '0', '주소인코딩:', 'URLENCODE:' ], 'anchorencode' => [ '0', '책갈피인코딩', 'ANCHORENCODE' ], @@ -353,7 +353,7 @@ $magicWords = [ ]; $bookstoreList = [ - 'Aladdin.co.kr' => 'http://www.aladdin.co.kr/catalog/book.asp?ISBN=$1', + 'Aladin.co.kr' => 'http://www.aladin.co.kr/catalog/book.asp?ISBN=$1', 'inherit' => true, ]; diff --git a/maintenance/checkImages.php b/maintenance/checkImages.php index 3e57393096..2df0a0954c 100644 --- a/maintenance/checkImages.php +++ b/maintenance/checkImages.php @@ -44,7 +44,8 @@ class CheckImages extends Maintenance { $repo = RepoGroup::singleton()->getLocalRepo(); do { - $res = $dbr->select( 'image', '*', [ 'img_name > ' . $dbr->addQuotes( $start ) ], + $res = $dbr->select( 'image', LocalFile::selectFields(), + [ 'img_name > ' . $dbr->addQuotes( $start ) ], __METHOD__, [ 'LIMIT' => $this->mBatchSize ] ); foreach ( $res as $row ) { $numImages++; diff --git a/maintenance/cleanupBlocks.php b/maintenance/cleanupBlocks.php index 7a3034fb78..f489333f8f 100644 --- a/maintenance/cleanupBlocks.php +++ b/maintenance/cleanupBlocks.php @@ -66,7 +66,7 @@ class CleanupBlocks extends Maintenance { $bestBlock = null; $res2 = $db->select( 'ipblocks', - '*', + Block::selectFields(), [ 'ipb_user' => $row->ipb_user, ] diff --git a/maintenance/compareParserCache.php b/maintenance/compareParserCache.php index 504c7d7ace..afbb2685e0 100644 --- a/maintenance/compareParserCache.php +++ b/maintenance/compareParserCache.php @@ -45,7 +45,12 @@ class CompareParserCache extends Maintenance { $withdiff = 0; $parserCache = MediaWikiServices::getInstance()->getParserCache(); while ( $pages-- > 0 ) { - $row = $dbr->selectRow( 'page', '*', + $row = $dbr->selectRow( 'page', + // @todo Title::selectFields() or Title::getQueryInfo() or something + [ + 'page_namespace', 'page_title', 'page_id', + 'page_len', 'page_is_redirect', 'page_latest', + ], [ 'page_namespace' => $this->getOption( 'namespace' ), 'page_is_redirect' => 0, diff --git a/maintenance/eraseArchivedFile.php b/maintenance/eraseArchivedFile.php index c90056db45..05fbbbcb49 100644 --- a/maintenance/eraseArchivedFile.php +++ b/maintenance/eraseArchivedFile.php @@ -55,7 +55,7 @@ class EraseArchivedFile extends Maintenance { $afile = false; } else { // specified version $dbw = $this->getDB( DB_MASTER ); - $row = $dbw->selectRow( 'filearchive', '*', + $row = $dbw->selectRow( 'filearchive', ArchivedFile::selectFields(), [ 'fa_storage_group' => 'deleted', 'fa_storage_key' => $filekey ], __METHOD__ ); if ( !$row ) { @@ -85,7 +85,7 @@ class EraseArchivedFile extends Maintenance { protected function scrubAllVersions( $name ) { $dbw = $this->getDB( DB_MASTER ); - $res = $dbw->select( 'filearchive', '*', + $res = $dbw->select( 'filearchive', ArchivedFile::selectFields(), [ 'fa_name' => $name, 'fa_storage_group' => 'deleted' ], __METHOD__ ); foreach ( $res as $row ) { diff --git a/maintenance/populateLogSearch.php b/maintenance/populateLogSearch.php index 1b07407e4a..e75b84d530 100644 --- a/maintenance/populateLogSearch.php +++ b/maintenance/populateLogSearch.php @@ -76,7 +76,9 @@ class PopulateLogSearch extends LoggedUpdateMaintenance { while ( $blockEnd <= $end ) { $this->output( "...doing log_id from $blockStart to $blockEnd\n" ); $cond = "log_id BETWEEN $blockStart AND $blockEnd"; - $res = $db->select( 'logging', '*', $cond, __FUNCTION__ ); + $res = $db->select( + 'logging', [ 'log_id', 'log_type', 'log_action', 'log_params' ], $cond, __FUNCTION__ + ); foreach ( $res as $row ) { // RevisionDelete logs - revisions if ( LogEventsList::typeAction( $row, $delTypes, 'revision' ) ) { diff --git a/maintenance/populateRevisionSha1.php b/maintenance/populateRevisionSha1.php index fb97e910f8..c06f1e85df 100644 --- a/maintenance/populateRevisionSha1.php +++ b/maintenance/populateRevisionSha1.php @@ -55,10 +55,10 @@ class PopulateRevisionSha1 extends LoggedUpdateMaintenance { } $this->output( "Populating rev_sha1 column\n" ); - $rc = $this->doSha1Updates( 'revision', 'rev_id', 'rev' ); + $rc = $this->doSha1Updates( 'revision', 'rev_id', Revision::selectFields(), 'rev' ); $this->output( "Populating ar_sha1 column\n" ); - $ac = $this->doSha1Updates( 'archive', 'ar_rev_id', 'ar' ); + $ac = $this->doSha1Updates( 'archive', 'ar_rev_id', Revision::selectArchiveFields(), 'ar' ); $this->output( "Populating ar_sha1 column legacy rows\n" ); $ac += $this->doSha1LegacyUpdates(); @@ -74,7 +74,7 @@ class PopulateRevisionSha1 extends LoggedUpdateMaintenance { * @param string $prefix * @return int Rows changed */ - protected function doSha1Updates( $table, $idCol, $prefix ) { + protected function doSha1Updates( $table, $idCol, $fields, $prefix ) { $db = $this->getDB( DB_MASTER ); $start = $db->selectField( $table, "MIN($idCol)", false, __METHOD__ ); $end = $db->selectField( $table, "MAX($idCol)", false, __METHOD__ ); @@ -93,7 +93,7 @@ class PopulateRevisionSha1 extends LoggedUpdateMaintenance { $this->output( "...doing $idCol from $blockStart to $blockEnd\n" ); $cond = "$idCol BETWEEN $blockStart AND $blockEnd AND $idCol IS NOT NULL AND {$prefix}_sha1 = ''"; - $res = $db->select( $table, '*', $cond, __METHOD__ ); + $res = $db->select( $table, $fields, $cond, __METHOD__ ); $this->beginTransaction( $db, __METHOD__ ); foreach ( $res as $row ) { @@ -117,7 +117,7 @@ class PopulateRevisionSha1 extends LoggedUpdateMaintenance { protected function doSha1LegacyUpdates() { $count = 0; $db = $this->getDB( DB_MASTER ); - $res = $db->select( 'archive', '*', + $res = $db->select( 'archive', Revision::selectArchiveFields(), [ 'ar_rev_id IS NULL', 'ar_sha1' => '' ], __METHOD__ ); $updateSize = 0; diff --git a/maintenance/rebuildImages.php b/maintenance/rebuildImages.php index 109350cd74..a8fb9a3bd0 100644 --- a/maintenance/rebuildImages.php +++ b/maintenance/rebuildImages.php @@ -125,12 +125,12 @@ class ImageBuilder extends Maintenance { flush(); } - function buildTable( $table, $key, $callback ) { + function buildTable( $table, $key, $fields, $callback ) { $count = $this->dbw->selectField( $table, 'count(*)', '', __METHOD__ ); $this->init( $count, $table ); $this->output( "Processing $table...\n" ); - $result = $this->getDB( DB_REPLICA )->select( $table, '*', [], __METHOD__ ); + $result = $this->getDB( DB_REPLICA )->select( $table, $fields, [], __METHOD__ ); foreach ( $result as $row ) { $update = call_user_func( $callback, $row, null ); @@ -145,7 +145,7 @@ class ImageBuilder extends Maintenance { function buildImage() { $callback = [ $this, 'imageCallback' ]; - $this->buildTable( 'image', 'img_name', $callback ); + $this->buildTable( 'image', 'img_name', LocalFile::selectFields(), $callback ); } function imageCallback( $row, $copy ) { @@ -157,7 +157,8 @@ class ImageBuilder extends Maintenance { } function buildOldImage() { - $this->buildTable( 'oldimage', 'oi_archive_name', [ $this, 'oldimageCallback' ] ); + $this->buildTable( 'oldimage', 'oi_archive_name', OldLocalFile::selectFields(), + [ $this, 'oldimageCallback' ] ); } function oldimageCallback( $row, $copy ) { diff --git a/maintenance/refreshFileHeaders.php b/maintenance/refreshFileHeaders.php index fd3faeb622..16702350f6 100644 --- a/maintenance/refreshFileHeaders.php +++ b/maintenance/refreshFileHeaders.php @@ -76,7 +76,7 @@ class RefreshFileHeaders extends Maintenance { $conds[] = "img_minor_mime = {$dbr->addQuotes( $minor_mime )}"; } - $res = $dbr->select( 'image', '*', $conds, + $res = $dbr->select( 'image', LocalFile::selectFields(), $conds, __METHOD__, [ 'LIMIT' => $this->mBatchSize, 'ORDER BY' => 'img_name ASC' ] ); if ( $res->numRows() > 0 ) { diff --git a/maintenance/refreshImageMetadata.php b/maintenance/refreshImageMetadata.php index f6e9e9c35f..41da6b46e4 100644 --- a/maintenance/refreshImageMetadata.php +++ b/maintenance/refreshImageMetadata.php @@ -127,7 +127,7 @@ class RefreshImageMetadata extends Maintenance { do { $res = $dbw->select( 'image', - '*', + LocalFile::selectFields(), array_merge( $conds, $conds2 ), __METHOD__, $options diff --git a/maintenance/storage/testCompression.php b/maintenance/storage/testCompression.php index 90d8d03110..deb2ca60d5 100644 --- a/maintenance/storage/testCompression.php +++ b/maintenance/storage/testCompression.php @@ -50,7 +50,11 @@ $type = isset( $options['type'] ) ? $options['type'] : 'ConcatenatedGzipHistoryB $dbr = $this->getDB( DB_REPLICA ); $res = $dbr->select( [ 'page', 'revision', 'text' ], - '*', + array_merge( + Revision::selectFields(), + Revision::selectPageFields(), + Revision::selectTextFields() + ), [ 'page_namespace' => $title->getNamespace(), 'page_title' => $title->getDBkey(), diff --git a/resources/Resources.php b/resources/Resources.php index 6ae88b1d2f..7afd89d58a 100644 --- a/resources/Resources.php +++ b/resources/Resources.php @@ -132,14 +132,10 @@ return [ /* jQuery */ 'jquery' => [ - 'scripts' => ( $GLOBALS['wgUsejQueryThree'] ? - [ - 'resources/lib/jquery/jquery3.js', - 'resources/lib/jquery/jquery.migrate.js', - ] : [ - 'resources/lib/jquery/jquery.js', - ] - ), + 'scripts' => [ + 'resources/lib/jquery/jquery3.js', + 'resources/lib/jquery/jquery.migrate.js', + ], 'raw' => true, 'targets' => [ 'desktop', 'mobile' ], ], diff --git a/resources/lib/jquery/jquery.js b/resources/lib/jquery/jquery.js deleted file mode 100644 index 6feb11086f..0000000000 --- a/resources/lib/jquery/jquery.js +++ /dev/null @@ -1,10351 +0,0 @@ -/*! - * jQuery JavaScript Library v1.11.3 - * http://jquery.com/ - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * - * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors - * Released under the MIT license - * http://jquery.org/license - * - * Date: 2015-04-28T16:19Z - */ - -(function( global, factory ) { - - if ( typeof module === "object" && typeof module.exports === "object" ) { - // For CommonJS and CommonJS-like environments where a proper window is present, - // execute the factory and get jQuery - // For environments that do not inherently posses a window with a document - // (such as Node.js), expose a jQuery-making factory as module.exports - // This accentuates the need for the creation of a real window - // e.g. var jQuery = require("jquery")(window); - // See ticket #14549 for more info - module.exports = global.document ? - factory( global, true ) : - function( w ) { - if ( !w.document ) { - throw new Error( "jQuery requires a window with a document" ); - } - return factory( w ); - }; - } else { - factory( global ); - } - -// Pass this if window is not defined yet -}(typeof window !== "undefined" ? window : this, function( window, noGlobal ) { - -// Can't do this because several apps including ASP.NET trace -// the stack via arguments.caller.callee and Firefox dies if -// you try to trace through "use strict" call chains. (#13335) -// Support: Firefox 18+ -// - -var deletedIds = []; - -var slice = deletedIds.slice; - -var concat = deletedIds.concat; - -var push = deletedIds.push; - -var indexOf = deletedIds.indexOf; - -var class2type = {}; - -var toString = class2type.toString; - -var hasOwn = class2type.hasOwnProperty; - -var support = {}; - - - -var - version = "1.11.3", - - // Define a local copy of jQuery - jQuery = function( selector, context ) { - // The jQuery object is actually just the init constructor 'enhanced' - // Need init if jQuery is called (just allow error to be thrown if not included) - return new jQuery.fn.init( selector, context ); - }, - - // Support: Android<4.1, IE<9 - // Make sure we trim BOM and NBSP - rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, - - // Matches dashed string for camelizing - rmsPrefix = /^-ms-/, - rdashAlpha = /-([\da-z])/gi, - - // Used by jQuery.camelCase as callback to replace() - fcamelCase = function( all, letter ) { - return letter.toUpperCase(); - }; - -jQuery.fn = jQuery.prototype = { - // The current version of jQuery being used - jquery: version, - - constructor: jQuery, - - // Start with an empty selector - selector: "", - - // The default length of a jQuery object is 0 - length: 0, - - toArray: function() { - return slice.call( this ); - }, - - // Get the Nth element in the matched element set OR - // Get the whole matched element set as a clean array - get: function( num ) { - return num != null ? - - // Return just the one element from the set - ( num < 0 ? this[ num + this.length ] : this[ num ] ) : - - // Return all the elements in a clean array - slice.call( this ); - }, - - // Take an array of elements and push it onto the stack - // (returning the new matched element set) - pushStack: function( elems ) { - - // Build a new jQuery matched element set - var ret = jQuery.merge( this.constructor(), elems ); - - // Add the old object onto the stack (as a reference) - ret.prevObject = this; - ret.context = this.context; - - // Return the newly-formed element set - return ret; - }, - - // Execute a callback for every element in the matched set. - // (You can seed the arguments with an array of args, but this is - // only used internally.) - each: function( callback, args ) { - return jQuery.each( this, callback, args ); - }, - - map: function( callback ) { - return this.pushStack( jQuery.map(this, function( elem, i ) { - return callback.call( elem, i, elem ); - })); - }, - - slice: function() { - return this.pushStack( slice.apply( this, arguments ) ); - }, - - first: function() { - return this.eq( 0 ); - }, - - last: function() { - return this.eq( -1 ); - }, - - eq: function( i ) { - var len = this.length, - j = +i + ( i < 0 ? len : 0 ); - return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] ); - }, - - end: function() { - return this.prevObject || this.constructor(null); - }, - - // For internal use only. - // Behaves like an Array's method, not like a jQuery method. - push: push, - sort: deletedIds.sort, - splice: deletedIds.splice -}; - -jQuery.extend = jQuery.fn.extend = function() { - var src, copyIsArray, copy, name, options, clone, - target = arguments[0] || {}, - i = 1, - length = arguments.length, - deep = false; - - // Handle a deep copy situation - if ( typeof target === "boolean" ) { - deep = target; - - // skip the boolean and the target - target = arguments[ i ] || {}; - i++; - } - - // Handle case when target is a string or something (possible in deep copy) - if ( typeof target !== "object" && !jQuery.isFunction(target) ) { - target = {}; - } - - // extend jQuery itself if only one argument is passed - if ( i === length ) { - target = this; - i--; - } - - for ( ; i < length; i++ ) { - // Only deal with non-null/undefined values - if ( (options = arguments[ i ]) != null ) { - // Extend the base object - for ( name in options ) { - src = target[ name ]; - copy = options[ name ]; - - // Prevent never-ending loop - if ( target === copy ) { - continue; - } - - // Recurse if we're merging plain objects or arrays - if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { - if ( copyIsArray ) { - copyIsArray = false; - clone = src && jQuery.isArray(src) ? src : []; - - } else { - clone = src && jQuery.isPlainObject(src) ? src : {}; - } - - // Never move original objects, clone them - target[ name ] = jQuery.extend( deep, clone, copy ); - - // Don't bring in undefined values - } else if ( copy !== undefined ) { - target[ name ] = copy; - } - } - } - } - - // Return the modified object - return target; -}; - -jQuery.extend({ - // Unique for each copy of jQuery on the page - expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), - - // Assume jQuery is ready without the ready module - isReady: true, - - error: function( msg ) { - throw new Error( msg ); - }, - - noop: function() {}, - - // See test/unit/core.js for details concerning isFunction. - // Since version 1.3, DOM methods and functions like alert - // aren't supported. They return false on IE (#2968). - isFunction: function( obj ) { - return jQuery.type(obj) === "function"; - }, - - isArray: Array.isArray || function( obj ) { - return jQuery.type(obj) === "array"; - }, - - isWindow: function( obj ) { - /* jshint eqeqeq: false */ - return obj != null && obj == obj.window; - }, - - isNumeric: function( obj ) { - // parseFloat NaNs numeric-cast false positives (null|true|false|"") - // ...but misinterprets leading-number strings, particularly hex literals ("0x...") - // subtraction forces infinities to NaN - // adding 1 corrects loss of precision from parseFloat (#15100) - return !jQuery.isArray( obj ) && (obj - parseFloat( obj ) + 1) >= 0; - }, - - isEmptyObject: function( obj ) { - var name; - for ( name in obj ) { - return false; - } - return true; - }, - - isPlainObject: function( obj ) { - var key; - - // Must be an Object. - // Because of IE, we also have to check the presence of the constructor property. - // Make sure that DOM nodes and window objects don't pass through, as well - if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { - return false; - } - - try { - // Not own constructor property must be Object - if ( obj.constructor && - !hasOwn.call(obj, "constructor") && - !hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { - return false; - } - } catch ( e ) { - // IE8,9 Will throw exceptions on certain host objects #9897 - return false; - } - - // Support: IE<9 - // Handle iteration over inherited properties before own properties. - if ( support.ownLast ) { - for ( key in obj ) { - return hasOwn.call( obj, key ); - } - } - - // Own properties are enumerated firstly, so to speed up, - // if last one is own, then all properties are own. - for ( key in obj ) {} - - return key === undefined || hasOwn.call( obj, key ); - }, - - type: function( obj ) { - if ( obj == null ) { - return obj + ""; - } - return typeof obj === "object" || typeof obj === "function" ? - class2type[ toString.call(obj) ] || "object" : - typeof obj; - }, - - // Evaluates a script in a global context - // Workarounds based on findings by Jim Driscoll - // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context - globalEval: function( data ) { - if ( data && jQuery.trim( data ) ) { - // We use execScript on Internet Explorer - // We use an anonymous function so that context is window - // rather than jQuery in Firefox - ( window.execScript || function( data ) { - window[ "eval" ].call( window, data ); - } )( data ); - } - }, - - // Convert dashed to camelCase; used by the css and data modules - // Microsoft forgot to hump their vendor prefix (#9572) - camelCase: function( string ) { - return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); - }, - - nodeName: function( elem, name ) { - return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); - }, - - // args is for internal usage only - each: function( obj, callback, args ) { - var value, - i = 0, - length = obj.length, - isArray = isArraylike( obj ); - - if ( args ) { - if ( isArray ) { - for ( ; i < length; i++ ) { - value = callback.apply( obj[ i ], args ); - - if ( value === false ) { - break; - } - } - } else { - for ( i in obj ) { - value = callback.apply( obj[ i ], args ); - - if ( value === false ) { - break; - } - } - } - - // A special, fast, case for the most common use of each - } else { - if ( isArray ) { - for ( ; i < length; i++ ) { - value = callback.call( obj[ i ], i, obj[ i ] ); - - if ( value === false ) { - break; - } - } - } else { - for ( i in obj ) { - value = callback.call( obj[ i ], i, obj[ i ] ); - - if ( value === false ) { - break; - } - } - } - } - - return obj; - }, - - // Support: Android<4.1, IE<9 - trim: function( text ) { - return text == null ? - "" : - ( text + "" ).replace( rtrim, "" ); - }, - - // results is for internal usage only - makeArray: function( arr, results ) { - var ret = results || []; - - if ( arr != null ) { - if ( isArraylike( Object(arr) ) ) { - jQuery.merge( ret, - typeof arr === "string" ? - [ arr ] : arr - ); - } else { - push.call( ret, arr ); - } - } - - return ret; - }, - - inArray: function( elem, arr, i ) { - var len; - - if ( arr ) { - if ( indexOf ) { - return indexOf.call( arr, elem, i ); - } - - len = arr.length; - i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0; - - for ( ; i < len; i++ ) { - // Skip accessing in sparse arrays - if ( i in arr && arr[ i ] === elem ) { - return i; - } - } - } - - return -1; - }, - - merge: function( first, second ) { - var len = +second.length, - j = 0, - i = first.length; - - while ( j < len ) { - first[ i++ ] = second[ j++ ]; - } - - // Support: IE<9 - // Workaround casting of .length to NaN on otherwise arraylike objects (e.g., NodeLists) - if ( len !== len ) { - while ( second[j] !== undefined ) { - first[ i++ ] = second[ j++ ]; - } - } - - first.length = i; - - return first; - }, - - grep: function( elems, callback, invert ) { - var callbackInverse, - matches = [], - i = 0, - length = elems.length, - callbackExpect = !invert; - - // Go through the array, only saving the items - // that pass the validator function - for ( ; i < length; i++ ) { - callbackInverse = !callback( elems[ i ], i ); - if ( callbackInverse !== callbackExpect ) { - matches.push( elems[ i ] ); - } - } - - return matches; - }, - - // arg is for internal usage only - map: function( elems, callback, arg ) { - var value, - i = 0, - length = elems.length, - isArray = isArraylike( elems ), - ret = []; - - // Go through the array, translating each of the items to their new values - if ( isArray ) { - for ( ; i < length; i++ ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret.push( value ); - } - } - - // Go through every key on the object, - } else { - for ( i in elems ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret.push( value ); - } - } - } - - // Flatten any nested arrays - return concat.apply( [], ret ); - }, - - // A global GUID counter for objects - guid: 1, - - // Bind a function to a context, optionally partially applying any - // arguments. - proxy: function( fn, context ) { - var args, proxy, tmp; - - if ( typeof context === "string" ) { - tmp = fn[ context ]; - context = fn; - fn = tmp; - } - - // Quick check to determine if target is callable, in the spec - // this throws a TypeError, but we will just return undefined. - if ( !jQuery.isFunction( fn ) ) { - return undefined; - } - - // Simulated bind - args = slice.call( arguments, 2 ); - proxy = function() { - return fn.apply( context || this, args.concat( slice.call( arguments ) ) ); - }; - - // Set the guid of unique handler to the same of original handler, so it can be removed - proxy.guid = fn.guid = fn.guid || jQuery.guid++; - - return proxy; - }, - - now: function() { - return +( new Date() ); - }, - - // jQuery.support is not used in Core but other projects attach their - // properties to it so it needs to exist. - support: support -}); - -// Populate the class2type map -jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) { - class2type[ "[object " + name + "]" ] = name.toLowerCase(); -}); - -function isArraylike( obj ) { - - // Support: iOS 8.2 (not reproducible in simulator) - // `in` check used to prevent JIT error (gh-2145) - // hasOwn isn't used here due to false negatives - // regarding Nodelist length in IE - var length = "length" in obj && obj.length, - type = jQuery.type( obj ); - - if ( type === "function" || jQuery.isWindow( obj ) ) { - return false; - } - - if ( obj.nodeType === 1 && length ) { - return true; - } - - return type === "array" || length === 0 || - typeof length === "number" && length > 0 && ( length - 1 ) in obj; -} -var Sizzle = -/*! - * Sizzle CSS Selector Engine v2.2.0-pre - * http://sizzlejs.com/ - * - * Copyright 2008, 2014 jQuery Foundation, Inc. and other contributors - * Released under the MIT license - * http://jquery.org/license - * - * Date: 2014-12-16 - */ -(function( window ) { - -var i, - support, - Expr, - getText, - isXML, - tokenize, - compile, - select, - outermostContext, - sortInput, - hasDuplicate, - - // Local document vars - setDocument, - document, - docElem, - documentIsHTML, - rbuggyQSA, - rbuggyMatches, - matches, - contains, - - // Instance-specific data - expando = "sizzle" + 1 * new Date(), - preferredDoc = window.document, - dirruns = 0, - done = 0, - classCache = createCache(), - tokenCache = createCache(), - compilerCache = createCache(), - sortOrder = function( a, b ) { - if ( a === b ) { - hasDuplicate = true; - } - return 0; - }, - - // General-purpose constants - MAX_NEGATIVE = 1 << 31, - - // Instance methods - hasOwn = ({}).hasOwnProperty, - arr = [], - pop = arr.pop, - push_native = arr.push, - push = arr.push, - slice = arr.slice, - // Use a stripped-down indexOf as it's faster than native - // http://jsperf.com/thor-indexof-vs-for/5 - indexOf = function( list, elem ) { - var i = 0, - len = list.length; - for ( ; i < len; i++ ) { - if ( list[i] === elem ) { - return i; - } - } - return -1; - }, - - booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", - - // Regular expressions - - // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace - whitespace = "[\\x20\\t\\r\\n\\f]", - // http://www.w3.org/TR/css3-syntax/#characters - characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", - - // Loosely modeled on CSS identifier characters - // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors - // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier - identifier = characterEncoding.replace( "w", "w#" ), - - // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors - attributes = "\\[" + whitespace + "*(" + characterEncoding + ")(?:" + whitespace + - // Operator (capture 2) - "*([*^$|!~]?=)" + whitespace + - // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]" - "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + whitespace + - "*\\]", - - pseudos = ":(" + characterEncoding + ")(?:\\((" + - // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: - // 1. quoted (capture 3; capture 4 or capture 5) - "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + - // 2. simple (capture 6) - "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + - // 3. anything else (capture 2) - ".*" + - ")\\)|)", - - // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter - rwhitespace = new RegExp( whitespace + "+", "g" ), - rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), - - rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), - rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), - - rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ), - - rpseudo = new RegExp( pseudos ), - ridentifier = new RegExp( "^" + identifier + "$" ), - - matchExpr = { - "ID": new RegExp( "^#(" + characterEncoding + ")" ), - "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ), - "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ), - "ATTR": new RegExp( "^" + attributes ), - "PSEUDO": new RegExp( "^" + pseudos ), - "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + - "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + - "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), - "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), - // For use in libraries implementing .is() - // We use this for POS matching in `select` - "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + - whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) - }, - - rinputs = /^(?:input|select|textarea|button)$/i, - rheader = /^h\d$/i, - - rnative = /^[^{]+\{\s*\[native \w/, - - // Easily-parseable/retrievable ID or TAG or CLASS selectors - rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, - - rsibling = /[+~]/, - rescape = /'|\\/g, - - // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters - runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), - funescape = function( _, escaped, escapedWhitespace ) { - var high = "0x" + escaped - 0x10000; - // NaN means non-codepoint - // Support: Firefox<24 - // Workaround erroneous numeric interpretation of +"0x" - return high !== high || escapedWhitespace ? - escaped : - high < 0 ? - // BMP codepoint - String.fromCharCode( high + 0x10000 ) : - // Supplemental Plane codepoint (surrogate pair) - String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); - }, - - // Used for iframes - // See setDocument() - // Removing the function wrapper causes a "Permission Denied" - // error in IE - unloadHandler = function() { - setDocument(); - }; - -// Optimize for push.apply( _, NodeList ) -try { - push.apply( - (arr = slice.call( preferredDoc.childNodes )), - preferredDoc.childNodes - ); - // Support: Android<4.0 - // Detect silently failing push.apply - arr[ preferredDoc.childNodes.length ].nodeType; -} catch ( e ) { - push = { apply: arr.length ? - - // Leverage slice if possible - function( target, els ) { - push_native.apply( target, slice.call(els) ); - } : - - // Support: IE<9 - // Otherwise append directly - function( target, els ) { - var j = target.length, - i = 0; - // Can't trust NodeList.length - while ( (target[j++] = els[i++]) ) {} - target.length = j - 1; - } - }; -} - -function Sizzle( selector, context, results, seed ) { - var match, elem, m, nodeType, - // QSA vars - i, groups, old, nid, newContext, newSelector; - - if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { - setDocument( context ); - } - - context = context || document; - results = results || []; - nodeType = context.nodeType; - - if ( typeof selector !== "string" || !selector || - nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { - - return results; - } - - if ( !seed && documentIsHTML ) { - - // Try to shortcut find operations when possible (e.g., not under DocumentFragment) - if ( nodeType !== 11 && (match = rquickExpr.exec( selector )) ) { - // Speed-up: Sizzle("#ID") - if ( (m = match[1]) ) { - if ( nodeType === 9 ) { - elem = context.getElementById( m ); - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document (jQuery #6963) - if ( elem && elem.parentNode ) { - // Handle the case where IE, Opera, and Webkit return items - // by name instead of ID - if ( elem.id === m ) { - results.push( elem ); - return results; - } - } else { - return results; - } - } else { - // Context is not a document - if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) && - contains( context, elem ) && elem.id === m ) { - results.push( elem ); - return results; - } - } - - // Speed-up: Sizzle("TAG") - } else if ( match[2] ) { - push.apply( results, context.getElementsByTagName( selector ) ); - return results; - - // Speed-up: Sizzle(".CLASS") - } else if ( (m = match[3]) && support.getElementsByClassName ) { - push.apply( results, context.getElementsByClassName( m ) ); - return results; - } - } - - // QSA path - if ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) { - nid = old = expando; - newContext = context; - newSelector = nodeType !== 1 && selector; - - // qSA works strangely on Element-rooted queries - // We can work around this by specifying an extra ID on the root - // and working up from there (Thanks to Andrew Dupont for the technique) - // IE 8 doesn't work on object elements - if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { - groups = tokenize( selector ); - - if ( (old = context.getAttribute("id")) ) { - nid = old.replace( rescape, "\\$&" ); - } else { - context.setAttribute( "id", nid ); - } - nid = "[id='" + nid + "'] "; - - i = groups.length; - while ( i-- ) { - groups[i] = nid + toSelector( groups[i] ); - } - newContext = rsibling.test( selector ) && testContext( context.parentNode ) || context; - newSelector = groups.join(","); - } - - if ( newSelector ) { - try { - push.apply( results, - newContext.querySelectorAll( newSelector ) - ); - return results; - } catch(qsaError) { - } finally { - if ( !old ) { - context.removeAttribute("id"); - } - } - } - } - } - - // All others - return select( selector.replace( rtrim, "$1" ), context, results, seed ); -} - -/** - * Create key-value caches of limited size - * @returns {Function(string, Object)} Returns the Object data after storing it on itself with - * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) - * deleting the oldest entry - */ -function createCache() { - var keys = []; - - function cache( key, value ) { - // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) - if ( keys.push( key + " " ) > Expr.cacheLength ) { - // Only keep the most recent entries - delete cache[ keys.shift() ]; - } - return (cache[ key + " " ] = value); - } - return cache; -} - -/** - * Mark a function for special use by Sizzle - * @param {Function} fn The function to mark - */ -function markFunction( fn ) { - fn[ expando ] = true; - return fn; -} - -/** - * Support testing using an element - * @param {Function} fn Passed the created div and expects a boolean result - */ -function assert( fn ) { - var div = document.createElement("div"); - - try { - return !!fn( div ); - } catch (e) { - return false; - } finally { - // Remove from its parent by default - if ( div.parentNode ) { - div.parentNode.removeChild( div ); - } - // release memory in IE - div = null; - } -} - -/** - * Adds the same handler for all of the specified attrs - * @param {String} attrs Pipe-separated list of attributes - * @param {Function} handler The method that will be applied - */ -function addHandle( attrs, handler ) { - var arr = attrs.split("|"), - i = attrs.length; - - while ( i-- ) { - Expr.attrHandle[ arr[i] ] = handler; - } -} - -/** - * Checks document order of two siblings - * @param {Element} a - * @param {Element} b - * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b - */ -function siblingCheck( a, b ) { - var cur = b && a, - diff = cur && a.nodeType === 1 && b.nodeType === 1 && - ( ~b.sourceIndex || MAX_NEGATIVE ) - - ( ~a.sourceIndex || MAX_NEGATIVE ); - - // Use IE sourceIndex if available on both nodes - if ( diff ) { - return diff; - } - - // Check if b follows a - if ( cur ) { - while ( (cur = cur.nextSibling) ) { - if ( cur === b ) { - return -1; - } - } - } - - return a ? 1 : -1; -} - -/** - * Returns a function to use in pseudos for input types - * @param {String} type - */ -function createInputPseudo( type ) { - return function( elem ) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === type; - }; -} - -/** - * Returns a function to use in pseudos for buttons - * @param {String} type - */ -function createButtonPseudo( type ) { - return function( elem ) { - var name = elem.nodeName.toLowerCase(); - return (name === "input" || name === "button") && elem.type === type; - }; -} - -/** - * Returns a function to use in pseudos for positionals - * @param {Function} fn - */ -function createPositionalPseudo( fn ) { - return markFunction(function( argument ) { - argument = +argument; - return markFunction(function( seed, matches ) { - var j, - matchIndexes = fn( [], seed.length, argument ), - i = matchIndexes.length; - - // Match elements found at the specified indexes - while ( i-- ) { - if ( seed[ (j = matchIndexes[i]) ] ) { - seed[j] = !(matches[j] = seed[j]); - } - } - }); - }); -} - -/** - * Checks a node for validity as a Sizzle context - * @param {Element|Object=} context - * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value - */ -function testContext( context ) { - return context && typeof context.getElementsByTagName !== "undefined" && context; -} - -// Expose support vars for convenience -support = Sizzle.support = {}; - -/** - * Detects XML nodes - * @param {Element|Object} elem An element or a document - * @returns {Boolean} True iff elem is a non-HTML XML node - */ -isXML = Sizzle.isXML = function( elem ) { - // documentElement is verified for cases where it doesn't yet exist - // (such as loading iframes in IE - #4833) - var documentElement = elem && (elem.ownerDocument || elem).documentElement; - return documentElement ? documentElement.nodeName !== "HTML" : false; -}; - -/** - * Sets document-related variables once based on the current document - * @param {Element|Object} [doc] An element or document object to use to set the document - * @returns {Object} Returns the current document - */ -setDocument = Sizzle.setDocument = function( node ) { - var hasCompare, parent, - doc = node ? node.ownerDocument || node : preferredDoc; - - // If no document and documentElement is available, return - if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { - return document; - } - - // Set our document - document = doc; - docElem = doc.documentElement; - parent = doc.defaultView; - - // Support: IE>8 - // If iframe document is assigned to "document" variable and if iframe has been reloaded, - // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936 - // IE6-8 do not support the defaultView property so parent will be undefined - if ( parent && parent !== parent.top ) { - // IE11 does not have attachEvent, so all must suffer - if ( parent.addEventListener ) { - parent.addEventListener( "unload", unloadHandler, false ); - } else if ( parent.attachEvent ) { - parent.attachEvent( "onunload", unloadHandler ); - } - } - - /* Support tests - ---------------------------------------------------------------------- */ - documentIsHTML = !isXML( doc ); - - /* Attributes - ---------------------------------------------------------------------- */ - - // Support: IE<8 - // Verify that getAttribute really returns attributes and not properties - // (excepting IE8 booleans) - support.attributes = assert(function( div ) { - div.className = "i"; - return !div.getAttribute("className"); - }); - - /* getElement(s)By* - ---------------------------------------------------------------------- */ - - // Check if getElementsByTagName("*") returns only elements - support.getElementsByTagName = assert(function( div ) { - div.appendChild( doc.createComment("") ); - return !div.getElementsByTagName("*").length; - }); - - // Support: IE<9 - support.getElementsByClassName = rnative.test( doc.getElementsByClassName ); - - // Support: IE<10 - // Check if getElementById returns elements by name - // The broken getElementById methods don't pick up programatically-set names, - // so use a roundabout getElementsByName test - support.getById = assert(function( div ) { - docElem.appendChild( div ).id = expando; - return !doc.getElementsByName || !doc.getElementsByName( expando ).length; - }); - - // ID find and filter - if ( support.getById ) { - Expr.find["ID"] = function( id, context ) { - if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { - var m = context.getElementById( id ); - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - return m && m.parentNode ? [ m ] : []; - } - }; - Expr.filter["ID"] = function( id ) { - var attrId = id.replace( runescape, funescape ); - return function( elem ) { - return elem.getAttribute("id") === attrId; - }; - }; - } else { - // Support: IE6/7 - // getElementById is not reliable as a find shortcut - delete Expr.find["ID"]; - - Expr.filter["ID"] = function( id ) { - var attrId = id.replace( runescape, funescape ); - return function( elem ) { - var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id"); - return node && node.value === attrId; - }; - }; - } - - // Tag - Expr.find["TAG"] = support.getElementsByTagName ? - function( tag, context ) { - if ( typeof context.getElementsByTagName !== "undefined" ) { - return context.getElementsByTagName( tag ); - - // DocumentFragment nodes don't have gEBTN - } else if ( support.qsa ) { - return context.querySelectorAll( tag ); - } - } : - - function( tag, context ) { - var elem, - tmp = [], - i = 0, - // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too - results = context.getElementsByTagName( tag ); - - // Filter out possible comments - if ( tag === "*" ) { - while ( (elem = results[i++]) ) { - if ( elem.nodeType === 1 ) { - tmp.push( elem ); - } - } - - return tmp; - } - return results; - }; - - // Class - Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { - if ( documentIsHTML ) { - return context.getElementsByClassName( className ); - } - }; - - /* QSA/matchesSelector - ---------------------------------------------------------------------- */ - - // QSA and matchesSelector support - - // matchesSelector(:active) reports false when true (IE9/Opera 11.5) - rbuggyMatches = []; - - // qSa(:focus) reports false when true (Chrome 21) - // We allow this because of a bug in IE8/9 that throws an error - // whenever `document.activeElement` is accessed on an iframe - // So, we allow :focus to pass through QSA all the time to avoid the IE error - // See http://bugs.jquery.com/ticket/13378 - rbuggyQSA = []; - - if ( (support.qsa = rnative.test( doc.querySelectorAll )) ) { - // Build QSA regex - // Regex strategy adopted from Diego Perini - assert(function( div ) { - // Select is set to empty string on purpose - // This is to test IE's treatment of not explicitly - // setting a boolean content attribute, - // since its presence should be enough - // http://bugs.jquery.com/ticket/12359 - docElem.appendChild( div ).innerHTML = "" + - ""; - - // Support: IE8, Opera 11-12.16 - // Nothing should be selected when empty strings follow ^= or $= or *= - // The test attribute must be unknown in Opera but "safe" for WinRT - // http://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section - if ( div.querySelectorAll("[msallowcapture^='']").length ) { - rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); - } - - // Support: IE8 - // Boolean attributes and "value" are not treated correctly - if ( !div.querySelectorAll("[selected]").length ) { - rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); - } - - // Support: Chrome<29, Android<4.2+, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.7+ - if ( !div.querySelectorAll( "[id~=" + expando + "-]" ).length ) { - rbuggyQSA.push("~="); - } - - // Webkit/Opera - :checked should return selected option elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - // IE8 throws error here and will not see later tests - if ( !div.querySelectorAll(":checked").length ) { - rbuggyQSA.push(":checked"); - } - - // Support: Safari 8+, iOS 8+ - // https://bugs.webkit.org/show_bug.cgi?id=136851 - // In-page `selector#id sibing-combinator selector` fails - if ( !div.querySelectorAll( "a#" + expando + "+*" ).length ) { - rbuggyQSA.push(".#.+[+~]"); - } - }); - - assert(function( div ) { - // Support: Windows 8 Native Apps - // The type and name attributes are restricted during .innerHTML assignment - var input = doc.createElement("input"); - input.setAttribute( "type", "hidden" ); - div.appendChild( input ).setAttribute( "name", "D" ); - - // Support: IE8 - // Enforce case-sensitivity of name attribute - if ( div.querySelectorAll("[name=d]").length ) { - rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); - } - - // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) - // IE8 throws error here and will not see later tests - if ( !div.querySelectorAll(":enabled").length ) { - rbuggyQSA.push( ":enabled", ":disabled" ); - } - - // Opera 10-11 does not throw on post-comma invalid pseudos - div.querySelectorAll("*,:x"); - rbuggyQSA.push(",.*:"); - }); - } - - if ( (support.matchesSelector = rnative.test( (matches = docElem.matches || - docElem.webkitMatchesSelector || - docElem.mozMatchesSelector || - docElem.oMatchesSelector || - docElem.msMatchesSelector) )) ) { - - assert(function( div ) { - // Check to see if it's possible to do matchesSelector - // on a disconnected node (IE 9) - support.disconnectedMatch = matches.call( div, "div" ); - - // This should fail with an exception - // Gecko does not error, returns false instead - matches.call( div, "[s!='']:x" ); - rbuggyMatches.push( "!=", pseudos ); - }); - } - - rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); - rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); - - /* Contains - ---------------------------------------------------------------------- */ - hasCompare = rnative.test( docElem.compareDocumentPosition ); - - // Element contains another - // Purposefully does not implement inclusive descendent - // As in, an element does not contain itself - contains = hasCompare || rnative.test( docElem.contains ) ? - function( a, b ) { - var adown = a.nodeType === 9 ? a.documentElement : a, - bup = b && b.parentNode; - return a === bup || !!( bup && bup.nodeType === 1 && ( - adown.contains ? - adown.contains( bup ) : - a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 - )); - } : - function( a, b ) { - if ( b ) { - while ( (b = b.parentNode) ) { - if ( b === a ) { - return true; - } - } - } - return false; - }; - - /* Sorting - ---------------------------------------------------------------------- */ - - // Document order sorting - sortOrder = hasCompare ? - function( a, b ) { - - // Flag for duplicate removal - if ( a === b ) { - hasDuplicate = true; - return 0; - } - - // Sort on method existence if only one input has compareDocumentPosition - var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; - if ( compare ) { - return compare; - } - - // Calculate position if both inputs belong to the same document - compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ? - a.compareDocumentPosition( b ) : - - // Otherwise we know they are disconnected - 1; - - // Disconnected nodes - if ( compare & 1 || - (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { - - // Choose the first element that is related to our preferred document - if ( a === doc || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) { - return -1; - } - if ( b === doc || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) { - return 1; - } - - // Maintain original order - return sortInput ? - ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : - 0; - } - - return compare & 4 ? -1 : 1; - } : - function( a, b ) { - // Exit early if the nodes are identical - if ( a === b ) { - hasDuplicate = true; - return 0; - } - - var cur, - i = 0, - aup = a.parentNode, - bup = b.parentNode, - ap = [ a ], - bp = [ b ]; - - // Parentless nodes are either documents or disconnected - if ( !aup || !bup ) { - return a === doc ? -1 : - b === doc ? 1 : - aup ? -1 : - bup ? 1 : - sortInput ? - ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : - 0; - - // If the nodes are siblings, we can do a quick check - } else if ( aup === bup ) { - return siblingCheck( a, b ); - } - - // Otherwise we need full lists of their ancestors for comparison - cur = a; - while ( (cur = cur.parentNode) ) { - ap.unshift( cur ); - } - cur = b; - while ( (cur = cur.parentNode) ) { - bp.unshift( cur ); - } - - // Walk down the tree looking for a discrepancy - while ( ap[i] === bp[i] ) { - i++; - } - - return i ? - // Do a sibling check if the nodes have a common ancestor - siblingCheck( ap[i], bp[i] ) : - - // Otherwise nodes in our document sort first - ap[i] === preferredDoc ? -1 : - bp[i] === preferredDoc ? 1 : - 0; - }; - - return doc; -}; - -Sizzle.matches = function( expr, elements ) { - return Sizzle( expr, null, null, elements ); -}; - -Sizzle.matchesSelector = function( elem, expr ) { - // Set document vars if needed - if ( ( elem.ownerDocument || elem ) !== document ) { - setDocument( elem ); - } - - // Make sure that attribute selectors are quoted - expr = expr.replace( rattributeQuotes, "='$1']" ); - - if ( support.matchesSelector && documentIsHTML && - ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && - ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { - - try { - var ret = matches.call( elem, expr ); - - // IE 9's matchesSelector returns false on disconnected nodes - if ( ret || support.disconnectedMatch || - // As well, disconnected nodes are said to be in a document - // fragment in IE 9 - elem.document && elem.document.nodeType !== 11 ) { - return ret; - } - } catch (e) {} - } - - return Sizzle( expr, document, null, [ elem ] ).length > 0; -}; - -Sizzle.contains = function( context, elem ) { - // Set document vars if needed - if ( ( context.ownerDocument || context ) !== document ) { - setDocument( context ); - } - return contains( context, elem ); -}; - -Sizzle.attr = function( elem, name ) { - // Set document vars if needed - if ( ( elem.ownerDocument || elem ) !== document ) { - setDocument( elem ); - } - - var fn = Expr.attrHandle[ name.toLowerCase() ], - // Don't get fooled by Object.prototype properties (jQuery #13807) - val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? - fn( elem, name, !documentIsHTML ) : - undefined; - - return val !== undefined ? - val : - support.attributes || !documentIsHTML ? - elem.getAttribute( name ) : - (val = elem.getAttributeNode(name)) && val.specified ? - val.value : - null; -}; - -Sizzle.error = function( msg ) { - throw new Error( "Syntax error, unrecognized expression: " + msg ); -}; - -/** - * Document sorting and removing duplicates - * @param {ArrayLike} results - */ -Sizzle.uniqueSort = function( results ) { - var elem, - duplicates = [], - j = 0, - i = 0; - - // Unless we *know* we can detect duplicates, assume their presence - hasDuplicate = !support.detectDuplicates; - sortInput = !support.sortStable && results.slice( 0 ); - results.sort( sortOrder ); - - if ( hasDuplicate ) { - while ( (elem = results[i++]) ) { - if ( elem === results[ i ] ) { - j = duplicates.push( i ); - } - } - while ( j-- ) { - results.splice( duplicates[ j ], 1 ); - } - } - - // Clear input after sorting to release objects - // See https://github.com/jquery/sizzle/pull/225 - sortInput = null; - - return results; -}; - -/** - * Utility function for retrieving the text value of an array of DOM nodes - * @param {Array|Element} elem - */ -getText = Sizzle.getText = function( elem ) { - var node, - ret = "", - i = 0, - nodeType = elem.nodeType; - - if ( !nodeType ) { - // If no nodeType, this is expected to be an array - while ( (node = elem[i++]) ) { - // Do not traverse comment nodes - ret += getText( node ); - } - } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { - // Use textContent for elements - // innerText usage removed for consistency of new lines (jQuery #11153) - if ( typeof elem.textContent === "string" ) { - return elem.textContent; - } else { - // Traverse its children - for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { - ret += getText( elem ); - } - } - } else if ( nodeType === 3 || nodeType === 4 ) { - return elem.nodeValue; - } - // Do not include comment or processing instruction nodes - - return ret; -}; - -Expr = Sizzle.selectors = { - - // Can be adjusted by the user - cacheLength: 50, - - createPseudo: markFunction, - - match: matchExpr, - - attrHandle: {}, - - find: {}, - - relative: { - ">": { dir: "parentNode", first: true }, - " ": { dir: "parentNode" }, - "+": { dir: "previousSibling", first: true }, - "~": { dir: "previousSibling" } - }, - - preFilter: { - "ATTR": function( match ) { - match[1] = match[1].replace( runescape, funescape ); - - // Move the given value to match[3] whether quoted or unquoted - match[3] = ( match[3] || match[4] || match[5] || "" ).replace( runescape, funescape ); - - if ( match[2] === "~=" ) { - match[3] = " " + match[3] + " "; - } - - return match.slice( 0, 4 ); - }, - - "CHILD": function( match ) { - /* matches from matchExpr["CHILD"] - 1 type (only|nth|...) - 2 what (child|of-type) - 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) - 4 xn-component of xn+y argument ([+-]?\d*n|) - 5 sign of xn-component - 6 x of xn-component - 7 sign of y-component - 8 y of y-component - */ - match[1] = match[1].toLowerCase(); - - if ( match[1].slice( 0, 3 ) === "nth" ) { - // nth-* requires argument - if ( !match[3] ) { - Sizzle.error( match[0] ); - } - - // numeric x and y parameters for Expr.filter.CHILD - // remember that false/true cast respectively to 0/1 - match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); - match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); - - // other types prohibit arguments - } else if ( match[3] ) { - Sizzle.error( match[0] ); - } - - return match; - }, - - "PSEUDO": function( match ) { - var excess, - unquoted = !match[6] && match[2]; - - if ( matchExpr["CHILD"].test( match[0] ) ) { - return null; - } - - // Accept quoted arguments as-is - if ( match[3] ) { - match[2] = match[4] || match[5] || ""; - - // Strip excess characters from unquoted arguments - } else if ( unquoted && rpseudo.test( unquoted ) && - // Get excess from tokenize (recursively) - (excess = tokenize( unquoted, true )) && - // advance to the next closing parenthesis - (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { - - // excess is a negative index - match[0] = match[0].slice( 0, excess ); - match[2] = unquoted.slice( 0, excess ); - } - - // Return only captures needed by the pseudo filter method (type and argument) - return match.slice( 0, 3 ); - } - }, - - filter: { - - "TAG": function( nodeNameSelector ) { - var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); - return nodeNameSelector === "*" ? - function() { return true; } : - function( elem ) { - return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; - }; - }, - - "CLASS": function( className ) { - var pattern = classCache[ className + " " ]; - - return pattern || - (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && - classCache( className, function( elem ) { - return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== "undefined" && elem.getAttribute("class") || "" ); - }); - }, - - "ATTR": function( name, operator, check ) { - return function( elem ) { - var result = Sizzle.attr( elem, name ); - - if ( result == null ) { - return operator === "!="; - } - if ( !operator ) { - return true; - } - - result += ""; - - return operator === "=" ? result === check : - operator === "!=" ? result !== check : - operator === "^=" ? check && result.indexOf( check ) === 0 : - operator === "*=" ? check && result.indexOf( check ) > -1 : - operator === "$=" ? check && result.slice( -check.length ) === check : - operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : - operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : - false; - }; - }, - - "CHILD": function( type, what, argument, first, last ) { - var simple = type.slice( 0, 3 ) !== "nth", - forward = type.slice( -4 ) !== "last", - ofType = what === "of-type"; - - return first === 1 && last === 0 ? - - // Shortcut for :nth-*(n) - function( elem ) { - return !!elem.parentNode; - } : - - function( elem, context, xml ) { - var cache, outerCache, node, diff, nodeIndex, start, - dir = simple !== forward ? "nextSibling" : "previousSibling", - parent = elem.parentNode, - name = ofType && elem.nodeName.toLowerCase(), - useCache = !xml && !ofType; - - if ( parent ) { - - // :(first|last|only)-(child|of-type) - if ( simple ) { - while ( dir ) { - node = elem; - while ( (node = node[ dir ]) ) { - if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) { - return false; - } - } - // Reverse direction for :only-* (if we haven't yet done so) - start = dir = type === "only" && !start && "nextSibling"; - } - return true; - } - - start = [ forward ? parent.firstChild : parent.lastChild ]; - - // non-xml :nth-child(...) stores cache data on `parent` - if ( forward && useCache ) { - // Seek `elem` from a previously-cached index - outerCache = parent[ expando ] || (parent[ expando ] = {}); - cache = outerCache[ type ] || []; - nodeIndex = cache[0] === dirruns && cache[1]; - diff = cache[0] === dirruns && cache[2]; - node = nodeIndex && parent.childNodes[ nodeIndex ]; - - while ( (node = ++nodeIndex && node && node[ dir ] || - - // Fallback to seeking `elem` from the start - (diff = nodeIndex = 0) || start.pop()) ) { - - // When found, cache indexes on `parent` and break - if ( node.nodeType === 1 && ++diff && node === elem ) { - outerCache[ type ] = [ dirruns, nodeIndex, diff ]; - break; - } - } - - // Use previously-cached element index if available - } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) { - diff = cache[1]; - - // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...) - } else { - // Use the same loop as above to seek `elem` from the start - while ( (node = ++nodeIndex && node && node[ dir ] || - (diff = nodeIndex = 0) || start.pop()) ) { - - if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) { - // Cache the index of each encountered element - if ( useCache ) { - (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ]; - } - - if ( node === elem ) { - break; - } - } - } - } - - // Incorporate the offset, then check against cycle size - diff -= last; - return diff === first || ( diff % first === 0 && diff / first >= 0 ); - } - }; - }, - - "PSEUDO": function( pseudo, argument ) { - // pseudo-class names are case-insensitive - // http://www.w3.org/TR/selectors/#pseudo-classes - // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters - // Remember that setFilters inherits from pseudos - var args, - fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || - Sizzle.error( "unsupported pseudo: " + pseudo ); - - // The user may use createPseudo to indicate that - // arguments are needed to create the filter function - // just as Sizzle does - if ( fn[ expando ] ) { - return fn( argument ); - } - - // But maintain support for old signatures - if ( fn.length > 1 ) { - args = [ pseudo, pseudo, "", argument ]; - return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? - markFunction(function( seed, matches ) { - var idx, - matched = fn( seed, argument ), - i = matched.length; - while ( i-- ) { - idx = indexOf( seed, matched[i] ); - seed[ idx ] = !( matches[ idx ] = matched[i] ); - } - }) : - function( elem ) { - return fn( elem, 0, args ); - }; - } - - return fn; - } - }, - - pseudos: { - // Potentially complex pseudos - "not": markFunction(function( selector ) { - // Trim the selector passed to compile - // to avoid treating leading and trailing - // spaces as combinators - var input = [], - results = [], - matcher = compile( selector.replace( rtrim, "$1" ) ); - - return matcher[ expando ] ? - markFunction(function( seed, matches, context, xml ) { - var elem, - unmatched = matcher( seed, null, xml, [] ), - i = seed.length; - - // Match elements unmatched by `matcher` - while ( i-- ) { - if ( (elem = unmatched[i]) ) { - seed[i] = !(matches[i] = elem); - } - } - }) : - function( elem, context, xml ) { - input[0] = elem; - matcher( input, null, xml, results ); - // Don't keep the element (issue #299) - input[0] = null; - return !results.pop(); - }; - }), - - "has": markFunction(function( selector ) { - return function( elem ) { - return Sizzle( selector, elem ).length > 0; - }; - }), - - "contains": markFunction(function( text ) { - text = text.replace( runescape, funescape ); - return function( elem ) { - return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; - }; - }), - - // "Whether an element is represented by a :lang() selector - // is based solely on the element's language value - // being equal to the identifier C, - // or beginning with the identifier C immediately followed by "-". - // The matching of C against the element's language value is performed case-insensitively. - // The identifier C does not have to be a valid language name." - // http://www.w3.org/TR/selectors/#lang-pseudo - "lang": markFunction( function( lang ) { - // lang value must be a valid identifier - if ( !ridentifier.test(lang || "") ) { - Sizzle.error( "unsupported lang: " + lang ); - } - lang = lang.replace( runescape, funescape ).toLowerCase(); - return function( elem ) { - var elemLang; - do { - if ( (elemLang = documentIsHTML ? - elem.lang : - elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { - - elemLang = elemLang.toLowerCase(); - return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; - } - } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); - return false; - }; - }), - - // Miscellaneous - "target": function( elem ) { - var hash = window.location && window.location.hash; - return hash && hash.slice( 1 ) === elem.id; - }, - - "root": function( elem ) { - return elem === docElem; - }, - - "focus": function( elem ) { - return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); - }, - - // Boolean properties - "enabled": function( elem ) { - return elem.disabled === false; - }, - - "disabled": function( elem ) { - return elem.disabled === true; - }, - - "checked": function( elem ) { - // In CSS3, :checked should return both checked and selected elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - var nodeName = elem.nodeName.toLowerCase(); - return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); - }, - - "selected": function( elem ) { - // Accessing this property makes selected-by-default - // options in Safari work properly - if ( elem.parentNode ) { - elem.parentNode.selectedIndex; - } - - return elem.selected === true; - }, - - // Contents - "empty": function( elem ) { - // http://www.w3.org/TR/selectors/#empty-pseudo - // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), - // but not by others (comment: 8; processing instruction: 7; etc.) - // nodeType < 6 works because attributes (2) do not appear as children - for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { - if ( elem.nodeType < 6 ) { - return false; - } - } - return true; - }, - - "parent": function( elem ) { - return !Expr.pseudos["empty"]( elem ); - }, - - // Element/input types - "header": function( elem ) { - return rheader.test( elem.nodeName ); - }, - - "input": function( elem ) { - return rinputs.test( elem.nodeName ); - }, - - "button": function( elem ) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === "button" || name === "button"; - }, - - "text": function( elem ) { - var attr; - return elem.nodeName.toLowerCase() === "input" && - elem.type === "text" && - - // Support: IE<8 - // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" - ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" ); - }, - - // Position-in-collection - "first": createPositionalPseudo(function() { - return [ 0 ]; - }), - - "last": createPositionalPseudo(function( matchIndexes, length ) { - return [ length - 1 ]; - }), - - "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { - return [ argument < 0 ? argument + length : argument ]; - }), - - "even": createPositionalPseudo(function( matchIndexes, length ) { - var i = 0; - for ( ; i < length; i += 2 ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "odd": createPositionalPseudo(function( matchIndexes, length ) { - var i = 1; - for ( ; i < length; i += 2 ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { - var i = argument < 0 ? argument + length : argument; - for ( ; --i >= 0; ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { - var i = argument < 0 ? argument + length : argument; - for ( ; ++i < length; ) { - matchIndexes.push( i ); - } - return matchIndexes; - }) - } -}; - -Expr.pseudos["nth"] = Expr.pseudos["eq"]; - -// Add button/input type pseudos -for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { - Expr.pseudos[ i ] = createInputPseudo( i ); -} -for ( i in { submit: true, reset: true } ) { - Expr.pseudos[ i ] = createButtonPseudo( i ); -} - -// Easy API for creating new setFilters -function setFilters() {} -setFilters.prototype = Expr.filters = Expr.pseudos; -Expr.setFilters = new setFilters(); - -tokenize = Sizzle.tokenize = function( selector, parseOnly ) { - var matched, match, tokens, type, - soFar, groups, preFilters, - cached = tokenCache[ selector + " " ]; - - if ( cached ) { - return parseOnly ? 0 : cached.slice( 0 ); - } - - soFar = selector; - groups = []; - preFilters = Expr.preFilter; - - while ( soFar ) { - - // Comma and first run - if ( !matched || (match = rcomma.exec( soFar )) ) { - if ( match ) { - // Don't consume trailing commas as valid - soFar = soFar.slice( match[0].length ) || soFar; - } - groups.push( (tokens = []) ); - } - - matched = false; - - // Combinators - if ( (match = rcombinators.exec( soFar )) ) { - matched = match.shift(); - tokens.push({ - value: matched, - // Cast descendant combinators to space - type: match[0].replace( rtrim, " " ) - }); - soFar = soFar.slice( matched.length ); - } - - // Filters - for ( type in Expr.filter ) { - if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || - (match = preFilters[ type ]( match ))) ) { - matched = match.shift(); - tokens.push({ - value: matched, - type: type, - matches: match - }); - soFar = soFar.slice( matched.length ); - } - } - - if ( !matched ) { - break; - } - } - - // Return the length of the invalid excess - // if we're just parsing - // Otherwise, throw an error or return tokens - return parseOnly ? - soFar.length : - soFar ? - Sizzle.error( selector ) : - // Cache the tokens - tokenCache( selector, groups ).slice( 0 ); -}; - -function toSelector( tokens ) { - var i = 0, - len = tokens.length, - selector = ""; - for ( ; i < len; i++ ) { - selector += tokens[i].value; - } - return selector; -} - -function addCombinator( matcher, combinator, base ) { - var dir = combinator.dir, - checkNonElements = base && dir === "parentNode", - doneName = done++; - - return combinator.first ? - // Check against closest ancestor/preceding element - function( elem, context, xml ) { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - return matcher( elem, context, xml ); - } - } - } : - - // Check against all ancestor/preceding elements - function( elem, context, xml ) { - var oldCache, outerCache, - newCache = [ dirruns, doneName ]; - - // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching - if ( xml ) { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - if ( matcher( elem, context, xml ) ) { - return true; - } - } - } - } else { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - outerCache = elem[ expando ] || (elem[ expando ] = {}); - if ( (oldCache = outerCache[ dir ]) && - oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { - - // Assign to newCache so results back-propagate to previous elements - return (newCache[ 2 ] = oldCache[ 2 ]); - } else { - // Reuse newcache so results back-propagate to previous elements - outerCache[ dir ] = newCache; - - // A match means we're done; a fail means we have to keep checking - if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) { - return true; - } - } - } - } - } - }; -} - -function elementMatcher( matchers ) { - return matchers.length > 1 ? - function( elem, context, xml ) { - var i = matchers.length; - while ( i-- ) { - if ( !matchers[i]( elem, context, xml ) ) { - return false; - } - } - return true; - } : - matchers[0]; -} - -function multipleContexts( selector, contexts, results ) { - var i = 0, - len = contexts.length; - for ( ; i < len; i++ ) { - Sizzle( selector, contexts[i], results ); - } - return results; -} - -function condense( unmatched, map, filter, context, xml ) { - var elem, - newUnmatched = [], - i = 0, - len = unmatched.length, - mapped = map != null; - - for ( ; i < len; i++ ) { - if ( (elem = unmatched[i]) ) { - if ( !filter || filter( elem, context, xml ) ) { - newUnmatched.push( elem ); - if ( mapped ) { - map.push( i ); - } - } - } - } - - return newUnmatched; -} - -function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { - if ( postFilter && !postFilter[ expando ] ) { - postFilter = setMatcher( postFilter ); - } - if ( postFinder && !postFinder[ expando ] ) { - postFinder = setMatcher( postFinder, postSelector ); - } - return markFunction(function( seed, results, context, xml ) { - var temp, i, elem, - preMap = [], - postMap = [], - preexisting = results.length, - - // Get initial elements from seed or context - elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), - - // Prefilter to get matcher input, preserving a map for seed-results synchronization - matcherIn = preFilter && ( seed || !selector ) ? - condense( elems, preMap, preFilter, context, xml ) : - elems, - - matcherOut = matcher ? - // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, - postFinder || ( seed ? preFilter : preexisting || postFilter ) ? - - // ...intermediate processing is necessary - [] : - - // ...otherwise use results directly - results : - matcherIn; - - // Find primary matches - if ( matcher ) { - matcher( matcherIn, matcherOut, context, xml ); - } - - // Apply postFilter - if ( postFilter ) { - temp = condense( matcherOut, postMap ); - postFilter( temp, [], context, xml ); - - // Un-match failing elements by moving them back to matcherIn - i = temp.length; - while ( i-- ) { - if ( (elem = temp[i]) ) { - matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); - } - } - } - - if ( seed ) { - if ( postFinder || preFilter ) { - if ( postFinder ) { - // Get the final matcherOut by condensing this intermediate into postFinder contexts - temp = []; - i = matcherOut.length; - while ( i-- ) { - if ( (elem = matcherOut[i]) ) { - // Restore matcherIn since elem is not yet a final match - temp.push( (matcherIn[i] = elem) ); - } - } - postFinder( null, (matcherOut = []), temp, xml ); - } - - // Move matched elements from seed to results to keep them synchronized - i = matcherOut.length; - while ( i-- ) { - if ( (elem = matcherOut[i]) && - (temp = postFinder ? indexOf( seed, elem ) : preMap[i]) > -1 ) { - - seed[temp] = !(results[temp] = elem); - } - } - } - - // Add elements to results, through postFinder if defined - } else { - matcherOut = condense( - matcherOut === results ? - matcherOut.splice( preexisting, matcherOut.length ) : - matcherOut - ); - if ( postFinder ) { - postFinder( null, results, matcherOut, xml ); - } else { - push.apply( results, matcherOut ); - } - } - }); -} - -function matcherFromTokens( tokens ) { - var checkContext, matcher, j, - len = tokens.length, - leadingRelative = Expr.relative[ tokens[0].type ], - implicitRelative = leadingRelative || Expr.relative[" "], - i = leadingRelative ? 1 : 0, - - // The foundational matcher ensures that elements are reachable from top-level context(s) - matchContext = addCombinator( function( elem ) { - return elem === checkContext; - }, implicitRelative, true ), - matchAnyContext = addCombinator( function( elem ) { - return indexOf( checkContext, elem ) > -1; - }, implicitRelative, true ), - matchers = [ function( elem, context, xml ) { - var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( - (checkContext = context).nodeType ? - matchContext( elem, context, xml ) : - matchAnyContext( elem, context, xml ) ); - // Avoid hanging onto element (issue #299) - checkContext = null; - return ret; - } ]; - - for ( ; i < len; i++ ) { - if ( (matcher = Expr.relative[ tokens[i].type ]) ) { - matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; - } else { - matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); - - // Return special upon seeing a positional matcher - if ( matcher[ expando ] ) { - // Find the next relative operator (if any) for proper handling - j = ++i; - for ( ; j < len; j++ ) { - if ( Expr.relative[ tokens[j].type ] ) { - break; - } - } - return setMatcher( - i > 1 && elementMatcher( matchers ), - i > 1 && toSelector( - // If the preceding token was a descendant combinator, insert an implicit any-element `*` - tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) - ).replace( rtrim, "$1" ), - matcher, - i < j && matcherFromTokens( tokens.slice( i, j ) ), - j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), - j < len && toSelector( tokens ) - ); - } - matchers.push( matcher ); - } - } - - return elementMatcher( matchers ); -} - -function matcherFromGroupMatchers( elementMatchers, setMatchers ) { - var bySet = setMatchers.length > 0, - byElement = elementMatchers.length > 0, - superMatcher = function( seed, context, xml, results, outermost ) { - var elem, j, matcher, - matchedCount = 0, - i = "0", - unmatched = seed && [], - setMatched = [], - contextBackup = outermostContext, - // We must always have either seed elements or outermost context - elems = seed || byElement && Expr.find["TAG"]( "*", outermost ), - // Use integer dirruns iff this is the outermost matcher - dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1), - len = elems.length; - - if ( outermost ) { - outermostContext = context !== document && context; - } - - // Add elements passing elementMatchers directly to results - // Keep `i` a string if there are no elements so `matchedCount` will be "00" below - // Support: IE<9, Safari - // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id - for ( ; i !== len && (elem = elems[i]) != null; i++ ) { - if ( byElement && elem ) { - j = 0; - while ( (matcher = elementMatchers[j++]) ) { - if ( matcher( elem, context, xml ) ) { - results.push( elem ); - break; - } - } - if ( outermost ) { - dirruns = dirrunsUnique; - } - } - - // Track unmatched elements for set filters - if ( bySet ) { - // They will have gone through all possible matchers - if ( (elem = !matcher && elem) ) { - matchedCount--; - } - - // Lengthen the array for every element, matched or not - if ( seed ) { - unmatched.push( elem ); - } - } - } - - // Apply set filters to unmatched elements - matchedCount += i; - if ( bySet && i !== matchedCount ) { - j = 0; - while ( (matcher = setMatchers[j++]) ) { - matcher( unmatched, setMatched, context, xml ); - } - - if ( seed ) { - // Reintegrate element matches to eliminate the need for sorting - if ( matchedCount > 0 ) { - while ( i-- ) { - if ( !(unmatched[i] || setMatched[i]) ) { - setMatched[i] = pop.call( results ); - } - } - } - - // Discard index placeholder values to get only actual matches - setMatched = condense( setMatched ); - } - - // Add matches to results - push.apply( results, setMatched ); - - // Seedless set matches succeeding multiple successful matchers stipulate sorting - if ( outermost && !seed && setMatched.length > 0 && - ( matchedCount + setMatchers.length ) > 1 ) { - - Sizzle.uniqueSort( results ); - } - } - - // Override manipulation of globals by nested matchers - if ( outermost ) { - dirruns = dirrunsUnique; - outermostContext = contextBackup; - } - - return unmatched; - }; - - return bySet ? - markFunction( superMatcher ) : - superMatcher; -} - -compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { - var i, - setMatchers = [], - elementMatchers = [], - cached = compilerCache[ selector + " " ]; - - if ( !cached ) { - // Generate a function of recursive functions that can be used to check each element - if ( !match ) { - match = tokenize( selector ); - } - i = match.length; - while ( i-- ) { - cached = matcherFromTokens( match[i] ); - if ( cached[ expando ] ) { - setMatchers.push( cached ); - } else { - elementMatchers.push( cached ); - } - } - - // Cache the compiled function - cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); - - // Save selector and tokenization - cached.selector = selector; - } - return cached; -}; - -/** - * A low-level selection function that works with Sizzle's compiled - * selector functions - * @param {String|Function} selector A selector or a pre-compiled - * selector function built with Sizzle.compile - * @param {Element} context - * @param {Array} [results] - * @param {Array} [seed] A set of elements to match against - */ -select = Sizzle.select = function( selector, context, results, seed ) { - var i, tokens, token, type, find, - compiled = typeof selector === "function" && selector, - match = !seed && tokenize( (selector = compiled.selector || selector) ); - - results = results || []; - - // Try to minimize operations if there is no seed and only one group - if ( match.length === 1 ) { - - // Take a shortcut and set the context if the root selector is an ID - tokens = match[0] = match[0].slice( 0 ); - if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && - support.getById && context.nodeType === 9 && documentIsHTML && - Expr.relative[ tokens[1].type ] ) { - - context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; - if ( !context ) { - return results; - - // Precompiled matchers will still verify ancestry, so step up a level - } else if ( compiled ) { - context = context.parentNode; - } - - selector = selector.slice( tokens.shift().value.length ); - } - - // Fetch a seed set for right-to-left matching - i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; - while ( i-- ) { - token = tokens[i]; - - // Abort if we hit a combinator - if ( Expr.relative[ (type = token.type) ] ) { - break; - } - if ( (find = Expr.find[ type ]) ) { - // Search, expanding context for leading sibling combinators - if ( (seed = find( - token.matches[0].replace( runescape, funescape ), - rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context - )) ) { - - // If seed is empty or no tokens remain, we can return early - tokens.splice( i, 1 ); - selector = seed.length && toSelector( tokens ); - if ( !selector ) { - push.apply( results, seed ); - return results; - } - - break; - } - } - } - } - - // Compile and execute a filtering function if one is not provided - // Provide `match` to avoid retokenization if we modified the selector above - ( compiled || compile( selector, match ) )( - seed, - context, - !documentIsHTML, - results, - rsibling.test( selector ) && testContext( context.parentNode ) || context - ); - return results; -}; - -// One-time assignments - -// Sort stability -support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; - -// Support: Chrome 14-35+ -// Always assume duplicates if they aren't passed to the comparison function -support.detectDuplicates = !!hasDuplicate; - -// Initialize against the default document -setDocument(); - -// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) -// Detached nodes confoundingly follow *each other* -support.sortDetached = assert(function( div1 ) { - // Should return 1, but returns 4 (following) - return div1.compareDocumentPosition( document.createElement("div") ) & 1; -}); - -// Support: IE<8 -// Prevent attribute/property "interpolation" -// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx -if ( !assert(function( div ) { - div.innerHTML = ""; - return div.firstChild.getAttribute("href") === "#" ; -}) ) { - addHandle( "type|href|height|width", function( elem, name, isXML ) { - if ( !isXML ) { - return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); - } - }); -} - -// Support: IE<9 -// Use defaultValue in place of getAttribute("value") -if ( !support.attributes || !assert(function( div ) { - div.innerHTML = ""; - div.firstChild.setAttribute( "value", "" ); - return div.firstChild.getAttribute( "value" ) === ""; -}) ) { - addHandle( "value", function( elem, name, isXML ) { - if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { - return elem.defaultValue; - } - }); -} - -// Support: IE<9 -// Use getAttributeNode to fetch booleans when getAttribute lies -if ( !assert(function( div ) { - return div.getAttribute("disabled") == null; -}) ) { - addHandle( booleans, function( elem, name, isXML ) { - var val; - if ( !isXML ) { - return elem[ name ] === true ? name.toLowerCase() : - (val = elem.getAttributeNode( name )) && val.specified ? - val.value : - null; - } - }); -} - -return Sizzle; - -})( window ); - - - -jQuery.find = Sizzle; -jQuery.expr = Sizzle.selectors; -jQuery.expr[":"] = jQuery.expr.pseudos; -jQuery.unique = Sizzle.uniqueSort; -jQuery.text = Sizzle.getText; -jQuery.isXMLDoc = Sizzle.isXML; -jQuery.contains = Sizzle.contains; - - - -var rneedsContext = jQuery.expr.match.needsContext; - -var rsingleTag = (/^<(\w+)\s*\/?>(?:<\/\1>|)$/); - - - -var risSimple = /^.[^:#\[\.,]*$/; - -// Implement the identical functionality for filter and not -function winnow( elements, qualifier, not ) { - if ( jQuery.isFunction( qualifier ) ) { - return jQuery.grep( elements, function( elem, i ) { - /* jshint -W018 */ - return !!qualifier.call( elem, i, elem ) !== not; - }); - - } - - if ( qualifier.nodeType ) { - return jQuery.grep( elements, function( elem ) { - return ( elem === qualifier ) !== not; - }); - - } - - if ( typeof qualifier === "string" ) { - if ( risSimple.test( qualifier ) ) { - return jQuery.filter( qualifier, elements, not ); - } - - qualifier = jQuery.filter( qualifier, elements ); - } - - return jQuery.grep( elements, function( elem ) { - return ( jQuery.inArray( elem, qualifier ) >= 0 ) !== not; - }); -} - -jQuery.filter = function( expr, elems, not ) { - var elem = elems[ 0 ]; - - if ( not ) { - expr = ":not(" + expr + ")"; - } - - return elems.length === 1 && elem.nodeType === 1 ? - jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] : - jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { - return elem.nodeType === 1; - })); -}; - -jQuery.fn.extend({ - find: function( selector ) { - var i, - ret = [], - self = this, - len = self.length; - - if ( typeof selector !== "string" ) { - return this.pushStack( jQuery( selector ).filter(function() { - for ( i = 0; i < len; i++ ) { - if ( jQuery.contains( self[ i ], this ) ) { - return true; - } - } - }) ); - } - - for ( i = 0; i < len; i++ ) { - jQuery.find( selector, self[ i ], ret ); - } - - // Needed because $( selector, context ) becomes $( context ).find( selector ) - ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); - ret.selector = this.selector ? this.selector + " " + selector : selector; - return ret; - }, - filter: function( selector ) { - return this.pushStack( winnow(this, selector || [], false) ); - }, - not: function( selector ) { - return this.pushStack( winnow(this, selector || [], true) ); - }, - is: function( selector ) { - return !!winnow( - this, - - // If this is a positional/relative selector, check membership in the returned set - // so $("p:first").is("p:last") won't return true for a doc with two "p". - typeof selector === "string" && rneedsContext.test( selector ) ? - jQuery( selector ) : - selector || [], - false - ).length; - } -}); - - -// Initialize a jQuery object - - -// A central reference to the root jQuery(document) -var rootjQuery, - - // Use the correct document accordingly with window argument (sandbox) - document = window.document, - - // A simple way to check for HTML strings - // Prioritize #id over to avoid XSS via location.hash (#9521) - // Strict HTML recognition (#11290: must start with <) - rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, - - init = jQuery.fn.init = function( selector, context ) { - var match, elem; - - // HANDLE: $(""), $(null), $(undefined), $(false) - if ( !selector ) { - return this; - } - - // Handle HTML strings - if ( typeof selector === "string" ) { - if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { - // Assume that strings that start and end with <> are HTML and skip the regex check - match = [ null, selector, null ]; - - } else { - match = rquickExpr.exec( selector ); - } - - // Match html or make sure no context is specified for #id - if ( match && (match[1] || !context) ) { - - // HANDLE: $(html) -> $(array) - if ( match[1] ) { - context = context instanceof jQuery ? context[0] : context; - - // scripts is true for back-compat - // Intentionally let the error be thrown if parseHTML is not present - jQuery.merge( this, jQuery.parseHTML( - match[1], - context && context.nodeType ? context.ownerDocument || context : document, - true - ) ); - - // HANDLE: $(html, props) - if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) { - for ( match in context ) { - // Properties of context are called as methods if possible - if ( jQuery.isFunction( this[ match ] ) ) { - this[ match ]( context[ match ] ); - - // ...and otherwise set as attributes - } else { - this.attr( match, context[ match ] ); - } - } - } - - return this; - - // HANDLE: $(#id) - } else { - elem = document.getElementById( match[2] ); - - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - if ( elem && elem.parentNode ) { - // Handle the case where IE and Opera return items - // by name instead of ID - if ( elem.id !== match[2] ) { - return rootjQuery.find( selector ); - } - - // Otherwise, we inject the element directly into the jQuery object - this.length = 1; - this[0] = elem; - } - - this.context = document; - this.selector = selector; - return this; - } - - // HANDLE: $(expr, $(...)) - } else if ( !context || context.jquery ) { - return ( context || rootjQuery ).find( selector ); - - // HANDLE: $(expr, context) - // (which is just equivalent to: $(context).find(expr) - } else { - return this.constructor( context ).find( selector ); - } - - // HANDLE: $(DOMElement) - } else if ( selector.nodeType ) { - this.context = this[0] = selector; - this.length = 1; - return this; - - // HANDLE: $(function) - // Shortcut for document ready - } else if ( jQuery.isFunction( selector ) ) { - return typeof rootjQuery.ready !== "undefined" ? - rootjQuery.ready( selector ) : - // Execute immediately if ready is not present - selector( jQuery ); - } - - if ( selector.selector !== undefined ) { - this.selector = selector.selector; - this.context = selector.context; - } - - return jQuery.makeArray( selector, this ); - }; - -// Give the init function the jQuery prototype for later instantiation -init.prototype = jQuery.fn; - -// Initialize central reference -rootjQuery = jQuery( document ); - - -var rparentsprev = /^(?:parents|prev(?:Until|All))/, - // methods guaranteed to produce a unique set when starting from a unique set - guaranteedUnique = { - children: true, - contents: true, - next: true, - prev: true - }; - -jQuery.extend({ - dir: function( elem, dir, until ) { - var matched = [], - cur = elem[ dir ]; - - while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { - if ( cur.nodeType === 1 ) { - matched.push( cur ); - } - cur = cur[dir]; - } - return matched; - }, - - sibling: function( n, elem ) { - var r = []; - - for ( ; n; n = n.nextSibling ) { - if ( n.nodeType === 1 && n !== elem ) { - r.push( n ); - } - } - - return r; - } -}); - -jQuery.fn.extend({ - has: function( target ) { - var i, - targets = jQuery( target, this ), - len = targets.length; - - return this.filter(function() { - for ( i = 0; i < len; i++ ) { - if ( jQuery.contains( this, targets[i] ) ) { - return true; - } - } - }); - }, - - closest: function( selectors, context ) { - var cur, - i = 0, - l = this.length, - matched = [], - pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? - jQuery( selectors, context || this.context ) : - 0; - - for ( ; i < l; i++ ) { - for ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) { - // Always skip document fragments - if ( cur.nodeType < 11 && (pos ? - pos.index(cur) > -1 : - - // Don't pass non-elements to Sizzle - cur.nodeType === 1 && - jQuery.find.matchesSelector(cur, selectors)) ) { - - matched.push( cur ); - break; - } - } - } - - return this.pushStack( matched.length > 1 ? jQuery.unique( matched ) : matched ); - }, - - // Determine the position of an element within - // the matched set of elements - index: function( elem ) { - - // No argument, return index in parent - if ( !elem ) { - return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1; - } - - // index in selector - if ( typeof elem === "string" ) { - return jQuery.inArray( this[0], jQuery( elem ) ); - } - - // Locate the position of the desired element - return jQuery.inArray( - // If it receives a jQuery object, the first element is used - elem.jquery ? elem[0] : elem, this ); - }, - - add: function( selector, context ) { - return this.pushStack( - jQuery.unique( - jQuery.merge( this.get(), jQuery( selector, context ) ) - ) - ); - }, - - addBack: function( selector ) { - return this.add( selector == null ? - this.prevObject : this.prevObject.filter(selector) - ); - } -}); - -function sibling( cur, dir ) { - do { - cur = cur[ dir ]; - } while ( cur && cur.nodeType !== 1 ); - - return cur; -} - -jQuery.each({ - parent: function( elem ) { - var parent = elem.parentNode; - return parent && parent.nodeType !== 11 ? parent : null; - }, - parents: function( elem ) { - return jQuery.dir( elem, "parentNode" ); - }, - parentsUntil: function( elem, i, until ) { - return jQuery.dir( elem, "parentNode", until ); - }, - next: function( elem ) { - return sibling( elem, "nextSibling" ); - }, - prev: function( elem ) { - return sibling( elem, "previousSibling" ); - }, - nextAll: function( elem ) { - return jQuery.dir( elem, "nextSibling" ); - }, - prevAll: function( elem ) { - return jQuery.dir( elem, "previousSibling" ); - }, - nextUntil: function( elem, i, until ) { - return jQuery.dir( elem, "nextSibling", until ); - }, - prevUntil: function( elem, i, until ) { - return jQuery.dir( elem, "previousSibling", until ); - }, - siblings: function( elem ) { - return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); - }, - children: function( elem ) { - return jQuery.sibling( elem.firstChild ); - }, - contents: function( elem ) { - return jQuery.nodeName( elem, "iframe" ) ? - elem.contentDocument || elem.contentWindow.document : - jQuery.merge( [], elem.childNodes ); - } -}, function( name, fn ) { - jQuery.fn[ name ] = function( until, selector ) { - var ret = jQuery.map( this, fn, until ); - - if ( name.slice( -5 ) !== "Until" ) { - selector = until; - } - - if ( selector && typeof selector === "string" ) { - ret = jQuery.filter( selector, ret ); - } - - if ( this.length > 1 ) { - // Remove duplicates - if ( !guaranteedUnique[ name ] ) { - ret = jQuery.unique( ret ); - } - - // Reverse order for parents* and prev-derivatives - if ( rparentsprev.test( name ) ) { - ret = ret.reverse(); - } - } - - return this.pushStack( ret ); - }; -}); -var rnotwhite = (/\S+/g); - - - -// String to Object options format cache -var optionsCache = {}; - -// Convert String-formatted options into Object-formatted ones and store in cache -function createOptions( options ) { - var object = optionsCache[ options ] = {}; - jQuery.each( options.match( rnotwhite ) || [], function( _, flag ) { - object[ flag ] = true; - }); - return object; -} - -/* - * Create a callback list using the following parameters: - * - * options: an optional list of space-separated options that will change how - * the callback list behaves or a more traditional option object - * - * By default a callback list will act like an event callback list and can be - * "fired" multiple times. - * - * Possible options: - * - * once: will ensure the callback list can only be fired once (like a Deferred) - * - * memory: will keep track of previous values and will call any callback added - * after the list has been fired right away with the latest "memorized" - * values (like a Deferred) - * - * unique: will ensure a callback can only be added once (no duplicate in the list) - * - * stopOnFalse: interrupt callings when a callback returns false - * - */ -jQuery.Callbacks = function( options ) { - - // Convert options from String-formatted to Object-formatted if needed - // (we check in cache first) - options = typeof options === "string" ? - ( optionsCache[ options ] || createOptions( options ) ) : - jQuery.extend( {}, options ); - - var // Flag to know if list is currently firing - firing, - // Last fire value (for non-forgettable lists) - memory, - // Flag to know if list was already fired - fired, - // End of the loop when firing - firingLength, - // Index of currently firing callback (modified by remove if needed) - firingIndex, - // First callback to fire (used internally by add and fireWith) - firingStart, - // Actual callback list - list = [], - // Stack of fire calls for repeatable lists - stack = !options.once && [], - // Fire callbacks - fire = function( data ) { - memory = options.memory && data; - fired = true; - firingIndex = firingStart || 0; - firingStart = 0; - firingLength = list.length; - firing = true; - for ( ; list && firingIndex < firingLength; firingIndex++ ) { - if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) { - memory = false; // To prevent further calls using add - break; - } - } - firing = false; - if ( list ) { - if ( stack ) { - if ( stack.length ) { - fire( stack.shift() ); - } - } else if ( memory ) { - list = []; - } else { - self.disable(); - } - } - }, - // Actual Callbacks object - self = { - // Add a callback or a collection of callbacks to the list - add: function() { - if ( list ) { - // First, we save the current length - var start = list.length; - (function add( args ) { - jQuery.each( args, function( _, arg ) { - var type = jQuery.type( arg ); - if ( type === "function" ) { - if ( !options.unique || !self.has( arg ) ) { - list.push( arg ); - } - } else if ( arg && arg.length && type !== "string" ) { - // Inspect recursively - add( arg ); - } - }); - })( arguments ); - // Do we need to add the callbacks to the - // current firing batch? - if ( firing ) { - firingLength = list.length; - // With memory, if we're not firing then - // we should call right away - } else if ( memory ) { - firingStart = start; - fire( memory ); - } - } - return this; - }, - // Remove a callback from the list - remove: function() { - if ( list ) { - jQuery.each( arguments, function( _, arg ) { - var index; - while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { - list.splice( index, 1 ); - // Handle firing indexes - if ( firing ) { - if ( index <= firingLength ) { - firingLength--; - } - if ( index <= firingIndex ) { - firingIndex--; - } - } - } - }); - } - return this; - }, - // Check if a given callback is in the list. - // If no argument is given, return whether or not list has callbacks attached. - has: function( fn ) { - return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length ); - }, - // Remove all callbacks from the list - empty: function() { - list = []; - firingLength = 0; - return this; - }, - // Have the list do nothing anymore - disable: function() { - list = stack = memory = undefined; - return this; - }, - // Is it disabled? - disabled: function() { - return !list; - }, - // Lock the list in its current state - lock: function() { - stack = undefined; - if ( !memory ) { - self.disable(); - } - return this; - }, - // Is it locked? - locked: function() { - return !stack; - }, - // Call all callbacks with the given context and arguments - fireWith: function( context, args ) { - if ( list && ( !fired || stack ) ) { - args = args || []; - args = [ context, args.slice ? args.slice() : args ]; - if ( firing ) { - stack.push( args ); - } else { - fire( args ); - } - } - return this; - }, - // Call all the callbacks with the given arguments - fire: function() { - self.fireWith( this, arguments ); - return this; - }, - // To know if the callbacks have already been called at least once - fired: function() { - return !!fired; - } - }; - - return self; -}; - - -jQuery.extend({ - - Deferred: function( func ) { - var tuples = [ - // action, add listener, listener list, final state - [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], - [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ], - [ "notify", "progress", jQuery.Callbacks("memory") ] - ], - state = "pending", - promise = { - state: function() { - return state; - }, - always: function() { - deferred.done( arguments ).fail( arguments ); - return this; - }, - then: function( /* fnDone, fnFail, fnProgress */ ) { - var fns = arguments; - return jQuery.Deferred(function( newDefer ) { - jQuery.each( tuples, function( i, tuple ) { - var fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; - // deferred[ done | fail | progress ] for forwarding actions to newDefer - deferred[ tuple[1] ](function() { - var returned = fn && fn.apply( this, arguments ); - if ( returned && jQuery.isFunction( returned.promise ) ) { - returned.promise() - .done( newDefer.resolve ) - .fail( newDefer.reject ) - .progress( newDefer.notify ); - } else { - newDefer[ tuple[ 0 ] + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments ); - } - }); - }); - fns = null; - }).promise(); - }, - // Get a promise for this deferred - // If obj is provided, the promise aspect is added to the object - promise: function( obj ) { - return obj != null ? jQuery.extend( obj, promise ) : promise; - } - }, - deferred = {}; - - // Keep pipe for back-compat - promise.pipe = promise.then; - - // Add list-specific methods - jQuery.each( tuples, function( i, tuple ) { - var list = tuple[ 2 ], - stateString = tuple[ 3 ]; - - // promise[ done | fail | progress ] = list.add - promise[ tuple[1] ] = list.add; - - // Handle state - if ( stateString ) { - list.add(function() { - // state = [ resolved | rejected ] - state = stateString; - - // [ reject_list | resolve_list ].disable; progress_list.lock - }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); - } - - // deferred[ resolve | reject | notify ] - deferred[ tuple[0] ] = function() { - deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments ); - return this; - }; - deferred[ tuple[0] + "With" ] = list.fireWith; - }); - - // Make the deferred a promise - promise.promise( deferred ); - - // Call given func if any - if ( func ) { - func.call( deferred, deferred ); - } - - // All done! - return deferred; - }, - - // Deferred helper - when: function( subordinate /* , ..., subordinateN */ ) { - var i = 0, - resolveValues = slice.call( arguments ), - length = resolveValues.length, - - // the count of uncompleted subordinates - remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, - - // the master Deferred. If resolveValues consist of only a single Deferred, just use that. - deferred = remaining === 1 ? subordinate : jQuery.Deferred(), - - // Update function for both resolve and progress values - updateFunc = function( i, contexts, values ) { - return function( value ) { - contexts[ i ] = this; - values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; - if ( values === progressValues ) { - deferred.notifyWith( contexts, values ); - - } else if ( !(--remaining) ) { - deferred.resolveWith( contexts, values ); - } - }; - }, - - progressValues, progressContexts, resolveContexts; - - // add listeners to Deferred subordinates; treat others as resolved - if ( length > 1 ) { - progressValues = new Array( length ); - progressContexts = new Array( length ); - resolveContexts = new Array( length ); - for ( ; i < length; i++ ) { - if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { - resolveValues[ i ].promise() - .done( updateFunc( i, resolveContexts, resolveValues ) ) - .fail( deferred.reject ) - .progress( updateFunc( i, progressContexts, progressValues ) ); - } else { - --remaining; - } - } - } - - // if we're not waiting on anything, resolve the master - if ( !remaining ) { - deferred.resolveWith( resolveContexts, resolveValues ); - } - - return deferred.promise(); - } -}); - - -// The deferred used on DOM ready -var readyList; - -jQuery.fn.ready = function( fn ) { - // Add the callback - jQuery.ready.promise().done( fn ); - - return this; -}; - -jQuery.extend({ - // Is the DOM ready to be used? Set to true once it occurs. - isReady: false, - - // A counter to track how many items to wait for before - // the ready event fires. See #6781 - readyWait: 1, - - // Hold (or release) the ready event - holdReady: function( hold ) { - if ( hold ) { - jQuery.readyWait++; - } else { - jQuery.ready( true ); - } - }, - - // Handle when the DOM is ready - ready: function( wait ) { - - // Abort if there are pending holds or we're already ready - if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { - return; - } - - // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). - if ( !document.body ) { - return setTimeout( jQuery.ready ); - } - - // Remember that the DOM is ready - jQuery.isReady = true; - - // If a normal DOM Ready event fired, decrement, and wait if need be - if ( wait !== true && --jQuery.readyWait > 0 ) { - return; - } - - // If there are functions bound, to execute - readyList.resolveWith( document, [ jQuery ] ); - - // Trigger any bound ready events - if ( jQuery.fn.triggerHandler ) { - jQuery( document ).triggerHandler( "ready" ); - jQuery( document ).off( "ready" ); - } - } -}); - -/** - * Clean-up method for dom ready events - */ -function detach() { - if ( document.addEventListener ) { - document.removeEventListener( "DOMContentLoaded", completed, false ); - window.removeEventListener( "load", completed, false ); - - } else { - document.detachEvent( "onreadystatechange", completed ); - window.detachEvent( "onload", completed ); - } -} - -/** - * The ready event handler and self cleanup method - */ -function completed() { - // readyState === "complete" is good enough for us to call the dom ready in oldIE - if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) { - detach(); - jQuery.ready(); - } -} - -jQuery.ready.promise = function( obj ) { - if ( !readyList ) { - - readyList = jQuery.Deferred(); - - // Catch cases where $(document).ready() is called after the browser event has already occurred. - // we once tried to use readyState "interactive" here, but it caused issues like the one - // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 - if ( document.readyState === "complete" ) { - // Handle it asynchronously to allow scripts the opportunity to delay ready - setTimeout( jQuery.ready ); - - // Standards-based browsers support DOMContentLoaded - } else if ( document.addEventListener ) { - // Use the handy event callback - document.addEventListener( "DOMContentLoaded", completed, false ); - - // A fallback to window.onload, that will always work - window.addEventListener( "load", completed, false ); - - // If IE event model is used - } else { - // Ensure firing before onload, maybe late but safe also for iframes - document.attachEvent( "onreadystatechange", completed ); - - // A fallback to window.onload, that will always work - window.attachEvent( "onload", completed ); - - // If IE and not a frame - // continually check to see if the document is ready - var top = false; - - try { - top = window.frameElement == null && document.documentElement; - } catch(e) {} - - if ( top && top.doScroll ) { - (function doScrollCheck() { - if ( !jQuery.isReady ) { - - try { - // Use the trick by Diego Perini - // http://javascript.nwbox.com/IEContentLoaded/ - top.doScroll("left"); - } catch(e) { - return setTimeout( doScrollCheck, 50 ); - } - - // detach all dom ready events - detach(); - - // and execute any waiting functions - jQuery.ready(); - } - })(); - } - } - } - return readyList.promise( obj ); -}; - - -var strundefined = typeof undefined; - - - -// Support: IE<9 -// Iteration over object's inherited properties before its own -var i; -for ( i in jQuery( support ) ) { - break; -} -support.ownLast = i !== "0"; - -// Note: most support tests are defined in their respective modules. -// false until the test is run -support.inlineBlockNeedsLayout = false; - -// Execute ASAP in case we need to set body.style.zoom -jQuery(function() { - // Minified: var a,b,c,d - var val, div, body, container; - - body = document.getElementsByTagName( "body" )[ 0 ]; - if ( !body || !body.style ) { - // Return for frameset docs that don't have a body - return; - } - - // Setup - div = document.createElement( "div" ); - container = document.createElement( "div" ); - container.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px"; - body.appendChild( container ).appendChild( div ); - - if ( typeof div.style.zoom !== strundefined ) { - // Support: IE<8 - // Check if natively block-level elements act like inline-block - // elements when setting their display to 'inline' and giving - // them layout - div.style.cssText = "display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1"; - - support.inlineBlockNeedsLayout = val = div.offsetWidth === 3; - if ( val ) { - // Prevent IE 6 from affecting layout for positioned elements #11048 - // Prevent IE from shrinking the body in IE 7 mode #12869 - // Support: IE<8 - body.style.zoom = 1; - } - } - - body.removeChild( container ); -}); - - - - -(function() { - var div = document.createElement( "div" ); - - // Execute the test only if not already executed in another module. - if (support.deleteExpando == null) { - // Support: IE<9 - support.deleteExpando = true; - try { - delete div.test; - } catch( e ) { - support.deleteExpando = false; - } - } - - // Null elements to avoid leaks in IE. - div = null; -})(); - - -/** - * Determines whether an object can have data - */ -jQuery.acceptData = function( elem ) { - var noData = jQuery.noData[ (elem.nodeName + " ").toLowerCase() ], - nodeType = +elem.nodeType || 1; - - // Do not set data on non-element DOM nodes because it will not be cleared (#8335). - return nodeType !== 1 && nodeType !== 9 ? - false : - - // Nodes accept data unless otherwise specified; rejection can be conditional - !noData || noData !== true && elem.getAttribute("classid") === noData; -}; - - -var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, - rmultiDash = /([A-Z])/g; - -function dataAttr( elem, key, data ) { - // If nothing was found internally, try to fetch any - // data from the HTML5 data-* attribute - if ( data === undefined && elem.nodeType === 1 ) { - - var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); - - data = elem.getAttribute( name ); - - if ( typeof data === "string" ) { - try { - data = data === "true" ? true : - data === "false" ? false : - data === "null" ? null : - // Only convert to a number if it doesn't change the string - +data + "" === data ? +data : - rbrace.test( data ) ? jQuery.parseJSON( data ) : - data; - } catch( e ) {} - - // Make sure we set the data so it isn't changed later - jQuery.data( elem, key, data ); - - } else { - data = undefined; - } - } - - return data; -} - -// checks a cache object for emptiness -function isEmptyDataObject( obj ) { - var name; - for ( name in obj ) { - - // if the public data object is empty, the private is still empty - if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { - continue; - } - if ( name !== "toJSON" ) { - return false; - } - } - - return true; -} - -function internalData( elem, name, data, pvt /* Internal Use Only */ ) { - if ( !jQuery.acceptData( elem ) ) { - return; - } - - var ret, thisCache, - internalKey = jQuery.expando, - - // We have to handle DOM nodes and JS objects differently because IE6-7 - // can't GC object references properly across the DOM-JS boundary - isNode = elem.nodeType, - - // Only DOM nodes need the global jQuery cache; JS object data is - // attached directly to the object so GC can occur automatically - cache = isNode ? jQuery.cache : elem, - - // Only defining an ID for JS objects if its cache already exists allows - // the code to shortcut on the same path as a DOM node with no cache - id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey; - - // Avoid doing any more work than we need to when trying to get data on an - // object that has no data at all - if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && data === undefined && typeof name === "string" ) { - return; - } - - if ( !id ) { - // Only DOM nodes need a new unique ID for each element since their data - // ends up in the global cache - if ( isNode ) { - id = elem[ internalKey ] = deletedIds.pop() || jQuery.guid++; - } else { - id = internalKey; - } - } - - if ( !cache[ id ] ) { - // Avoid exposing jQuery metadata on plain JS objects when the object - // is serialized using JSON.stringify - cache[ id ] = isNode ? {} : { toJSON: jQuery.noop }; - } - - // An object can be passed to jQuery.data instead of a key/value pair; this gets - // shallow copied over onto the existing cache - if ( typeof name === "object" || typeof name === "function" ) { - if ( pvt ) { - cache[ id ] = jQuery.extend( cache[ id ], name ); - } else { - cache[ id ].data = jQuery.extend( cache[ id ].data, name ); - } - } - - thisCache = cache[ id ]; - - // jQuery data() is stored in a separate object inside the object's internal data - // cache in order to avoid key collisions between internal data and user-defined - // data. - if ( !pvt ) { - if ( !thisCache.data ) { - thisCache.data = {}; - } - - thisCache = thisCache.data; - } - - if ( data !== undefined ) { - thisCache[ jQuery.camelCase( name ) ] = data; - } - - // Check for both converted-to-camel and non-converted data property names - // If a data property was specified - if ( typeof name === "string" ) { - - // First Try to find as-is property data - ret = thisCache[ name ]; - - // Test for null|undefined property data - if ( ret == null ) { - - // Try to find the camelCased property - ret = thisCache[ jQuery.camelCase( name ) ]; - } - } else { - ret = thisCache; - } - - return ret; -} - -function internalRemoveData( elem, name, pvt ) { - if ( !jQuery.acceptData( elem ) ) { - return; - } - - var thisCache, i, - isNode = elem.nodeType, - - // See jQuery.data for more information - cache = isNode ? jQuery.cache : elem, - id = isNode ? elem[ jQuery.expando ] : jQuery.expando; - - // If there is already no cache entry for this object, there is no - // purpose in continuing - if ( !cache[ id ] ) { - return; - } - - if ( name ) { - - thisCache = pvt ? cache[ id ] : cache[ id ].data; - - if ( thisCache ) { - - // Support array or space separated string names for data keys - if ( !jQuery.isArray( name ) ) { - - // try the string as a key before any manipulation - if ( name in thisCache ) { - name = [ name ]; - } else { - - // split the camel cased version by spaces unless a key with the spaces exists - name = jQuery.camelCase( name ); - if ( name in thisCache ) { - name = [ name ]; - } else { - name = name.split(" "); - } - } - } else { - // If "name" is an array of keys... - // When data is initially created, via ("key", "val") signature, - // keys will be converted to camelCase. - // Since there is no way to tell _how_ a key was added, remove - // both plain key and camelCase key. #12786 - // This will only penalize the array argument path. - name = name.concat( jQuery.map( name, jQuery.camelCase ) ); - } - - i = name.length; - while ( i-- ) { - delete thisCache[ name[i] ]; - } - - // If there is no data left in the cache, we want to continue - // and let the cache object itself get destroyed - if ( pvt ? !isEmptyDataObject(thisCache) : !jQuery.isEmptyObject(thisCache) ) { - return; - } - } - } - - // See jQuery.data for more information - if ( !pvt ) { - delete cache[ id ].data; - - // Don't destroy the parent cache unless the internal data object - // had been the only thing left in it - if ( !isEmptyDataObject( cache[ id ] ) ) { - return; - } - } - - // Destroy the cache - if ( isNode ) { - jQuery.cleanData( [ elem ], true ); - - // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080) - /* jshint eqeqeq: false */ - } else if ( support.deleteExpando || cache != cache.window ) { - /* jshint eqeqeq: true */ - delete cache[ id ]; - - // When all else fails, null - } else { - cache[ id ] = null; - } -} - -jQuery.extend({ - cache: {}, - - // The following elements (space-suffixed to avoid Object.prototype collisions) - // throw uncatchable exceptions if you attempt to set expando properties - noData: { - "applet ": true, - "embed ": true, - // ...but Flash objects (which have this classid) *can* handle expandos - "object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" - }, - - hasData: function( elem ) { - elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; - return !!elem && !isEmptyDataObject( elem ); - }, - - data: function( elem, name, data ) { - return internalData( elem, name, data ); - }, - - removeData: function( elem, name ) { - return internalRemoveData( elem, name ); - }, - - // For internal use only. - _data: function( elem, name, data ) { - return internalData( elem, name, data, true ); - }, - - _removeData: function( elem, name ) { - return internalRemoveData( elem, name, true ); - } -}); - -jQuery.fn.extend({ - data: function( key, value ) { - var i, name, data, - elem = this[0], - attrs = elem && elem.attributes; - - // Special expections of .data basically thwart jQuery.access, - // so implement the relevant behavior ourselves - - // Gets all values - if ( key === undefined ) { - if ( this.length ) { - data = jQuery.data( elem ); - - if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) { - i = attrs.length; - while ( i-- ) { - - // Support: IE11+ - // The attrs elements can be null (#14894) - if ( attrs[ i ] ) { - name = attrs[ i ].name; - if ( name.indexOf( "data-" ) === 0 ) { - name = jQuery.camelCase( name.slice(5) ); - dataAttr( elem, name, data[ name ] ); - } - } - } - jQuery._data( elem, "parsedAttrs", true ); - } - } - - return data; - } - - // Sets multiple values - if ( typeof key === "object" ) { - return this.each(function() { - jQuery.data( this, key ); - }); - } - - return arguments.length > 1 ? - - // Sets one value - this.each(function() { - jQuery.data( this, key, value ); - }) : - - // Gets one value - // Try to fetch any internally stored data first - elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : undefined; - }, - - removeData: function( key ) { - return this.each(function() { - jQuery.removeData( this, key ); - }); - } -}); - - -jQuery.extend({ - queue: function( elem, type, data ) { - var queue; - - if ( elem ) { - type = ( type || "fx" ) + "queue"; - queue = jQuery._data( elem, type ); - - // Speed up dequeue by getting out quickly if this is just a lookup - if ( data ) { - if ( !queue || jQuery.isArray(data) ) { - queue = jQuery._data( elem, type, jQuery.makeArray(data) ); - } else { - queue.push( data ); - } - } - return queue || []; - } - }, - - dequeue: function( elem, type ) { - type = type || "fx"; - - var queue = jQuery.queue( elem, type ), - startLength = queue.length, - fn = queue.shift(), - hooks = jQuery._queueHooks( elem, type ), - next = function() { - jQuery.dequeue( elem, type ); - }; - - // If the fx queue is dequeued, always remove the progress sentinel - if ( fn === "inprogress" ) { - fn = queue.shift(); - startLength--; - } - - if ( fn ) { - - // Add a progress sentinel to prevent the fx queue from being - // automatically dequeued - if ( type === "fx" ) { - queue.unshift( "inprogress" ); - } - - // clear up the last queue stop function - delete hooks.stop; - fn.call( elem, next, hooks ); - } - - if ( !startLength && hooks ) { - hooks.empty.fire(); - } - }, - - // not intended for public consumption - generates a queueHooks object, or returns the current one - _queueHooks: function( elem, type ) { - var key = type + "queueHooks"; - return jQuery._data( elem, key ) || jQuery._data( elem, key, { - empty: jQuery.Callbacks("once memory").add(function() { - jQuery._removeData( elem, type + "queue" ); - jQuery._removeData( elem, key ); - }) - }); - } -}); - -jQuery.fn.extend({ - queue: function( type, data ) { - var setter = 2; - - if ( typeof type !== "string" ) { - data = type; - type = "fx"; - setter--; - } - - if ( arguments.length < setter ) { - return jQuery.queue( this[0], type ); - } - - return data === undefined ? - this : - this.each(function() { - var queue = jQuery.queue( this, type, data ); - - // ensure a hooks for this queue - jQuery._queueHooks( this, type ); - - if ( type === "fx" && queue[0] !== "inprogress" ) { - jQuery.dequeue( this, type ); - } - }); - }, - dequeue: function( type ) { - return this.each(function() { - jQuery.dequeue( this, type ); - }); - }, - clearQueue: function( type ) { - return this.queue( type || "fx", [] ); - }, - // Get a promise resolved when queues of a certain type - // are emptied (fx is the type by default) - promise: function( type, obj ) { - var tmp, - count = 1, - defer = jQuery.Deferred(), - elements = this, - i = this.length, - resolve = function() { - if ( !( --count ) ) { - defer.resolveWith( elements, [ elements ] ); - } - }; - - if ( typeof type !== "string" ) { - obj = type; - type = undefined; - } - type = type || "fx"; - - while ( i-- ) { - tmp = jQuery._data( elements[ i ], type + "queueHooks" ); - if ( tmp && tmp.empty ) { - count++; - tmp.empty.add( resolve ); - } - } - resolve(); - return defer.promise( obj ); - } -}); -var pnum = (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source; - -var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; - -var isHidden = function( elem, el ) { - // isHidden might be called from jQuery#filter function; - // in that case, element will be second argument - elem = el || elem; - return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); - }; - - - -// Multifunctional method to get and set values of a collection -// The value/s can optionally be executed if it's a function -var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) { - var i = 0, - length = elems.length, - bulk = key == null; - - // Sets many values - if ( jQuery.type( key ) === "object" ) { - chainable = true; - for ( i in key ) { - jQuery.access( elems, fn, i, key[i], true, emptyGet, raw ); - } - - // Sets one value - } else if ( value !== undefined ) { - chainable = true; - - if ( !jQuery.isFunction( value ) ) { - raw = true; - } - - if ( bulk ) { - // Bulk operations run against the entire set - if ( raw ) { - fn.call( elems, value ); - fn = null; - - // ...except when executing function values - } else { - bulk = fn; - fn = function( elem, key, value ) { - return bulk.call( jQuery( elem ), value ); - }; - } - } - - if ( fn ) { - for ( ; i < length; i++ ) { - fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) ); - } - } - } - - return chainable ? - elems : - - // Gets - bulk ? - fn.call( elems ) : - length ? fn( elems[0], key ) : emptyGet; -}; -var rcheckableType = (/^(?:checkbox|radio)$/i); - - - -(function() { - // Minified: var a,b,c - var input = document.createElement( "input" ), - div = document.createElement( "div" ), - fragment = document.createDocumentFragment(); - - // Setup - div.innerHTML = "
a"; - - // IE strips leading whitespace when .innerHTML is used - support.leadingWhitespace = div.firstChild.nodeType === 3; - - // Make sure that tbody elements aren't automatically inserted - // IE will insert them into empty tables - support.tbody = !div.getElementsByTagName( "tbody" ).length; - - // Make sure that link elements get serialized correctly by innerHTML - // This requires a wrapper element in IE - support.htmlSerialize = !!div.getElementsByTagName( "link" ).length; - - // Makes sure cloning an html5 element does not cause problems - // Where outerHTML is undefined, this still works - support.html5Clone = - document.createElement( "nav" ).cloneNode( true ).outerHTML !== "<:nav>"; - - // Check if a disconnected checkbox will retain its checked - // value of true after appended to the DOM (IE6/7) - input.type = "checkbox"; - input.checked = true; - fragment.appendChild( input ); - support.appendChecked = input.checked; - - // Make sure textarea (and checkbox) defaultValue is properly cloned - // Support: IE6-IE11+ - div.innerHTML = ""; - support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; - - // #11217 - WebKit loses check when the name is after the checked attribute - fragment.appendChild( div ); - div.innerHTML = ""; - - // Support: Safari 5.1, iOS 5.1, Android 4.x, Android 2.3 - // old WebKit doesn't clone checked state correctly in fragments - support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; - - // Support: IE<9 - // Opera does not clone events (and typeof div.attachEvent === undefined). - // IE9-10 clones events bound via attachEvent, but they don't trigger with .click() - support.noCloneEvent = true; - if ( div.attachEvent ) { - div.attachEvent( "onclick", function() { - support.noCloneEvent = false; - }); - - div.cloneNode( true ).click(); - } - - // Execute the test only if not already executed in another module. - if (support.deleteExpando == null) { - // Support: IE<9 - support.deleteExpando = true; - try { - delete div.test; - } catch( e ) { - support.deleteExpando = false; - } - } -})(); - - -(function() { - var i, eventName, - div = document.createElement( "div" ); - - // Support: IE<9 (lack submit/change bubble), Firefox 23+ (lack focusin event) - for ( i in { submit: true, change: true, focusin: true }) { - eventName = "on" + i; - - if ( !(support[ i + "Bubbles" ] = eventName in window) ) { - // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP) - div.setAttribute( eventName, "t" ); - support[ i + "Bubbles" ] = div.attributes[ eventName ].expando === false; - } - } - - // Null elements to avoid leaks in IE. - div = null; -})(); - - -var rformElems = /^(?:input|select|textarea)$/i, - rkeyEvent = /^key/, - rmouseEvent = /^(?:mouse|pointer|contextmenu)|click/, - rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, - rtypenamespace = /^([^.]*)(?:\.(.+)|)$/; - -function returnTrue() { - return true; -} - -function returnFalse() { - return false; -} - -function safeActiveElement() { - try { - return document.activeElement; - } catch ( err ) { } -} - -/* - * Helper functions for managing events -- not part of the public interface. - * Props to Dean Edwards' addEvent library for many of the ideas. - */ -jQuery.event = { - - global: {}, - - add: function( elem, types, handler, data, selector ) { - var tmp, events, t, handleObjIn, - special, eventHandle, handleObj, - handlers, type, namespaces, origType, - elemData = jQuery._data( elem ); - - // Don't attach events to noData or text/comment nodes (but allow plain objects) - if ( !elemData ) { - return; - } - - // Caller can pass in an object of custom data in lieu of the handler - if ( handler.handler ) { - handleObjIn = handler; - handler = handleObjIn.handler; - selector = handleObjIn.selector; - } - - // Make sure that the handler has a unique ID, used to find/remove it later - if ( !handler.guid ) { - handler.guid = jQuery.guid++; - } - - // Init the element's event structure and main handler, if this is the first - if ( !(events = elemData.events) ) { - events = elemData.events = {}; - } - if ( !(eventHandle = elemData.handle) ) { - eventHandle = elemData.handle = function( e ) { - // Discard the second event of a jQuery.event.trigger() and - // when an event is called after a page has unloaded - return typeof jQuery !== strundefined && (!e || jQuery.event.triggered !== e.type) ? - jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : - undefined; - }; - // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events - eventHandle.elem = elem; - } - - // Handle multiple events separated by a space - types = ( types || "" ).match( rnotwhite ) || [ "" ]; - t = types.length; - while ( t-- ) { - tmp = rtypenamespace.exec( types[t] ) || []; - type = origType = tmp[1]; - namespaces = ( tmp[2] || "" ).split( "." ).sort(); - - // There *must* be a type, no attaching namespace-only handlers - if ( !type ) { - continue; - } - - // If event changes its type, use the special event handlers for the changed type - special = jQuery.event.special[ type ] || {}; - - // If selector defined, determine special event api type, otherwise given type - type = ( selector ? special.delegateType : special.bindType ) || type; - - // Update special based on newly reset type - special = jQuery.event.special[ type ] || {}; - - // handleObj is passed to all event handlers - handleObj = jQuery.extend({ - type: type, - origType: origType, - data: data, - handler: handler, - guid: handler.guid, - selector: selector, - needsContext: selector && jQuery.expr.match.needsContext.test( selector ), - namespace: namespaces.join(".") - }, handleObjIn ); - - // Init the event handler queue if we're the first - if ( !(handlers = events[ type ]) ) { - handlers = events[ type ] = []; - handlers.delegateCount = 0; - - // Only use addEventListener/attachEvent if the special events handler returns false - if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { - // Bind the global event handler to the element - if ( elem.addEventListener ) { - elem.addEventListener( type, eventHandle, false ); - - } else if ( elem.attachEvent ) { - elem.attachEvent( "on" + type, eventHandle ); - } - } - } - - if ( special.add ) { - special.add.call( elem, handleObj ); - - if ( !handleObj.handler.guid ) { - handleObj.handler.guid = handler.guid; - } - } - - // Add to the element's handler list, delegates in front - if ( selector ) { - handlers.splice( handlers.delegateCount++, 0, handleObj ); - } else { - handlers.push( handleObj ); - } - - // Keep track of which events have ever been used, for event optimization - jQuery.event.global[ type ] = true; - } - - // Nullify elem to prevent memory leaks in IE - elem = null; - }, - - // Detach an event or set of events from an element - remove: function( elem, types, handler, selector, mappedTypes ) { - var j, handleObj, tmp, - origCount, t, events, - special, handlers, type, - namespaces, origType, - elemData = jQuery.hasData( elem ) && jQuery._data( elem ); - - if ( !elemData || !(events = elemData.events) ) { - return; - } - - // Once for each type.namespace in types; type may be omitted - types = ( types || "" ).match( rnotwhite ) || [ "" ]; - t = types.length; - while ( t-- ) { - tmp = rtypenamespace.exec( types[t] ) || []; - type = origType = tmp[1]; - namespaces = ( tmp[2] || "" ).split( "." ).sort(); - - // Unbind all events (on this namespace, if provided) for the element - if ( !type ) { - for ( type in events ) { - jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); - } - continue; - } - - special = jQuery.event.special[ type ] || {}; - type = ( selector ? special.delegateType : special.bindType ) || type; - handlers = events[ type ] || []; - tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ); - - // Remove matching events - origCount = j = handlers.length; - while ( j-- ) { - handleObj = handlers[ j ]; - - if ( ( mappedTypes || origType === handleObj.origType ) && - ( !handler || handler.guid === handleObj.guid ) && - ( !tmp || tmp.test( handleObj.namespace ) ) && - ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { - handlers.splice( j, 1 ); - - if ( handleObj.selector ) { - handlers.delegateCount--; - } - if ( special.remove ) { - special.remove.call( elem, handleObj ); - } - } - } - - // Remove generic event handler if we removed something and no more handlers exist - // (avoids potential for endless recursion during removal of special event handlers) - if ( origCount && !handlers.length ) { - if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { - jQuery.removeEvent( elem, type, elemData.handle ); - } - - delete events[ type ]; - } - } - - // Remove the expando if it's no longer used - if ( jQuery.isEmptyObject( events ) ) { - delete elemData.handle; - - // removeData also checks for emptiness and clears the expando if empty - // so use it instead of delete - jQuery._removeData( elem, "events" ); - } - }, - - trigger: function( event, data, elem, onlyHandlers ) { - var handle, ontype, cur, - bubbleType, special, tmp, i, - eventPath = [ elem || document ], - type = hasOwn.call( event, "type" ) ? event.type : event, - namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : []; - - cur = tmp = elem = elem || document; - - // Don't do events on text and comment nodes - if ( elem.nodeType === 3 || elem.nodeType === 8 ) { - return; - } - - // focus/blur morphs to focusin/out; ensure we're not firing them right now - if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { - return; - } - - if ( type.indexOf(".") >= 0 ) { - // Namespaced trigger; create a regexp to match event type in handle() - namespaces = type.split("."); - type = namespaces.shift(); - namespaces.sort(); - } - ontype = type.indexOf(":") < 0 && "on" + type; - - // Caller can pass in a jQuery.Event object, Object, or just an event type string - event = event[ jQuery.expando ] ? - event : - new jQuery.Event( type, typeof event === "object" && event ); - - // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) - event.isTrigger = onlyHandlers ? 2 : 3; - event.namespace = namespaces.join("."); - event.namespace_re = event.namespace ? - new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) : - null; - - // Clean up the event in case it is being reused - event.result = undefined; - if ( !event.target ) { - event.target = elem; - } - - // Clone any incoming data and prepend the event, creating the handler arg list - data = data == null ? - [ event ] : - jQuery.makeArray( data, [ event ] ); - - // Allow special events to draw outside the lines - special = jQuery.event.special[ type ] || {}; - if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { - return; - } - - // Determine event propagation path in advance, per W3C events spec (#9951) - // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) - if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { - - bubbleType = special.delegateType || type; - if ( !rfocusMorph.test( bubbleType + type ) ) { - cur = cur.parentNode; - } - for ( ; cur; cur = cur.parentNode ) { - eventPath.push( cur ); - tmp = cur; - } - - // Only add window if we got to document (e.g., not plain obj or detached DOM) - if ( tmp === (elem.ownerDocument || document) ) { - eventPath.push( tmp.defaultView || tmp.parentWindow || window ); - } - } - - // Fire handlers on the event path - i = 0; - while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) { - - event.type = i > 1 ? - bubbleType : - special.bindType || type; - - // jQuery handler - handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" ); - if ( handle ) { - handle.apply( cur, data ); - } - - // Native handler - handle = ontype && cur[ ontype ]; - if ( handle && handle.apply && jQuery.acceptData( cur ) ) { - event.result = handle.apply( cur, data ); - if ( event.result === false ) { - event.preventDefault(); - } - } - } - event.type = type; - - // If nobody prevented the default action, do it now - if ( !onlyHandlers && !event.isDefaultPrevented() ) { - - if ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) && - jQuery.acceptData( elem ) ) { - - // Call a native DOM method on the target with the same name name as the event. - // Can't use an .isFunction() check here because IE6/7 fails that test. - // Don't do default actions on window, that's where global variables be (#6170) - if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) { - - // Don't re-trigger an onFOO event when we call its FOO() method - tmp = elem[ ontype ]; - - if ( tmp ) { - elem[ ontype ] = null; - } - - // Prevent re-triggering of the same event, since we already bubbled it above - jQuery.event.triggered = type; - try { - elem[ type ](); - } catch ( e ) { - // IE<9 dies on focus/blur to hidden element (#1486,#12518) - // only reproducible on winXP IE8 native, not IE9 in IE8 mode - } - jQuery.event.triggered = undefined; - - if ( tmp ) { - elem[ ontype ] = tmp; - } - } - } - } - - return event.result; - }, - - dispatch: function( event ) { - - // Make a writable jQuery.Event from the native event object - event = jQuery.event.fix( event ); - - var i, ret, handleObj, matched, j, - handlerQueue = [], - args = slice.call( arguments ), - handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [], - special = jQuery.event.special[ event.type ] || {}; - - // Use the fix-ed jQuery.Event rather than the (read-only) native event - args[0] = event; - event.delegateTarget = this; - - // Call the preDispatch hook for the mapped type, and let it bail if desired - if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { - return; - } - - // Determine handlers - handlerQueue = jQuery.event.handlers.call( this, event, handlers ); - - // Run delegates first; they may want to stop propagation beneath us - i = 0; - while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) { - event.currentTarget = matched.elem; - - j = 0; - while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) { - - // Triggered event must either 1) have no namespace, or - // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). - if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) { - - event.handleObj = handleObj; - event.data = handleObj.data; - - ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) - .apply( matched.elem, args ); - - if ( ret !== undefined ) { - if ( (event.result = ret) === false ) { - event.preventDefault(); - event.stopPropagation(); - } - } - } - } - } - - // Call the postDispatch hook for the mapped type - if ( special.postDispatch ) { - special.postDispatch.call( this, event ); - } - - return event.result; - }, - - handlers: function( event, handlers ) { - var sel, handleObj, matches, i, - handlerQueue = [], - delegateCount = handlers.delegateCount, - cur = event.target; - - // Find delegate handlers - // Black-hole SVG instance trees (#13180) - // Avoid non-left-click bubbling in Firefox (#3861) - if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) { - - /* jshint eqeqeq: false */ - for ( ; cur != this; cur = cur.parentNode || this ) { - /* jshint eqeqeq: true */ - - // Don't check non-elements (#13208) - // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) - if ( cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click") ) { - matches = []; - for ( i = 0; i < delegateCount; i++ ) { - handleObj = handlers[ i ]; - - // Don't conflict with Object.prototype properties (#13203) - sel = handleObj.selector + " "; - - if ( matches[ sel ] === undefined ) { - matches[ sel ] = handleObj.needsContext ? - jQuery( sel, this ).index( cur ) >= 0 : - jQuery.find( sel, this, null, [ cur ] ).length; - } - if ( matches[ sel ] ) { - matches.push( handleObj ); - } - } - if ( matches.length ) { - handlerQueue.push({ elem: cur, handlers: matches }); - } - } - } - } - - // Add the remaining (directly-bound) handlers - if ( delegateCount < handlers.length ) { - handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) }); - } - - return handlerQueue; - }, - - fix: function( event ) { - if ( event[ jQuery.expando ] ) { - return event; - } - - // Create a writable copy of the event object and normalize some properties - var i, prop, copy, - type = event.type, - originalEvent = event, - fixHook = this.fixHooks[ type ]; - - if ( !fixHook ) { - this.fixHooks[ type ] = fixHook = - rmouseEvent.test( type ) ? this.mouseHooks : - rkeyEvent.test( type ) ? this.keyHooks : - {}; - } - copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; - - event = new jQuery.Event( originalEvent ); - - i = copy.length; - while ( i-- ) { - prop = copy[ i ]; - event[ prop ] = originalEvent[ prop ]; - } - - // Support: IE<9 - // Fix target property (#1925) - if ( !event.target ) { - event.target = originalEvent.srcElement || document; - } - - // Support: Chrome 23+, Safari? - // Target should not be a text node (#504, #13143) - if ( event.target.nodeType === 3 ) { - event.target = event.target.parentNode; - } - - // Support: IE<9 - // For mouse/key events, metaKey==false if it's undefined (#3368, #11328) - event.metaKey = !!event.metaKey; - - return fixHook.filter ? fixHook.filter( event, originalEvent ) : event; - }, - - // Includes some event props shared by KeyEvent and MouseEvent - props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), - - fixHooks: {}, - - keyHooks: { - props: "char charCode key keyCode".split(" "), - filter: function( event, original ) { - - // Add which for key events - if ( event.which == null ) { - event.which = original.charCode != null ? original.charCode : original.keyCode; - } - - return event; - } - }, - - mouseHooks: { - props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), - filter: function( event, original ) { - var body, eventDoc, doc, - button = original.button, - fromElement = original.fromElement; - - // Calculate pageX/Y if missing and clientX/Y available - if ( event.pageX == null && original.clientX != null ) { - eventDoc = event.target.ownerDocument || document; - doc = eventDoc.documentElement; - body = eventDoc.body; - - event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); - event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); - } - - // Add relatedTarget, if necessary - if ( !event.relatedTarget && fromElement ) { - event.relatedTarget = fromElement === event.target ? original.toElement : fromElement; - } - - // Add which for click: 1 === left; 2 === middle; 3 === right - // Note: button is not normalized, so don't use it - if ( !event.which && button !== undefined ) { - event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); - } - - return event; - } - }, - - special: { - load: { - // Prevent triggered image.load events from bubbling to window.load - noBubble: true - }, - focus: { - // Fire native event if possible so blur/focus sequence is correct - trigger: function() { - if ( this !== safeActiveElement() && this.focus ) { - try { - this.focus(); - return false; - } catch ( e ) { - // Support: IE<9 - // If we error on focus to hidden element (#1486, #12518), - // let .trigger() run the handlers - } - } - }, - delegateType: "focusin" - }, - blur: { - trigger: function() { - if ( this === safeActiveElement() && this.blur ) { - this.blur(); - return false; - } - }, - delegateType: "focusout" - }, - click: { - // For checkbox, fire native event so checked state will be right - trigger: function() { - if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) { - this.click(); - return false; - } - }, - - // For cross-browser consistency, don't fire native .click() on links - _default: function( event ) { - return jQuery.nodeName( event.target, "a" ); - } - }, - - beforeunload: { - postDispatch: function( event ) { - - // Support: Firefox 20+ - // Firefox doesn't alert if the returnValue field is not set. - if ( event.result !== undefined && event.originalEvent ) { - event.originalEvent.returnValue = event.result; - } - } - } - }, - - simulate: function( type, elem, event, bubble ) { - // Piggyback on a donor event to simulate a different one. - // Fake originalEvent to avoid donor's stopPropagation, but if the - // simulated event prevents default then we do the same on the donor. - var e = jQuery.extend( - new jQuery.Event(), - event, - { - type: type, - isSimulated: true, - originalEvent: {} - } - ); - if ( bubble ) { - jQuery.event.trigger( e, null, elem ); - } else { - jQuery.event.dispatch.call( elem, e ); - } - if ( e.isDefaultPrevented() ) { - event.preventDefault(); - } - } -}; - -jQuery.removeEvent = document.removeEventListener ? - function( elem, type, handle ) { - if ( elem.removeEventListener ) { - elem.removeEventListener( type, handle, false ); - } - } : - function( elem, type, handle ) { - var name = "on" + type; - - if ( elem.detachEvent ) { - - // #8545, #7054, preventing memory leaks for custom events in IE6-8 - // detachEvent needed property on element, by name of that event, to properly expose it to GC - if ( typeof elem[ name ] === strundefined ) { - elem[ name ] = null; - } - - elem.detachEvent( name, handle ); - } - }; - -jQuery.Event = function( src, props ) { - // Allow instantiation without the 'new' keyword - if ( !(this instanceof jQuery.Event) ) { - return new jQuery.Event( src, props ); - } - - // Event object - if ( src && src.type ) { - this.originalEvent = src; - this.type = src.type; - - // Events bubbling up the document may have been marked as prevented - // by a handler lower down the tree; reflect the correct value. - this.isDefaultPrevented = src.defaultPrevented || - src.defaultPrevented === undefined && - // Support: IE < 9, Android < 4.0 - src.returnValue === false ? - returnTrue : - returnFalse; - - // Event type - } else { - this.type = src; - } - - // Put explicitly provided properties onto the event object - if ( props ) { - jQuery.extend( this, props ); - } - - // Create a timestamp if incoming event doesn't have one - this.timeStamp = src && src.timeStamp || jQuery.now(); - - // Mark it as fixed - this[ jQuery.expando ] = true; -}; - -// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding -// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html -jQuery.Event.prototype = { - isDefaultPrevented: returnFalse, - isPropagationStopped: returnFalse, - isImmediatePropagationStopped: returnFalse, - - preventDefault: function() { - var e = this.originalEvent; - - this.isDefaultPrevented = returnTrue; - if ( !e ) { - return; - } - - // If preventDefault exists, run it on the original event - if ( e.preventDefault ) { - e.preventDefault(); - - // Support: IE - // Otherwise set the returnValue property of the original event to false - } else { - e.returnValue = false; - } - }, - stopPropagation: function() { - var e = this.originalEvent; - - this.isPropagationStopped = returnTrue; - if ( !e ) { - return; - } - // If stopPropagation exists, run it on the original event - if ( e.stopPropagation ) { - e.stopPropagation(); - } - - // Support: IE - // Set the cancelBubble property of the original event to true - e.cancelBubble = true; - }, - stopImmediatePropagation: function() { - var e = this.originalEvent; - - this.isImmediatePropagationStopped = returnTrue; - - if ( e && e.stopImmediatePropagation ) { - e.stopImmediatePropagation(); - } - - this.stopPropagation(); - } -}; - -// Create mouseenter/leave events using mouseover/out and event-time checks -jQuery.each({ - mouseenter: "mouseover", - mouseleave: "mouseout", - pointerenter: "pointerover", - pointerleave: "pointerout" -}, function( orig, fix ) { - jQuery.event.special[ orig ] = { - delegateType: fix, - bindType: fix, - - handle: function( event ) { - var ret, - target = this, - related = event.relatedTarget, - handleObj = event.handleObj; - - // For mousenter/leave call the handler if related is outside the target. - // NB: No relatedTarget if the mouse left/entered the browser window - if ( !related || (related !== target && !jQuery.contains( target, related )) ) { - event.type = handleObj.origType; - ret = handleObj.handler.apply( this, arguments ); - event.type = fix; - } - return ret; - } - }; -}); - -// IE submit delegation -if ( !support.submitBubbles ) { - - jQuery.event.special.submit = { - setup: function() { - // Only need this for delegated form submit events - if ( jQuery.nodeName( this, "form" ) ) { - return false; - } - - // Lazy-add a submit handler when a descendant form may potentially be submitted - jQuery.event.add( this, "click._submit keypress._submit", function( e ) { - // Node name check avoids a VML-related crash in IE (#9807) - var elem = e.target, - form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined; - if ( form && !jQuery._data( form, "submitBubbles" ) ) { - jQuery.event.add( form, "submit._submit", function( event ) { - event._submit_bubble = true; - }); - jQuery._data( form, "submitBubbles", true ); - } - }); - // return undefined since we don't need an event listener - }, - - postDispatch: function( event ) { - // If form was submitted by the user, bubble the event up the tree - if ( event._submit_bubble ) { - delete event._submit_bubble; - if ( this.parentNode && !event.isTrigger ) { - jQuery.event.simulate( "submit", this.parentNode, event, true ); - } - } - }, - - teardown: function() { - // Only need this for delegated form submit events - if ( jQuery.nodeName( this, "form" ) ) { - return false; - } - - // Remove delegated handlers; cleanData eventually reaps submit handlers attached above - jQuery.event.remove( this, "._submit" ); - } - }; -} - -// IE change delegation and checkbox/radio fix -if ( !support.changeBubbles ) { - - jQuery.event.special.change = { - - setup: function() { - - if ( rformElems.test( this.nodeName ) ) { - // IE doesn't fire change on a check/radio until blur; trigger it on click - // after a propertychange. Eat the blur-change in special.change.handle. - // This still fires onchange a second time for check/radio after blur. - if ( this.type === "checkbox" || this.type === "radio" ) { - jQuery.event.add( this, "propertychange._change", function( event ) { - if ( event.originalEvent.propertyName === "checked" ) { - this._just_changed = true; - } - }); - jQuery.event.add( this, "click._change", function( event ) { - if ( this._just_changed && !event.isTrigger ) { - this._just_changed = false; - } - // Allow triggered, simulated change events (#11500) - jQuery.event.simulate( "change", this, event, true ); - }); - } - return false; - } - // Delegated event; lazy-add a change handler on descendant inputs - jQuery.event.add( this, "beforeactivate._change", function( e ) { - var elem = e.target; - - if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "changeBubbles" ) ) { - jQuery.event.add( elem, "change._change", function( event ) { - if ( this.parentNode && !event.isSimulated && !event.isTrigger ) { - jQuery.event.simulate( "change", this.parentNode, event, true ); - } - }); - jQuery._data( elem, "changeBubbles", true ); - } - }); - }, - - handle: function( event ) { - var elem = event.target; - - // Swallow native change events from checkbox/radio, we already triggered them above - if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) { - return event.handleObj.handler.apply( this, arguments ); - } - }, - - teardown: function() { - jQuery.event.remove( this, "._change" ); - - return !rformElems.test( this.nodeName ); - } - }; -} - -// Create "bubbling" focus and blur events -if ( !support.focusinBubbles ) { - jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { - - // Attach a single capturing handler on the document while someone wants focusin/focusout - var handler = function( event ) { - jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); - }; - - jQuery.event.special[ fix ] = { - setup: function() { - var doc = this.ownerDocument || this, - attaches = jQuery._data( doc, fix ); - - if ( !attaches ) { - doc.addEventListener( orig, handler, true ); - } - jQuery._data( doc, fix, ( attaches || 0 ) + 1 ); - }, - teardown: function() { - var doc = this.ownerDocument || this, - attaches = jQuery._data( doc, fix ) - 1; - - if ( !attaches ) { - doc.removeEventListener( orig, handler, true ); - jQuery._removeData( doc, fix ); - } else { - jQuery._data( doc, fix, attaches ); - } - } - }; - }); -} - -jQuery.fn.extend({ - - on: function( types, selector, data, fn, /*INTERNAL*/ one ) { - var type, origFn; - - // Types can be a map of types/handlers - if ( typeof types === "object" ) { - // ( types-Object, selector, data ) - if ( typeof selector !== "string" ) { - // ( types-Object, data ) - data = data || selector; - selector = undefined; - } - for ( type in types ) { - this.on( type, selector, data, types[ type ], one ); - } - return this; - } - - if ( data == null && fn == null ) { - // ( types, fn ) - fn = selector; - data = selector = undefined; - } else if ( fn == null ) { - if ( typeof selector === "string" ) { - // ( types, selector, fn ) - fn = data; - data = undefined; - } else { - // ( types, data, fn ) - fn = data; - data = selector; - selector = undefined; - } - } - if ( fn === false ) { - fn = returnFalse; - } else if ( !fn ) { - return this; - } - - if ( one === 1 ) { - origFn = fn; - fn = function( event ) { - // Can use an empty set, since event contains the info - jQuery().off( event ); - return origFn.apply( this, arguments ); - }; - // Use same guid so caller can remove using origFn - fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); - } - return this.each( function() { - jQuery.event.add( this, types, fn, data, selector ); - }); - }, - one: function( types, selector, data, fn ) { - return this.on( types, selector, data, fn, 1 ); - }, - off: function( types, selector, fn ) { - var handleObj, type; - if ( types && types.preventDefault && types.handleObj ) { - // ( event ) dispatched jQuery.Event - handleObj = types.handleObj; - jQuery( types.delegateTarget ).off( - handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, - handleObj.selector, - handleObj.handler - ); - return this; - } - if ( typeof types === "object" ) { - // ( types-object [, selector] ) - for ( type in types ) { - this.off( type, selector, types[ type ] ); - } - return this; - } - if ( selector === false || typeof selector === "function" ) { - // ( types [, fn] ) - fn = selector; - selector = undefined; - } - if ( fn === false ) { - fn = returnFalse; - } - return this.each(function() { - jQuery.event.remove( this, types, fn, selector ); - }); - }, - - trigger: function( type, data ) { - return this.each(function() { - jQuery.event.trigger( type, data, this ); - }); - }, - triggerHandler: function( type, data ) { - var elem = this[0]; - if ( elem ) { - return jQuery.event.trigger( type, data, elem, true ); - } - } -}); - - -function createSafeFragment( document ) { - var list = nodeNames.split( "|" ), - safeFrag = document.createDocumentFragment(); - - if ( safeFrag.createElement ) { - while ( list.length ) { - safeFrag.createElement( - list.pop() - ); - } - } - return safeFrag; -} - -var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" + - "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", - rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g, - rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"), - rleadingWhitespace = /^\s+/, - rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, - rtagName = /<([\w:]+)/, - rtbody = /\s*$/g, - - // We have to close these tags to support XHTML (#13200) - wrapMap = { - option: [ 1, "" ], - legend: [ 1, "
", "
" ], - area: [ 1, "", "" ], - param: [ 1, "", "" ], - thead: [ 1, "", "
" ], - tr: [ 2, "", "
" ], - col: [ 2, "", "
" ], - td: [ 3, "", "
" ], - - // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags, - // unless wrapped in a div with non-breaking characters in front of it. - _default: support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X
", "
" ] - }, - safeFragment = createSafeFragment( document ), - fragmentDiv = safeFragment.appendChild( document.createElement("div") ); - -wrapMap.optgroup = wrapMap.option; -wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; -wrapMap.th = wrapMap.td; - -function getAll( context, tag ) { - var elems, elem, - i = 0, - found = typeof context.getElementsByTagName !== strundefined ? context.getElementsByTagName( tag || "*" ) : - typeof context.querySelectorAll !== strundefined ? context.querySelectorAll( tag || "*" ) : - undefined; - - if ( !found ) { - for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) { - if ( !tag || jQuery.nodeName( elem, tag ) ) { - found.push( elem ); - } else { - jQuery.merge( found, getAll( elem, tag ) ); - } - } - } - - return tag === undefined || tag && jQuery.nodeName( context, tag ) ? - jQuery.merge( [ context ], found ) : - found; -} - -// Used in buildFragment, fixes the defaultChecked property -function fixDefaultChecked( elem ) { - if ( rcheckableType.test( elem.type ) ) { - elem.defaultChecked = elem.checked; - } -} - -// Support: IE<8 -// Manipulating tables requires a tbody -function manipulationTarget( elem, content ) { - return jQuery.nodeName( elem, "table" ) && - jQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ? - - elem.getElementsByTagName("tbody")[0] || - elem.appendChild( elem.ownerDocument.createElement("tbody") ) : - elem; -} - -// Replace/restore the type attribute of script elements for safe DOM manipulation -function disableScript( elem ) { - elem.type = (jQuery.find.attr( elem, "type" ) !== null) + "/" + elem.type; - return elem; -} -function restoreScript( elem ) { - var match = rscriptTypeMasked.exec( elem.type ); - if ( match ) { - elem.type = match[1]; - } else { - elem.removeAttribute("type"); - } - return elem; -} - -// Mark scripts as having already been evaluated -function setGlobalEval( elems, refElements ) { - var elem, - i = 0; - for ( ; (elem = elems[i]) != null; i++ ) { - jQuery._data( elem, "globalEval", !refElements || jQuery._data( refElements[i], "globalEval" ) ); - } -} - -function cloneCopyEvent( src, dest ) { - - if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) { - return; - } - - var type, i, l, - oldData = jQuery._data( src ), - curData = jQuery._data( dest, oldData ), - events = oldData.events; - - if ( events ) { - delete curData.handle; - curData.events = {}; - - for ( type in events ) { - for ( i = 0, l = events[ type ].length; i < l; i++ ) { - jQuery.event.add( dest, type, events[ type ][ i ] ); - } - } - } - - // make the cloned public data object a copy from the original - if ( curData.data ) { - curData.data = jQuery.extend( {}, curData.data ); - } -} - -function fixCloneNodeIssues( src, dest ) { - var nodeName, e, data; - - // We do not need to do anything for non-Elements - if ( dest.nodeType !== 1 ) { - return; - } - - nodeName = dest.nodeName.toLowerCase(); - - // IE6-8 copies events bound via attachEvent when using cloneNode. - if ( !support.noCloneEvent && dest[ jQuery.expando ] ) { - data = jQuery._data( dest ); - - for ( e in data.events ) { - jQuery.removeEvent( dest, e, data.handle ); - } - - // Event data gets referenced instead of copied if the expando gets copied too - dest.removeAttribute( jQuery.expando ); - } - - // IE blanks contents when cloning scripts, and tries to evaluate newly-set text - if ( nodeName === "script" && dest.text !== src.text ) { - disableScript( dest ).text = src.text; - restoreScript( dest ); - - // IE6-10 improperly clones children of object elements using classid. - // IE10 throws NoModificationAllowedError if parent is null, #12132. - } else if ( nodeName === "object" ) { - if ( dest.parentNode ) { - dest.outerHTML = src.outerHTML; - } - - // This path appears unavoidable for IE9. When cloning an object - // element in IE9, the outerHTML strategy above is not sufficient. - // If the src has innerHTML and the destination does not, - // copy the src.innerHTML into the dest.innerHTML. #10324 - if ( support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) { - dest.innerHTML = src.innerHTML; - } - - } else if ( nodeName === "input" && rcheckableType.test( src.type ) ) { - // IE6-8 fails to persist the checked state of a cloned checkbox - // or radio button. Worse, IE6-7 fail to give the cloned element - // a checked appearance if the defaultChecked value isn't also set - - dest.defaultChecked = dest.checked = src.checked; - - // IE6-7 get confused and end up setting the value of a cloned - // checkbox/radio button to an empty string instead of "on" - if ( dest.value !== src.value ) { - dest.value = src.value; - } - - // IE6-8 fails to return the selected option to the default selected - // state when cloning options - } else if ( nodeName === "option" ) { - dest.defaultSelected = dest.selected = src.defaultSelected; - - // IE6-8 fails to set the defaultValue to the correct value when - // cloning other types of input fields - } else if ( nodeName === "input" || nodeName === "textarea" ) { - dest.defaultValue = src.defaultValue; - } -} - -jQuery.extend({ - clone: function( elem, dataAndEvents, deepDataAndEvents ) { - var destElements, node, clone, i, srcElements, - inPage = jQuery.contains( elem.ownerDocument, elem ); - - if ( support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) { - clone = elem.cloneNode( true ); - - // IE<=8 does not properly clone detached, unknown element nodes - } else { - fragmentDiv.innerHTML = elem.outerHTML; - fragmentDiv.removeChild( clone = fragmentDiv.firstChild ); - } - - if ( (!support.noCloneEvent || !support.noCloneChecked) && - (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) { - - // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 - destElements = getAll( clone ); - srcElements = getAll( elem ); - - // Fix all IE cloning issues - for ( i = 0; (node = srcElements[i]) != null; ++i ) { - // Ensure that the destination node is not null; Fixes #9587 - if ( destElements[i] ) { - fixCloneNodeIssues( node, destElements[i] ); - } - } - } - - // Copy the events from the original to the clone - if ( dataAndEvents ) { - if ( deepDataAndEvents ) { - srcElements = srcElements || getAll( elem ); - destElements = destElements || getAll( clone ); - - for ( i = 0; (node = srcElements[i]) != null; i++ ) { - cloneCopyEvent( node, destElements[i] ); - } - } else { - cloneCopyEvent( elem, clone ); - } - } - - // Preserve script evaluation history - destElements = getAll( clone, "script" ); - if ( destElements.length > 0 ) { - setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); - } - - destElements = srcElements = node = null; - - // Return the cloned set - return clone; - }, - - buildFragment: function( elems, context, scripts, selection ) { - var j, elem, contains, - tmp, tag, tbody, wrap, - l = elems.length, - - // Ensure a safe fragment - safe = createSafeFragment( context ), - - nodes = [], - i = 0; - - for ( ; i < l; i++ ) { - elem = elems[ i ]; - - if ( elem || elem === 0 ) { - - // Add nodes directly - if ( jQuery.type( elem ) === "object" ) { - jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); - - // Convert non-html into a text node - } else if ( !rhtml.test( elem ) ) { - nodes.push( context.createTextNode( elem ) ); - - // Convert html into DOM nodes - } else { - tmp = tmp || safe.appendChild( context.createElement("div") ); - - // Deserialize a standard representation - tag = (rtagName.exec( elem ) || [ "", "" ])[ 1 ].toLowerCase(); - wrap = wrapMap[ tag ] || wrapMap._default; - - tmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, "<$1>" ) + wrap[2]; - - // Descend through wrappers to the right content - j = wrap[0]; - while ( j-- ) { - tmp = tmp.lastChild; - } - - // Manually add leading whitespace removed by IE - if ( !support.leadingWhitespace && rleadingWhitespace.test( elem ) ) { - nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) ); - } - - // Remove IE's autoinserted from table fragments - if ( !support.tbody ) { - - // String was a , *may* have spurious - elem = tag === "table" && !rtbody.test( elem ) ? - tmp.firstChild : - - // String was a bare or - wrap[1] === "
" && !rtbody.test( elem ) ? - tmp : - 0; - - j = elem && elem.childNodes.length; - while ( j-- ) { - if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) { - elem.removeChild( tbody ); - } - } - } - - jQuery.merge( nodes, tmp.childNodes ); - - // Fix #12392 for WebKit and IE > 9 - tmp.textContent = ""; - - // Fix #12392 for oldIE - while ( tmp.firstChild ) { - tmp.removeChild( tmp.firstChild ); - } - - // Remember the top-level container for proper cleanup - tmp = safe.lastChild; - } - } - } - - // Fix #11356: Clear elements from fragment - if ( tmp ) { - safe.removeChild( tmp ); - } - - // Reset defaultChecked for any radios and checkboxes - // about to be appended to the DOM in IE 6/7 (#8060) - if ( !support.appendChecked ) { - jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked ); - } - - i = 0; - while ( (elem = nodes[ i++ ]) ) { - - // #4087 - If origin and destination elements are the same, and this is - // that element, do not do anything - if ( selection && jQuery.inArray( elem, selection ) !== -1 ) { - continue; - } - - contains = jQuery.contains( elem.ownerDocument, elem ); - - // Append to fragment - tmp = getAll( safe.appendChild( elem ), "script" ); - - // Preserve script evaluation history - if ( contains ) { - setGlobalEval( tmp ); - } - - // Capture executables - if ( scripts ) { - j = 0; - while ( (elem = tmp[ j++ ]) ) { - if ( rscriptType.test( elem.type || "" ) ) { - scripts.push( elem ); - } - } - } - } - - tmp = null; - - return safe; - }, - - cleanData: function( elems, /* internal */ acceptData ) { - var elem, type, id, data, - i = 0, - internalKey = jQuery.expando, - cache = jQuery.cache, - deleteExpando = support.deleteExpando, - special = jQuery.event.special; - - for ( ; (elem = elems[i]) != null; i++ ) { - if ( acceptData || jQuery.acceptData( elem ) ) { - - id = elem[ internalKey ]; - data = id && cache[ id ]; - - if ( data ) { - if ( data.events ) { - for ( type in data.events ) { - if ( special[ type ] ) { - jQuery.event.remove( elem, type ); - - // This is a shortcut to avoid jQuery.event.remove's overhead - } else { - jQuery.removeEvent( elem, type, data.handle ); - } - } - } - - // Remove cache only if it was not already removed by jQuery.event.remove - if ( cache[ id ] ) { - - delete cache[ id ]; - - // IE does not allow us to delete expando properties from nodes, - // nor does it have a removeAttribute function on Document nodes; - // we must handle all of these cases - if ( deleteExpando ) { - delete elem[ internalKey ]; - - } else if ( typeof elem.removeAttribute !== strundefined ) { - elem.removeAttribute( internalKey ); - - } else { - elem[ internalKey ] = null; - } - - deletedIds.push( id ); - } - } - } - } - } -}); - -jQuery.fn.extend({ - text: function( value ) { - return access( this, function( value ) { - return value === undefined ? - jQuery.text( this ) : - this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) ); - }, null, value, arguments.length ); - }, - - append: function() { - return this.domManip( arguments, function( elem ) { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - var target = manipulationTarget( this, elem ); - target.appendChild( elem ); - } - }); - }, - - prepend: function() { - return this.domManip( arguments, function( elem ) { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - var target = manipulationTarget( this, elem ); - target.insertBefore( elem, target.firstChild ); - } - }); - }, - - before: function() { - return this.domManip( arguments, function( elem ) { - if ( this.parentNode ) { - this.parentNode.insertBefore( elem, this ); - } - }); - }, - - after: function() { - return this.domManip( arguments, function( elem ) { - if ( this.parentNode ) { - this.parentNode.insertBefore( elem, this.nextSibling ); - } - }); - }, - - remove: function( selector, keepData /* Internal Use Only */ ) { - var elem, - elems = selector ? jQuery.filter( selector, this ) : this, - i = 0; - - for ( ; (elem = elems[i]) != null; i++ ) { - - if ( !keepData && elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem ) ); - } - - if ( elem.parentNode ) { - if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) { - setGlobalEval( getAll( elem, "script" ) ); - } - elem.parentNode.removeChild( elem ); - } - } - - return this; - }, - - empty: function() { - var elem, - i = 0; - - for ( ; (elem = this[i]) != null; i++ ) { - // Remove element nodes and prevent memory leaks - if ( elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem, false ) ); - } - - // Remove any remaining nodes - while ( elem.firstChild ) { - elem.removeChild( elem.firstChild ); - } - - // If this is a select, ensure that it displays empty (#12336) - // Support: IE<9 - if ( elem.options && jQuery.nodeName( elem, "select" ) ) { - elem.options.length = 0; - } - } - - return this; - }, - - clone: function( dataAndEvents, deepDataAndEvents ) { - dataAndEvents = dataAndEvents == null ? false : dataAndEvents; - deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; - - return this.map(function() { - return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); - }); - }, - - html: function( value ) { - return access( this, function( value ) { - var elem = this[ 0 ] || {}, - i = 0, - l = this.length; - - if ( value === undefined ) { - return elem.nodeType === 1 ? - elem.innerHTML.replace( rinlinejQuery, "" ) : - undefined; - } - - // See if we can take a shortcut and just use innerHTML - if ( typeof value === "string" && !rnoInnerhtml.test( value ) && - ( support.htmlSerialize || !rnoshimcache.test( value ) ) && - ( support.leadingWhitespace || !rleadingWhitespace.test( value ) ) && - !wrapMap[ (rtagName.exec( value ) || [ "", "" ])[ 1 ].toLowerCase() ] ) { - - value = value.replace( rxhtmlTag, "<$1>" ); - - try { - for (; i < l; i++ ) { - // Remove element nodes and prevent memory leaks - elem = this[i] || {}; - if ( elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem, false ) ); - elem.innerHTML = value; - } - } - - elem = 0; - - // If using innerHTML throws an exception, use the fallback method - } catch(e) {} - } - - if ( elem ) { - this.empty().append( value ); - } - }, null, value, arguments.length ); - }, - - replaceWith: function() { - var arg = arguments[ 0 ]; - - // Make the changes, replacing each context element with the new content - this.domManip( arguments, function( elem ) { - arg = this.parentNode; - - jQuery.cleanData( getAll( this ) ); - - if ( arg ) { - arg.replaceChild( elem, this ); - } - }); - - // Force removal if there was no new content (e.g., from empty arguments) - return arg && (arg.length || arg.nodeType) ? this : this.remove(); - }, - - detach: function( selector ) { - return this.remove( selector, true ); - }, - - domManip: function( args, callback ) { - - // Flatten any nested arrays - args = concat.apply( [], args ); - - var first, node, hasScripts, - scripts, doc, fragment, - i = 0, - l = this.length, - set = this, - iNoClone = l - 1, - value = args[0], - isFunction = jQuery.isFunction( value ); - - // We can't cloneNode fragments that contain checked, in WebKit - if ( isFunction || - ( l > 1 && typeof value === "string" && - !support.checkClone && rchecked.test( value ) ) ) { - return this.each(function( index ) { - var self = set.eq( index ); - if ( isFunction ) { - args[0] = value.call( this, index, self.html() ); - } - self.domManip( args, callback ); - }); - } - - if ( l ) { - fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, this ); - first = fragment.firstChild; - - if ( fragment.childNodes.length === 1 ) { - fragment = first; - } - - if ( first ) { - scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); - hasScripts = scripts.length; - - // Use the original fragment for the last item instead of the first because it can end up - // being emptied incorrectly in certain situations (#8070). - for ( ; i < l; i++ ) { - node = fragment; - - if ( i !== iNoClone ) { - node = jQuery.clone( node, true, true ); - - // Keep references to cloned scripts for later restoration - if ( hasScripts ) { - jQuery.merge( scripts, getAll( node, "script" ) ); - } - } - - callback.call( this[i], node, i ); - } - - if ( hasScripts ) { - doc = scripts[ scripts.length - 1 ].ownerDocument; - - // Reenable scripts - jQuery.map( scripts, restoreScript ); - - // Evaluate executable scripts on first document insertion - for ( i = 0; i < hasScripts; i++ ) { - node = scripts[ i ]; - if ( rscriptType.test( node.type || "" ) && - !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) { - - if ( node.src ) { - // Optional AJAX dependency, but won't run scripts if not present - if ( jQuery._evalUrl ) { - jQuery._evalUrl( node.src ); - } - } else { - jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) ); - } - } - } - } - - // Fix #11809: Avoid leaking memory - fragment = first = null; - } - } - - return this; - } -}); - -jQuery.each({ - appendTo: "append", - prependTo: "prepend", - insertBefore: "before", - insertAfter: "after", - replaceAll: "replaceWith" -}, function( name, original ) { - jQuery.fn[ name ] = function( selector ) { - var elems, - i = 0, - ret = [], - insert = jQuery( selector ), - last = insert.length - 1; - - for ( ; i <= last; i++ ) { - elems = i === last ? this : this.clone(true); - jQuery( insert[i] )[ original ]( elems ); - - // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get() - push.apply( ret, elems.get() ); - } - - return this.pushStack( ret ); - }; -}); - - -var iframe, - elemdisplay = {}; - -/** - * Retrieve the actual display of a element - * @param {String} name nodeName of the element - * @param {Object} doc Document object - */ -// Called only from within defaultDisplay -function actualDisplay( name, doc ) { - var style, - elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ), - - // getDefaultComputedStyle might be reliably used only on attached element - display = window.getDefaultComputedStyle && ( style = window.getDefaultComputedStyle( elem[ 0 ] ) ) ? - - // Use of this method is a temporary fix (more like optmization) until something better comes along, - // since it was removed from specification and supported only in FF - style.display : jQuery.css( elem[ 0 ], "display" ); - - // We don't have any data stored on the element, - // so use "detach" method as fast way to get rid of the element - elem.detach(); - - return display; -} - -/** - * Try to determine the default display value of an element - * @param {String} nodeName - */ -function defaultDisplay( nodeName ) { - var doc = document, - display = elemdisplay[ nodeName ]; - - if ( !display ) { - display = actualDisplay( nodeName, doc ); - - // If the simple way fails, read from inside an iframe - if ( display === "none" || !display ) { - - // Use the already-created iframe if possible - iframe = (iframe || jQuery( "