--- /dev/null
+{
+ "requireCurlyBraces": ["if", "else", "for", "while", "do"],
+ "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "function"],
+ "requireParenthesesAroundIIFE": true,
+ "requireSpacesInFunctionExpression": {
+ "beforeOpeningCurlyBrace": true
+ },
+ "requireMultipleVarDecl": true,
+ "disallowEmptyBlocks": true,
+ "requireSpacesInsideObjectBrackets": "all",
+ "disallowSpaceAfterObjectKeys": true,
+ "requireCommaBeforeLineBreak": true,
+ "disallowLeftStickedOperators": ["?", ">", ">=", "<", "<="],
+ "disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
+ "requireRightStickedOperators": ["!"],
+ "requireLeftStickedOperators": [","],
+ "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"],
+ "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
+ "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
+ "requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
+ "disallowKeywords": [ "with" ],
+ "disallowMultipleLineBreaks": true,
+ "validateLineBreaks": "LF",
+ "validateQuoteMarks": "'",
+ "disallowMixedSpacesAndTabs": "smart",
+ "disallowTrailingWhitespace": true,
+ "requireLineFeedAtFileEnd": true,
+ "requireCapitalizedConstructors": true,
+ "requireDotNotation": true
+}
# Generated documentation
-docs/html/
-docs/js/
-resources/mediawiki.ui/docs
+docs/html/**
+docs/js/**
+resources/mediawiki.ui/docs/**
# kss template for mediawiki ui documentation
-resources/styleguide-template
+resources/styleguide-template/**
# third-party libs
-extensions/
-node_modules/
+extensions/**
+node_modules/**
resources/jquery/jquery.appear.js
resources/jquery/jquery.async.js
resources/jquery/jquery.ba-throttle-debounce.js
resources/jquery/jquery.validate.js
resources/jquery/jquery.xmldom.js
resources/jquery.chosen/chosen.jquery.js
-resources/jquery.effects/
-resources/jquery.tipsy/
-resources/jquery.ui/
-resources/mediawiki.libs/
-resources/oojs/
-resources/oojs-ui/
-resources/sinonjs/
-resources/moment/
+resources/jquery.effects/**
+resources/jquery.tipsy/**
+resources/jquery.ui/**
+resources/mediawiki.libs/**
+resources/moment/**
+resources/oojs-ui/**
+resources/oojs/**
+resources/sinonjs/**
+tests/frontend/node_modules/**
# github.com/jshint/jshint/issues/729
tests/qunit/suites/resources/mediawiki/mediawiki.jscompat.test.js
/* Common */
// Enforcing
- "camelcase": true,
- "curly": true,
"eqeqeq": true,
- "immed": true,
"latedef": true,
- "newcap": true,
"noarg": true,
- "noempty": true,
"nonew": true,
- "quotmark": "single",
- "trailing": true,
"undef": true,
"unused": true,
- // Legacy
- "onevar": true,
/* Local */
+ // FIXME: Deprecated, handle these with node-jscs instead.
+ // Handled here because we still have inline overrides in some places.
+ "camelcase": true,
+ "nomen": true,
+
// Enforcing
"bitwise": true,
"forin": false,
"multistr": true,
// Environment
"browser": true,
- // Legacy
- "nomen": true,
"predef": [
"mediaWiki",
- 5.3
- 5.4
- 5.5
+ - 5.6
matrix:
allow_failures:
- php: 5.3
- php: 5.4
- php: 5.5
+ - php: 5.6
services:
- mysql
* Seeking help from a person?
** https://www.mediawiki.org/wiki/Communication
* Looking to file a bug report or a feature request?
-** https://bugs.mediawiki.org/
+** https://bugzilla.wikimedia.org/
* Interested in helping out?
** https://www.mediawiki.org/wiki/How_to_contribute
'IPBlockForm' => 'includes/specials/SpecialBlock.php',
'LinkSearchPage' => 'includes/specials/SpecialLinkSearch.php',
'ListredirectsPage' => 'includes/specials/SpecialListredirects.php',
+ 'ListDuplicatedFilesPage' => 'includes/specials/SpecialListDuplicatedFiles.php',
'LoginForm' => 'includes/specials/SpecialUserlogin.php',
'LonelyPagesPage' => 'includes/specials/SpecialLonelypages.php',
'LongPagesPage' => 'includes/specials/SpecialLongpages.php',
$affected = $dbw->affectedRows();
- $dbw->update(
- 'ipblocks',
- $this->getAutoblockUpdateArray(),
- array( 'ipb_parent_block_id' => $this->getId() ),
- __METHOD__
- );
+ if ( $this->isAutoblocking() ) {
+ // update corresponding autoblock(s) (bug 48813)
+ $dbw->update(
+ 'ipblocks',
+ $this->getAutoblockUpdateArray(),
+ array( 'ipb_parent_block_id' => $this->getId() ),
+ __METHOD__
+ );
+ } else {
+ // autoblock no longer required, delete corresponding autoblock(s)
+ $dbw->delete(
+ 'ipblocks',
+ array( 'ipb_parent_block_id' => $this->getId() ),
+ __METHOD__
+ );
+ }
$dbw->endAtomic( __METHOD__ );
$wgAutoloadAttemptLowercase = true;
/**
- * An array of extension types and inside that their names, versions, authors,
- * urls, descriptions and pointers to localized description msgs. Note that
- * the version, url, description and descriptionmsg key can be omitted.
+ * An array of information about installed extensions keyed by their type.
+ *
+ * All but 'name', 'path' and 'author' can be omitted.
*
* @code
* $wgExtensionCredits[$type][] = array(
- * 'name' => 'Example extension',
- * 'version' => 1.9,
* 'path' => __FILE__,
- * 'author' => 'Foo Barstein',
- * 'url' => 'http://www.example.com/Example%20Extension/',
- * 'description' => 'An example extension',
+ * 'name' => 'Example extension',
+ * 'author' => array(
+ * 'Foo Barstein',
+ * ),
+ * 'version' => '1.9.0',
+ * 'url' => 'http://example.org/example-extension/',
* 'descriptionmsg' => 'exampleextension-desc',
+ * 'license-name' => 'GPL-2.0',
* );
* @endcode
*
- * Where $type is 'specialpage', 'parserhook', 'variable', 'media' or 'other'.
- * Where 'descriptionmsg' can be an array with message key and parameters:
- * 'descriptionmsg' => array( 'exampleextension-desc', param1, param2, ... ),
+ * The extensions are listed on Special:Version. This page also looks for a file
+ * named COPYING or LICENSE (optional .txt extension) and provides a link to
+ * view said file. When the 'license-name' key is specified, this file is
+ * interpreted as wikitext.
+ *
+ * - $type: One of 'specialpage', 'parserhook', 'variable', 'media' or 'other'.
+ *
+ * - author: A string or an array of strings. Authors can be linked using
+ * the regular wikitext link syntax. To have an internationalized version of
+ * "and others" show, add an element "...". This element can also be linked,
+ * for instance "[http://example ...]".
+ *
+ * - descriptionmsg: A message key or an an array with message key and parameters:
+ * `'descriptionmsg' => array( 'exampleextension-desc', param1, param2, ... ),`
+ *
+ * - description: Description of extension as inline string instead of
+ * localizable message (omit in favour of 'descriptionmsg').
*
- * author can be a string or an array of strings. Authors can be linked using
- * the regular wikitext link syntax. To have an internationalized version of
- * "and others" show, add an element "...". This element can also be linked,
- * for instance "[http://example ...]".
+ * - license-name: Short name of the license (used as label for the link), such
+ * as "GPL-2.0" or "MIT" (https://spdx.org/licenses/ for a list of identifiers).
*/
$wgExtensionCredits = array();
$date = $d->format( 'D M j G:i:s T Y' );
- $text = "$date\t$host\t$wiki\t$text";
+ $text = "$date\t$host\t$wiki\t" . trim( $text ) . "\n";
wfErrorLog( $text, $wgDBerrorLog );
}
}
array( 'DeadendPagesPage', 'Deadendpages' ),
array( 'DoubleRedirectsPage', 'DoubleRedirects' ),
array( 'FileDuplicateSearchPage', 'FileDuplicateSearch' ),
+ array( 'ListDuplicatedFilesPage', 'ListDuplicatedFiles'),
array( 'LinkSearchPage', 'LinkSearch' ),
array( 'ListredirectsPage', 'Listredirects' ),
array( 'LonelyPagesPage', 'Lonelypages' ),
if ( false === $ret && $this->wasErrorReissuable() ) {
# Transaction is gone, like it or not
$hadTrx = $this->mTrxLevel; // possible lost transaction
- wfDebug( "Connection lost, reconnecting...\n" );
$this->mTrxLevel = 0;
wfDebug( "Connection lost, reconnecting...\n" );
$elapsed = round( microtime( true ) - $wgRequestTime, 3 );
if ( $elapsed < 300 ) {
# Not a database error to lose a transaction after a minute or two
- wfLogDBError( "Connection lost and reconnected after {$elapsed}s, query: $sqlx\n" );
+ wfLogDBError( "Connection lost and reconnected after {$elapsed}s, query: $sqlx" );
}
if ( !$hadTrx ) {
# Should be safe to silently retry
$this->ignoreErrors( $ignore );
} else {
$sql1line = mb_substr( str_replace( "\n", "\\n", $sql ), 0, 5 * 1024 );
- wfLogDBError( "$fname\t{$this->mServer}\t$errno\t$error\t$sql1line\n" );
+ wfLogDBError( "$fname\t{$this->mServer}\t$errno\t$error\t$sql1line" );
wfDebug( "SQL ERROR: " . $error . "\n" );
throw new DBQueryError( $this, $error, $errno, $sql, $fname );
}
if ( !$error ) {
$error = $this->lastError();
}
- wfLogDBError( "Error connecting to {$this->mServer}: $error\n" );
+ wfLogDBError( "Error connecting to {$this->mServer}: $error" );
wfDebug( "DB connection error\n" .
"Server: $server, User: $user, Password: " .
substr( $password, 0, 3 ) . "..., error: " . $error . "\n" );
$success = $this->selectDB( $dbName );
wfRestoreWarnings();
if ( !$success ) {
- wfLogDBError( "Error selecting database $dbName on server {$this->mServer}\n" );
+ wfLogDBError( "Error selecting database $dbName on server {$this->mServer}" );
wfDebug( "Error selecting database $dbName on server {$this->mServer} " .
"from client host " . wfHostname() . "\n" );
* @return string
*/
public function getSoftwareLink() {
+ // MariaDB includes its name in its version string (sent when the connection is opened),
+ // and this is how MariaDB's version of the mysql command-line client identifies MariaDB
+ // servers (see the mariadb_connection() function in libmysql/libmysql.c).
$version = $this->getServerVersion();
- if ( strpos( $version, 'MariaDB' ) !== false ) {
+ if ( strpos( $version, 'MariaDB' ) !== false || strpos( $version, '-maria-' ) !== false ) {
return '[{{int:version-db-mariadb-url}} MariaDB]';
- } elseif ( strpos( $version, 'percona' ) !== false ) {
- return '[{{int:version-db-percona-url}} Percona Server]';
- } else {
- return '[{{int:version-db-mysql-url}} MySQL]';
}
+
+ // Percona Server's version suffix is not very distinctive, and @@version_comment
+ // doesn't give the necessary info for source builds, so assume the server is MySQL.
+ // (Even Percona's version of mysql doesn't try to make the distinction.)
+ return '[{{int:version-db-mysql-url}} MySQL]';
}
/**
if ( !is_object( $conn ) ) {
// No last connection, probably due to all servers being too busy
- wfLogDBError( "LB failure with no last connection. Connection error: {$this->mLastError}\n" );
+ wfLogDBError( "LB failure with no last connection. Connection error: {$this->mLastError}" );
// If all servers were busy, mLastError will contain something sensible
throw new DBConnectionError( null, $this->mLastError );
} else {
$server = $conn->getProperty( 'mServer' );
- wfLogDBError( "Connection error: {$this->mLastError} ({$server})\n" );
+ wfLogDBError( "Connection error: {$this->mLastError} ({$server})" );
$conn->reportConnectionError( "{$this->mLastError} ({$server})" ); // throws DBConnectionError
}
}
$age = time() - wfTimestamp( TS_UNIX, $val['mtime'] );
$ttl = min( 7 * 86400, max( 300, floor( .1 * $age ) ) );
- $this->memCache->add( $this->fileCacheKey( $path ), $val, $ttl );
+ $key = $this->fileCacheKey( $path );
+ // Set the cache unless it is currently salted with the value "PURGED".
+ // Using add() handles this except it also is a no-op in that case where
+ // the current value is not "latest" but $val is, so use CAS in that case.
+ if ( !$this->memCache->add( $key, $val, $ttl ) && !empty( $val['latest'] ) ) {
+ $this->memCache->merge(
+ $key,
+ function( BagOStuff $cache, $key, $cValue ) use ( $val ) {
+ return ( is_array( $cValue ) && empty( $cValue['latest'] ) )
+ ? $val // update the stat cache with the lastest info
+ : false; // do nothing (cache is salted or some error happened)
+ },
+ $ttl,
+ 1
+ );
+ }
}
/**
*
* @param string $src Source file system path, storage path, or virtual URL
* @param string $dst Virtual URL or storage path
- * @param string|null $disposition Content-Disposition if given and supported
+ * @param Array|string|null $options An array consisting of a key named headers
+ * listing extra headers. If a string, taken as content-disposition header.
+ * (Support for array of options new in 1.23)
* @return FileRepoStatus
*/
- final public function quickImport( $src, $dst, $disposition = null ) {
- return $this->quickImportBatch( array( array( $src, $dst, $disposition ) ) );
+ final public function quickImport( $src, $dst, $options = null ) {
+ return $this->quickImportBatch( array( array( $src, $dst, $options ) ) );
}
/**
* This is intended for copying generated thumbnails into the repo.
*
* All path parameters may be a file system path, storage path, or virtual URL.
- * When "dispositions" are given they are used as Content-Disposition if supported.
+ * When "headers" are given they are used as HTTP headers if supported.
*
* @param array $triples List of (source path, destination path, disposition)
* @return FileRepoStatus
list( $src, $dst ) = $triple;
$src = $this->resolveToStoragePath( $src );
$dst = $this->resolveToStoragePath( $dst );
+
+ if ( !isset( $triple[2] ) ) {
+ $headers = array();
+ } elseif ( is_string( $triple[2] ) ) {
+ // back-compat
+ $headers = array( 'Content-Disposition' => $triple[2] );
+ } elseif ( is_array( $triple[2] ) && isset( $triple[2]['headers'] ) ) {
+ $headers = $triple[2]['headers'];
+ }
$operations[] = array(
'op' => FileBackend::isStoragePath( $src ) ? 'copy' : 'store',
'src' => $src,
'dst' => $dst,
- 'disposition' => isset( $triple[2] ) ? $triple[2] : null
+ 'headers' => $headers
);
$status->merge( $this->initDirectory( dirname( $dst ) ) );
}
"config-license-gfdl": "רישיון חופשי למסמכים של גנו גרסה 1.3 או חדשה יותר",
"config-license-pd": "נחלת הכלל",
"config-license-cc-choose": "בחרו רישיון קריאייטיב קומונז מותאם אישית",
- "config-license-help": "אתרי ויקי ציבוריים רבים מפרסמים את כל התרומות תחת [http://freedomdefined.org/Definition רישיון חופשי].\nזה עוזר ליצור תחושה של בעלות קהילתית ומעודד תרומה לאורך זמן.\nזה בדרך כלל לא נחוץ לאתר ויקי פרטי או בחברה מסחרית.\n\nאם אתם רוצים אפשרות להשתמש בטקסט מוויקיפדיה ואתם רוצים שוויקיפדיה תוכל לקבל עותקים של טקסטים מהוויקי שלכם, כדאי לכם לבחור ב'''רישיון קריאייטיב קומונז ייחוס–שיתוף זהה''' (CC-BY-SA).\n\nויקיפדיה השתמשה בעבר ברישיון החופשי למסמכים של גנו (GNU FDL או GFDL).\nהוא עדיין רישיון תקין, אבל קשה להבנה.\nכמו־כן, קשה לעשות שימוש חוזר ביצירות שפורסמו לפי GFDL.",
+ "config-license-help": "אתרי ויקי ציבוריים רבים מפרסמים את כל התרומות תחת [http://freedomdefined.org/Definition רישיון חופשי].\nזה עוזר ליצור תחושה של בעלות קהילתית ומעודד תרומה לאורך זמן.\nזה בדרך כלל לא נחוץ לאתר ויקי פרטי או בחברה מסחרית.\n\nאם אתם רוצים אפשרות להשתמש בטקסט מוויקיפדיה ואתם רוצים שוויקיפדיה תוכל לקבל עותקים של טקסטים מהוויקי שלכם, כדאי לכם לבחור ב'''רישיון קריאייטיב קומונז ייחוס–שיתוף זהה''' (CC BY-SA).\n\nויקיפדיה השתמשה בעבר ברישיון החופשי למסמכים של גנו (GNU FDL או GFDL).\nהוא עדיין רישיון תקין, אבל קשה להבנה.\nכמו־כן, קשה לעשות שימוש חוזר ביצירות שפורסמו לפי GFDL.",
"config-email-settings": "הגדרות דוא״ל",
"config-enable-email": "להפעיל דוא״ל יוצא",
"config-enable-email-help": "אם אתם רוצים שדוא״ל יעבוד, [http://www.php.net/manual/en/mail.configuration.php אפשרויות הדוא״ל של PHP] צריכות להיות מוגדרות נכון.\nאם אינכם רוצים להפעיל שום אפשרויות דוא״ל, כבו אותן כאן ועכשיו.",
"config-nofile": "הקובץ \"$1\" לא נמצא. האם הוא נמחק?",
"mainpagetext": "'''תוכנת מדיה־ויקי הותקנה בהצלחה.'''",
"mainpagedocfooter": "היעזרו ב[//meta.wikimedia.org/wiki/Help:Contents מדריך למשתמש] למידע על שימוש בתוכנת הוויקי.\n\n== קישורים שימושיים ==\n* [//www.mediawiki.org/wiki/Manual:Configuration_settings רשימת ההגדרות]\n* [//www.mediawiki.org/wiki/Manual:FAQ שאלות ותשובות על מדיה־ויקי]\n* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce רשימת התפוצה על השקת גרסאות]\n* [//www.mediawiki.org/wiki/Localisation#Translation_resources תרגום מדיה־ויקי לשפה שלך]"
-}
\ No newline at end of file
+}
public function getDefaultRenderLanguage( File $file ) {
return null;
}
+
+ /**
+ * If its an audio file, return the length of the file. Otherwise 0.
+ *
+ * File::getLength() existed for a long time, but was calling a method
+ * that only existed in some subclasses of this class (The TMH ones).
+ *
+ * @param File $file
+ * @return float Length in seconds
+ * @since 1.23
+ */
+ public function getLength( $file ) {
+ return 0.0;
+ }
}
function setHeaders() {
$out = $this->getOutput();
$out->setArticleRelated( false );
- $out->setRobotPolicy( "noindex,nofollow" );
+ $out->setRobotPolicy( $this->getRobotPolicy() );
$out->setPageTitle( $this->getDescription() );
}
return $this->getContext()->getTitle();
}
+ /**
+ * Return the robot policy. Derived classes that override this can change
+ * the robot policy set by setHeaders() from the default 'noindex,nofollow'.
+ *
+ * @return string
+ * @since 1.23
+ */
+ protected function getRobotPolicy() {
+ return 'noindex,nofollow';
+ }
+
/**
* Wrapper around wfMessage that sets the current context.
*
private static $list = array(
// Maintenance Reports
'BrokenRedirects' => 'BrokenRedirectsPage',
- 'Deadendpages' => 'DeadendpagesPage',
+ 'Deadendpages' => 'DeadendPagesPage',
'DoubleRedirects' => 'DoubleRedirectsPage',
- 'Longpages' => 'LongpagesPage',
- 'Ancientpages' => 'AncientpagesPage',
- 'Lonelypages' => 'LonelypagesPage',
+ 'Longpages' => 'LongPagesPage',
+ 'Ancientpages' => 'AncientPagesPage',
+ 'Lonelypages' => 'LonelyPagesPage',
'Fewestrevisions' => 'FewestrevisionsPage',
- 'Withoutinterwiki' => 'WithoutinterwikiPage',
+ 'Withoutinterwiki' => 'WithoutInterwikiPage',
'Protectedpages' => 'SpecialProtectedpages',
'Protectedtitles' => 'SpecialProtectedtitles',
'Shortpages' => 'ShortpagesPage',
- 'Uncategorizedcategories' => 'UncategorizedcategoriesPage',
- 'Uncategorizedimages' => 'UncategorizedimagesPage',
- 'Uncategorizedpages' => 'UncategorizedpagesPage',
- 'Uncategorizedtemplates' => 'UncategorizedtemplatesPage',
- 'Unusedcategories' => 'UnusedcategoriesPage',
+ 'Uncategorizedcategories' => 'UncategorizedCategoriesPage',
+ 'Uncategorizedimages' => 'UncategorizedImagesPage',
+ 'Uncategorizedpages' => 'UncategorizedPagesPage',
+ 'Uncategorizedtemplates' => 'UncategorizedTemplatesPage',
+ 'Unusedcategories' => 'UnusedCategoriesPage',
'Unusedimages' => 'UnusedimagesPage',
'Unusedtemplates' => 'UnusedtemplatesPage',
'Unwatchedpages' => 'UnwatchedpagesPage',
- 'Wantedcategories' => 'WantedcategoriesPage',
- 'Wantedfiles' => 'WantedfilesPage',
- 'Wantedpages' => 'WantedpagesPage',
- 'Wantedtemplates' => 'WantedtemplatesPage',
+ 'Wantedcategories' => 'WantedCategoriesPage',
+ 'Wantedfiles' => 'WantedFilesPage',
+ 'Wantedpages' => 'WantedPagesPage',
+ 'Wantedtemplates' => 'WantedTemplatesPage',
// List of pages
'Allpages' => 'SpecialAllpages',
'FileDuplicateSearch' => 'FileDuplicateSearchPage',
'Upload' => 'SpecialUpload',
'UploadStash' => 'SpecialUploadStash',
+ 'ListDuplicatedFiles' => 'ListDuplicatedFilesPage',
// Data and tools
'Statistics' => 'SpecialStatistics',
// Redirecting special pages
'LinkSearch' => 'LinkSearchPage',
- 'Randompage' => 'Randompage',
+ 'Randompage' => 'RandomPage',
'RandomInCategory' => 'SpecialRandomInCategory',
'Randomredirect' => 'SpecialRandomredirect',
'Export' => 'SpecialExport',
'Import' => 'SpecialImport',
'Undelete' => 'SpecialUndelete',
- 'Whatlinkshere' => 'SpecialWhatlinkshere',
+ 'Whatlinkshere' => 'SpecialWhatLinksHere',
'MergeHistory' => 'SpecialMergeHistory',
'ExpandTemplates' => 'SpecialExpandTemplates',
wfProfileIn( __METHOD__ );
if ( !$wgDisableCounters ) {
- self::$list['Popularpages'] = 'PopularpagesPage';
+ self::$list['Popularpages'] = 'PopularPagesPage';
}
if ( !$wgDisableInternalSearch ) {
self::doQueryCacheUpdate( $dbw, $window );
}
}
+
return ( time() -
( $cTime ? wfTimestamp( TS_UNIX, $cTime ) : $wgActiveUserDays * 86400 ) );
}
$newRows = array();
foreach ( $names as $name => $lastEditTime ) {
$newRows[] = array(
- 'qcc_type' => 'activeusers',
+ 'qcc_type' => 'activeusers',
'qcc_namespace' => NS_USER,
'qcc_title' => $name,
'qcc_value' => wfTimestamp( TS_UNIX, $lastEditTime ),
'grouppath' => 'mediawiki',
'query' => 'language:' . $this->getLanguage()->getCode() . '^25 ' .
'messageid:"MediaWiki:' . $value . '"^10 "' .
- $this->msg ( $value )->inLanguage ( 'en' )->plain() . '"'
+ $this->msg( $value )->inLanguage( 'en' )->plain() . '"'
) ),
$this->msg( 'allmessages-filter-translate' )->text()
);
// since generating it will cause a lot of scanning
if ( $count > $this->maxTopLevelPages ) {
$this->showChunk( $namespace, $from, $to, $hideredirects );
+
return;
}
$form .= ' ' . Xml::submitButton( $this->msg( 'booksources-go' )->text() ) . "</p>\n";
$form .= Html::closeElement( 'form' ) . "\n";
$form .= Html::closeElement( 'fieldset' ) . "\n";
+
return $form;
}
}
$query = $request->getVal( 'returntoquery' );
$this->getOutput()->redirect( $titleObj->getFullURL( $query ) );
+
return true;
}
*
* @ingroup SpecialPage
*/
-
class SpecialContributions extends IncludableSpecialPage {
protected $opts;
if ( !$this->including() ) {
$out->addHTML( $this->getForm() );
}
+
return;
}
*
* @ingroup SpecialPage
*/
-
class SpecialCreateAccount extends SpecialRedirectToSpecial {
function __construct() {
parent::__construct( 'CreateAccount', 'Userlogin', 'signup', array( 'returnto', 'returntoquery', 'uselang' ) );
class DeletedContributionsPage extends SpecialPage {
function __construct() {
parent::__construct( 'DeletedContributions', 'deletedhistory',
- /*listed*/true, /*function*/false, /*file*/false );
+ /*listed*/true, /*function*/false, /*file*/false );
}
/**
}
if ( count( $toWatch ) > 0 ) {
- $this->successMessage .= ' ' . $this->msg( 'watchlistedit-raw-added'
- )->numParams( count( $toWatch ) )->parse();
+ $this->successMessage .= ' ' . $this->msg( 'watchlistedit-raw-added' )
+ ->numParams( count( $toWatch ) )->parse();
$this->showTitles( $toWatch, $this->successMessage );
}
if ( count( $toUnwatch ) > 0 ) {
- $this->successMessage .= ' ' . $this->msg( 'watchlistedit-raw-removed'
- )->numParams( count( $toUnwatch ) )->parse();
+ $this->successMessage .= ' ' . $this->msg( 'watchlistedit-raw-removed' )
+ ->numParams( count( $toUnwatch ) )->parse();
$this->showTitles( $toUnwatch, $this->successMessage );
}
} else {
}
$this->showHtmlPreview( $title, $rawhtml, $out );
-
}
-
}
/**
// implement by redirecting through Special:Redirect/file
function getRedirect( $par ) {
$file = $par ?: $this->getRequest()->getText( 'file' );
+
return SpecialPage::getSafeTitleFor( 'Redirect', 'file/' . $file );
}
--- /dev/null
+<?php
+/**
+ * Implements Special:ListDuplicatedFiles
+ *
+ * Copyright © 2013 Brian Wolff
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ * http://www.gnu.org/copyleft/gpl.html
+ *
+ * @file
+ * @ingroup SpecialPage
+ * @author Brian Wolff
+ */
+
+/**
+ * Special:ListDuplicatedFiles Lists all files where the current version is
+ * a duplicate of the current version of some other file.
+ * @ingroup SpecialPage
+ */
+class ListDuplicatedFilesPage extends QueryPage {
+ function __construct( $name = 'ListDuplicatedFiles' ) {
+ parent::__construct( $name );
+ }
+
+ function isExpensive() {
+ return true;
+ }
+
+ function isSyndicated() {
+ return false;
+ }
+
+ /**
+ * Get all the duplicates by grouping on sha1s.
+ *
+ * A cheaper (but less useful) version of this
+ * query would be to not care how many duplicates a
+ * particular file has, and do a self-join on image table.
+ * However this version should be no more expensive then
+ * Special:MostLinked, which seems to get handled fine
+ * with however we are doing cached special pages.
+ */
+ function getQueryInfo() {
+ return array(
+ 'tables' => array( 'image' ),
+ 'fields' => array(
+ 'namespace' => NS_FILE,
+ 'title' => 'MIN(img_name)',
+ 'value' => 'count(*)'
+ ),
+ 'options' => array(
+ 'GROUP BY' => 'img_sha1',
+ 'HAVING' => 'count(*) > 1',
+ ),
+ );
+ }
+
+ /**
+ * Pre-fill the link cache
+ *
+ * @param DatabaseBase $db
+ * @param ResultWrapper $res
+ */
+ function preprocessResults( $db, $res ) {
+ if ( $res->numRows() > 0 ) {
+ $linkBatch = new LinkBatch();
+
+ foreach ( $res as $row ) {
+ $linkBatch->add( $row->namespace, $row->title );
+ }
+
+ $res->seek( 0 );
+ $linkBatch->execute();
+ }
+ }
+
+
+ /**
+ * @param Skin $skin
+ * @param object $result Result row
+ * @return string
+ */
+ function formatResult( $skin, $result ) {
+ // Future version might include a list of the first 5 duplicates
+ // perhaps separated by an "↔".
+ $image1 = Title::makeTitle( $result->namespace, $result->title );
+ $dupeSearch = SpecialPage::getTitleFor( 'FileDuplicateSearch', $image1->getDBKey() );
+
+ $msg = wfMessage( 'listduplicatedfiles-entry' )
+ ->params( $image1->getText() )
+ ->numParams( $result->value - 1 )
+ ->params( $dupeSearch->getPrefixedDBKey() );
+
+ return $msg->parse();
+ }
+
+ protected function getGroupName() {
+ return 'media';
+ }
+}
$conds = array();
if ( !is_null( $this->mUserName ) ) {
- $conds[ $prefix . '_user_text' ] = $this->mUserName;
+ $conds[$prefix . '_user_text'] = $this->mUserName;
}
if ( $this->mSearch !== '' ) {
// for two different tables, without reimplementing
// the pager class.
$qi = $this->getQueryInfoReal( $this->mTableName );
+
return $qi;
}
$topRes2 = $res2->next();
$resultArray = array();
for ( $i = 0; $i < $limit && $topRes1 && $topRes2; $i++ ) {
- if ( strcmp( $topRes1->{ $this->mIndexField }, $topRes2->{ $this->mIndexField } ) > 0 ) {
+ if ( strcmp( $topRes1->{$this->mIndexField}, $topRes2->{$this->mIndexField} ) > 0 ) {
if ( !$ascending ) {
$resultArray[] = $topRes1;
$topRes1 = $res1->next();
$resultArray[] = $topRes2;
$topRes2 = $res2->next();
}
+
return new FakeResultWrapper( $resultArray );
}
// If statement for paranoia
if ( $file ) {
$thumb = $file->transform( array( 'width' => 180, 'height' => 360 ) );
+
return $thumb->toHtml( array( 'desc-link' => true ) );
} else {
return htmlspecialchars( $value );
'checked' => $this->mShowAll,
'tabindex' => 4,
) );
+
return Html::openElement( 'form',
array( 'method' => 'get', 'action' => $wgScript, 'id' => 'mw-listfiles-form' )
) .
* @ingroup SpecialPage
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
*/
+
class MostrevisionsPage extends FewestrevisionsPage {
function __construct( $name = 'Mostrevisions' ) {
parent::__construct( $name );
$dbr = wfGetDB( DB_MASTER );
if ( $this->moveSubpages && (
MWNamespace::hasSubpages( $nt->getNamespace() ) || (
- $this->moveTalk &&
- MWNamespace::hasSubpages( $nt->getTalkPage()->getNamespace() )
+ $this->moveTalk
+ && MWNamespace::hasSubpages( $nt->getTalkPage()->getNamespace() )
)
) ) {
$conds = array(
function getRedirect( $subpage ) {
$this->mAddedRedirectParams['ilshowall'] = 1;
+
return SpecialPage::getTitleFor( 'Listfiles', $this->getUser()->getName() );
}
}
* @file
* @ingroup SpecialPage
*/
+
class SpecialNewFiles extends IncludableSpecialPage {
public function __construct() {
parent::__construct( 'Newimages' );
throw new ErrorPageError( 'nopagetitle', 'nopagetext' );
}
$this->mAddedRedirectParams['oldid'] = $subpage;
+
return true;
}
}
$qi['conds'][] = 'cl_timestamp ' . $op . ' ' .
$dbr->addQuotes( $dbr->timestamp( $minClTime ) );
}
+
return $qi;
}
}
$ts = ( $this->maxTimestamp - $this->minTimestamp ) * $rand + $this->minTimestamp;
+
return intval( $ts );
}
if ( !$res ) {
throw new MWException( 'No entries in category' );
}
+
return array( wfTimestamp( TS_UNIX, $res->low ), wfTimestamp( TS_UNIX, $res->high ) );
}
$query = $this->getFeedQuery();
$query['feedformat'] = $feedFormat === 'atom' ? 'atom' : 'rss';
$this->getOutput()->redirect( wfAppendQuery( wfScript( 'api' ), $query ) );
+
return;
}
if ( $query['limit'] > $wgFeedLimit ) {
$query['limit'] = $wgFeedLimit;
}
+
return $query;
}
public function checkLastModified() {
$dbr = $this->getDB();
$lastmod = $dbr->selectField( 'recentchanges', 'MAX(rc_timestamp)', false, __METHOD__ );
+
return $lastmod;
}
$opts = parent::getDefaultOptions();
$opts->add( 'target', '' );
$opts->add( 'showlinkedto', false );
+
return $opts;
}
if ( !$title || $title->isExternal() ) {
$outputPage->addHtml( '<div class="errorbox">' . $this->msg( 'allpagesbadtitle' )
->parse() . '</div>' );
+
return false;
}
'wl_user' => $uid,
'wl_title=rc_title',
'wl_namespace=rc_namespace'
- ));
+ ) );
}
if ( $this->getUser()->isAllowed( 'rollback' ) ) {
$tables[] = 'page';
$this->rclTargetTitle = false;
}
}
+
return $this->rclTargetTitle;
}
}
return null;
}
$userpage = Title::makeTitle( NS_USER, $username );
+
return $userpage->getFullURL( '', false, PROTO_CURRENT );
}
function dispatchFile() {
$title = Title::makeTitleSafe( NS_FILE, $this->mValue );
- if ( ! $title instanceof Title ) {
+ if ( !$title instanceof Title ) {
return null;
}
$file = wfFindFile( $title );
$url = $mto->getURL();
}
}
+
return $url;
}
if ( $oldid === 0 ) {
return null;
}
+
return wfAppendQuery( wfScript( 'index' ), array(
'oldid' => $oldid
) );
if ( $curid === 0 ) {
return null;
}
+
return wfAppendQuery( wfScript( 'index' ), array(
'curid' => $curid
) );
function dispatch() {
// the various namespaces supported by Special:Redirect
switch ( $this->mType ) {
- case 'user':
- $url = $this->dispatchUser();
- break;
- case 'file':
- $url = $this->dispatchFile();
- break;
- case 'revision':
- $url = $this->dispatchRevision();
- break;
- case 'page':
- $url = $this->dispatchPage();
- break;
- default:
- $this->getOutput()->setStatusCode( 404 );
- $url = null;
- break;
+ case 'user':
+ $url = $this->dispatchUser();
+ break;
+ case 'file':
+ $url = $this->dispatchFile();
+ break;
+ case 'revision':
+ $url = $this->dispatchRevision();
+ break;
+ case 'page':
+ $url = $this->dispatchPage();
+ break;
+ default:
+ $this->getOutput()->setStatusCode( 404 );
+ $url = null;
+ break;
}
if ( $url ) {
$this->getOutput()->redirect( $url );
+
return true;
}
if ( !is_null( $this->mValue ) ) {
$this->getOutput()->setStatusCode( 404 );
// Message: redirect-not-exists
$msg = $this->getMessagePrefix() . '-not-exists';
+
return Status::newFatal( $msg );
}
+
return false;
}
if ( !empty( $this->mValue ) ) {
$a['value']['default'] = $this->mValue;
}
+
return $a;
}
if ( !empty( $data['type'] ) && !empty( $data['value'] ) ) {
$this->setParameter( $data['type'] . '/' . $data['value'] );
}
+
/* if this returns false, will show the form */
return $this->dispatch();
}
->rawParams( $this->msg( $tok['label-message'] )->parse() )
->params( $user->getTokenFromOption( $tok['preference'] ) )
->escaped();
- $tokensForForm[ $label ] = $tok['preference'];
+ $tokensForForm[$label] = $tok['preference'];
}
$desc = array(
$this->token = $request->getVal( 'token' );
if ( $this->archiveName && $this->targetObj ) {
$this->tryShowFile( $this->archiveName );
+
return;
}
# We need a target page!
if ( is_null( $this->targetObj ) ) {
$output->addWikiMsg( 'undelete-header' );
+
return;
}
# Give a link to the logs/hist for this page
$conds['log_action'] = $this->getList()->getLogAction();
$conds['ls_field'] = RevisionDeleter::getRelationType( $this->typeName );
$conds['ls_value'] = $this->ids;
+
return $conds;
}
// Check if user is allowed to see this file
if ( !$oimage->exists() ) {
$this->getOutput()->addWikiMsg( 'revdelete-no-file' );
+
return;
}
$user = $this->getUser();
Xml::submitButton( $this->msg( 'revdelete-show-file-submit' )->text() ) .
'</form>'
);
+
return;
}
$this->getOutput()->disable();
$this->typeName, $this->getContext(), $this->targetObj, $this->ids
);
}
+
return $this->list;
}
$line = Xml::tags( 'td', array( 'class' => 'mw-input' ), $innerHTML );
$html .= "<tr>$line</tr>\n";
}
- // Otherwise, use tri-state radios
} else {
+ // Otherwise, use tri-state radios
$html .= '<tr>';
$html .= '<th class="mw-revdel-checkbox">' . $this->msg( 'revdelete-radio-same' )->escaped() . '</th>';
$html .= '<th class="mw-revdel-checkbox">' . $this->msg( 'revdelete-radio-unset' )->escaped() . '</th>';
}
$html .= '</table>';
+
return $html;
}
$token = $this->getRequest()->getVal( 'wpEditToken' );
if ( $this->submitClicked && !$this->getUser()->matchEditToken( $token ) ) {
$this->getOutput()->addWikiMsg( 'sessionfailure' );
+
return false;
}
$bitParams = $this->extractBitParams();
$status = $this->save( $bitParams, $comment, $this->targetObj );
if ( $status->isGood() ) {
$this->success();
+
return true;
- # ...otherwise, bounce back to form...
} else {
+ # ...otherwise, bounce back to form...
$this->failure( $status );
}
+
return false;
}
if ( !isset( $bitfield[Revision::DELETED_RESTRICTED] ) ) {
$bitfield[Revision::DELETED_RESTRICTED] = 0;
}
+
return $bitfield;
}
if ( wfReadOnly() ) {
header( "HTTP/1.0 423 Locked" );
print 'Wiki is in read-only mode';
+
return;
} elseif ( !$this->getRequest()->wasPosted() ) {
header( "HTTP/1.0 400 Bad Request" );
print 'Request must be POSTed';
+
return;
}
if ( count( $missing ) ) {
header( "HTTP/1.0 400 Bad Request" );
print 'Missing parameters: ' . implode( ', ', array_keys( $missing ) );
+
return;
}
if ( !$verified || $params['sigexpiry'] < time() ) {
header( "HTTP/1.0 400 Bad Request" );
print 'Invalid or stale signature provided';
+
return;
}
$job = $group->pop( JobQueueGroup::TYPE_DEFAULT, JobQueueGroup::USE_CACHE );
if ( $job ) {
$output = $job->toString() . "\n";
- $t = - microtime( true );
+ $t = -microtime( true );
wfProfileIn( __METHOD__ . '-' . get_class( $job ) );
$success = $job->run();
wfProfileOut( __METHOD__ . '-' . get_class( $job ) );
# If the string cannot be used to create a title
if ( is_null( $t ) ) {
$this->showResults( $term );
+
return;
}
# If there's an exact or very near match, jump right there.
if ( !is_null( $t ) ) {
$this->getOutput()->redirect( $t->getFullURL() );
+
return;
}
# No match, generate an edit URL
# If the feature is enabled, go straight to the edit page
if ( $wgGoToEdit ) {
$this->getOutput()->redirect( $t->getFullURL( array( 'action' => 'edit' ) ) );
+
return;
}
}
Xml::closeElement( 'fieldset' )
);
}
+
return;
}
// Sometimes the search engine knows there are too many hits
if ( $titleMatches instanceof SearchResultTooMany ) {
$out->wrapWikiMsg( "==$1==\n", 'toomanymatches' );
+
return;
}
$out->addHTML( $this->formHeader( $term, 0, 0 ) );
$out->addHtml( $this->getProfileForm( $this->profile, $term ) );
$out->addHTML( '</form>' );
+
// Empty query -- straight view of search form
return;
}
// show direct page/create link if applicable
// Check DBkey !== '' in case of fragment link only.
- if ( is_null( $t ) || $t->getDBkey() === '' ||
- ( $titleMatches !== null && $titleMatches->searchContainedSyntax() ) ||
- ( $textMatches !== null && $textMatches->searchContainedSyntax() ) ) {
+ if ( is_null( $t ) || $t->getDBkey() === ''
+ || ( $titleMatches !== null && $titleMatches->searchContainedSyntax() )
+ || ( $textMatches !== null && $textMatches->searchContainedSyntax() )
+ ) {
// invalid title
// preserve the paragraph for margins etc...
$this->getOutput()->addHtml( '<p></p>' );
+
return;
}
$opt['ns' . $n] = 1;
}
}
+
return $opt + $this->extraParams;
}
$link_t = clone $t;
wfRunHooks( 'ShowSearchHitTitle',
- array( &$link_t, &$titleSnippet, $result, $terms, $this ) );
+ array( &$link_t, &$titleSnippet, $result, $terms, $this ) );
$link = Linker::linkKnown(
$link_t,
/**
* Show results from other wikis
*
- * @param $matches SearchResultSet
+ * @param $matches SearchResultSet|array
* @param $query String
*
* @return string
*/
protected function showInterwiki( $matches, $query ) {
global $wgContLang;
-
$profile = new ProfileSection( __METHOD__ );
- $terms = $wgContLang->convertForSearchResult( $matches->termMatches() );
$out = "<div id='mw-search-interwiki'><div id='mw-search-interwiki-caption'>" .
$this->msg( 'search-interwiki-caption' )->text() . "</div>\n";
}
}
- $prev = null;
- $result = $matches->next();
- while ( $result ) {
- $out .= $this->showInterwikiHit( $result, $prev, $terms, $query, $customCaptions );
- $prev = $result->getInterwikiPrefix();
- $result = $matches->next();
+ if ( !is_array( $matches ) ) {
+ $matches = array( $matches );
+ }
+
+ foreach ( $matches as $set ) {
+ $prev = null;
+ $result = $set->next();
+ while ( $result ) {
+ $out .= $this->showInterwikiHit( $result, $prev, $query, $customCaptions );
+ $prev = $result->getInterwikiPrefix();
+ $result = $set->next();
+ }
}
+
+
// TODO: should support paging in a non-confusing way (not sure how though, maybe via ajax)..
$out .= "</ul></div>\n";
*
* @param $result SearchResult
* @param $lastInterwiki String
- * @param $terms Array
* @param $query String
* @param array $customCaptions iw prefix -> caption
*
* @return string
*/
- protected function showInterwikiHit( $result, $lastInterwiki, $terms, $query, $customCaptions ) {
+ protected function showInterwikiHit( $result, $lastInterwiki, $query, $customCaptions ) {
$profile = new ProfileSection( __METHOD__ );
if ( $result->isBrokenTitle() ) {
}
$out .= "<li>{$link} {$redirect}</li>\n";
+
return $out;
}
} else {
$form = '';
wfRunHooks( 'SpecialSearchProfileForm', array( $this, &$form, $profile, $term, $opts ) );
+
return $form;
}
}
foreach ( $opts as $key => $value ) {
$hidden .= Html::hidden( $key, $value );
}
+
// Return final output
return Xml::openElement(
- 'fieldset',
- array( 'id' => 'mw-searchoptions', 'style' => 'margin:0em;' )
- ) .
+ 'fieldset',
+ array( 'id' => 'mw-searchoptions', 'style' => 'margin:0em;' )
+ ) .
Xml::element( 'legend', null, $this->msg( 'powersearch-legend' )->text() ) .
Xml::tags( 'h4', null, $this->msg( 'powersearch-ns' )->parse() ) .
Html::element( 'div', array( 'id' => 'mw-search-togglebox' ) ) .
$this->msg( 'searchbutton' )->text(),
array( 'class' => array( 'mw-ui-button', 'mw-ui-progressive' ) )
) . "\n";
+
return $out . $this->didYouMeanHtml;
}
if ( count( $p ) > 1 ) {
return $wgContLang->getNsIndex( $p[0] ) == NS_FILE;
}
+
return false;
}
if ( count( $p ) > 1 ) {
return $p[0] == $allkeyword;
}
+
return false;
}
$this->searchEngine = $this->searchEngineType ?
SearchEngine::create( $this->searchEngineType ) : SearchEngine::create();
}
+
return $this->searchEngine;
}
function getQueryInfo() {
return array(
'tables' => array( 'page' ),
- 'fields' => array( 'namespace' => 'page_namespace',
- 'title' => 'page_title',
- 'value' => 'page_len' ),
- 'conds' => array( 'page_namespace' =>
- MWNamespace::getContentNamespaces(),
- 'page_is_redirect' => 0 ),
+ 'fields' => array(
+ 'namespace' => 'page_namespace',
+ 'title' => 'page_title',
+ 'value' => 'page_len'
+ ),
+ 'conds' => array(
+ 'page_namespace' => MWNamespace::getContentNamespaces(),
+ 'page_is_redirect' => 0
+ ),
'options' => array( 'USE INDEX' => 'page_redirect_namespace_len' )
);
}
$size = $this->msg( 'nbytes' )->numParams( $result->value )->escaped();
return $exists
- ? "${hlinkInParentheses} {$dm}{$plink} {$dm}[{$size}]"
- : "<del>${hlinkInParentheses} {$dm}{$plink} {$dm}[{$size}]</del>";
+ ? "${hlinkInParentheses} {$dm}{$plink} {$dm}[{$size}]"
+ : "<del>${hlinkInParentheses} {$dm}{$plink} {$dm}[{$size}]</del>";
}
protected function getGroupName() {
class SpecialStatistics extends SpecialPage {
private $views, $edits, $good, $images, $total, $users,
- $activeUsers = 0;
+ $activeUsers = 0;
public function __construct() {
parent::__construct( 'Statistics' );
" $descriptionText" );
}
}
+
return Html::rawElement( 'tr', $trExtraParams,
Html::rawElement( 'td', array(), $text ) .
Html::rawElement( 'td', array( 'class' => 'mw-statistics-numbers' ), $number )
private function getUserStats() {
global $wgActiveUserDays;
+
return Xml::openElement( 'tr' ) .
Xml::tags( 'th', array( 'colspan' => '2' ), $this->msg( 'statistics-header-users' )->parse() ) .
Xml::closeElement( 'tr' ) .
$this->getLanguage()->formatNum( $countUsers ),
array( 'class' => 'statistics-group-' . Sanitizer::escapeClass( $group ) . $classZero ) );
}
+
return $text;
}
$text = '';
$dbr = wfGetDB( DB_SLAVE );
$res = $dbr->select(
- 'page',
- array(
- 'page_namespace',
- 'page_title',
- 'page_counter',
- ),
- array(
- 'page_is_redirect' => 0,
- 'page_counter > 0',
- ),
- __METHOD__,
- array(
- 'ORDER BY' => 'page_counter DESC',
- 'LIMIT' => 10,
- )
- );
- if ( $res->numRows() > 0 ) {
- $text .= Xml::openElement( 'tr' );
- $text .= Xml::tags( 'th', array( 'colspan' => '2' ), $this->msg( 'statistics-mostpopular' )->parse() );
- $text .= Xml::closeElement( 'tr' );
- foreach ( $res as $row ) {
- $title = Title::makeTitleSafe( $row->page_namespace, $row->page_title );
- if ( $title instanceof Title ) {
- $text .= $this->formatRow( Linker::link( $title ),
- $this->getLanguage()->formatNum( $row->page_counter ) );
-
- }
+ 'page',
+ array(
+ 'page_namespace',
+ 'page_title',
+ 'page_counter',
+ ),
+ array(
+ 'page_is_redirect' => 0,
+ 'page_counter > 0',
+ ),
+ __METHOD__,
+ array(
+ 'ORDER BY' => 'page_counter DESC',
+ 'LIMIT' => 10,
+ )
+ );
+
+ if ( $res->numRows() > 0 ) {
+ $text .= Xml::openElement( 'tr' );
+ $text .= Xml::tags( 'th', array( 'colspan' => '2' ), $this->msg( 'statistics-mostpopular' )->parse() );
+ $text .= Xml::closeElement( 'tr' );
+
+ foreach ( $res as $row ) {
+ $title = Title::makeTitleSafe( $row->page_namespace, $row->page_title );
+
+ if ( $title instanceof Title ) {
+ $text .= $this->formatRow( Linker::link( $title ),
+ $this->getLanguage()->formatNum( $row->page_counter ) );
}
- $res->free();
}
+ $res->free();
+ }
+
return $text;
}
// Write the headers
$html = Xml::tags( 'tr', null, Xml::tags( 'th', null, $this->msg( 'tags-tag' )->parse() ) .
- Xml::tags( 'th', null, $this->msg( 'tags-display-header' )->parse() ) .
- Xml::tags( 'th', null, $this->msg( 'tags-description-header' )->parse() ) .
- Xml::tags( 'th', null, $this->msg( 'tags-active-header' )->parse() ) .
- Xml::tags( 'th', null, $this->msg( 'tags-hitcount-header' )->parse() )
- );
+ Xml::tags( 'th', null, $this->msg( 'tags-display-header' )->parse() ) .
+ Xml::tags( 'th', null, $this->msg( 'tags-description-header' )->parse() ) .
+ Xml::tags( 'th', null, $this->msg( 'tags-active-header' )->parse() ) .
+ Xml::tags( 'th', null, $this->msg( 'tags-hitcount-header' )->parse() )
+ );
// Used in #doTagRow()
$this->definedTags = array_fill_keys( ChangeTags::listDefinedTags(), true );
if ( $type == Block::TYPE_AUTO && $this->type == Block::TYPE_IP ) {
$fields['Target']['default'] = $this->target;
unset( $fields['Name'] );
-
} else {
$fields['Target']['default'] = $target;
$fields['Target']['type'] = 'hidden';
break;
}
}
-
} else {
$fields['Target']['default'] = $this->target;
unset( $fields['Name'] );
}
+
return $fields;
}
list( $target, $type ) = SpecialBlock::getTargetAndType( $target );
if ( $block->getType() == Block::TYPE_RANGE && $type == Block::TYPE_IP ) {
$range = $block->getTarget();
+
return array( array( 'ipb_blocked_as_range', $target, $range ) );
}
return array(
'tables' => array( 'page', 'categorylinks' ),
'fields' => array( 'namespace' => 'page_namespace',
- 'title' => 'page_title',
- 'value' => 'page_title' ),
+ 'title' => 'page_title',
+ 'value' => 'page_title' ),
'conds' => array( 'cl_from IS NULL',
- 'page_namespace' => NS_FILE,
- 'page_is_redirect' => 0 ),
+ 'page_namespace' => NS_FILE,
+ 'page_is_redirect' => 0 ),
'join_conds' => array( 'categorylinks' => array(
- 'LEFT JOIN', 'cl_from=page_id' ) )
+ 'LEFT JOIN', 'cl_from=page_id' ) )
);
}
function getQueryInfo() {
return array(
'tables' => array( 'page', 'categorylinks' ),
- 'fields' => array( 'namespace' => 'page_namespace',
- 'title' => 'page_title',
- 'value' => 'page_title' ),
+ 'fields' => array(
+ 'namespace' => 'page_namespace',
+ 'title' => 'page_title',
+ 'value' => 'page_title'
+ ),
// default for page_namespace is all content namespaces (if requestedNamespace is false)
// otherwise, page_namespace is requestedNamespace
- 'conds' => array( 'cl_from IS NULL',
- 'page_namespace' => ( $this->requestedNamespace !== false ? $this->requestedNamespace : MWNamespace::getContentNamespaces() ),
- 'page_is_redirect' => 0 ),
- 'join_conds' => array( 'categorylinks' => array(
- 'LEFT JOIN', 'cl_from = page_id' ) )
+ 'conds' => array(
+ 'cl_from IS NULL',
+ 'page_namespace' => ( $this->requestedNamespace !== false ? $this->requestedNamespace : MWNamespace::getContentNamespaces() ),
+ 'page_is_redirect' => 0
+ ),
+ 'join_conds' => array(
+ 'categorylinks' => array( 'LEFT JOIN', 'cl_from = page_id' )
+ )
);
}
if ( $this->requestedNamespace === false && count( MWNamespace::getContentNamespaces() ) > 1 ) {
return array( 'page_namespace', 'page_title' );
}
+
return array( 'page_title' );
}
*/
public static function listAllPages() {
$dbr = wfGetDB( DB_SLAVE );
+
return self::listPages( $dbr, '' );
}
}
$conds = array( 'ar_namespace' => $this->title->getNamespace(),
- 'ar_title' => $this->title->getDBkey() );
+ 'ar_title' => $this->title->getDBkey() );
$options = array( 'ORDER BY' => 'ar_timestamp DESC' );
->inContentLanguage()->text();
} else {
wfDebug( "Undelete: nothing undeleted...\n" );
+
return false;
}
$status = Status::newGood( 0 );
$status->warning( "undelete-no-results" );
+
return $status;
}
if ( $user->isAllowed( 'browsearchive' ) ) {
$this->showSearchForm();
}
+
return;
}
if ( $result->numRows() == 0 ) {
$out->addWikiMsg( 'undelete-no-results' );
+
return false;
}
if ( !$rev ) {
$out->addWikiMsg( 'undeleterevision-missing' );
+
return;
}
"<div class='mw-warning plainlinks'>\n$1\n</div>\n",
'rev-deleted-text-permission'
);
+
return;
}
$unsuppressBox = '';
}
- $table =
- Xml::fieldset( $this->msg( 'undelete-fieldset-title' )->text() ) .
- Xml::openElement( 'table', array( 'id' => 'mw-undelete-table' ) ) .
- "<tr>
- <td colspan='2' class='mw-undelete-extrahelp'>" .
- $this->msg( 'undeleteextrahelp' )->parseAsBlock() .
- "</td>
- </tr>
- <tr>
- <td class='mw-label'>" .
- Xml::label( $this->msg( 'undeletecomment' )->text(), 'wpComment' ) .
- "</td>
- <td class='mw-input'>" .
- Xml::input( 'wpComment', 50, $this->mComment, array( 'id' => 'wpComment', 'autofocus' => true ) ) .
- "</td>
- </tr>
- <tr>
- <td> </td>
- <td class='mw-submit'>" .
- Xml::submitButton( $this->msg( 'undeletebtn' )->text(), array( 'name' => 'restore', 'id' => 'mw-undelete-submit' ) ) . ' ' .
- Xml::submitButton( $this->msg( 'undeleteinvert' )->text(), array( 'name' => 'invert', 'id' => 'mw-undelete-invert' ) ) .
- "</td>
- </tr>" .
- $unsuppressBox .
- Xml::closeElement( 'table' ) .
- Xml::closeElement( 'fieldset' );
+ $table = Xml::fieldset( $this->msg( 'undelete-fieldset-title' )->text() ) .
+ Xml::openElement( 'table', array( 'id' => 'mw-undelete-table' ) ) .
+ "<tr>
+ <td colspan='2' class='mw-undelete-extrahelp'>" .
+ $this->msg( 'undeleteextrahelp' )->parseAsBlock() .
+ "</td>
+ </tr>
+ <tr>
+ <td class='mw-label'>" .
+ Xml::label( $this->msg( 'undeletecomment' )->text(), 'wpComment' ) .
+ "</td>
+ <td class='mw-input'>" .
+ Xml::input( 'wpComment', 50, $this->mComment, array( 'id' => 'wpComment', 'autofocus' => true ) ) .
+ "</td>
+ </tr>
+ <tr>
+ <td> </td>
+ <td class='mw-submit'>" .
+ Xml::submitButton( $this->msg( 'undeletebtn' )->text(), array( 'name' => 'restore', 'id' => 'mw-undelete-submit' ) ) . ' ' .
+ Xml::submitButton( $this->msg( 'undeleteinvert' )->text(), array( 'name' => 'invert', 'id' => 'mw-undelete-invert' ) ) .
+ "</td>
+ </tr>" .
+ $unsuppressBox .
+ Xml::closeElement( 'table' ) .
+ Xml::closeElement( 'fieldset' );
$out->addHTML( $table );
}
function getQueryInfo() {
return array(
'tables' => array( 'page', 'categorylinks' ),
- 'fields' => array( 'namespace' => 'page_namespace',
- 'title' => 'page_title',
- 'value' => 'page_title' ),
- 'conds' => array( 'cl_from IS NULL',
- 'page_namespace' => NS_CATEGORY,
- 'page_is_redirect' => 0 ),
- 'join_conds' => array( 'categorylinks' => array(
- 'LEFT JOIN', 'cl_to = page_title' ) )
+ 'fields' => array(
+ 'namespace' => 'page_namespace',
+ 'title' => 'page_title',
+ 'value' => 'page_title'
+ ),
+ 'conds' => array(
+ 'cl_from IS NULL',
+ 'page_namespace' => NS_CATEGORY,
+ 'page_is_redirect' => 0
+ ),
+ 'join_conds' => array( 'categorylinks' => array( 'LEFT JOIN', 'cl_to = page_title' ) )
);
}
*/
function formatResult( $skin, $result ) {
$title = Title::makeTitle( NS_CATEGORY, $result->title );
+
return Linker::link( $title, htmlspecialchars( $title->getText() ) );
}
global $wgCountCategorizedImagesAsUsed;
$retval = array(
'tables' => array( 'image', 'imagelinks' ),
- 'fields' => array( 'namespace' => NS_FILE,
- 'title' => 'img_name',
- 'value' => 'img_timestamp',
- 'img_user', 'img_user_text',
- 'img_description' ),
+ 'fields' => array(
+ 'namespace' => NS_FILE,
+ 'title' => 'img_name',
+ 'value' => 'img_timestamp',
+ 'img_user', 'img_user_text',
+ 'img_description'
+ ),
'conds' => array( 'il_to IS NULL' ),
- 'join_conds' => array( 'imagelinks' => array(
- 'LEFT JOIN', 'il_to = img_name' ) )
+ 'join_conds' => array( 'imagelinks' => array( 'LEFT JOIN', 'il_to = img_name' ) )
);
if ( $wgCountCategorizedImagesAsUsed ) {
// Order is significant
$retval['tables'] = array( 'image', 'page', 'categorylinks',
- 'imagelinks' );
+ 'imagelinks' );
$retval['conds']['page_namespace'] = NS_FILE;
$retval['conds'][] = 'cl_from IS NULL';
$retval['conds'][] = 'img_name = page_title';
$retval['join_conds']['categorylinks'] = array(
- 'LEFT JOIN', 'cl_from = page_id' );
+ 'LEFT JOIN', 'cl_from = page_id' );
$retval['join_conds']['imagelinks'] = array(
- 'LEFT JOIN', 'il_to = page_title' );
+ 'LEFT JOIN', 'il_to = page_title' );
}
+
return $retval;
}
function getQueryInfo() {
return array(
'tables' => array( 'page', 'templatelinks' ),
- 'fields' => array( 'namespace' => 'page_namespace',
- 'title' => 'page_title',
- 'value' => 'page_title' ),
- 'conds' => array( 'page_namespace' => NS_TEMPLATE,
- 'tl_from IS NULL',
- 'page_is_redirect' => 0 ),
+ 'fields' => array(
+ 'namespace' => 'page_namespace',
+ 'title' => 'page_title',
+ 'value' => 'page_title'
+ ),
+ 'conds' => array(
+ 'page_namespace' => NS_TEMPLATE,
+ 'tl_from IS NULL',
+ 'page_is_redirect' => 0
+ ),
'join_conds' => array( 'templatelinks' => array(
'LEFT JOIN', array( 'tl_title = page_title',
'tl_namespace = page_namespace' ) ) )
SpecialPage::getTitleFor( 'Whatlinkshere', $title->getPrefixedText() ),
$this->msg( 'unusedtemplateswlh' )->escaped()
);
+
return $this->getLanguage()->specialList( $pageLink, $wlhLink );
}
function getQueryInfo() {
return array(
'tables' => array( 'page', 'watchlist' ),
- 'fields' => array( 'namespace' => 'page_namespace',
- 'title' => 'page_title',
- 'value' => 'page_namespace' ),
- 'conds' => array( 'wl_title IS NULL',
- 'page_is_redirect' => 0,
- "page_namespace != '" . NS_MEDIAWIKI .
- "'" ),
+ 'fields' => array(
+ 'namespace' => 'page_namespace',
+ 'title' => 'page_title',
+ 'value' => 'page_namespace'
+ ),
+ 'conds' => array(
+ 'wl_title IS NULL',
+ 'page_is_redirect' => 0,
+ "page_namespace != '" . NS_MEDIAWIKI . "'"
+ ),
'join_conds' => array( 'watchlist' => array(
'LEFT JOIN', array( 'wl_title = page_title',
'wl_namespace = page_namespace' ) ) )
# Backwards compatibility hook
if ( !wfRunHooks( 'UploadForm:initial', array( &$this ) ) ) {
wfDebug( "Hook 'UploadForm:initial' broke output of the upload form" );
+
return;
}
$this->showUploadForm( $this->getUploadForm() );
} else {
$this->getOutput()->addHTML( $form );
}
-
}
/**
$status = $this->mUpload->fetchFile();
if ( !$status->isOK() ) {
$this->showUploadError( $this->getOutput()->parse( $status->getWikiText() ) );
+
return;
}
$details = $this->mUpload->verifyUpload();
if ( $details['status'] != UploadBase::OK ) {
$this->processVerificationError( $details );
+
return;
}
if ( $permErrors !== true ) {
$code = array_shift( $permErrors[0] );
$this->showRecoverableUploadError( $this->msg( $code, $permErrors[0] )->parse() );
+
return;
}
$status = $this->mUpload->performUpload( $this->mComment, $pageText, $this->mWatchthis, $this->getUser() );
if ( !$status->isGood() ) {
$this->showUploadError( $this->getOutput()->parse( $status->getWikiText() ) );
+
return;
}
$pageText = $comment;
}
}
+
return $pageText;
}
$success = $this->mUpload->unsaveUploadedFile();
if ( !$success ) {
$this->getOutput()->showFileDeleteError( $this->mUpload->getTempPath() );
+
return false;
} else {
return true;
foreach ( $dupes as $file ) {
$gallery->add( $file->getTitle() );
}
+
return '<li>' .
wfMessage( 'file-exists-duplicate' )->numParams( count( $dupes ) )->parse() .
$gallery->toHtml() . "</li>\n";
public function __construct( array $options = array(), IContextSource $context = null ) {
$this->mWatch = !empty( $options['watch'] );
$this->mForReUpload = !empty( $options['forreupload'] );
- $this->mSessionKey = isset( $options['sessionkey'] )
- ? $options['sessionkey'] : '';
+ $this->mSessionKey = isset( $options['sessionkey'] ) ? $options['sessionkey'] : '';
$this->mHideIgnoreWarning = !empty( $options['hideignorewarning'] );
$this->mDestWarningAck = !empty( $options['destwarningack'] );
$this->mDestFile = isset( $options['destfile'] ) ? $options['destfile'] : '';
$this->mSourceIds[] = $field['id'];
}
}
-
}
/**
'section' => 'source',
'type' => 'file',
'id' => 'wpUploadFile',
+ 'radio-id' => 'wpSourceTypeFile',
'label-message' => 'sourcefilename',
'upload-type' => 'File',
'radio' => &$radio,
'help' => $this->msg( 'upload-maxfilesize',
- $this->getContext()->getLanguage()->formatSize( $this->mMaxUploadSize['file'] ) )
- ->parse() .
+ $this->getContext()->getLanguage()->formatSize( $this->mMaxUploadSize['file'] )
+ )->parse() .
$this->msg( 'word-separator' )->escaped() .
$this->msg( 'upload_source_file' )->escaped(),
'checked' => $selectedSourceType == 'file',
'class' => 'UploadSourceField',
'section' => 'source',
'id' => 'wpUploadFileURL',
+ 'radio-id' => 'wpSourceTypeurl',
'label-message' => 'sourceurl',
'upload-type' => 'url',
'radio' => &$radio,
'help' => $this->msg( 'upload-maxfilesize',
- $this->getContext()->getLanguage()->formatSize( $this->mMaxUploadSize['url'] ) )
- ->parse() .
+ $this->getContext()->getLanguage()->formatSize( $this->mMaxUploadSize['url'] )
+ )->parse() .
$this->msg( 'word-separator' )->escaped() .
$this->msg( 'upload_source_url' )->escaped(),
'checked' => $selectedSourceType == 'url',
'default' => $this->getExtensionsMessage(),
'raw' => true,
);
+
return $descriptor;
}
# Print a list of allowed file extensions, if so configured. We ignore
# MIME type here, it's incomprehensible to most people and too long.
global $wgCheckFileExtensions, $wgStrictFileExtensions,
- $wgFileExtensions, $wgFileBlacklist;
+ $wgFileExtensions, $wgFileBlacklist;
if ( $wgCheckFileExtensions ) {
if ( $wgStrictFileExtensions ) {
# Everything is permitted.
$extensionsList = '';
}
+
return $extensionsList;
}
function trySubmit() {
return false;
}
-
}
/**
* @return string
*/
function getLabelHtml( $cellAttributes = array() ) {
+ $id = $this->mParams['id'];
+ $label = Html::rawElement( 'label', array( 'for' => $id ), $this->mLabel );
+
if ( !empty( $this->mParams['radio'] ) ) {
- $id = "wpSourceType{$this->mParams['upload-type']}";
+ if ( isset( $this->mParams['radio-id'] ) ) {
+ $radioId = $this->mParams['radio-id'];
+ } else {
+ // Old way. For the benefit of extensions that do not define
+ // the 'radio-id' key.
+ $radioId = 'wpSourceType' . $this->mParams['upload-type'];
+ }
+
$attribs = array(
'name' => 'wpSourceType',
'type' => 'radio',
- 'id' => $id,
+ 'id' => $radioId,
'value' => $this->mParams['upload-type'],
);
+
if ( !empty( $this->mParams['checked'] ) ) {
$attribs['checked'] = 'checked';
}
- $label = Html::rawElement( 'label', array( 'for' => $id ), $this->mLabel );
+
$label .= Html::element( 'input', $attribs );
- } else {
- $id = $this->mParams['id'];
- $label = Html::rawElement( 'label', array( 'for' => $id ), $this->mLabel );
}
+
return Html::rawElement( 'td', array( 'class' => 'mw-label' ) + $cellAttributes, $label );
}
if ( $subPage === null || $subPage === '' ) {
return $this->showUploads();
}
+
return $this->showUpload( $subPage );
}
$handler = $file->getHandler();
if ( $handler ) {
$params = $handler->parseParamString( $paramString );
+
return array( 'file' => $file, 'type' => $type, 'params' => $params );
} else {
throw new UploadStashBadPathException( 'No handler found for ' .
- "mime {$file->getMimeType()} of file {$file->getPath()}" );
+ "mime {$file->getMimeType()} of file {$file->getPath()}" );
}
}
}
return $this->outputLocalFile( $thumbFile );
-
}
/**
* Note: We rely on NFS to have propagated the file contents to the scaler. However, we do not rely on the thumbnail being created in NFS and then
* propagated back to our filesystem. Instead we take the results of the HTTP request instead.
* Note: no caching is being done here, although we are instructing the client to cache it forever.
- * @param $file: File object
- * @param $params: scaling parameters ( e.g. array( width => '50' ) );
- * @param $flags: scaling flags ( see File:: constants )
+ * @param File $file
+ * @param array $params Scaling parameters ( e.g. array( width => '50' ) );
+ * @param $flags Scaling flags ( see File:: constants )
* @throws MWException
* @return boolean success
*/
);
$req = MWHttpRequest::factory( $scalerThumbUrl, $httpOptions );
$status = $req->execute();
- if ( ! $status->isOK() ) {
+ if ( !$status->isOK() ) {
$errors = $status->getErrorsArray();
$errorStr = "Fetching thumbnail failed: " . print_r( $errors, 1 );
$errorStr .= "\nurl = $scalerThumbUrl\n";
throw new MWException( $errorStr );
}
$contentType = $req->getResponseHeader( "content-type" );
- if ( ! $contentType ) {
+ if ( !$contentType ) {
throw new MWException( "Missing content-type header" );
}
+
return $this->outputContents( $req->getContent(), $contentType );
}
if ( $file->getSize() > self::MAX_SERVE_BYTES ) {
throw new SpecialUploadStashTooLargeException();
}
+
return $file->getRepo()->streamFile( $file->getPath(),
array( 'Content-Transfer-Encoding: binary',
'Expires: Sun, 17-Jan-2038 19:14:07 GMT' )
}
self::outputFileHeaders( $contentType, $size );
print $content;
+
return true;
}
* Output headers for streaming
* XXX unsure about encoding as binary; if we received from HTTP perhaps we should use that encoding, concatted with semicolon to mimeType as it usually is.
* Side effect: preps PHP to write headers to STDOUT.
- * @param string $contentType : string suitable for content-type header
- * @param string $size: length in bytes
+ * @param string $contentType String suitable for content-type header
+ * @param string $size Length in bytes
*/
private static function outputFileHeaders( $contentType, $size ) {
header( "Content-Type: $contentType", true );
if ( isset( $formData['Clear'] ) ) {
$stash = RepoGroup::singleton()->getLocalRepo()->getUploadStash();
wfDebug( "stash has: " . print_r( $stash->listFiles(), true ) );
- if ( ! $stash->clear() ) {
+
+ if ( !$stash->clear() ) {
return Status::newFatal( 'uploadstash-errclear' );
}
}
+
return Status::newGood();
}
}
}
-class SpecialUploadStashTooLargeException extends MWException {};
+class SpecialUploadStashTooLargeException extends MWException {
+}
+
$this->mCookieCheck = $request->getVal( 'wpCookieCheck' );
$this->mPosted = $request->wasPosted();
$this->mCreateaccountMail = $request->getCheck( 'wpCreateaccountMail' )
- && $wgEnableEmail;
+ && $wgEnableEmail;
$this->mCreateaccount = $request->getCheck( 'wpCreateaccount' ) && !$this->mCreateaccountMail;
$this->mLoginattempt = $request->getCheck( 'wpLoginattempt' );
$this->mAction = $request->getVal( 'action' );
# 2. Do not return to PasswordReset after a successful password change
# but goto Wiki start page (Main_Page) instead ( bug 33997 )
$returnToTitle = Title::newFromText( $this->mReturnTo );
- if ( is_object( $returnToTitle ) && (
- $returnToTitle->isSpecial( 'Userlogout' )
- || $returnToTitle->isSpecial( 'PasswordReset' ) ) ) {
+ if ( is_object( $returnToTitle )
+ && ( $returnToTitle->isSpecial( 'Userlogout' )
+ || $returnToTitle->isSpecial( 'PasswordReset' ) )
+ ) {
$this->mReturnTo = '';
$this->mReturnToQuery = '';
}
$this->getOutput()->redirect( $url );
// Since we only do this redir to change proto, always vary
$this->getOutput()->addVaryHeader( 'X-Forwarded-Proto' );
+
return;
} else {
// A wiki without HTTPS login support should set $wgServer to
if ( !is_null( $this->mCookieCheck ) ) {
$this->onCookieRedirectCheck( $this->mCookieCheck );
+
return;
} elseif ( $this->mPosted ) {
if ( $this->mCreateaccount ) {
$this->addNewAccount();
+
return;
} elseif ( $this->mCreateaccountMail ) {
$this->addNewAccountMailPassword();
+
return;
} elseif ( ( 'submitlogin' == $this->mAction ) || $this->mLoginattempt ) {
$this->processLogin();
+
return;
}
}
function addNewAccountMailPassword() {
if ( $this->mEmail == '' ) {
$this->mainLoginForm( $this->msg( 'noemailcreate' )->escaped() );
+
return;
}
if ( !$status->isGood() ) {
$error = $status->getMessage();
$this->mainLoginForm( $error->toString() );
+
return;
}
if ( !$status->isGood() ) {
$error = $status->getMessage();
$this->mainLoginForm( $error->toString() );
+
return false;
}
wfRunHooks( 'AddNewAccount', array( $u, false ) );
$u->addNewUserLogEntry( 'create2', $this->mReason );
}
+
return true;
}
# Request forgery checks.
if ( !self::getCreateaccountToken() ) {
self::setCreateaccountToken();
+
return Status::newFatal( 'nocookiesfornew' );
}
} elseif ( $creationBlock instanceof Block ) {
// Throws an ErrorPageError.
$this->userBlockedMessage( $creationBlock );
+
// This should never be reached.
return false;
}
# Include checks that will include GlobalBlocking (Bug 38333)
$permErrors = $this->getPageTitle()->getUserPermissionsErrors( 'createaccount', $currentUser, true );
if ( count( $permErrors ) ) {
- throw new PermissionsError( 'createaccount', $permErrors );
+ throw new PermissionsError( 'createaccount', $permErrors );
}
$ip = $this->getRequest()->getIP();
if ( !is_array( $valid ) ) {
$valid = array( $valid, $wgMinimalPasswordLength );
}
+
return call_user_func_array( 'Status::newFatal', $valid );
}
}
// To return a different error code, return a Status object.
$abortError = new Message( 'createaccount-hook-aborted', array( $abortError ) );
$abortError->text();
+
return Status::newFatal( $abortError );
} else {
// For MediaWiki 1.23+ and updated hooks, return the Status object
}
self::clearCreateaccountToken();
+
return $this->initUser( $u, false );
}
// If the user doesn't have a login token yet, set one.
if ( !self::getLoginToken() ) {
self::setLoginToken();
+
return self::NEED_TOKEN;
}
// If the user didn't pass a login token, tell them we need one
// will effectively be using stale data.
if ( $this->getUser()->getName() === $this->mUsername ) {
wfDebug( __METHOD__ . ": already logged in as {$this->mUsername}\n" );
+
return self::SUCCESS;
}
$msg = null;
if ( !wfRunHooks( 'AbortLogin', array( $u, $this->mPassword, &$abort, &$msg ) ) ) {
$this->mAbortLoginErrorMsg = $msg;
+
return $abort;
}
$retval = self::SUCCESS;
}
wfRunHooks( 'LoginAuthenticateAudit', array( $u, $this->mPassword, $retval ) );
+
return $retval;
}
if ( $this->getUser()->isBlockedFromCreateAccount() ) {
wfDebug( __METHOD__ . ": user is blocked from account creation\n" );
+
return self::CREATE_BLOCKED;
}
+
if ( !$wgAuth->autoCreate() ) {
return self::NOT_EXISTS;
}
+
if ( !$wgAuth->userExists( $user->getName() ) ) {
wfDebug( __METHOD__ . ": user does not exist\n" );
+
return self::NOT_EXISTS;
}
+
if ( !$wgAuth->authenticate( $user->getName(), $this->mPassword ) ) {
wfDebug( __METHOD__ . ": \$wgAuth->authenticate() returned false, aborting\n" );
+
return self::WRONG_PLUGIN_PASS;
}
// Hook point to add extra creation throttles and blocks
wfDebug( "LoginForm::attemptAutoCreate: a hook blocked creation: $abortError\n" );
$this->mAbortLoginErrorMsg = $abortError;
+
return self::ABORTED;
}
if ( !$status->isOK() ) {
$errors = $status->getErrorsByType( 'error' );
$this->mAbortLoginErrorMsg = $errors[0]['message'];
+
return self::ABORTED;
}
function processLogin() {
global $wgMemc, $wgLang, $wgSecureLogin, $wgPasswordAttemptThrottle,
- $wgInvalidPasswordReset;
+ $wgInvalidPasswordReset;
switch ( $this->authenticateUserData() ) {
case self::SUCCESS:
case self::THROTTLED:
$error = $this->mAbortLoginErrorMsg ?: 'login-throttled';
$this->mainLoginForm( $this->msg( $error )
- ->params ( $this->getLanguage()->formatDuration( $wgPasswordAttemptThrottle['seconds'] ) )
- ->text()
+ ->params( $this->getLanguage()->formatDuration( $wgPasswordAttemptThrottle['seconds'] ) )
+ ->text()
);
break;
case self::USER_BLOCKED:
throw new PermissionsError( 'createaccount', $permErrors );
} elseif ( $user->isBlockedFromCreateAccount() ) {
$this->userBlockedMessage( $user->isBlockedFromCreateAccount() );
+
return;
} elseif ( wfReadOnly() ) {
throw new ReadOnlyError;
*/
function hasSessionCookie() {
global $wgDisableCookieCheck;
+
return $wgDisableCookieCheck ? true : $this->getRequest()->checkSessionCookie();
}
*/
public static function getLoginToken() {
global $wgRequest;
+
return $wgRequest->getSessionData( 'wsLoginToken' );
}
*/
public static function getCreateaccountToken() {
global $wgRequest;
+
return $wgRequest->getSessionData( 'wsCreateaccountToken' );
}
$links[] = $this->makeLanguageSelectorLink( $parts[0], trim( $parts[1] ) );
}
}
+
return count( $links ) > 0 ? $this->msg( 'loginlanguagelabel' )->rawParams(
$this->getLanguage()->pipeList( $links ) )->escaped() : '';
} else {
if ( $user->getId() == 0 ) {
return false;
}
+
return !empty( $available['add'] )
|| !empty( $available['remove'] )
|| ( ( $this->isself || !$checkIfSelf ) &&
$out = $this->getOutput();
$out->wrapWikiMsg( "<div class=\"successbox\">\n$1\n</div>", 'userrights-removed-self' );
$out->returnToMain();
+
return;
}
$status = $this->fetchUser( $this->mTarget );
if ( !$status->isOK() ) {
$this->getOutput()->addWikiText( $status->getWikiText() );
+
return;
}
);
$out->redirect( $this->getSuccessURL() );
+
return;
}
}
if ( $newGroups != $oldGroups ) {
$this->addLogEntry( $user, $oldGroups, $newGroups, $reason );
}
+
return array( $add, $remove );
}
$status = $this->fetchUser( $username );
if ( !$status->isOK() ) {
$this->getOutput()->addWikiText( $status->getWikiText() );
+
return;
} else {
$user = $status->value;
}
$userToolLinks = Linker::userToolLinks(
- $user->getId(),
- $user->getName(),
- false, /* default for redContribsWhenNoEdits */
- Linker::TOOL_LINKS_EMAIL /* Add "send e-mail" link */
+ $user->getId(),
+ $user->getName(),
+ false, /* default for redContribsWhenNoEdits */
+ Linker::TOOL_LINKS_EMAIL /* Add "send e-mail" link */
);
$this->getOutput()->addHTML(
private function canRemove( $group ) {
// $this->changeableGroups()['remove'] doesn't work, of course. Thanks, PHP.
$groups = $this->changeableGroups();
+
return in_array( $group, $groups['remove'] ) || ( $this->isself && in_array( $group, $groups['remove-self'] ) );
}
*/
private function canAdd( $group ) {
$groups = $this->changeableGroups();
+
return in_array( $group, $groups['add'] ) || ( $this->isself && in_array( $group, $groups['add-self'] ) );
}
}
wfProfileOut( __METHOD__ );
+
return $version;
}
}
wfProfileOut( __METHOD__ );
+
return $v;
}
preg_match( "/^(\d+\.\d+)/", $wgVersion, $versionParts );
$versionUrl = "https://www.mediawiki.org/wiki/MediaWiki_{$versionParts[1]}";
}
+
return "[$versionUrl $wgVersion]";
}
*/
public static function getExtensionTypeName( $type ) {
$types = self::getExtensionTypes();
+
return isset( $types[$type] ) ? $types[$type] : $types['other'];
}
)
);
- array_walk( $tags, function( &$value ) {
+ array_walk( $tags, function ( &$value ) {
$value = '<' . htmlentities( $value ) . '>';
} );
$out .= $this->listToText( $tags );
if ( $vcsDate ) {
$vcsTimeString = Html::element( 'span',
- array( 'class' => 'mw-version-ext-vcs-timestamp' ),
- $this->getLanguage()->timeanddate( $vcsDate )
- );
+ array( 'class' => 'mw-version-ext-vcs-timestamp' ),
+ $this->getLanguage()->timeanddate( $vcsDate )
+ );
$versionString .= " {$vcsTimeString}";
}
$versionString = Html::rawElement( 'span',
*/
private function IPInfo() {
$ip = str_replace( '--', ' - ', htmlspecialchars( $this->getRequest()->getIP() ) );
+
return "<!-- visited from $ip -->\n<span style='display:none'>visited from $ip</span>";
}
$text = $this->msg( 'version-poweredby-others' )->text();
}
$list[] = $text;
-
} elseif ( substr( $item, -5 ) == ' ...]' ) {
$hasOthers = true;
$list[] = $this->getOutput()->parseInline(
substr( $item, 0, -4 ) . $this->msg( 'version-poweredby-others' )->text() . "]"
);
-
} else {
$list[] = $this->getOutput()->parseInline( $item );
}
* Obtains the full path of an extensions authors or credits file if
* one exists.
*
- * @param string $extDir: Path to the extensions root directory
+ * @param string $extDir Path to the extensions root directory
*
* @since 1.23
*
* Obtains the full path of an extensions copying or license file if
* one exists.
*
- * @param string $extDir: Path to the extensions root directory
+ * @param string $extDir Path to the extensions root directory
*
* @since 1.23
*
if ( $sort ) {
sort( $list );
}
+
return $this->getLanguage()->listToText( array_map( array( __CLASS__, 'arrayToString' ), $list ) );
}
}
}
if ( is_object( $list ) ) {
$class = wfMessage( 'parentheses' )->params( get_class( $list ) )->escaped();
+
return $class;
} elseif ( !is_array( $list ) ) {
return $list;
} else {
$class = $list[0];
}
+
return wfMessage( 'parentheses' )->params( "$class, {$list[1]}" )->escaped();
}
}
*/
public static function getGitHeadSha1( $dir ) {
$repo = new GitInfo( $dir );
+
return $repo->getHeadSHA1();
}
}
$out .= Html::closeElement( 'table' );
+
return $out;
}
protected function getGroupName() {
return 'wiki';
}
-
}
function getQueryInfo() {
return array(
'tables' => array( 'categorylinks', 'page' ),
- 'fields' => array( 'namespace' => NS_CATEGORY,
- 'title' => 'cl_to',
- 'value' => 'COUNT(*)' ),
+ 'fields' => array(
+ 'namespace' => NS_CATEGORY,
+ 'title' => 'cl_to',
+ 'value' => 'COUNT(*)'
+ ),
'conds' => array( 'page_title IS NULL' ),
'options' => array( 'GROUP BY' => 'cl_to' ),
'join_conds' => array( 'page' => array( 'LEFT JOIN',
__METHOD__
);
foreach ( $categoryRes as $row ) {
- $this->currentCategoryCounts[ $row->cat_title ] = intval( $row->cat_pages );
+ $this->currentCategoryCounts[$row->cat_title] = intval( $row->cat_pages );
}
// Back to start for display
} else {
$plink = Linker::link( $nt, $text );
- $currentValue = isset( $this->currentCategoryCounts[ $result->title ] )
- ? $this->currentCategoryCounts[ $result->title ]
+ $currentValue = isset( $this->currentCategoryCounts[$result->title] )
+ ? $this->currentCategoryCounts[$result->title]
: 0;
// If the category has been created or emptied since the list was refreshed, strike it
function getQueryInfo() {
return array(
'tables' => array( 'imagelinks', 'image' ),
- 'fields' => array( 'namespace' => NS_FILE,
- 'title' => 'il_to',
- 'value' => 'COUNT(*)' ),
+ 'fields' => array(
+ 'namespace' => NS_FILE,
+ 'title' => 'il_to',
+ 'value' => 'COUNT(*)'
+ ),
'conds' => array( 'img_name IS NULL' ),
'options' => array( 'GROUP BY' => 'il_to' ),
'join_conds' => array( 'image' =>
),
'conds' => array(
'pg1.page_namespace IS NULL',
- "pl_namespace NOT IN ( '" . NS_USER .
- "', '" . NS_USER_TALK . "' )",
+ "pl_namespace NOT IN ( '" . NS_USER . "', '" . NS_USER_TALK . "' )",
"pg2.page_namespace != '" . NS_MEDIAWIKI . "'"
),
'options' => array(
);
// Replacement for the WantedPages::getSQL hook
wfRunHooks( 'WantedPages::getQueryInfo', array( &$this, &$query ) );
+
return $query;
}
function getQueryInfo() {
return array(
'tables' => array( 'templatelinks', 'page' ),
- 'fields' => array( 'namespace' => 'tl_namespace',
- 'title' => 'tl_title',
- 'value' => 'COUNT(*)' ),
- 'conds' => array( 'page_title IS NULL',
- 'tl_namespace' => NS_TEMPLATE ),
- 'options' => array(
- 'GROUP BY' => array( 'tl_namespace', 'tl_title' ) ),
+ 'fields' => array(
+ 'namespace' => 'tl_namespace',
+ 'title' => 'tl_title',
+ 'value' => 'COUNT(*)'
+ ),
+ 'conds' => array(
+ 'page_title IS NULL',
+ 'tl_namespace' => NS_TEMPLATE
+ ),
+ 'options' => array( 'GROUP BY' => array( 'tl_namespace', 'tl_title' ) ),
'join_conds' => array( 'page' => array( 'LEFT JOIN',
- array( 'page_namespace = tl_namespace',
- 'page_title = tl_title' ) ) )
+ array( 'page_namespace = tl_namespace',
+ 'page_title = tl_title' ) ) )
);
}
}
$output->redirect( $title->getLocalURL() );
+
return;
}
$user = $this->getUser();
$opts = $this->getOptions();
- if ( ( $wgEnotifWatchlist || $wgShowUpdatedMarker ) && $request->getVal( 'reset' ) &&
- $request->wasPosted() )
- {
+ if ( ( $wgEnotifWatchlist || $wgShowUpdatedMarker )
+ && $request->getVal( 'reset' )
+ && $request->wasPosted()
+ ) {
$user->clearAllNotifications();
$output->redirect( $this->getPageTitle()->getFullURL( $opts->getChangedValues() ) );
+
return;
}
// methods defined on WebRequest and removing this dependency would cause some code duplication.
$request = new DerivativeRequest( $this->getRequest(), $params );
$opts->fetchValuesFromRequest( $request );
+
return $opts;
}
if ( $opts['days'] > 0 ) {
$timestamp = wfTimestampNow();
$wlInfo = $this->msg( 'wlnote2' )->numParams( round( $opts['days'] * 24 ) )->params(
- $lang->userDate( $timestamp, $user ), $lang->userTime( $timestamp, $user ) )->parse() . "<br />\n";
+ $lang->userDate( $timestamp, $user ), $lang->userTime( $timestamp, $user )
+ )->parse() . "<br />\n";
}
$nondefaults = $opts->getChangedValues();
foreach ( $days as $d ) {
$days[$i++] = $this->daysLink( $d, $options );
}
+
return $this->msg( 'wlshowlast' )->rawParams(
$this->getLanguage()->pipeList( $hours ),
$this->getLanguage()->pipeList( $days ),
$this->target = Title::newFromURL( $opts->getValue( 'target' ) );
if ( !$this->target ) {
$out->addHTML( $this->whatlinkshereForm() );
+
return;
}
'rd_namespace' => $target->getNamespace(),
'rd_title' => $target->getDBkey(),
'rd_interwiki = ' . $dbr->addQuotes( '' ) . ' OR rd_interwiki IS NULL'
- )));
+ ) ) );
if ( $fetchlinks ) {
$options['ORDER BY'] = 'pl_from';
$out->addWikiMsg( $errMsg, $this->target->getPrefixedText() );
}
}
+
return;
}
$out->addHTML( $this->listEnd() );
if ( $level == 0 ) {
- if( !$this->including() ){
+ if ( !$this->including() ) {
$out->addHTML( $prevnext );
}
}
# Target input
$f .= Xml::inputLabel( $this->msg( 'whatlinkshere-page' )->text(), 'target',
- 'mw-whatlinkshere-target', 40, $target );
+ 'mw-whatlinkshere-target', 40, $target );
$f .= ' ';
$links[] = $this->msg( "whatlinkshere-{$type}" )->rawParams(
$this->makeSelfLink( $msg, array_merge( $changed, $overrides ) ) )->escaped();
}
+
return Xml::fieldset( $this->msg( 'whatlinkshere-filters' )->text(), $this->getLanguage()->pipeList( $links ) );
}
function getQueryInfo() {
$query = array(
'tables' => array( 'page', 'langlinks' ),
- 'fields' => array( 'namespace' => 'page_namespace',
- 'title' => 'page_title',
- 'value' => 'page_title' ),
- 'conds' => array( 'll_title IS NULL',
- 'page_namespace' => MWNamespace::getContentNamespaces(),
- 'page_is_redirect' => 0 ),
- 'join_conds' => array( 'langlinks' => array(
- 'LEFT JOIN', 'll_from = page_id' ) )
+ 'fields' => array(
+ 'namespace' => 'page_namespace',
+ 'title' => 'page_title',
+ 'value' => 'page_title'
+ ),
+ 'conds' => array(
+ 'll_title IS NULL',
+ 'page_namespace' => MWNamespace::getContentNamespaces(),
+ 'page_is_redirect' => 0
+ ),
+ 'join_conds' => array( 'langlinks' => array( 'LEFT JOIN', 'll_from = page_id' ) )
);
if ( $this->prefix ) {
$dbr = wfGetDB( DB_SLAVE );
$query['conds'][] = 'page_title ' . $dbr->buildLike( $this->prefix, $dbr->anyString() );
}
+
return $query;
}
'recentchanges-label-plusminus' => 'Bladsy is met die aantal grepe gewysig',
'recentchanges-legend-heading' => "'''Sleutel:'''",
'recentchanges-legend-newpage' => '$1 - nuwe bladsy',
-'rcnotefrom' => "Hier volg wysigings sedert '''$2''' (maksimum van '''$1''' word gewys).",
+'rcnotefrom' => 'Wysigings sedert <strong>$2</strong> (maksimum van <strong>$1</strong> word gewys).',
'rclistfrom' => 'Vertoon wysigings vanaf $1',
'rcshowhideminor' => '$1 klein wysigings',
'rcshowhidebots' => '$1 robotte',
Магчыма, прычына ў выкарыстанні вамі ананімнага проксі-сервера, праграмы якога працуюць некарэктна.'''",
'edit_form_incomplete' => "'''Некаторыя часткі формы рэдагавання не дасягнулі сервера. Упэўніцеся, што Вашыя рэдагаванні не пашкоджаныя і паспрабуйце зноў.'''",
'editing' => 'Правім: $1',
+'creating' => 'Стварэнне старонкі «$1»',
'editingsection' => 'Правім $1 (раздзел)',
'editingcomment' => 'Правім $1 (новы раздзел)',
'editconflict' => 'Канфлікт правак: $1',
'tooltip-pt-login' => 'Уваходзіць у сістэму неабавязкова, але вас вельмі запрашаюць гэтак зрабіць.',
'tooltip-pt-logout' => 'Выйсці з сістэмы',
'tooltip-ca-talk' => 'Размовы пра змест гэтай старонкі',
-'tooltip-ca-edit' => 'Старонку можна правіць; ужывайце папярэдні паказ перад замацоўваннем.',
+'tooltip-ca-edit' => 'Старонку можна правіць. Перш чым запісаць свае змены, паглядзіце на вынік, націснуўшы кнопку папярэдняга прагляду.',
'tooltip-ca-addsection' => 'Дадаць новы раздзел',
'tooltip-ca-viewsource' => 'Гэтая старонка ахоўваецца, але можна паглядзець яе зыходны тэкст.',
'tooltip-ca-history' => 'Ранейшыя версіі гэтай старонкі.',
# List redirects
'listredirects' => 'Сьпіс перанакіраваньняў',
+# List duplicated files special page
+'listduplicatedfiles' => 'Сьпіс файлаў з дублікатамі',
+
# Unused templates
'unusedtemplates' => 'Шаблёны, якія не выкарыстоўваюцца',
'unusedtemplatestext' => 'На гэтай старонцы зьмешчаны сьпіс усіх старонак прасторы назваў «{{ns:template}}», якія ня ўключаныя ў іншыя старонкі.
# Language selector for translatable SVGs
'img-lang-default' => '(мова па змоўчаньні)',
+'img-lang-info' => 'Паказаць гэтую выяву наступнай мовай: $1. $2',
# Table pager
'ascending_abbrev' => 'узраст.',
'loginlanguagelabel' => 'Yezh : $1',
'suspicious-userlogout' => 'Distaolet eo bet ho koulenn digevreañ rak kaset e oa bet gant ur merdeer direizhet pe krubuilhadenn ur proksi, evit doare.',
'createacct-another-realname-tip' => "Diret eo skrivañ hoc'h anv gwir. Ma skrivit anezhañ e vo implijet evit lakaat war wel ar pezh a vo bet degaset ganeoc'h.",
+'pt-login' => 'Kevreañ',
+'pt-login-button' => 'Kevreañ',
+'pt-createaccount' => 'Krouiñ ur gont',
+'pt-userlogout' => 'Digevreañ',
# Email sending
'php-mail-error-unknown' => "Fazi dianav en arc'hwel postel () PHP",
# Change password dialog
'changepassword' => 'Kemmañ ar ger-tremen',
-'resetpass_announce' => "Enskrivet oc’h bet dre ur ger-tremen da c'hortoz kaset deoc'h dre bostel. A-benn bezañ enrollet da vat e rankit spisaat ur ger-tremen nevez amañ :",
+'resetpass_announce' => 'Evit echuiñ da gevreañ e rankit lakaat ur ger-tremen nevez.',
'resetpass_text' => '<!-- Ouzhpennañ testenn amañ -->',
'resetpass_header' => 'Cheñch ger-tremen ar gont',
'oldpassword' => 'Ger-tremen kozh :',
'resetpass-wrong-oldpass' => "Direizh eo ar ger-tremen a-vremañ pe da c'hortoz.",
'resetpass-temp-password' => "Ger-tremen da c'hortoz :",
'resetpass-abort-generic' => 'Nullet eo bet kemm ar ger-tremen gant un astenn.',
+'resetpass-expired' => "Deuet eo ho ker-tremen d'e dermen. Lakait ur ger-tremen nevez, mar plij, evit kevreañ.",
# Special:PasswordReset
'passwordreset' => 'Adderaouekaat ar ger-tremen',
Ger-tremen da c'hortoz : $2",
'passwordreset-emailsent' => "Kaset ez eus bet ur postel deoc'h da adderaouekaat ho ker-tremen.",
'passwordreset-emailsent-capture' => 'Ur postel evit aderaouekaat ho ker-tremen, evel diskouezet amañ dindan, zo bet kaset.',
-'passwordreset-emailerror-capture' => "Kaset ez eus bet ur postel degas da soñj evel m'emañ diskouezet amañ dindan met c'hwitet eo bet ar c'has : $1",
+'passwordreset-emailerror-capture' => "Kaset ez eus bet ur postel degas da soñj evel m'emañ diskouezet amañ dindan met c'hwitet eo bet ar gasadenn d'an {{GENDER:$2|implijer|implijerez}} : $1",
# Special:ChangeEmail
'changeemail' => "Kemmañ ar chomlec'h postel",
'invalid-content-data' => "n'eo ket mat roadennoù an endalc'had",
'content-not-allowed-here' => 'N\'eo ket aotreet an endalc\'had "$1" er bajenn [[$2]]',
'editwarning-warning' => "Mar kuitait ar bajenn-mañ e c'hallit koll ar c'hemmoù degaset ganeoc'h.
-Ma'z oc'h kevreet e c'hallit diweredekaat ar c'hemenn-diwall-mañ e rann \"Aozañ\" en ho penndibaboù.",
+Ma'z oc'h kevreet e c'hallit diweredekaat ar c'hemenn-diwall-mañ e rann \"{{int:prefs-editing}}\" en ho penndibaboù.",
+'editpage-notsupportedcontentformat-title' => "Furmad endalc'had ha n'eo ket kemeret e karg",
# Content models
'content-model-wikitext' => 'wikitestenn',
'revdelete-selected' => "'''{{PLURAL:$2|Stumm dibabet|Stummoù dibabet}} eus [[:$1]] :'''",
'logdelete-selected' => "'''{{PLURAL:$1|Darvoud eus ar marilh diuzet|Darvoud eus ar marilh diuzet}} :'''",
'revdelete-confirm' => "Kadarnait eo mat an dra-se a fell deoc'h ober, e komprenit mat ar pezh a empleg, hag en grit en ur zoujañ d'ar [[{{MediaWiki:Policy-url}}|reolennoù]].",
-'revdelete-suppress-text' => "Ne zlefe an dilemel bezañ implijet '''nemet''' abalamour d'an abegoù da-heul :
+'revdelete-suppress-text' => "Ne zlefe an dilemel bezañ implijet <strong>nemet</strong> abalamour d'an abegoù da-heul :
* Titouroù personel dizere
-*: ''chomlec'hioù, niverennoù pellgomz pe surentez sokial personel, hag all''",
+*: <em>chomlec'hioù, niverennoù pellgomz pe surentez sokial personel, hag all.</em>",
'revdelete-legend' => 'Lakaat strishadurioù gwelet',
'revdelete-hide-text' => 'Testenn ar stumm',
'revdelete-hide-image' => 'Kuzhat danvez ar restr',
'showhideselectedversions' => 'Diskouez/Kuzhat ar stummoù diuzet',
'editundo' => 'dizober',
'diff-empty' => '(Disheñvelder ebet)',
+'diff-multi-sameuser' => "({{PLURAL:$1|Ur reizhadenn da c'hortoz|$1 reizhadenn da c'hortoz}} gant ar memes implijer kuzhet)",
+'diff-multi-otherusers' => "({{PLURAL:$1|Ur reizhadenn da c'hortoz|$1 reizhadenn da c'hortoz}} gant {{PLURAL:$2|un implijer all|$2 implijer}} kuzhet.)",
'diff-multi-manyusers' => "({{PLURAL:$1|Ur reizhadenn da c'hortoz|$1 reizhadenn da c'hortoz}} gant muioc'h eget $2 {{PLURAL:$2|implijer|implijer}} kuzhet.)",
'difference-missing-revision' => "!!{{PLURAL:$2|Un adweladur|$2 adweladurioù}} eus an disheñvelder ($1) {{PLURAL:$2|n'eo ket bet kavet|n'int ket bet adkavet}}.
'search-file-match' => "(klotañ a ra gant endalc'had ar restr)",
'search-suggest' => "N'hoc'h eus ket soñjet kentoc'h e : $1",
'search-interwiki-caption' => 'Raktresoù kar',
-'search-interwiki-default' => "$1 disoc'h :",
+'search-interwiki-default' => "Disoc'hoù eus $1 :",
'search-interwiki-more' => "(muioc'h)",
'search-relatedarticle' => "Disoc'hoù kar",
'searcheverything-enable' => 'Klask en holl esaouennoù anv',
'preferences' => 'Penndibaboù',
'mypreferences' => 'Penndibaboù',
'prefs-edits' => 'Niver a zegasadennoù :',
+'prefsnologintext2' => '$1, mar plij, evit cheñch ho penndibaboù.',
'prefs-skin' => 'Gwiskadur',
'skin-preview' => 'Rakwelet',
'datedefault' => 'Dre ziouer',
'rcnotefrom' => "Setu aze roll ar c'hemmoù c'hoarvezet abaoe an '''$2''' ('''$1''' d'ar muiañ).",
'rclistfrom' => "Diskouez ar c'hemmoù diwezhañ abaoe an $1.",
'rcshowhideminor' => "$1 ar c'hemmoù dister",
+'rcshowhideminor-show' => 'Diskouez',
+'rcshowhideminor-hide' => 'Kuzhat',
'rcshowhidebots' => '$1 ar robotoù',
+'rcshowhidebots-show' => 'Diskouez',
+'rcshowhidebots-hide' => 'Kuzhat',
'rcshowhideliu' => '$1 an implijerien enrollet',
+'rcshowhideliu-show' => 'Diskouez',
+'rcshowhideliu-hide' => 'Kuzhat',
'rcshowhideanons' => '$1 an implijerien dizanv',
+'rcshowhideanons-show' => 'Diskouez',
+'rcshowhideanons-hide' => 'Kuzhat',
'rcshowhidepatr' => "$1 ar c'hemmoù gwiriet",
+'rcshowhidepatr-show' => 'Diskouez',
+'rcshowhidepatr-hide' => 'Kuzhat',
'rcshowhidemine' => "$1 ma c'hemmoù",
+'rcshowhidemine-show' => 'Diskouez',
+'rcshowhidemine-hide' => 'Kuzhat',
'rclinks' => "Diskouez an $1 kemm diwezhañ c'hoarvezet e-pad an $2 devezh diwezhañ<br />$3",
'diff' => "diforc'h",
'hist' => 'ist',
# List redirects
'listredirects' => 'Roll an adkasoù',
+# List duplicated files special page
+'listduplicatedfiles' => 'Roll restroù gant doublennoù',
+
# Unused templates
'unusedtemplates' => 'Patromoù dizimplij',
'unusedtemplatestext' => 'Rollet eo amañ an holl bajennoù zo en esaouenn anv "{{ns:template}}" ha n\'int ket implijet war pajenn ebet. Ho pet soñj da wiriañ mat hag-eñ n\'eus ket liammoù all war-du ar patromoù-se a-raok diverkañ anezho.',
'listusers' => 'Roll an implijerien',
'listusers-editsonly' => 'Na ziskouez nemet an implijerien o deus degaset un dra bennak',
'listusers-creationsort' => 'Renket dre urzh krouiñ',
+'listusers-desc' => 'Renkañ war ziskenn',
'usereditcount' => '$1 {{PLURAL:$1|kemm|kemm}}',
'usercreated' => "{{GENDER:$3|Krouet}} d'an $1 da $2",
'newpages' => 'Pajennoù nevez',
'deleteotherreason' => 'Abegoù/traoù all :',
'deletereasonotherlist' => 'Abeg all',
'deletereason-dropdown' => "*Abegoù diverkañ boazetañ
-** Goulenn gant saver ar pennad
+** Strob
+** Vandalerezh
** Gaou ouzh ar gwirioù perc'hennañ
-** Vandalerezh",
+** Goulenn gant saver ar pennad
+** Liamm torret",
'delete-edit-reasonlist' => 'Kemmañ a ra an abegoù diverkañ',
'delete-toobig' => 'Bras eo istor ar bajenn-mañ, ouzhpenn $1 {{PLURAL:$1|stumm|stumm}} zo. Bevennet eo bet an diverkañ pajennoù a-seurt-se kuit da zegas reuz war {{SITENAME}} dre fazi .',
'delete-warning-toobig' => "Bras eo istor ar bajenn-mañ, ouzhpenn {{PLURAL:$1|stumm|stumm}} zo.
'contribslink' => 'degasadennoù',
'emaillink' => 'Kas ur postel',
'autoblocker' => 'Emstanket rak implijet eo bet ho chomlec\'h IP gant "[[User:$1|$1]]" nevez zo.
-Setu aze an abeg(où) m\'eo bet stanket $1 : "\'\'$2\'\'"',
+Setu amañ perak $1 : "$2"',
'blocklogpage' => 'Roll ar stankadennoù',
'blocklog-showlog' => "Stanket eo bet an implijer-mañ c'hoazh. A-is emañ marilh ar stankadennoù, d'ho titouriñ :",
'blocklog-showsuppresslog' => "Stanket ha kuzhet eo bet an implijer-mañ c'hoazh. A-is emañ marilh ar diverkadennoù, d'ho titouriñ :",
'importuploaderrortemp' => "C'hwitet eo bet enporzhiañ ar restr. Mankout a ra ur restr badennek.",
'import-parse-failure' => "Troc'h e dielfennadenn an enporzh XML",
'import-noarticle' => 'Pajenn ebet da enporzhiañ !',
-'import-nonewrevisions' => "Enporzhiet eo bet an holl degasadennoù c'hoazh.",
+'import-nonewrevisions' => "N'eus bet enporzhiet degasadenn ebet (aze e oant dija, pe distaolet e oant bet abalamour da fazioù).",
'xml-error-string' => '$1 war al linenn $2, bann $3 (okted $4) : $5',
'import-upload' => 'Enporzhiañ roadennoù XML',
'import-token-mismatch' => "Kollet eo bet roadennoù an dalc'h. Klaskit en-dro.",
'confirm-unwatch-button' => 'Mat eo',
'confirm-unwatch-top' => 'Lemel ar bajenn-mañ a-ziwar ho roll evezhiañ',
+# Separators for various lists, etc.
+'quotation-marks' => '« $1 »',
+
# Multipage image navigation
'imgmultipageprev' => '← pajenn gent',
'imgmultipagenext' => "pajenn war-lerc'h →",
'file-no-thumb-animation-gif' => "''' Nota: degut a limitacions tècniques no s'animaran les miniatures d'alta resolució d'imatges GIF com aquesta.'''",
# Special:NewFiles
-'newimages' => 'Galeria de nous fitxers',
+'newimages' => 'Galeria de fitxers nous',
'imagelisttext' => "Llista {{PLURAL:$1|d'un sol fitxer|de '''$1''' fitxers ordenats $2}}.",
'newimages-summary' => 'Aquesta pàgina especial mostra els darrers fitxers carregats.',
'newimages-legend' => 'Nom del fitxer',
'recreate' => 'Torna a crear',
# action=purge
-'confirm_purge_button' => 'OK',
+'confirm_purge_button' => "D'acord",
'confirm-purge-top' => "Voleu buidar la memòria cau d'aquesta pàgina?",
-'confirm-purge-bottom' => "Purgar una pàgina força que hi aparegui la versió més actual i n'esborra la memòria cau.",
+'confirm-purge-bottom' => 'En refrescar una pàgina es neteja de la memòria cau i es força que hi aparegui la versió més actual.',
# action=watch/unwatch
'confirm-watch-button' => "D'acord",
# List redirects
'listredirects' => 'ДIасахьажоран могIам',
+# List duplicated files special page
+'listduplicatedfiles' => 'Файлийн могӀам дубликатшца',
+'listduplicatedfiles-entry' => 'Файлан [[:File:$1|$1]] — [[$3|{{PLURAL:$2|дубликат ю}}]].',
+
# Unused templates
'unusedtemplates' => 'Лелош доцу кепаш',
'unusedtemplatestext' => 'Кхузахь дагар йина «{{ns:template}}» цӀерийн меттиган агӀонаш, кхечу агӀонийн юкъа тоьхна йоцу.
Кхин йоцу файлаш гойту [[:$1]] чохь',
'wantedfiletext-nocat' => 'Лахара йоцу файлаш лело гӀерта. Оцу могӀам юкъа ца хууш файлаш кхета там бу, кхечу проекташ чохь йолу. Ишта ца хууш юкъа нийса елачарна тӀехула <del>сиз</del> хира ду.',
'wantedtemplates' => 'Оьшуш долу кепаш',
-'mostlinked' => 'Ð\94Ñ\83ккÑ\85а Ñ\85Ñ\8cажоÑ\80агаÑ\88 Ñ\82Iе Ñ\82оÑ\8cÑ\85на йолÑ\83 агIонаш',
+'mostlinked' => 'Ð\94Ñ\83ккÑ\85а Ñ\85Ñ\8cажоÑ\80гаÑ\88 Ñ\82Ó\80е Ñ\82оÑ\8cÑ\85на йолÑ\83 агÓ\80онаш',
'mostlinkedcategories' => 'Дуккха тӀе хьажораш йолу категореш',
'mostlinkedtemplates' => 'Массарел дуккха а леладо кепаш',
'mostcategories' => 'Дуккха категореш тӀе тоьхна йолу агӀонаш',
'mostimages' => 'Массарел дуккха лелайо файлаш',
-'mostinterwikis' => 'Ð\94Ñ\83ккÑ\85а Ñ\8eкÑ\8aаÑ\80вики Ñ\85Ñ\8cажоÑ\80агаÑ\88 Ñ\82Ó\80е Ñ\82оÑ\8cÑ\85на йолÑ\83 агÓ\80онаÑ\88',
+'mostinterwikis' => 'Дуккха юкъарвики хьажоргаш тӀе тоьхна йолу агӀонаш',
'mostrevisions' => 'Сих сиха нисйина йолу агIонаш',
'prefixindex' => 'Хьалха агӀонашан цӀераш хӀотто йеза',
'prefixindex-namespace' => 'Хьалха агӀонашан цӀераш хӀотто еза («{{ns:$1}}»)',
# HTML forms
'htmlform-invalid-input' => 'Ахьа яздинчу цхьан дакхано гӀалат далина',
+'htmlform-select-badoption' => 'Ахьа яздина маьӀна магийна дац.',
+'htmlform-int-invalid' => 'Ахьа яздина маьӀна дуьззина терахь дац.',
+'htmlform-float-invalid' => 'Ахьа яздина маьӀна терахь дац.',
+'htmlform-int-toolow' => 'Ахьа яздина маьӀна минималал лаха ду — $1',
+'htmlform-int-toohigh' => 'Ахьа яздина маьӀна максималал лакхара ду — $1',
+'htmlform-required' => 'ХӀара юззар тӀехь ду.',
'htmlform-submit' => 'ДӀадахьийта',
'htmlform-reset' => 'Цаоьшу хийцамаш',
'htmlform-selectorother-other' => 'Кхин',
* @author Aras Noori
* @author Arastein
* @author Asoxor
+ * @author Broosk
* @author Calak
* @author Cyrus abdi
* @author Diyar se
'tog-showhiddencats' => 'پۆلە شاردراوەکان نیشان بدە',
'tog-norollbackdiff' => 'لە دوای گەڕاندنەوە جیاوازی نیشان مەدە',
'tog-useeditwarning' => 'ھۆشیارم بکەوە کاتێک لە پەڕەیەکی دەستکاری بە گۆڕانکاریی پاشەکەوتنەکراو دەردەچم',
+'tog-prefershttps' => 'هەمیشە پەیوەندییەکی پارێزراو بەکاربەرە کاتێک کە دەچیتە ژوورەوە',
'underline-always' => 'ھەمیشە',
'underline-never' => 'قەت',
'newwindow' => '(لە پەڕەیەکی نوێدا دەکرێتەوە)',
'cancel' => 'ھەڵیوەشێنەوە',
'moredotdotdot' => 'زیاتر',
-'morenotlisted' => 'درÛ\8eÚ\98Û\95Û\8c Ù¾Û\8eرست...',
+'morenotlisted' => 'ئÛ\95Ù\85 Ù\84Û\8cستÛ\95Û\8cÛ\95 تÛ\95Ù\88اÙ\88 Ù\86Û\8cÛ\8cÛ\95',
'mypage' => 'پەڕه',
'mytalk' => 'لێدوان',
'anontalk' => 'وتووێژ بۆ ئەم ئایپی یە',
تکایە پێش ھەوڵی دووبارە بۆ دیتنی ئەم پەڕە، نەختێک بوەستە.
$1',
+'pool-timeout' => 'لەکات دەرچوون ڕوویدا لەکاتی چاوەڕوانکردنی داخستندا',
'pool-errorunknown' => 'هەڵەی نەزانراو',
# All link text and link target definitions of links into project namespace that get used by other message strings, with the exception of user group pages (see grouppage).
'aboutsite' => 'سەبارەت بە {{SITENAME}}',
'aboutpage' => 'Project:سەبارەت',
-'copyright' => 'ناوەرۆک لە ژێر $1 لەبەردەستدایە.',
+'copyright' => 'ناوەرۆک لە ژێر $1 لەبەردەستدایە، دەنا تێبینیی دەکرا',
'copyrightpage' => '{{ns:project}}:مافەکانی لەبەرگرتنەوە',
'currentevents' => 'ڕووداوە ھەنووکەییەکان',
'currentevents-url' => 'Project:ڕووداوە بەردەوامەکان',
# General errors
'error' => 'ههڵه',
'databaseerror' => 'ھەڵەی بنکەدراوه',
+'databaseerror-function' => 'کردە: $1',
+'databaseerror-error' => 'هەڵە: $1',
'laggedslavemode' => 'ئاگاداری: لەوانەیە لاپەڕەکە نوێکردنەکان لە بەر نەگرێت.',
'readonly' => 'بنکەدراوە داخراوە',
'enterlockreason' => 'هۆیەک بۆ قوفڵکردنەکە بنووسە کە تێیدا کاتی کردنەوەی قۆفڵەکە باس کرابێت',
'readonly_lag' => 'بنكهدراوهكه بهشێوهی خۆكار بهندكراوه، لهكاتێكدا بنكهدراوهی ڕاژهكارهكه ڕۆڵی لهخۆگرتن دهگێڕێت',
'internalerror' => 'ھەڵەی ناوخۆیی',
'internalerror_info' => 'ههڵهی ناوخۆیی: $1',
+'fileappenderrorread' => 'نەتوانرا "$1" بخوێندرێتەوە لەکاتی هاوپێچکردندا.',
'fileappenderror' => 'نهتواندرا "$1" بخرێتهسهر "$2".',
'filecopyerror' => 'نەکرا پەڕگەی «$1» کۆپی بکرێت بۆ «$2».',
'filerenameerror' => 'ناوی پهڕگهی "$1" نهگۆڕدرا بۆ "$2".',
'cannotdelete-title' => 'ناکرێ پەڕەی «$1» بسڕدرێتەوە',
'delete-hook-aborted' => 'سڕینەوە لە لایەن قولاپەوە ھەڵوەشێنرایەوە.
ھۆکارەکەی لەبەر دەست نییە.',
+'no-null-revision' => 'نەتوانرا پێداچوونەوەی خاڵیی بۆ پەڕەی "$1" درووست بکرێت',
'badtitle' => 'ناونیشانی خراپ',
'badtitletext' => 'سەرناوی پەڕەی داواکراو بەتاڵە، واڵایە یان سەرناوێکی نێوان-زمانی یان نێوانی-ویکییە کە بە شێوەیەکی ھەڵە بەستەری بۆ دراوە.
ڕەنگە یەک یان چەند کاراکتەری تێدا بێت کە ناکرێت لە سەرناوەکاندا بەکار بھێنرێت.',
'cascadeprotected' => 'ئەم لاپەڕە پارێزراوە لە دەستکاریی، چونکا خراوەتە سەر ڕیزی ئەم {{PLURAL:$1|لاپەڕانه، کە}} که به ههڵکردنی بژاردهی داڕژان ههڵکراوه:
$2',
'namespaceprotected' => "تۆ ناتوانی لاپەڕەکانی ناو نەیمسپەیسی '''$1''' بگۆڕی.",
+'customcssprotected' => 'دەسەڵاتی دەستکارییکردنی ئەم پەڕەی CSS ـەت نییە چوونکە ڕێکخستنەکانی کەسێکی تر لەخۆ دەگرێت.',
+'customjsprotected' => 'دەسەڵاتی دەستکارییکردنی ئەم پەڕەی JavaScript ـەت نییە چوونکە ڕێکخستنەکانی کەسێکی تر لەخۆ دەگرێت.',
+'mycustomcssprotected' => 'دەسەڵاتی دەستکارییکردنی ئەم پەڕەی CSS ـەت نییە.',
+'mycustomjsprotected' => 'دەسەڵاتی دەستکارییکردنی ئەم پەڕەی JavaScript ـەت نییە.',
+'myprivateinfoprotected' => 'دەسەڵاتی دەستکارییکردنی زانیارییە تایبەتییەکانی خۆتت نییە.',
+'mypreferencesprotected' => 'دەسەڵاتی دەستکارییکردنی هەڵبژاردنەکانی خۆتت نییە.',
'ns-specialprotected' => 'تۆ ناتوانی لاپەڕە تایبەتەکان دەستکاریی بکەی.',
'titleprotected' => 'ئەم سەرناوە پارێزراوە لە دروستکران لە لایەن [[User:$1|$1]].
ھۆکاری ئەمە بریتیە لە "\'\'$2\'\'".',
+'invalidtitle-knownnamespace' => 'سەردێڕی هەڵە لەگەڵ ناوەبۆشایی "$2" و دەقی "$3"',
+'invalidtitle-unknownnamespace' => 'سەردێڕی هەڵە لەگەڵ ناوەبۆشایی نەناسراوی ژمارە $1 و دەقی "$2"',
'exception-nologin' => 'لەژوورەوە نیت',
+'exception-nologin-text' => 'تکایە [[Special:Userlogin|بچۆ ژوورەوە]] تا بتوانیت بچیتە نێو ئەم پەڕەیە یان ئەم کردەیە ئەنجام بدەیت.',
+'exception-nologin-text-manual' => 'تکایە $1 تا بتوانیت بچیتە نێو ئەم پەڕەیە یان ئەم کردەیە ئەنجام بدەیت.',
# Virus scanner
'virus-badscanner' => "پێکەربەندیی نابەجێ: ڤایرس سکەنێری نەناسراو: ''$1''",
'virus-unknownscanner' => 'دژەڤایرس نەناسراوە:',
# Login and logout pages
-'logouttext' => "'''ئÛ\8eستا تÛ\86 Ù\84Û\95 Ú¾Û\95Ú\98Ù\85ارÛ\95Ú©Û\95ت ھاتÙ\88Ù\88Û\8cتÛ\95 دÛ\95رÛ\95Ù\88Û\95.'''
+'logouttext' => "'''تÛ\86 ئÛ\8eستا Ù\84Û\95دÛ\95رÛ\95Ù\88Û\95Û\8cت.'''
-دەتوانی بە شێوەی بێناو درێژە بدەی بە بەرکارھێنانی {{SITENAME}}، یان دەتوانی <span class='plainlinks'>[$1 دیسانەوە بچیتەوە ژوورەوە]</span> ھەر بەو ناوە یان بە ناوی بەکارھێنەرییەکی جیاوازەوە.
-ئاگادار بە کە ھەتا کاتێک کە کەشی وێبگەڕەکەت دەسڕیتەوە، سەرەڕای چوونەدەرەوەی تۆ ھەندێک لە پەڕەکان ھەر بە شێوەیەک نیشان دەدرێن کە گوایە تۆ ھێشتا لە ژوورەوەیت.",
+تێبینیی ئەوە بکە کە هەندێک لە پەڕەکان بەردەوام وا دەردەکەون کە هێشتا لەژوورەوە بیت، هەتا ئەو دەمەی کەشی وێبگەڕەکەت پاک دەکەیتەوە.",
'welcomeuser' => 'بەخێربێیت، $1!',
'welcomecreation-msg' => 'ھەژمارەکەت دروست کرا.
لە بیرت نەچێت [[Special:Preferences|ھەڵبژاردەکانی {{SITENAME}}]]ت بگۆڕی.',
'gotaccount' => 'ھەژمارت ھەیە لێرە؟ $1.',
'gotaccountlink' => 'بچۆ ژوورەوە',
'userlogin-resetlink' => 'وردەکارییەکانی چوونەژوورەوەتت لە بیر کردووە؟',
-'userlogin-resetpassword-link' => 'تێپەڕوشە ڕیسێت بکەوە',
+'userlogin-resetpassword-link' => 'تێپەڕەووشەکەت لەبیر کردووە؟',
+'userlogin-helplink2' => 'یارمەتی بۆ چوونەژوورەوە',
'userlogin-loggedin' => 'تۆ ھەر ئێستا بە ناوی {{GENDER:$1|$1}} چوویتە ژوورەوە.
فۆرمی ژێرەوە بەکاربھێنە بۆ چوونەژوورەوە وەک بەکارھێنەرێکی تر.',
'userlogin-createanother' => 'ھەژمارێکی تر دروست بکە',
'createacct-emailrequired' => 'ناونیشانی ئیمەیل',
'createacct-emailoptional' => 'ناونیشانی ئیمەیل (دڵخوازانە)',
'createacct-email-ph' => 'ناونیشانی ئیمەیلەکەت بنووسە',
-'createaccountmail' => 'تێپەڕوشەیەکی ڕەمەکیی کاتی بەکاربھێنە و بینێرە بۆ ناونیشانی ئیمەیلی دیاریکراوی ژێرەوە',
+'createacct-another-email-ph' => 'ناونیشانی ئیمەیڵەکەت بنووسە',
+'createaccountmail' => 'تێپەڕوشەیەکی هەڕەمەکیی کاتی بەکاربھێنە و بینێرە بۆ ناونیشانی ئیمەیڵی دیاریکراو',
'createacct-realname' => 'ناوی ڕاستی (دڵخوازانە)',
'createaccountreason' => 'هۆکار:',
'createacct-reason' => 'ھۆکار',
'nosuchusershort' => 'بەکارهێنەر بە ناوی "$1" نیە.
چاو لە ڕێنووسەکە بکە.',
'nouserspecified' => 'دەبێ ناوی بەکارهێنەر دابین بکەی.',
+'login-userblocked' => 'ئەم بەکارهێنەرە بڵۆک کراوە. چوونەژوورەوە ڕێگەپێنەدراوە.',
'wrongpassword' => 'تێپەڕوشەی ھەڵە.
تکایە دووبارە تێبکۆشە.',
'wrongpasswordempty' => 'تێپەڕەوشەی لێدراو بەتاڵبوو.
تکایە هەوڵ بدەوە.',
'passwordtooshort' => 'تێپەڕوشەکەت لانی کەم دەبێ {{PLURAL:$1|١ پیت|$1 پیت}} بێت.',
'password-name-match' => 'تێپەڕوشەکەت ئەبێ جیاواز بێت لە ناوی بەکارهێنەریت.',
+'password-login-forbidden' => 'بەکارهێنانی ئەم ناوی بەکارهێنەر و تێپەڕەووشەیە قەدەغەکراوە.',
'mailmypassword' => 'تێپەڕوشەکە ڕێک بخەوە',
'passwordremindertitle' => 'تێپەڕوشەیەکی نوێی کاتی بۆ {{SITENAME}}',
'passwordremindertext' => 'کەسێک (لەوانەیە خۆت، لە ئایپی ئەدرەسی $1) داوای تێپەڕوشەیەکی نوێی کردووە بۆ {{SITENAME}} ($4). تێپەڕوشەیەکی کاتی بۆ بەکارهێنەر «$2» دروستکراو و وەک «$3» دانراوه. ئەگەر ئەمە داخوازی تۆ بووە، پێویستت بەوەیە ئێستا بچیتە ژوورەوە و تێپەڕوشەیەکی نوێ هەڵبژێریت. ماوەی تێپەڕوشە کاتییەکەت لە {{PLURAL:$5|یەک ڕۆژدا|$5 ڕۆژدا}} بەسەردەچێت.
'blocked-mailpassword' => 'ئادرەسی ئایپی تۆ بۆ دەستکاری کردن بەستراوه بۆیە بۆ بەرگری لە بەکارهێنانی نابەجێ ئەنجامی گەڕانەوەی تێپەڕوشە ڕیگە نەدراوە.',
'eauthentsent' => 'ئیمەیلێکی پشتڕاستکردنەوە بۆ ناونیشانی ئیمەیلی دیاریکراو ناردرا.
پێش ئەوەی ئیمەیلی تر بۆ ئەم هەژمارە بنێردرێ، بۆ پشتڕاستکردنەوەی ئەمەی ئەم هەژمارە بەڕاستی ھی تۆیە، دەبێ پەیڕەوی ڕێکارەکانی ناو ئیمەیلەکە بکەیت.',
-'throttled-mailpassword' => 'بیرهێنەرەوەیەکی وشەی نهێنی پێش ئەمە لە {{PLURAL:$1|کاتژمێر}}ی ڕابردوودا ناردراوە.
-بۆ بەرگری لە بەکارهێنانی خراپ، تاکە یەک بیرهێنەرەوەی وشەی نهێنی هەر {{PLURAL:$1|کاتژمێر}} دەنێردرێت.',
+'throttled-mailpassword' => 'نامەی بەدەستهێنانەوەی تێپەڕەووشە نێردراوە لە ماوەی {{PLURAL:$1|کاتژمێر}}ی ڕابردوودا.
+بۆ ڕێگریی لە بەکارهێنانی خراپ، تاکە یەک نامەی بەدەستهێنانەوەی تێپەڕەووشە هەموو {{PLURAL:$1|کاتژمێر}}ێک دەنێردرێت.',
'mailerror' => 'هەڵە ڕوویدا لە ناردنی ئیمەیل: $1',
'acct_creation_throttle_hit' => 'بینەرانی ویکی بەکەڵک وەرگرتن لەم ئایپی ئەدرەسەی تۆ لە ڕۆژانی ڕابردوودا، دەستیان کردە بە درووستکردنی {{PLURAL:$1|هەژمارە}}، کە زۆرینە ڕیگەپێدان لە یەک ماوەدایە.
وەک ئەنجامی ئەو ڕووداوە، ئەو بینەرانی لەم ئایپی ئەدرەسە کەڵک وەر دەگرن لەم کاتەدا ناتوانن هەژماری دیکە درووستبکەن.',
'emailconfirmlink' => 'ئیمەیلەکەت پشتڕاست بکەرەوە',
'invalidemailaddress' => 'ناونیشانی ئیمەیل پەسند نەکرا، چون لەوە دەچێت شێوازێکی نادروستی ھەبێت.
تکایە ناونیشانێک بە شێوازی دروست بنووسە یان ئەو بەشە واڵا بھێڵەوە.',
+'cannotchangeemail' => 'ئیمەیڵەکانی هەژمار ناکرێت بگۆڕدرێت لەم ویکییەدا.',
'emaildisabled' => 'ئەم ماڵپەڕە ناتوانێ ئیمەیل بنێرێ.',
'accountcreated' => 'ھەژمار دروست کرا',
'accountcreatedtext' => 'هەژماری بەکارهێنەری [[{{ns:User}}:$1|$1]] ([[{{ns:User talk}}:$1|لێدوان]]) دروست کراوە.',
'gotaccountlink' => 'Log på',
'userlogin-resetlink' => 'Har du glemt dine login oplysninger?',
'userlogin-resetpassword-link' => 'Glemt din adgangskode?',
+'userlogin-helplink2' => 'Hjælp med at logge på',
'userlogin-loggedin' => 'Du er allerede logget på som {{GENDER:$1|$1}}.
Brug formularen nedenfor til at logge på som en anden bruger.',
'userlogin-createanother' => 'Opret en anden konto',
'createacct-another-realname-tip' => 'Angivelse af rigtigt navn er valgfrit.
Hvis du vælger at oplyse dit navn, vil det blive brugt til at tilskrive dig dit arbejde.',
'pt-login' => 'Log på',
+'pt-login-button' => 'Log på',
'pt-createaccount' => 'Opret konto',
'pt-userlogout' => 'Log af',
'resetpass-temp-password' => 'Midlertidig adgangskode',
'resetpass-abort-generic' => 'Ændring af adgangskode er blevet afbrudt af en udvidelse',
'resetpass-expired' => 'Dit kodeord er udløbet. Vær venlig at ændre det til et nyt.',
-'resetpass-expired-soft' => 'Dit kodeord er udløbet og skal ændres. Vær venlig at ændre det nu, eller tryk annuller for at ændre det senere.',
+'resetpass-expired-soft' => 'Din adgangskode er udløbet og skal ændres. Vær venlig at ændre den nu, eller tryk "{{int:resetpass-submit-cancel}}" for at ændre den senere.',
+'resetpass-validity-soft' => 'Din adgangskode er ikke gyldig: $1
+
+Vær venlig at ændre den nu, eller tryk "{{int:resetpass-submit-cancel}}" for at ændre den senere.',
# Special:PasswordReset
'passwordreset' => 'Nulstil adgangskode',
'search-section' => '(afsnit $1)',
'search-suggest' => 'Mente du: $1',
'search-interwiki-caption' => 'Søsterprojekter',
-'search-interwiki-default' => '{{PLURAL:$1|et resultat|$1 resultater}}:',
+'search-interwiki-default' => 'Resultater fra $1:',
'search-interwiki-more' => '(mere)',
'search-relatedarticle' => 'Relateret',
'searcheverything-enable' => 'Søg i alle navnerum',
'uploaddisabledtext' => 'Oplægning af filer er deaktiveret.',
'php-uploaddisabledtext' => 'Oplægning af filer er forhindret i PHP. Tjek indstillingen for file_uploads.',
'uploadscripted' => 'Denne fil indeholder HTML eller script-kode, der i visse tilfælde can fejlfortolkes af en browser.',
+'uploadscriptednamespace' => 'Denne SVG-fil indeholder et ulovligt navnerum "$1"',
'uploadinvalidxml' => 'XML i den uploadede fil kunne ikke tolkes.',
'uploadvirus' => 'Denne fil indeholder en virus! Virusnavn: $1',
'uploadjava' => 'Denne fil er en ZIP-fil, der indeholder en Java .class-fil.
'delete-edit-reasonlist' => 'Rediger sletningsårsager',
'delete-toobig' => 'Denne side har en stor historik, over {{PLURAL:$1|en version|$1 versioner}}. Sletning af sådanne sider er begrænset, for at forhindre utilsigtet forstyrrelse af {{SITENAME}}.',
'delete-warning-toobig' => 'Denne side har en stor historik, over {{PLURAL:$1|en version|$1 versioner}} versioner, slettes den kan det forstyrre driften af {{SITENAME}}, gå forsigtigt frem.',
-'deleting-backlinks-warning' => "'''Advarsel:''' Andre sider linker til eller inkluderer den side, du er ved at slette.",
+'deleting-backlinks-warning' => "'''Advarsel:''' [[Special:WhatLinksHere/{{FULLPAGENAME}}|Andre sider]] linker til eller inkluderer den side, du er ved at slette.",
# Rollback
'rollback' => 'Fjern redigeringer',
Her er de aktuelle beskyttelsesindstillinger for siden '''$1''':",
'protect-locked-dblock' => "Databasen er spærret, sidebeskyttelsen kan derfor ikke ændres. her er de aktuelle beskyttelsesindstillinger for siden '''„$1“:'''",
'protect-locked-access' => "Den brugerkonto har ikke de nødvendige rettigheder til at ændre sidebeskyttelsen. Her er de aktuelle beskyttelsesindstillinger for siden '''„$1“:'''",
-'protect-cascadeon' => 'Denne side er del af en nedarvet skrivebeskyttelse. Wen er indeholdt i nedenstående {{PLURAL:$1|side|sider}}, som er skrivebeskyttet med tilvalg af "nedarvende sidebeskyttelse" Sidebeskyttelsen kan ændres for denne side, det påvirker dog ikke kaskadespærringen:',
+'protect-cascadeon' => 'Denne side er del af en nedarvet skrivebeskyttelse. Den er indeholdt i nedenstående {{PLURAL:$1|side|sider}}, som er skrivebeskyttet med tilvalg af "nedarvende sidebeskyttelse". Sidebeskyttelsen kan ændres for denne side, det påvirker dog ikke den nedarvede sidebeskyttelse.',
'protect-default' => 'Tillad alle brugere',
'protect-fallback' => 'Tillad kun brugere med "$1" adgang',
'protect-level-autoconfirmed' => 'Tillad kun autobekræftede brugere',
'sp-contributions-blocked-notice-anon' => 'Denne IP-adresse er i øjeblikket blokeret.
Den seneste post i blokeringsloggen vises nedenfor:',
'sp-contributions-search' => 'Søg efter bidrag',
+'sp-contributions-suppresslog' => 'undertrykte brugerbidrag',
'sp-contributions-username' => 'IP-adresse eller brugernavn:',
'sp-contributions-toponly' => 'Vis kun redigeringer, der er aktuelle versioner',
'sp-contributions-newonly' => 'Vis kun redigeringer, der er sideoprettelser',
# List redirects
'listredirects' => 'Weiterleitungen',
+# List duplicated files special page
+'listduplicatedfiles' => 'Liste der Dateien mit Duplikaten',
+'listduplicatedfiles-summary' => 'Dies ist eine Liste der Dateien, deren aktuelle Dateiversion ein Duplikat der aktuellen Version einer anderen Datei ist. Es werden nur lokale Dateien berücksichtigt.',
+'listduplicatedfiles-entry' => '[[:File:$1|$1]] hat [[$3|{{PLURAL:$2|ein Duplikat|$2 Duplikate}}]].',
+
# Unused templates
'unusedtemplates' => 'Verwaiste Vorlagen',
'unusedtemplatestext' => 'Diese Seite listet alle Seiten im {{ns:template}}-Namensraum auf, die nicht in anderen Seiten eingebunden sind.
'search-file-match' => '(zerreyê dosya yewbini gêno)',
'search-suggest' => 'To va: $1',
'search-interwiki-caption' => 'Proceyê bıray',
-'search-interwiki-default' => '$1 neticeyan:',
+'search-interwiki-default' => '$1 ra neticey:',
'search-interwiki-more' => '(véşi)',
'search-relatedarticle' => 'Eleqeyın',
'searcheverything-enable' => 'cayê nameyê hemi de bigêre',
'Listfiles' => array( 'ListFiles', 'FileList', 'ImageList' ),
'Listgrouprights' => array( 'ListGroupRights', 'UserGroupRights' ),
'Listredirects' => array( 'ListRedirects' ),
+ 'ListDuplicatedFiles' => array( 'ListDuplicatedFiles', 'ListFileDuplicates' ),
'Listusers' => array( 'ListUsers', 'UserList' ),
'Lockdb' => array( 'LockDB' ),
'Log' => array( 'Log', 'Logs' ),
'listredirects' => 'List of redirects',
'listredirects-summary' => '', # do not translate or duplicate this message to other languages
+'listduplicatedfiles' => 'List of files with duplicates',
+'listduplicatedfiles-summary' => 'This is a list of files where the most recent version of the file is a duplicate of the most recent version of some other file. Only local files are considered.',
+'listduplicatedfiles-entry' => '[[:File:$1|$1]] has [[$3|{{PLURAL:$2|a duplicate|$2 duplicates}}]].',
+
# Unused templates
'unusedtemplates' => 'Unused templates',
'unusedtemplates-summary' => '', # do not translate or duplicate this message to other languages
'gotaccountlink' => 'logi sisse',
'userlogin-resetlink' => 'Kas oled unustanud oma sisselogimisandmed?',
'userlogin-resetpassword-link' => 'Kas unustasid parooli?',
+'userlogin-helplink2' => 'Sisselogimisabi',
'userlogin-loggedin' => 'Oled juba sisse logitud nimega {{GENDER:$1|$1}}.
Kasuta allolevat vormi, et logida sisse teise kasutajaga.',
'userlogin-createanother' => 'Loo teine konto',
'createacct-another-realname-tip' => 'Tegelik nimi on valikuline.
Kui otsustad selle sisestada, kasutatakse seda kasutaja töö temale omistamiseks.',
'pt-login' => 'Logi sisse',
+'pt-login-button' => 'Logi sisse',
'pt-createaccount' => 'Loo konto',
'pt-userlogout' => 'Logi välja',
'resetpass-abort-generic' => 'Tarkvaralisa on paroolimuudatuse abortinud.',
'resetpass-expired' => 'Sinu parool on iganenud. Palun määra uus parool, et sisse logida.',
'resetpass-expired-soft' => 'Sinu parool on iganenud ja tuleb uuesti määrata. Palun vali kohe uus parool või klõpsa "{{int:resetpass-submit-cancel}}", et määrata see hiljem.',
+'resetpass-validity-soft' => 'Sinu parool ei sobi: $1
+
+Palun vali kohe uus parool või klõpsa "{{int:resetpass-submit-cancel}}", et see hiljem uuesti määrata.',
# Special:PasswordReset
'passwordreset' => 'Parooli lähtestamine',
'revdelete-show-file-submit' => 'Jah',
'revdelete-selected' => "'''Valitud {{PLURAL:$2|redaktsioon|redaktsioonid}} leheküljest [[:$1]]:'''",
'logdelete-selected' => "'''Valitud {{PLURAL:$1|logisissekanne|logisissekanded}}:'''",
+'revdelete-text-text' => 'Kustutatud redaktsioonid jäävad lehekülje ajalukku alles, aga osa nende sisust pole kõigile juurdepääsetav.',
+'revdelete-text-file' => 'Kustutatud failiversioonid jäävad faili ajalukku alles, aga osa nende sisust pole kõigile juurdepääsetav.',
+'logdelete-text' => 'Kustutatud logisündmused jäävad logisse alles, aga osa nende sisust pole kõigile juurdepääsetav.',
+'revdelete-text-others' => 'Teised {{GRAMMAR:genitive|{{SITENAME}}}} administraatorid pääsevad ikkagi peidetud sisu juurde ja saavad sama liidese kaudu selle taastada, kui seatud pole lisapiiranguid.',
'revdelete-confirm' => 'Kinnita, et soovid tõesti seda teha ning et saad aru tagajärgedest ja tegevus on kooskõlas [[{{MediaWiki:Policy-url}}|siinsete kokkulepetega]].',
'revdelete-suppress-text' => "Andmed tuleks varjata '''ainult''' järgmistel juhtudel:
* võimalik laim
'deadendpagestext' => 'Järgmised leheküljed ei viita ühelegi teisele {{GRAMMAR:genitive|{{SITENAME}}}} leheküljele.',
'protectedpages' => 'Kaitstud leheküljed',
'protectedpages-indef' => 'Ainult määramata ajani kaitstud',
-'protectedpages-summary' => 'Siin on loetletud olemasolevad leheküljed, mis on praegu kaitstud. Loomise eest kaitstud pealkirjade loendi leiad leheküljelt [[{{#special:ProtectedTitles}}|{{int:protectedtitles}}]].',
+'protectedpages-summary' => 'Siin on loetletud olemasolevad leheküljed, mis on praegu kaitstud. Loomise eest kaitstud pealkirjade loendi leiad [[{{#special:ProtectedTitles}}|siit]].',
'protectedpages-cascade' => 'Ainult kaskaadkaitsega',
'protectedpages-noredirect' => 'Peida ümbersuunamised',
'protectedpagesempty' => 'Selliste parameetritega ei ole praegu ühtegi lehekülge kaitstud.',
'protectedpages-unknown-timestamp' => 'Teadmata',
'protectedpages-unknown-performer' => 'Teadmata kasutaja',
'protectedtitles' => 'Kaitstud pealkirjad',
-'protectedtitles-summary' => 'Siin on loetletud pealkirjad, mis on praegu loomise eest kaitstud. Olemasolevate kaitstud lehekülgede loendi leiad leheküljelt [[{{#special:ProtectedPages}}|{{int:protectedpages}}]].',
+'protectedtitles-summary' => 'Siin on loetletud pealkirjad, mis on praegu loomise eest kaitstud. Olemasolevate kaitstud lehekülgede loendi leiad [[{{#special:ProtectedPages}}|siit]].',
'protectedtitlesempty' => 'Hetkel pole ükski pealkiri kaitstud.',
'listusers' => 'Kasutajad',
'listusers-editsonly' => 'Näita vaid kasutajaid, kes on teinud muudatusi',
'protect-locked-access' => "Sinu kontol pole õigust muuta lehekülje kaitsetaset.
Allpool on toodud lehekülje '''$1''' hetkel kehtivad seaded:",
'protect-cascadeon' => 'See lehekülg on kaitstud, kuna ta on kasutusel {{PLURAL:$1|järgmisel leheküljel|järgmistel lehekülgedel}}, mis on omakorda kaskaadkaitse all.
-Sa saad muuta selle lehekülje kaitse staatust, kuid see ei mõjuta kaskaadkaitset.',
+Selle lehekülje kaitsetaseme muutmine ei mõjuta kaskaadkaitset.',
'protect-default' => 'Luba kõigile kasutajatele',
'protect-fallback' => 'Lubatud vaid kasutajatele õigusega "$1"',
'protect-level-autoconfirmed' => 'Lubatud vaid automaatselt kinnitatud kasutajatele',
'viewtalkpage' => 'Eztabaida ikusi',
'otherlanguages' => 'Erdaretan',
'redirectedfrom' => '($1(e)tik birzuzenduta)',
-'redirectpagesub' => 'Birzuzenketa orrialdea',
+'redirectpagesub' => 'Birbideratze orria',
'lastmodifiedat' => 'Orrialdearen azken aldaketa: $2, $1.',
'viewcount' => 'Orrialde hau {{PLURAL:$1|behin|$1 aldiz}} bisitatu da.',
'protectedpage' => 'Babestutako orrialdea',
'search-result-size' => '$1 ({{PLURAL:$2|hitz bat|$2 hitz}})',
'search-result-category-size' => '{{PLURAL:$1|kide 1|$1 kide}} ({{PLURAL:$2|azpikategoria 1|$2 azpikategoria}}, {{PLURAL:$3|fitxategi 1|$3 fitxategi}})',
'search-result-score' => 'Garrantzia: %$1',
-'search-redirect' => '($1 birzuzenketa)',
+'search-redirect' => '(«$1» orritik birbideratua)',
'search-section' => '($1 atala)',
'search-suggest' => '$1 esan nahi zenuen',
'search-interwiki-caption' => 'Beste proiektuak',
'right-move-subpages' => 'Mugitu orrialdeak bere azpiorrialdeekin',
'right-move-rootuserpages' => 'Erro-lankidearen orriak mugitu',
'right-movefile' => 'Mugitu fitxategiak',
-'right-suppressredirect' => 'Ez sortu birzuzenketa bat antzinako izenetik orrialdea mugitzerakoan',
+'right-suppressredirect' => 'Orri bat mugitzean, ez sortu birbideratzea jatorrizko izenetik',
'right-upload' => 'Fitxategia igo',
'right-reupload' => 'Jada existitzen den artxibo bat gainidatzi',
'right-reupload-own' => 'Norberak igotako fitxategi baten gainean idatzi',
'upload-file-error-text' => 'Barne errore bat gertatu da zerbitzarian fitxategi tenporal bat sortzen saiatzean. Mesedez, jar zaitez [[Special:ListUsers/sysop|administratzaile]] batekin harremanetan.',
'upload-misc-error' => 'Errore ezezaguna igotzerakoan',
'upload-misc-error-text' => 'Errore ezezagun bat gertatu da fitxategia igotzen ari zenean. Mesedez, egiaztatu URLa baliozkoa eta eskuragarria dela eta berriz saiatu. Arazoak jarraitzen badu, jar zaitez [[Special:ListUsers/sysop|administratzailearekin]] harremanetan.',
-'upload-too-many-redirects' => 'URLak birzuzenketa gehiegi zituen',
+'upload-too-many-redirects' => 'URLak birbideratze gehiegi zituen',
'upload-unknown-size' => 'Tamaina ezezaguna',
'upload-http-error' => 'HTTP errorea gertatu da: $1',
'upload-copy-upload-invalid-domain' => 'Domeinu honetan ezin dira igoerak kopiatu.',
[[Special:WhatLinksHere/$2|Zerrenda osoa]] ere eskuragarri dago.',
'nolinkstoimage' => 'Ez dago fitxategi honetara lotura egiten duen orrialderik.',
'morelinkstoimage' => 'Ikusi fitxategi honen [[Special:WhatLinksHere/$1|lotura gehiago]].',
-'linkstoimage-redirect' => '$1 (fitxategi birzuzenketa) $2',
+'linkstoimage-redirect' => '$1 (fitxategiranzko birbideratzea) $2',
'duplicatesoffile' => 'Ondorengo fitxategi {{PLURAL:$1|hau beste honen berdina da|$1 hauek beste honen berdinak dira}} ([[Special:FileDuplicateSearch/$2|zehaztasun gehiago]]):',
'sharedupload' => 'Elkarbanatutako fitxategi hau $1-(e)ko igoera bat da eta beste proiektuek ere erabil dezakete.',
'sharedupload-desc-here' => 'Fitxategi hau $1-(e)koa da eta beste proeiktuetan erabilia izan liteke.
'randomincategory-selectcategory-submit' => 'Joan',
# Random redirect
-'randomredirect' => 'Ausazko birzuzenketa',
+'randomredirect' => 'Ausazko birbideratzea',
'randomredirect-nopages' => 'Ez dago birzuzenketarik "$1" izen-tartean.',
# Statistics
'statistics-header-hooks' => 'Beste estatistikak',
'statistics-articles' => 'Edukiak dituzten orrialdeak',
'statistics-pages' => 'Orrialdeak',
-'statistics-pages-desc' => 'Wikian dauden orrialde guztiak, eztabaida orrialdeak, birzuzenketa, etab. barne.',
+'statistics-pages-desc' => 'Wikian dauden orri guztiak (eztabaida orriak, birbideratzeak eta abar barne).',
'statistics-files' => 'Igotako fitxategiak',
'statistics-edits' => '{{SITENAME}} sortu zenetik eginiko aldaketa kopurua',
'statistics-edits-average' => 'Bataz-besteko aldaketak orrialdeko',
'pageswithprop-submit' => 'Joan',
'pageswithprop-prophidden-long' => 'testu luzearen ezagaurria izkutatua ($1)',
-'doubleredirects' => 'Birzuzenketa bikoitzak',
+'doubleredirects' => 'Birbideratze bikoitzak',
'doubleredirectstext' => 'Lerro bakoitzean lehen eta bigarren birzuzenketetarako loturak ikus daitezke, eta baita edukia daukan edo eduki beharko lukeen orrialderako lotura ere. Lehen birzuzenketak azken honetara <del>zuzendu</del> beharko luke.',
-'double-redirect-fixed-move' => '[[$1]] mugitu da eta orain [[$2]](e)ra birzuzenketa bat da',
-'double-redirect-fixed-maintenance' => 'Birzuzenketa bikoitza konpontzen [[$1]]-etik [[$2]]-ra',
-'double-redirect-fixer' => 'Birzuzenketa zuzentzailea',
+'double-redirect-fixed-move' => '«[[$1]]» orria mugitu da, eta orain «[[$2]]» orrira daraman birbideratzea da',
+'double-redirect-fixed-maintenance' => '«[[$1]]» orritik «[[$2]]» orrira birbideratze bikoitza konpontzea',
+'double-redirect-fixer' => 'Birbideratze zuzentzailea',
'brokenredirects' => 'Hautsitako birzuzenketak',
-'brokenredirectstext' => 'Jarraian zerrendatutako birzuzenketa loturak existitzen ez diren orrietara zuzenduta daude:',
+'brokenredirectstext' => 'Ondorengo birbideratze hauek existitzen ez diren orrietara bideratuta daude:',
'brokenredirects-edit' => 'aldatu',
'brokenredirects-delete' => 'ezabatu',
'alphaindexline' => '$1(e)tik $2(e)raino',
'nextpage' => 'Hurrengo orrialdea ($1)',
'prevpage' => 'Aurreko orrialdea ($1)',
-'allpagesfrom' => 'Honela hasten diren orrialdeak erakutsi:',
-'allpagesto' => 'Orrialde honetara zuzentzen diren guztiak erakutsi:',
+'allpagesfrom' => 'Erakutsi hasiera hau duten orriak:',
+'allpagesto' => 'Erakutsi bukaera hau duten orriak:',
'allarticles' => 'Artikulu guztiak',
'allinnamespace' => 'Orrialde guztiak ($1 izen-tartea)',
'allpagessubmit' => 'Joan',
'linkshere' => "Hauek dute '''[[:$1]]''' orrialderako lotura:",
'nolinkshere' => "Ez dago '''[[:$1]]''' lotura duen orrialderik.",
'nolinkshere-ns' => "Hautatutako izen-tartean ez dago '''[[:$1]]''' orrialderako lotura duenik.",
-'isredirect' => 'birzuzenketa orrialdea',
+'isredirect' => 'birbideratze orrialdea',
'istemplate' => 'erabilpena',
'isimage' => 'fitxategi lotura',
'whatlinkshere-prev' => '{{PLURAL:$1|aurrekoa|aurreko $1ak}}',
# Move page
'move-page' => 'Mugitu «$1»',
'move-page-legend' => 'Orrialdea mugitu',
-'movepagetext' => "Konturatu zaitez orrialdea '''ez''' dela mugituko izenburu berria duen orrialde bat badago jadanik, ez bada aldaketa-historiarik gabeko orrialde huts edo birbideratze bat.
-Horrek esan nahi du hanka sartzekotan orrialde baten jatorrizko izenburua berreskuratu daitekeela, baina ezin dela jada existitzen den orrialde baten gainean idatzi.
-
-'''Oharra!'''
-Aldaketa hau drastikoa eta ustekabekoa izan daiteke orrialde oso ezagunetan;
-mesedez, egiazta ezazu honen ondorioak ulertzen dituzula, jarraitu baino lehen.
-Inprimaki hau erabiliz, orri baten izena aldatuko da, eta haren historia izen berrira eraman.
-Izenburu zaharra izenburu berrirantz birzuzendutako orri bihurtuko da.
-Jatorrizko izenburura doazen birzuzenketak automatikoki egunera ditzakezu.
+'movepagetext' => 'Inprimaki hau erabiliz, orri baten izena aldatuko da, eta haren historia izen berrira eramango.
+Izenburu zaharra izenburu berrirantz birbideratutako orri bihurtuko da.
+Jatorrizko izenburura doazen birbideratzeak automatikoki egunera ditzakezu.
Halako eguneratze automatikorik ez egitea aukeratzen baduzu, egiazta itzazu birbideratze [[Special:DoubleRedirects|bikoitzak]] eta [[Special:BrokenRedirects|apurtuak]].
Zure ardura da loturak behar den tokirantz bideratzea.
-Gogoan izan ezazu ezazu: orriaren izena <strong>ez</strong> da aldatuko baldin jarri nahi duzun izenburua duen orria dagoeneko sortuta badago, salbu eta historiarik gabeko birzuzenketa orri bat bada.
+Gogoan izan ezazu ezazu: orriaren izena <strong>ez</strong> da aldatuko baldin jarri nahi duzun izenburua duen orria dagoeneko sortuta badago, salbu eta historiarik gabeko birbideratze orri bat bada.
Hau da, nahasten baldin bazara, mugitu duzun orria lehengo izenburura itzultzeko modua badago, eta ezin duzun lehendik sortuta dagoen orri bat gainidatzi.
<strong>Kontuz!</strong>
Oso erabilia den orri batean, aldaketa hau bat-batekoa eta ustekabekoa izan liteke;
-zalantzarik baldin baduzu, lehenbizi adieraz ezazu zure asmoa eztabaida orrian, beste wikilarien iritziak jasotzeko.",
+zalantzarik baldin baduzu, lehenbizi adieraz ezazu zure asmoa eztabaida orrian, beste wikilarien iritziak jasotzeko.',
'movepagetalktext' => "Dagokion eztabaida orrialdea berarekin batera mugitu da, honako kasu hauetan '''ezik:'''
* Hutsik ez dagoen eztabaida orrialde bat existitzen bada izen berrian.
* Beheko koadroa hautatzen ez baduzu.
'pagemovedsub' => 'Mugimendua eginda',
'movepage-moved' => '\'\'\'"$1" "$2"(e)ra mugitu da\'\'\'',
'movepage-moved-redirect' => 'Birbideratze orri bat sortu da.',
-'movepage-moved-noredirect' => 'Birzuzenketa baten sorrera kendu da.',
+'movepage-moved-noredirect' => 'Birbideratzea sortzeko aukera kendu da.',
'articleexists' => 'Izen hori duen artikulu bat badago edo hautatutako izena ez da baliozkoa. Mesedez, beste izen bat aukeratu.',
'cantmove-titleprotected' => 'Ezin duzu orrialde bat leku honetara mugitu izenburu berri hori sor ez dadin babesa duelako',
'movetalk' => 'Eztabaida orrialdea ere mugitu, ahal bada.',
'imagenocrossnamespace' => 'Ezin da mugitu fitxategia fitxategiena ez den izen batera',
'imagetypemismatch' => 'Fitxategiaren luzapen berriak ez du bere motako fitxategiekin bat egiten',
'imageinvalidfilename' => 'Xede-artxiboaren izenak ez du balio',
-'fix-double-redirects' => 'Hasierako izenburura zuzentzen duten birzuzenketa guztiak aldatu',
-'move-leave-redirect' => 'Atzean birzuzenketa bat utzi',
+'fix-double-redirects' => 'Eguneratu jatorrizko izenburura zuzendutako birbideratze guztiak',
+'move-leave-redirect' => 'Utzi atzean birbideratzea',
'protectedpagemovewarning' => "'''Oharra:''' Orrialde hau babestua izan da, beraz administratzaile eskumenak dituztenek alda dezakete bakarrik.
Azken erregistroko sarrera ematen da azpian erreferentzia gisa:",
'semiprotectedpagemovewarning' => "'''Oharra:''' Orrialde hau blokeatu dute, izena emanda duten erabiltzaileek soilik mugitu ahal dezaten. Erregistroko azken sarrera erakusten da jarraian erreferentzia gisa:",
'logentry-move-move' => '$1 {{GENDER:$2|wikilariak}} «$3» orria «$4» izenera aldatu du',
'logentry-move-move-noredirect' => '$1 {{GENDER:$2|wikilariak}} $3 orria $4 izenera aldatu du, birzuzenketarik utzi gabe',
'logentry-move-move_redir' => '$1 {{GENDER:$2|wikilariak}} «$3» orria «$4» izenera aldatu du, birzuzenketaren gainetik',
-'logentry-move-move_redir-noredirect' => '$1 {{GENDER:wikilariak}} «$3» orria «$4» izenera aldatu du, birzuzenketa bat gainidatzita, birzuzenketarik utzi gabe',
+'logentry-move-move_redir-noredirect' => '$1 {{GENDER:wikilariak}} «$3» orria «$4» izenera aldatu du, birbideratze bat gainidatzita, birbideratzerik utzi gabe',
'logentry-patrol-patrol' => '$1(e)k $3 orrialdearen $4 berrikuzpena patruilatutzat {{GENDER:$2|markatu}} du',
'logentry-newusers-newusers' => '$1 erabiltzaile kontua sortu da',
'logentry-newusers-create' => '$1 erabiltzaile kontua sortu da',
'markedaspatrollederror' => 'برچسب گشت زده نشد',
'markedaspatrollederrortext' => 'باید یک نسخه را مشخص کنید تا برچسب گشت بخورد.',
'markedaspatrollederror-noautopatrol' => 'شما نمیتوانید به تغییرات انجام شده توسط خودتان برچسب گشت بزنید.',
-'markedaspatrollednotify' => 'این تغییر روی $1 برچسب گشت خورده است.',
+'markedaspatrollednotify' => 'این تغییر روی $1 برچسب گشت خورد.',
'markedaspatrollederrornotify' => 'زدن برچسب گشت، ناموفق بود.',
# Patrol log
'resetpass-abort-generic' => 'Laajennus keskeytti salasanan vaihdon.',
'resetpass-expired' => 'Salasanasi on vanhentunut. Valitse uusi salasana, jotta pääset kirjautumaan sisään.',
'resetpass-expired-soft' => 'Salasanasi on vanhentunut ja se pitää uudistaa. Valitse uusi salasana nyt tai paina "{{int:resetpass-submit-cancel}}", niin voit uudistaa salasanan myöhemmin.',
-'resetpass-validity-soft' => 'Valitse nyt uusi salasana tai paina "{{int:resetpass-submit-cancel}}", niin voit vaihtaa sen myöhemmin.',
+'resetpass-validity-soft' => 'Salasanasi ei ole kelvollinen: $1
+
+Valitse nyt uusi salasana tai paina "{{int:resetpass-submit-cancel}}", niin voit vaihtaa sen myöhemmin.',
# Special:PasswordReset
'passwordreset' => 'Salasanan uudistus',
'revdelete-text-text' => 'Poistetut versiot näkyvät edelleen sivun historiassa, mutta osa niiden sisällöstä ei enää ole saatavilla julkisesti.',
'revdelete-text-file' => 'Poistetut tiedostoversiot näkyvät yhä sivun historiassa, mutta osa niiden sisällöstä ei ole saatavilla julkisesti.',
'logdelete-text' => 'Poistetut lokimerkinnät näkyvät edelleen lokeissa, mutta osa niiden sisällöstä ei enää ole saatavilla julkisesti.',
+'revdelete-text-others' => 'Muut ylläpitäjät sivustolla {{SITENAME}} kykenevät silti näkemään piilotetun sisällön ja voivat palauttaa sen takaisin näkyviin tämän saman käyttöliittymän kautta, paitsi silloin kun lisärajoituksia on asetettu.',
'revdelete-confirm' => 'Varmista, että haluat tehdä tämän – ymmärrät seuraukset ja teet tämän [[{{MediaWiki:Policy-url}}|käytäntöjen]] mukaisesti.',
'revdelete-suppress-text' => "Häivytystä pitäisi käyttää '''vain''' seuraavissa tapauksissa:
* Mahdollisesti henkilön kunniaa loukkaavia tietoja
'mergelogpagetext' => 'Alla on loki viimeisimmistä muutoshistorioiden yhdistämisistä.',
# Diffs
-'history-title' => 'Sivun $1 muutoshistoria',
-'difference-title' => 'Ero sivun $1 versioiden välillä',
-'difference-title-multipage' => 'Erot sivujen $1 ja $2 välillä',
+'history-title' => 'Sivun "$1" muutoshistoria',
+'difference-title' => 'Ero sivun "$1" versioiden välillä',
+'difference-title-multipage' => 'Erot sivujen "$1" ja "$2" välillä',
'difference-multipage' => '(Sivujen välinen eroavaisuus)',
'lineno' => 'Rivi $1:',
'compareselectedversions' => 'Vertaile valittuja versioita',
'recentchanges-legend-heading' => "'''Selitys:'''",
'recentchanges-legend-newpage' => '(katso myös [[Special:NewPages|lista uusista sivuista]])',
'recentchanges-legend-plusminus' => "(''±123'')",
-'rcnotefrom' => 'Alla on muutokset <b>$2</b> lähtien. Enintään <b>$1</b> merkintää näytetään.',
+'rcnotefrom' => 'Alla ovat muutokset <strong>$2</strong> lähtien. (Enintään <strong>$1</strong> näytetään.)',
'rclistfrom' => 'Näytä uudet muutokset $1 alkaen',
'rcshowhideminor' => '$1 pienet muutokset',
'rcshowhideminor-show' => 'Näytä',
'backend-fail-batchsize' => 'Taustajärjestelmälle on annettu $1 {{PLURAL:$1|tiedostotoiminto|toimintoa}}; enimmäismäärä on $2 {{PLURAL:$2|tiedostotoiminto|toimintoa}}.',
'backend-fail-usable' => 'Tiedostoa $1 ei voitu lukea tai luoda, koska käyttöoikeudet eivät riittäneet tai hakemisto puuttuu.',
+# File journal errors
+'filejournal-fail-dbconnect' => 'Ei voitu yhdistää kohteeseen journal database for storage backend "$1".',
+'filejournal-fail-dbquery' => 'Ei voitu päivittää kohdetta journal database for storage backend "$1".',
+
# Lock manager
'lockmanager-notlocked' => 'Kohteen $1 lukitusta ei voitu poistaa, koska se ei ole lukittu.',
'lockmanager-fail-closelock' => 'Tiedoston $1 lukkotiedostoa ei voitu sulkea.',
# List redirects
'listredirects' => 'Ohjaukset',
+# List duplicated files special page
+'listduplicatedfiles' => 'Luettelo tiedostoista, joista on kaksoiskappale.',
+'listduplicatedfiles-entry' => 'Tiedostosta [[:File:$1|$1]] on olemassa [[$3|{{PLURAL:$2|kaksoiskappale|$2 kaksoiskappaletta}}]].',
+
# Unused templates
'unusedtemplates' => 'Käyttämättömät mallineet',
'unusedtemplatestext' => 'Tässä on lista nimiavaruuden {{ns:template}} kaikista sivuista, joita ei ole liitetty toiselle sivulle. Muista tarkistaa onko malline siitä huolimatta käytössä.',
'excontentauthor' => 'sisälsi: ”$1” (ainoa muokkaaja oli $2)',
'exbeforeblank' => 'ennen tyhjentämistä sisälsi: ”$1”',
'exblank' => 'oli tyhjä',
-'delete-confirm' => 'Sivun ”$1” poistaminen',
+'delete-confirm' => 'Poista ”$1”',
'delete-legend' => 'Sivun poisto',
'historywarning' => "'''Varoitus:''' Sivua, jota olet poistamassa, on muokattu noin $1 {{PLURAL:$1|kerta|kertaa}}:",
'confirmdeletetext' => 'Olet poistamassa sivun tai tiedoston ja kaiken sen historian. Ymmärrä teon seuraukset ja tee poisto {{GRAMMAR:genitive|{{SITENAME}}}} [[{{MediaWiki:Policy-url}}|käytäntöjen]] mukaisesti.',
'protect-locked-blocked' => "Et voi muuttaa sivun suojauksia, koska sinut on estetty. Alla on sivun ”'''$1'''” nykyiset suojaukset:",
'protect-locked-dblock' => "Sivun suojauksia ei voi muuttaa, koska tietokanta on lukittu. Alla on sivun ”'''$1'''” nykyiset suojaukset:",
'protect-locked-access' => "Sinulla ei ole tarvittavia oikeuksia sivujen suojauksen muuttamiseen. Alla on sivun ”'''$1'''” nykyiset suojaukset:",
-'protect-cascadeon' => 'Tämä sivu on suojauksen kohteena, koska se on sisällytetty alla {{PLURAL:$1|olevaan tartuttavasti suojattuun sivuun|oleviin tartuttavasti suojattuihin sivuihin}}. Voit muuttaa tämän sivun suojaustasoa, mutta se ei vaikuta tarttuvaan suojaukseen.',
+'protect-cascadeon' => 'Tämä sivu on suojauksen kohteena, koska se on sisällytetty alla {{PLURAL:$1|olevaan suojattuun sivuun, jossa|oleviin suojattuihin sivuihin, joissa}} on kytketty tarttuva suojaus päälle.
+
+Tämän sivun suojaustasoon tehdyillä muutoksilla ei ole vaikutusta sivuun muualta tarttuneeseen suojaukseen.',
'protect-default' => 'Salli kaikki käyttäjät',
'protect-fallback' => 'Salli vain käyttäjät, joilla on oikeus $1',
'protect-level-autoconfirmed' => 'Vain hyväksytyt käyttäjät',
'lockedbyandtime' => '(lukinnut {{GENDER:$1|$1}} $2 kello $3)',
# Move page
-'move-page' => 'Sivun $1 siirto',
+'move-page' => 'Siirrä $1',
'move-page-legend' => 'Siirrä sivu',
'movepagetext' => "Alla olevalla lomakkeella voit nimetä uudelleen sivuja, jolloin niiden koko historia siirtyy uuden nimen alle.
Vanhasta sivusta tulee ohjaussivu, joka osoittaa uuteen sivuun.
'watchlistedit-numitems' => 'Tarkkailulistallasi on {{PLURAL:$1|yksi sivu|$1 sivua}}, lukuun ottamatta keskustelusivuja.',
'watchlistedit-noitems' => 'Tarkkailulistasi on tyhjä.',
'watchlistedit-normal-title' => 'Tarkkailulistan muokkaus',
-'watchlistedit-normal-legend' => 'Sivut',
+'watchlistedit-normal-legend' => 'Poista sivuja tarkkailulistalta',
'watchlistedit-normal-explain' => 'Tarkkailulistasi sivut on lueteltu alla. Voit poistaa sivuja valitsemalla niitä vastaavat valintaruudut ja napsauttamalla ”{{int:Watchlistedit-normal-submit}}”. Voit myös muokata listaa [[Special:EditWatchlist/raw|tekstimuodossa]].',
-'watchlistedit-normal-submit' => 'Poista',
+'watchlistedit-normal-submit' => 'Poista kohteet',
'watchlistedit-normal-done' => '{{PLURAL:$1|Yksi sivu|$1 sivua}} poistettiin tarkkailulistaltasi:',
'watchlistedit-raw-title' => 'Tarkkailulistan muokkaus',
'watchlistedit-raw-legend' => 'Tarkkailulistan muokkaus',
'watchlistedit-raw-removed' => '{{PLURAL:$1|Yksi sivu|$1 sivua}} poistettiin:',
# Watchlist editing tools
-'watchlisttools-view' => 'Näytä muutokset',
-'watchlisttools-edit' => 'Muokkaa listaa',
-'watchlisttools-raw' => 'Lista raakamuodossa',
+'watchlisttools-view' => 'Näytä tarkkaillut muutokset',
+'watchlisttools-edit' => 'Katso ja muokkaa tarkkailulistaa',
+'watchlisttools-raw' => 'Muokkaa listaa raakamuodossa',
# Signatures
'signature' => '[[{{ns:user}}:$1|$2]] ([[{{ns:user_talk}}:$1|keskustelu]])',
'compare-rev1' => 'Versio 1',
'compare-rev2' => 'Versio 2',
'compare-submit' => 'Vertaa',
-'compare-invalid-title' => 'Antamasi otsikko on virheellinen.',
+'compare-invalid-title' => 'Antamasi sivun nimi on virheellinen.',
'compare-title-not-exists' => 'Määrittämääsi sivua ei ole.',
'compare-revision-not-exists' => 'Määrittämääsi versiota ei ole.',
'rotate-comment' => 'Kuvaa käännettiin $1 {{PLURAL:$1|aste|astetta}} myötäpäivään',
# Limit report
-'limitreport-title' => 'Jäsentimen profilointitiedot',
+'limitreport-title' => 'Jäsentimen profilointitiedot:',
'limitreport-cputime' => 'Suorittimen ajankäyttö',
'limitreport-cputime-value' => '$1 {{PLURAL:$1|sekunti|sekuntia}}',
'limitreport-walltime' => 'Todellinen ajankäyttö',
'limitreport-walltime-value' => '$1 {{PLURAL:$1|sekunti|sekuntia}}',
-'limitreport-ppvisitednodes' => 'Esikääntäjän läpikäymien solmujen määrä',
+'limitreport-ppvisitednodes' => 'Esikääntäjän läpikäymien solmujen määrä<br />(preprocessor visited node count)',
+'limitreport-ppgeneratednodes' => 'Esikääntäjän synnyttämien solmujen määrä <br />(preprocessor generated node count)',
'limitreport-postexpandincludesize-value' => '$1/$2 {{PLURAL:$2|tavu|tavua}}',
-'limitreport-templateargumentsize' => 'Mallineen argumenttien koko',
+'limitreport-templateargumentsize' => 'Mallineen argumenttien koko<br />(template argument size)',
'limitreport-templateargumentsize-value' => '$1/$2 {{PLURAL:$2|tavu|tavua}}',
'limitreport-expansiondepth' => 'Highest expansion depth',
'limitreport-expensivefunctioncount' => 'Vaativien parserfunktioiden määrä',
# Special:ExpandTemplates
-'expandtemplates' => 'Mallineiden laajennus',
+'expandtemplates' => 'Laajenna mallineet',
'expand_templates_intro' => 'Tämä toimintosivu ottaa syötteeksi tekstiä ja laajentaa kaikki siinä olevat mallineet rekursiivisesti.
Se myös laajentaa tuetut parserifunktiot kuten
<code><nowiki>{{</nowiki>#language:...}}</code> ja -muuttujat kuten
# List redirects
'listredirects' => 'Liste des redirections',
+# List duplicated files special page
+'listduplicatedfiles' => 'Liste de fichiers en double',
+'listduplicatedfiles-summary' => "C'est une liste de fichiers où la version la plus récente du fichier est une copie de la version la plus récente d'un autre fichier. Seuls les fichiers locaux sont examinés.",
+'listduplicatedfiles-entry' => '[[:Fichier:$1|$1]] a [[$3|{{PLURAL:$2|un doublon|$2 doublons}}]].',
+
# Unused templates
'unusedtemplates' => 'Modèles inutilisés',
'unusedtemplatestext' => 'Cette page liste toutes les pages de l’espace de noms « {{ns:template}} » qui ne sont incluses dans aucune autre page.
'gotaccountlink' => 'Uunmelde',
'userlogin-resetlink' => 'Heest dü din login dooten ferjiden?',
'userlogin-resetpassword-link' => 'Paaswurd ferjiden?',
+'userlogin-helplink2' => "Halep bi't uunmeldin",
'userlogin-loggedin' => 'Du beest al üs {{GENDER:$1|$1}} uunmeldet.
Brük det formulaar diar oner, am di mä en öödern nööm uuntumeldin.',
'userlogin-createanother' => 'En ööder brükerkonto iinracht',
'loginlanguagelabel' => 'Spriak: $1',
'suspicious-userlogout' => 'Din ufmeldang as ei föörnimen wurden, auer det uunfraag ferlicht faan en uunstakenen browser of faan en cache-proxy kaam.',
'createacct-another-realname-tip' => 'Stäänt tu wool. Wan dü dan rochten nööm uundääst, koon hi mä din feranrangen ferbünjen wurd.',
+'pt-login' => 'Uunmelde',
+'pt-login-button' => 'Uunmelde',
+'pt-createaccount' => 'Brükerkonto iinracht',
+'pt-userlogout' => 'Ufmelde',
# Email sending
'php-mail-error-unknown' => 'Ünbekäänd feeler mä det funktjuun mail() faan PHP.',
# Change password dialog
'changepassword' => 'Paaswurd feranre',
-'resetpass_announce' => 'Dü heest di mä di code uunmeldet, di dü per e-mail tuschüürd füngen heest.
-Am det uunmeldin uftuslütjen, skel dü en nei paaswurd iindu.',
+'resetpass_announce' => 'Am det uunmeldin uftuslütjen, skel dü en nei paaswurd iindu.',
'resetpass_header' => 'Paaswurd feranre',
'oldpassword' => 'Ual paaswurd:',
'newpassword' => 'Nei paaswurd:',
'resetpass-wrong-oldpass' => 'Detdiar paaswurd docht niks.
Ferlicht heest dü jüst din paaswurd feranert
of am en nei paaswurd uunfraaget.',
+'resetpass-recycled' => 'Wees so gud an lei en nei paaswurd fääst.',
+'resetpass-temp-emailed' => 'Dü heest di mä en tidjwiis code uunmeldet.
+Am det uunmeldin uftuslütjen, lei nü en nei paaswurd fääst:',
'resetpass-temp-password' => 'Tidjwiis paaswurd:',
'resetpass-abort-generic' => 'Det paaswurd-anerang as ferhanert wurden.',
+'resetpass-expired' => 'Din paaswurd as uflepen. Wees so gud an lei en nei paaswurd fääst.',
+'resetpass-expired-soft' => 'Din paaswurd as uflepen an skal turagsaat wurd. Wees so gud an lei en nei paaswurd fääst of trak üüb "{{int:resetpass-submit-cancel}}", am det leeder turag tu saaten.',
+'resetpass-validity-soft' => 'Din paaswurd gongt ei: $1
+
+Wees so gud an lei en nei paaswurd fääst, of trak üüb "{{int:resetpass-submit-cancel}}" am det leeder turag tu saaten.',
# Special:PasswordReset
'passwordreset' => 'Paaswurd turagsaat',
'revdelete-show-file-submit' => 'Ja',
'revdelete-selected' => "'''{{PLURAL:$2|Ütjsoocht werjuun|Ütjsoocht werjuunen}} faan [[:$1]]:'''",
'logdelete-selected' => "'''{{PLURAL:$1|Ütjsoocht logbukiindrach|Ütjsoocht logbukiindracher}}:'''",
+'revdelete-text-text' => "Stregen werjuunen bliiw uun't werjuunshistoore, man dialen diarfaan san ei för arken tu sen.",
+'revdelete-text-file' => "Stregen datei-werjuunen bliiw uun't werjuunshistoore, man dialen diarfaan san ei för arken tu sen.",
+'logdelete-text' => 'Stregen logbuk-iindracher bliiw uun a logbuken, man dialen diarfaan san ei för arken tu sen.',
+'revdelete-text-others' => 'Ööder administratooren faan {{SITENAME}} kön widjerhen ales uunluke an kön det uk weder mä detheer spezial-sidj iinstel, wan diar niks ööders uun a wai as.',
'revdelete-confirm' => 'Ferseekre noch ans, dat dü det würelk du wel, dat dü witjst, wat dü dääst, an dat det mä a [[{{MediaWiki:Policy-url}}|bestemangen]] auerian stemet.',
'revdelete-suppress-text' => "Det skul '''bluas''' onertrakt wurd bi:
* Persöönelk informatsjuunen, diar näämen wat uungung
'search-file-match' => '(fünjen tekst)',
'search-suggest' => 'Mendst dü „$1“?',
'search-interwiki-caption' => 'Saster-projekten',
-'search-interwiki-default' => '$1 resultaaten:',
+'search-interwiki-default' => 'Resultaaten faan $1:',
'search-interwiki-more' => '(muar)',
'search-relatedarticle' => 'Ferbünjen',
'searcheverything-enable' => 'Uun arke nöömrüm schük',
'recentchanges-legend-heading' => "'''Ferklaarang:'''",
'recentchanges-legend-newpage' => "(luke uk bi't [[Special:NewPages|list mä nei sidjen]])",
'recentchanges-legend-plusminus' => "(''±123'')",
-'rcnotefrom' => "Diar wurd a feranrangen sant '''$2'''uunwiset (ei muar üs '''$1''' feranrangen).",
+'rcnotefrom' => 'Diar wurd a feranrangen sant <strong>$2</strong>uunwiset (ei muar üs <strong>$1</strong> feranrangen).',
'rclistfrom' => 'Bluas feranrangen sant $1 wise.',
'rcshowhideminor' => '$1 letj feranrangen',
+'rcshowhideminor-show' => 'Wise',
+'rcshowhideminor-hide' => 'Fersteeg',
'rcshowhidebots' => '$1 bots',
+'rcshowhidebots-show' => 'Wise',
+'rcshowhidebots-hide' => 'Fersteeg',
'rcshowhideliu' => '$1 registriaret brükern',
+'rcshowhideliu-show' => 'Wise',
+'rcshowhideliu-hide' => 'Fersteeg',
'rcshowhideanons' => '$1 anonüüm brükern',
+'rcshowhideanons-show' => 'Wise',
+'rcshowhideanons-hide' => 'Fersteeg',
'rcshowhidepatr' => '$1 efterluket feranrangen',
+'rcshowhidepatr-show' => 'Wise',
+'rcshowhidepatr-hide' => 'Fersteeg',
'rcshowhidemine' => '$1 min bidracher',
+'rcshowhidemine-show' => 'Wise',
+'rcshowhidemine-hide' => 'Fersteeg',
'rclinks' => 'Wise a leetst $1 feranrangen faan a leetst $2 daar.<br />$3',
'diff' => 'ferskeel',
'hist' => 'werjuunen',
'php-uploaddisabledtext' => 'Det huuchschüüren faan datein as uun PHP ei aktiwiaret.
Luke di det iinstelang faan <code>file_uploads</code> uun.',
'uploadscripted' => 'Uun detdiar datei stäänt HTML- of Scriptcode, an küd ütj fersen faan en browser ütjfeerd wurd.',
+'uploadscriptednamespace' => 'Detdiar SVG-datei wiset üüb en ferkiarden nöömrüm "$1".',
'uploadinvalidxml' => "Det XML uun det huuchschüürd datei küd ei ''parset'' wurd.",
'uploadvirus' => 'Uun detdiar datei as en wiirus! Details: $1',
'uploadjava' => 'Detdiar as en ZIP-datei mä en CLASS-datei faan Java.
# List redirects
'listredirects' => 'Widjerfeerangen',
+# List duplicated files special page
+'listduplicatedfiles' => 'List faan datein mä duplikaaten',
+'listduplicatedfiles-summary' => 'Det as en list mä datein, huar det aktuel werjuun en duplikaat faan en ööder datei as. Det gongt bluas am lokaal datein.',
+'listduplicatedfiles-entry' => '[[:File:$1|$1]] hää [[$3|{{PLURAL:$2|en duplikaat|$2 duplikaaten}}]].',
+
# Unused templates
'unusedtemplates' => 'Ei iinbünjen föörlaagen',
'unusedtemplatestext' => 'Sidjen uun a {{ns:template}}-nöömrüm, diar ei uun ööder sidjen iinbünjen san.
'deadendpagestext' => 'Jodiar sidjen ferwise ei üüb ööder sidjen uun {{SITENAME}}.',
'protectedpages' => 'Seekert sidjen',
'protectedpages-indef' => 'Bluas permanent seekert sidjen uunwise',
+'protectedpages-summary' => 'Detdiar sidj feert seekert sidjen ap. En list mä seekert sidjennöömer fanjst dü diar: „[[{{#special:ProtectedTitles}}|{{int:protectedtitles}}]]“.',
'protectedpages-cascade' => 'Bluas sidjen mä kaskaaden-seekerhaid',
'protectedpages-noredirect' => 'Widjerfeerangen fersteeg',
'protectedpagesempty' => 'Uun uugenblak san sok sidjen ei seekert.',
'protectedpages-unknown-timestamp' => 'Ünbekäänd',
'protectedpages-unknown-performer' => 'Ünbekäänd brüker',
'protectedtitles' => 'Seekert sidjennöömer',
+'protectedtitles-summary' => 'Detdiar sidj feert seekert sidjennöömer ap. En list mä seekert sidjen fanjst dü diar: „[[{{#special:ProtectedPages}}|{{int:protectedpages}}]]“.',
'protectedtitlesempty' => 'Uun uugenblak san sok sidjen ei speret.',
'listusers' => 'Brükerfertiaknis',
'listusers-editsonly' => 'Wise bluas aktiif brükern',
'delete-edit-reasonlist' => "Grünjer för't striken bewerke",
'delete-toobig' => 'Detdiar sidj hää muar üs $1 {{PLURAL:$1|werjuun|werjuunen}} . Sok sidjen kön ei so gau stregen wurd, ööders san a servers plaat.',
'delete-warning-toobig' => "Detdiar sidj hää muar üs $1 {{PLURAL:$1|werjuun|werjuunen}} . Det striken koon komer maage bi't dootenbeenk.",
-'deleting-backlinks-warning' => "'''Paase üüb:''' Diar ferwise noch ööder sidjen üüb det sidj, diar dü strik wel. Of det sidj as noch huarööders iinbünjen.",
+'deleting-backlinks-warning' => "'''Paase üüb:''' Diar ferwise noch [[Special:WhatLinksHere/{{FULLPAGENAME}}|ööder sidjen]] üüb det sidj, diar dü strik wel. Of det sidj as noch huarööders iinbünjen.",
# Rollback
'rollback' => 'Feranrangen turagsaat',
'sp-contributions-blocked-notice' => "Didiar brüker as speret. Det stäänt uun't sperlogbuk:",
'sp-contributions-blocked-notice-anon' => "Detdiar IP-adres as speret. Det stäänt uun't sperlogbuk:",
'sp-contributions-search' => 'Schük efter brükerbidracher',
+'sp-contributions-suppresslog' => 'Ei uunwiset brüker-bidracher',
'sp-contributions-username' => 'IP-adres of brükernööm:',
'sp-contributions-toponly' => 'Bluas aktuel werjuunen wise',
+'sp-contributions-newonly' => 'Bluas nei maaget sidjen wise',
'sp-contributions-submit' => 'Schük',
# What links here
'invalidtitle-knownnamespace' => '使用名字空間「$2」與文本「$3」嘅無效標題',
'invalidtitle-unknownnamespace' => '使用未知名字空間編號$1與文本“$2”嘅無效標題',
'exception-nologin' => '還吂登入',
-'exception-nologin-text' => '你愛登入本wiki正做得查閲邇頁或進行操作。',
+'exception-nologin-text' => '汝愛[[Special:Userlogin|登入]]本wiki查看邇頁或者進行操作。',
# Virus scanner
'virus-badscanner' => "損壞設定: 未知嘅病毒掃瞄器: ''$1''",
'virus-unknownscanner' => '還吂知嘅反病毒軟件:',
# Login and logout pages
-'logouttext' => "汝已經登出。
+'logouttext' => "'''汝今下既經登出。'''
-汝做得用匿名方式繼續使用{{SITENAME}},或用相同或毋同用戶身份<span class='plainlinks'>[$1 登入]</span>。
-請注意,假使汝再次登入,本頁可能會繼續顯示,直到汝清除瀏覽器緩存。",
+請注意一兜頁面可能還顯示汝係登入狀態,一直到汝清空汝嘅瀏覽器緩存為止。",
'welcomeuser' => '歡迎,$1!',
'welcomecreation-msg' => '汝嘅賬號已經建立。
莫添忘訖設置[[Special:Preferences|{{SITENAME}}嘅個人參數]]。',
'gotaccount' => '已經擁有帳號係無?$1。',
'gotaccountlink' => '登入',
'userlogin-resetlink' => '毋記得汝嘅登入信息?',
-'userlogin-resetpassword-link' => '重置爾嘅密碼',
+'userlogin-resetpassword-link' => '添忘訖汝嘅密碼?',
'createacct-join' => '輸入汝嘅基本資料:',
'createacct-emailrequired' => '電郵地址:',
'createacct-emailoptional' => '電郵地址(可選)',
'createacct-email-ph' => '設置電郵地址',
-'createaccountmail' => '使用一隻臨時嘅隨機密碼,並發送其到以下指定嘅電子郵件地址',
+'createaccountmail' => '使用一隻臨時嘅隨機密碼,並將其發送到指定嘅電子郵件地址',
'createacct-realname' => '實名(可選)',
'createaccountreason' => '原因:',
'createacct-reason' => '原因',
'passwordtooshort' => '汝嘅密碼毋得少過$1隻字符。',
'password-name-match' => '汝嘅密碼必須撈汝嘅用戶名毋相同。',
'password-login-forbidden' => '邇隻用戶名稱及密碼嘅使用係分禁止嘅。',
-'mailmypassword' => '用電郵寄新密碼分亻厓',
+'mailmypassword' => '重設密碼',
'passwordremindertitle' => '{{SITENAME}}嘅新臨時密碼',
'passwordremindertext' => '有人(可能係汝本人,來自IP地址$1)已請求{{SITENAME}}嘅新密碼 ($4)。
用戶"$2"嘅一隻新臨時密碼今下已分設定好為"$3"。
'passwordsent' => '用戶“$1”嘅新密碼已經寄到所登記嘅電子郵件地址。
請在收到後再登入。',
'blocked-mailpassword' => '汝嘅IP地址處於查封狀態故所毋允許編輯,為矣安全起見,密碼恢復功能已分禁用。',
-'eauthentsent' => '一封確認信已經發送到推薦地址。在發送其它郵件到邇隻賬戶前,汝必須首先按照邇封信肚嘅指導確認邇隻電子郵件信箱真實有效。',
+'eauthentsent' => '一封確認信已經發送到汝設定嘅電郵地址。
+在任何其他郵件發到賬戶之前,汝必須首先照邇封信嘅指示,確認介隻賬戶確實係汝嘅。',
'throttled-mailpassword' => '密碼提醒已經在最近$1小時內發送。
為防止濫用,限定在$1小時內僅發送一次密碼提醒。',
'mailerror' => '發送郵件出差錯:$1',
'acct_creation_throttle_hit' => '在邇隻wiki上係話訪客利用汝个IP地址在昨天創建矣$1個賬戶,係在邇段時間肚的上限。
結果利用這個IP地址个訪客在邇段時間中無辦法創建更多个賬戶。',
-'emailauthenticated' => '汝嘅電郵地址已經於$2 $3確認有效。',
+'emailauthenticated' => '汝嘅電郵地址已經於$2 $3確認。',
'emailnotauthenticated' => '汝嘅郵箱地址<strong>還無分認証</strong>。以下功能將毋會發送任何郵件。',
'noemailprefs' => '在嘅嘅偏好設定肚指定一隻電子郵件地址來使用邇隻功能。',
'emailconfirmlink' => '確認汝嘅郵箱地址',
'noindex-category' => 'Nā ʻAoʻao i hoʻopapakuhikuhi kikoʻī ʻia',
'about' => 'No ia',
+'article' => 'ʻAoʻao mealoko',
'newwindow' => '(wehe ʻia i loko o kekahi pukaaniani hou)',
'cancel' => 'Ho‘ōki',
'moredotdotdot' => 'Nā mea ʻē aʻe...',
+'morenotlisted' => 'ʻAʻole pau kēia papahelu.',
'mypage' => 'Ka‘u ‘ao‘ao',
'mytalk' => 'Ka‘u walaʻau',
'anontalk' => 'Walaʻau no kēia IP',
'searcharticle' => 'E huli',
'history' => 'Mōʻaukala ʻaoʻao',
'history_short' => 'Mōʻaukala',
+'updatedmarker' => 'ua hoʻopuka hou mahope mai koʻu kipa ʻana mai mua',
'printableversion' => 'Mana paʻi pono',
'permalink' => 'Loulou paʻa',
'print' => 'Pa‘i',
'badaccess' => 'Hewa ‘aena',
+'versionrequired' => 'Noi ʻia ka mana $1 o MekiaWiki',
+'versionrequiredtext' => 'Noi ʻia ka mana $1 o MekiaWiki no ka hoʻohana ʻana o kēia ʻaoʻao.
+ʻIke i ka [[Special:Version|ʻaoʻao mana]].',
+
'ok' => 'Hiki nō',
'retrievedfrom' => 'Kiʻi ʻia mai "$1"',
'youhavenewmessages' => '$1 {{PLURAL:$3|kāu}} ($2).',
'page-rss-feed' => 'Hānaīke RSS o "$1"',
'page-atom-feed' => 'Hānaīke Atom o "$1"',
'red-link-title' => '$1 (haku ʻia ʻole)',
+'sort-descending' => 'Wae iho',
+'sort-ascending' => 'Wae piʻi',
# Short words for each namespace, by default used in the namespace tab in monobook
'nstab-main' => 'ʻAoʻao',
'directorycreateerror' => 'ʻAʻole hiki ke haku ka papakuhi waihona "$1"',
'filenotfound' => '‘A‘ole hiki ke loa‘a ka waihona "$1".',
'fileexistserror' => 'ʻAʻole hiki ke kākau i ka waihona "$1": Aia no ia.',
+'cannotdelete-title' => 'Hiki ʻole ke holoi iā "$1"',
'badtitle' => 'Inoa ʻohe',
'badtitletext' => 'ʻAʻohe paha, hakahaka paha aiʻole loulou hewa paha ka poʻoinoa ʻaoʻao.
Loaʻa paha nā hua kikokikona e hiki ʻole ke hana i nā poʻoinoa.',
'createaccount-title' => 'Kāinoa moʻokāki no {{SITENAME}}',
'loginlanguagelabel' => 'ʻŌlelo: $1',
'pt-login' => 'ʻEʻe',
+'pt-login-button' => 'ʻEʻe',
'pt-createaccount' => 'Kāinoa',
'pt-userlogout' => 'Haʻalele',
'changeemail-newemail' => 'Wahinoho lekauila hou:',
'changeemail-none' => '(ʻaʻohe)',
'changeemail-password' => 'Kāu ʻōlelo hūnā {{SITENAME}}:',
+'changeemail-submit' => 'Loli i kāu lekauila',
'changeemail-cancel' => 'Hoʻōki',
# Edit page toolbar
E hoʻopaʻa ʻia ana kāu IP ma ko kēia ʻaoʻao mōʻaukala hoʻololi.',
'blockedtitle' => 'Ua pale ‘ia ka mea ho‘ohana',
'blockednoreason' => '‘a‘ohe kumu',
+'loginreqtitle' => 'Noi i ka ʻeʻe ʻana',
'loginreqlink' => 'ʻeʻe',
'accmailtitle' => 'Ua ho‘ouna ‘ia ka ‘ōlelo hūnā',
'newarticle' => '(Hou)',
Hiki iā ʻoe ke [[Special:Search/{{PAGENAME}}|huli no kēia inoa ʻaoʻao]] i nā ʻaoʻao ʻē aʻe, <span class="plainlinks">[{{fullurl:SpecialLog|page={{FULLPAGENAMEE}}}} huli i nā moʻolelo pili], a i ʻole [{{fullurl:{{FULLPAGENAME}}|action=edit}} hoʻololi i kēia ʻaoʻao]</span>.',
'noarticletext-nopermission' => 'ʻAʻohe kikokikona a kēia ʻaoʻao.
Hiki iā ʻoe ke [[Special:Search/{{PAGENAME}}|huli no kēia inoa ʻaoʻao]] i nā ʻaoʻao ʻē aʻe aiʻole <span class="plainlinks">[{{fullurl:SpecialLog|page={{FULLPAGENAMEE}}}} huli i nā moʻolelo pili]</span>, akā hiki ʻole iā ʻoe ke hoʻololi i kēia ʻaoʻao.',
+'updated' => '(Hoʻopuka hou ʻia)',
+'note' => '<strong>E noka:</strong>',
'previewnote' => '<strong>ʻO kēia ka nāmua wale nō.</strong>
‘A‘ole mālama ‘ia nā ho‘ololi!',
'continue-editing' => 'Kele i kahi hoʻololi',
'template-semiprotected' => '(hapa-ho‘omalu ‘ia)',
'hiddencategories' => 'ʻO kēia ʻaoʻao he lālā o {{PLURAL:$1|1 mahele hūnā|$1 mau māhele hūnā}}:',
'edittools' => '<!-- Eia ka ‘ōlelo e hō‘ike ‘ia malalo o nā palapala ho‘ololi ame nā palapala ho‘ohui. -->',
+'nocreate-loggedin' => 'Loaʻa ʻole iā ʻoe nā kūleana no ka haku ʻana o nā ʻaoʻao hou.',
'permissionserrorstext-withaction' => 'ʻAʻohe āu ʻae no $2, no {{PLURAL:$1|kumu| mau kumu}}:',
'recreate-moveddeleted-warn' => '<strong>E akahele: Ke haku nei ʻoe i kekahi ʻaoʻao i holoi ʻia.</strong>
Aia ka moʻolelo holoi a hoʻoneʻe no kēia ʻaoʻao ma ʻaneʻi:',
'moveddeleted-notice' => 'Ua holoi ʻia kēia ʻaoʻao.
Hoʻolako ʻia ka moʻolelo holoi a hoʻoneʻe no kēia ʻaoʻao i lalo no ke kūmole.',
+'log-fulllog' => 'Nānā i ka moʻolelo piha',
+'postedit-confirmation' => 'Ua mālama ʻia kāu hoʻololi',
+'defaultmessagetext' => 'Kikokikona pūlono pa‘amau',
+
+# Content models
+'content-model-wikitext' => 'kikokikonawiki',
+'content-model-javascript' => 'IawaSikulipa',
# Parser/template warnings
'post-expand-template-inclusion-warning' => '<strong>E akahele:</strong> Hoʻokela ʻia ka palena nui o ke anakuhi.
# Revision deletion
'rev-delundel' => 'hoʻololi ka nānā ʻana',
+'rev-showdeleted' => 'hōʻike',
+'revisiondelete' => 'Holoi/holoi ʻole i nā kāmua',
'revdelete-show-file-submit' => 'ʻAe',
+'revdelete-hide-text' => 'Kikokikona kāmua',
+'revdelete-hide-image' => 'Hoʻohūnā i nā waihona mealoko',
+'revdelete-hide-comment' => 'Hoʻololi i ka hōʻuluʻulu manaʻo',
'revdelete-radio-same' => '(mai hoʻololi)',
'revdelete-radio-set' => 'ʻAe',
'revdelete-radio-unset' => 'ʻAʻole',
'deletedhist' => 'Mōʻaukala holoi',
'revdelete-otherreason' => 'Nā kumu ʻē aʻe',
'revdelete-reasonotherlist' => 'Nā kumu ʻē aʻe',
+'revdelete-edit-reasonlist' => 'Hoʻololi i nā kumu holoi',
'revdelete-offender' => 'Mea kākau kāmua:',
# History merging
'search-suggest' => 'ʻO kēia paha kou manaʻo: $1',
'search-interwiki-caption' => 'Nā pāhana ʻē aʻe',
'search-interwiki-more' => '(hou aʻe)',
+'search-relatedarticle' => 'Nā Mea ʻālike',
'searchrelated' => 'na mea ʻālike',
'searchall' => 'nā mea apau',
'showingresultsheader' => '{{PLURAL:$5|<strong>$1</strong> hualoaʻa o <strong>$3</strong> mau hualoaʻa|<strong$1-$2</strong> mau hualoaʻa o <strong>$3</strong> mau hualoaʻa}} no <strong>$4</strong>',
'search-nonefound' => 'ʻAʻohe hualoaʻa no kēia huli.',
'powersearch-legend' => 'Hulina kūlana kiʻekiʻe',
'powersearch-ns' => 'Huli i loko o nā wahi inoa:',
+'powersearch-togglelabel' => 'Hōʻoia:',
'powersearch-toggleall' => 'Nā mea apau',
'powersearch-togglenone' => 'ʻAʻohe',
'search-external' => 'Huli kūwaho',
'prefs-advancedediting' => 'Koho paʻamau',
'prefs-editor' => 'Luna Hoʻoponopono:',
'prefs-preview' => 'Nāmua',
+'prefs-advancedrc' => 'Koho kiʻelē',
+'prefs-advancedrendering' => 'Koho kiʻelē',
+'prefs-advancedsearchoptions' => 'Koho kiʻelē',
+'prefs-advancedwatchlist' => 'Koho kiʻelē',
+'prefs-displayrc' => 'Koho nānā',
+'prefs-displaysearchoptions' => 'Koho nānā',
+'prefs-displaywatchlist' => 'Koho nānā',
+'prefs-diffs' => 'ʻOkoʻa',
# User rights
'userrights' => 'Ho‘oponopono ‘ana o nā kuleana',
'newuserlogpage' => 'Moʻolelo haku mea hoʻohana',
# Associated actions - in the sentence "You do not have permission to X"
+'action-read' => 'heluhelu i kēia ʻaoʻao',
'action-edit' => 'ka hoʻololi ʻana i kēia ʻaoʻao',
+'action-createpage' => 'haku ʻaoʻao',
+'action-createtalk' => 'haku ʻaoʻao kūkākūkā',
+'action-createaccount' => 'kāinoa i kēia moʻokāki mea hoʻohana',
# Recent changes
'nchanges' => '$1 {{PLURAL:$1|loli|mau loli}}',
'license-header' => 'Laikini',
# Special:ListFiles
+'imgfile' => 'waihona',
+'listfiles' => 'Papahelu waihona',
+'listfiles_thumb' => 'Kiʻiliʻi',
+'listfiles_date' => 'Lā',
'listfiles_name' => 'Inoa',
+'listfiles_user' => 'Mea hoʻohana',
+'listfiles_size' => 'Nui',
+'listfiles_description' => 'Hōʻike ʻAno',
+'listfiles_count' => 'Mana',
+'listfiles-latestversion' => 'Mana okamanawa',
+'listfiles-latestversion-yes' => 'ʻAe',
+'listfiles-latestversion-no' => 'ʻAʻole',
# File description page
'file-anchor-link' => 'Waihona',
'filehist' => 'Mōʻaukala waihona',
'filehist-help' => 'Kāomi ma ka lā/hola no ka nānā ʻana i ka waihona ma kēlā manawa.',
+'filehist-deleteall' => 'holoi apau',
+'filehist-deleteone' => 'holoi',
'filehist-revert' => 'hoʻihoʻi',
'filehist-current' => 'okamanawa',
'filehist-datetime' => 'Lā/Hola',
'filehist-thumb' => 'Kiʻiliʻi',
'filehist-thumbtext' => 'Ke kiʻiliʻi no ka mana ma $1',
+'filehist-nothumb' => 'ʻAʻohe kiʻiliʻi',
'filehist-user' => 'Mea ho‘ohana',
'filehist-dimensions' => 'Nā Nui',
'filehist-filesize' => 'Nui o ka waihona',
'filehist-comment' => 'Kaumanaʻo',
+'filehist-missing' => 'Nele ka waihona',
'imagelinks' => 'Nā Hana waihona',
'linkstoimage' => 'Loulou {{PLURAL:$1|kekahi ‘ao‘ao|kēia mau ‘ao‘ao $1}} i kēia waihona:',
'nolinkstoimage' => 'ʻAʻohe ʻaoʻao e loulou i kēia waihona.',
'sharedupload-desc-here' => 'ʻO kēia waihona mai $1 a hiki paha ke hana ʻia mai nā papahana ʻē aʻe.
Aia i lalo ka hōʻike ʻano [mai ka ʻaoʻao hōʻike ʻano waihona $2].',
+'shared-repo-from' => 'mai $1',
+
+# File reversion
+'filerevert-comment' => 'Kumu:',
# File deletion
+'filedelete' => 'Holoi iā $1',
+'filedelete-legend' => 'Holoi i ka waihona',
'filedelete-comment' => 'Kumu:',
+'filedelete-submit' => 'Holoi',
+'filedelete-otherreason' => 'Nā kumu ʻē aʻe:',
+'filedelete-reason-otherlist' => 'Nā kumu ʻē aʻe',
+
+# MIME search
+'download' => 'hoʻoili',
# Random page
'randompage' => 'ʻAtikala Kaulele',
# Email user
'emailuser' => 'E leka uila i kēia mea ho‘ohana',
+'emailusername' => 'Inoa mea hoʻohana:',
+'emailusernamesubmit' => 'Waiho',
+'emailfrom' => 'Mai:',
+'emailto' => 'Iā:',
+'emailsubject' => 'Kumunui:',
'emailmessage' => 'Pūlono:',
+'emailsend' => 'Hoʻouna',
# Watchlist
'watchlist' => 'Kaʻu papakiaʻi',
'userpage-userdoesnotexist' => 'חשבון המשתמש "$1" אינו רשום.
אנא בדקו אם ברצונכם ליצור/לערוך דף זה.',
'userpage-userdoesnotexist-view' => 'חשבון המשתמש "$1" אינו רשום.',
-'blocked-notice-logextract' => 'משתמש זה חסום כרגע.
-פע×\95×\9cת ×\99×\95×\9e×\9f ×\94×\97ס×\99×\9e×\95ת ×\94×\90×\97ר×\95× ×\94 ×\9e×\95צ×\92ת ×\9c×\94×\9cן:',
+'blocked-notice-logextract' => '{{GENDER:$1|המשתמש הזה חסום|המשתמשת הזאת חסומה}} כרגע.
+×\94פע×\95×\9c×\94 ×\94×\90×\97ר×\95× ×\94 ×\91×\99×\95×\9e×\9f ×\94×\97ס×\99×\9e×\95ת ×\9e×\95צ×\92ת ×\9c×\94×\9c×\9f ×\9c×¢×\99×\95ן:',
'clearyourcache' => "'''הערה:''' לאחר השמירה, עליכם לנקות את זיכרון המטמון (cache) של הדפדפן כדי להבחין בשינויים.
* '''פיירפוקס / ספארי:''' לחצו על Shift בעת לחיצתכם על '''העלה מחדש''' (Reload), או הקישו על ''Ctrl-F5'' או על ''Ctrl-R'' (או על ''<span dir=\"ltr\">⌘-R</span>'' במחשב מק)
* '''גוגל כרום:''' לחצו על ''Ctrl-Shift-R'' (או על ''<span dir=\"ltr\">⌘-Shift-R</span>'' במק)
# List redirects
'listredirects' => 'רשימת הפניות',
+# List duplicated files special page
+'listduplicatedfiles' => 'רשימת קבצים כפולים',
+'listduplicatedfiles-summary' => 'זוהי רשימה של קבצים שהגרסה החדשה ביותר שלהם זהה לגרסה החדשה ביותר של קובץ אחר כלשהו. רק קבצים מקומיים נבדקים לצורך זה.',
+'listduplicatedfiles-entry' => 'לקובץ [[:File:$1|$1]] יש [[$3|{{PLURAL:$2|עותק זהה|$2 עותקים זהים}}]].',
+
# Unused templates
'unusedtemplates' => 'תבניות שאינן בשימוש',
'unusedtemplatestext' => 'דף זה מכיל רשימה של כל הדפים במרחב השם {{ns:template}} שאינם נכללים בדף אחר. אנא זכרו לבדוק את הקישורים האחרים לתבניות לפני שתמחקו אותן.',
'sp-contributions-logs' => 'יומנים',
'sp-contributions-talk' => 'שיחה',
'sp-contributions-userrights' => 'ניהול הרשאות משתמש',
-'sp-contributions-blocked-notice' => 'משתמש זה חסום כרגע.
-הפעולה האחרונה ביומן החסימות מוצגת להלן:',
+'sp-contributions-blocked-notice' => '{{GENDER:$1|המשתמש הזה חסום|המשתמשת הזאת חסומה}} כרגע.
+הפעולה האחרונה ביומן החסימות מוצגת להלן לעיון:',
'sp-contributions-blocked-notice-anon' => 'כתובת IP זו חסומה כרגע.
הפעולה האחרונה ביומן החסימות מוצגת להלן:',
'sp-contributions-search' => 'חיפוש תרומות',
* @author Charu
* @author Darshan kandolkar
* @author Dineshjk
+ * @author Goelujjwal
* @author Hemant wikikosh1
* @author Htt
* @author InfinityO O
'createacct-another-realname-tip' => 'असली नाम देना आवश्यक नहीं है।
यदि आप प्रदान करते हैं तो इसका प्रयोग सदस्य के योगदानों के लिये उनको श्रेय (attribution) देने के लिये किया जायेगा।',
'pt-login' => 'लॉग इन',
+'pt-login-button' => 'लॉग इन',
'pt-createaccount' => 'खाता बनाएँ',
'pt-userlogout' => 'लॉगआउट',
# List redirects
'listredirects' => 'Elenco di tutti i redirect',
+# List duplicated files special page
+'listduplicatedfiles' => 'Elenco dei file duplicati',
+'listduplicatedfiles-summary' => 'Questo è un elenco di file, dove la versione più recente di un file è un duplicato della versione più recente di un altro file. Sono considerati solo i file locali.',
+'listduplicatedfiles-entry' => '[[:File:$1|$1]] ha [[$3|{{PLURAL:$2|un duplicato|$2 duplicati}}]].',
+
# Unused templates
'unusedtemplates' => 'Template non utilizzati',
'unusedtemplatestext' => 'In questa pagina vengono elencate le pagine del namespace {{ns:template}} che non sono incluse in nessuna pagina. Prima di cancellarli è opportuno verificare che i singoli template non abbiano altri collegamenti entranti.',
# Groups
'group' => 'Топ:',
'group-user' => 'Қатысушылар',
-'group-autoconfirmed' => 'Өзқұпталған қатысушылар',
+'group-autoconfirmed' => 'Өздіктіқұпталған қатысушылар',
'group-bot' => 'Боттар',
'group-sysop' => 'Әкімшілер',
'group-bureaucrat' => 'Бітікшілер',
'group-all' => '(барлық)',
'group-user-member' => '{{GENDER:$1|қатысушы}}',
-'group-autoconfirmed-member' => '{{GENDER:$1|өзқұпталған қатысушы}}',
+'group-autoconfirmed-member' => '{{GENDER:$1|өздіктіқұпталған қатысушы}}',
'group-bot-member' => '{{GENDER:$1|бот}}',
'group-sysop-member' => '{{GENDER:$1|әкімші}}',
'group-bureaucrat-member' => '{{GENDER:$1|бітікші}}',
'group-suppress-member' => '{{GENDER:$1|шеттетуші}}',
'grouppage-user' => '{{ns:project}}:Қатысушылар',
-'grouppage-autoconfirmed' => '{{ns:project}}:Өзқұпталған қатысушылар',
+'grouppage-autoconfirmed' => '{{ns:project}}:Өздіктіқұпталған қатысушылар',
'grouppage-bot' => '{{ns:project}}:Боттар',
'grouppage-sysop' => '{{ns:project}}:Әкімшілер',
'grouppage-bureaucrat' => '{{ns:project}}:Бітікшілер',
'recentchanges-summary' => 'Бұл бетте осы уикидегі болған жуықтағы өзгерістер байқалады.',
'recentchanges-noresult' => 'Бұл талап бойынша көрсетілген уақыттан бері өзгерістер болған жоқ.',
'recentchanges-feed-description' => 'Бұл арнаменен уикидегі ең соңғы өзгерістер қадағаланады.',
-'recentchanges-label-newpage' => 'Ð\91ұл өңдеме аÑ\80Ò\9bÑ\8bлÑ\8b жаңа беÑ\82 баÑ\81Ñ\82алдÑ\8b',
+'recentchanges-label-newpage' => 'Ð\96аңа беÑ\82Ñ\82еÑ\80',
'recentchanges-label-minor' => 'Бұл шағын өңдеме',
'recentchanges-label-bot' => 'Бұл өңдемені бот жасады.',
'recentchanges-label-unpatrolled' => 'Бұл өңдеме әлі тексеруден өтпеді.',
'recentchanges-label-plusminus' => 'Байт бойынша беттің өзгеріс мөлшері',
'recentchanges-legend-heading' => "'''Шартты белгілер:'''",
-'recentchanges-legend-newpage' => '(тағы қараңыз: [[Special:NewPages|жаңа беттер тізімі]])',
+'recentchanges-legend-newpage' => '(қ: [[Special:NewPages|бөлек бетте]])',
'recentchanges-legend-plusminus' => "(''±123'')",
-'rcnotefrom' => 'Төменде <strong>$2</strong> кезінен бергі (<strong>$2</strong> жеткенше дейін) өзгерістер көрсетіледі.',
+'rcnotefrom' => 'Төменде <strong>$2</strong> кезінен бергі (<strong>$1</strong> өңдемеге дейін) өзгерістер көрсетіледі.',
'rclistfrom' => '$1 кезінен бергі жаңа өзгерістерді көрсет.',
'rcshowhideminor' => 'Шағын өңдемелерді $1',
'rcshowhideminor-show' => 'көрсету',
'autosumm-blank' => 'Беттің барлық мағлұматын аластады',
'autosumm-replace' => 'Бетті "$1" дегенмен алмастырды',
'autoredircomment' => '[[$1]] дегенге айдады',
-'autosumm-new' => 'Жаңа бетте: <<$1>>',
+'autosumm-new' => 'Жаңа бетте: $1',
# Size units
'size-bytes' => '$1 байт',
'gotaccountlink' => '로그인하세요',
'userlogin-resetlink' => '로그인 정보를 잊으셨나요?',
'userlogin-resetpassword-link' => '비밀번호를 잊으셨나요?',
-'userlogin-helplink2' => '로그인 도움말',
+'userlogin-helplink2' => '로그인에 대한 도움말',
'userlogin-loggedin' => '이미 $1로 로그인되어 있습니다. 아래의 양식을 사용하여 다른 계정으로 로그인하세요.',
'userlogin-createanother' => '다른 계정 만들기',
'createacct-join' => '아래에 정보를 입력하세요.',
'shown-title' => '쪽마다 {{PLURAL:$1|결과}} $1개씩 보기',
'viewprevnext' => '($1 {{int:pipe-separator}} $2) ($3) 보기',
'searchmenu-exists' => "'''이 위키에 \"[[:\$1]]\"의 이름을 가진 문서가 있습니다.'''",
-'searchmenu-new' => '<strong>이 위키에 "[[:$1]]" 문서를 만드세요!</strong>
-{{PLURAL:$2|0=|검색으로 찾은 문서들을 참조하세요.}}',
+'searchmenu-new' => '<strong>이 위키에 "[[:$1]]" 문서를 만드세요!</strong> {{PLURAL:$2|0=|검색으로 찾은 문서도 보세요.|찾은 검색 결과도 보세요.}}',
'searchprofile-articles' => '본문',
'searchprofile-project' => '도움말 및 프로젝트 문서',
'searchprofile-images' => '멀티미디어',
Wann Dir dëse Fichier trotzdeem eropluede wëllt da gitt w.e.g. zréck a luet dëse Fichier ënner engem aneren Numm erop. [[File:$1|thumb|center|$1]]',
'file-exists-duplicate' => 'Dëse Fichier schéngt een Doublon vun {{PLURAL:$1|dësem Fichier|dëse Fichieren}} ze sinn:',
'file-deleted-duplicate' => 'En identesche Fichier ([[:$1]]) gouf virdru geläscht. Kuckt w.e.g. an der Lëscht vum Läschen no, ier Dir en nach emol eropluet.',
+'file-deleted-duplicate-notitle' => "En identesche Fichier gouf scho geläscht an den Titel gouf suppriméiert. Dir sollt e froen dee suppriméiert Date vu Fichiere kucken däerf fir d'Situatioun ze klären ier Dir de Fichier nach eng Kéier eroplued.",
'uploadwarning' => 'Opgepasst',
'uploadwarning-text' => "Ännert d'Beschreiwung hei ënnedrënner w.e.g. a versicht et nach eng Kéier.",
'savefile' => 'Fichier späicheren',
Hei sinn déi aktuell Astellungen fir d'Säit '''$1''':",
'protect-locked-access' => "Dir hutt net déi néideg Rechter fir de Protektiounsniveau vun dëser Säit z'änneren.
Hei sinn déi aktuell Astellunge fir d'Säit '''$1''':",
-'protect-cascadeon' => "Dës Säit ass elo gespaart well si an déi folgend {{PLURAL:$1|Säit|Säiten}} agebonnen ass déi duerch eng Kaskadespär gespaart {{PLURAL:$1|ass|sinn}}. De Protektiounsniveau ka fir dës Säit geännert ginn, dat huet awer keen Afloss op d'Kaskadespär.",
+'protect-cascadeon' => "Dës Säit ass elo gespaart well si an déi folgend {{PLURAL:$1|Säit|Säiten}} agebonnen ass déi duerch eng Kaskadespär gespaart {{PLURAL:$1|ass|sinn}}. Ännerunge vum Protektiounsniveau fir dës Säit hu keen Afloss op d'Kaskadespär.",
'protect-default' => 'All Benotzer erlaben',
'protect-fallback' => 'Nëmme Benotzer mat enger "$1"-Autorisatioun erlaben.',
'protect-level-autoconfirmed' => 'Nëmmen automatesch ugemellt Benotzer erlaben',
# List redirects
'listredirects' => 'Список на пренасочувања',
+# List duplicated files special page
+'listduplicatedfiles' => 'Список на податотеки со дупликати',
+'listduplicatedfiles-summary' => 'Ова е список на податотеки чија најнова верзија е дупликат на најнова верзија на некоја друга податотека. Се земаат предвид само локални податотеки.',
+'listduplicatedfiles-entry' => '[[:File:$1|$1]] има [[$3|{{PLURAL:$2|дупликат|$2 дупликати}}]].',
+
# Unused templates
'unusedtemplates' => 'Неискористени шаблони',
'unusedtemplatestext' => 'Оваа страница ги прикажува сите страници во именскиот простор {{ns:template}} кои не се вклучени во друга страница.
# List redirects
'listredirects' => 'Doorverwijzingenlijst',
+# List duplicated files special page
+'listduplicatedfiles' => 'Lijst met bestanden met duplicaten',
+'listduplicatedfiles-summary' => 'Dit is een lijst met bestanden waarvan de laatste versie een duplicaat is van de meest recente versie van een ander bestand. Er wordt alleen gerapporteerd over lokale bestanden.',
+'listduplicatedfiles-entry' => '[[:File:$1|$1]] heeft [[$3|{{PLURAL:$2|één duplicaat|$2 duplicaten}}]].',
+
# Unused templates
'unusedtemplates' => 'Ongebruikte sjablonen',
'unusedtemplatestext' => 'Deze pagina geeft alle pagina\'s weer in de naamruimte {{ns:template}} die op geen enkele pagina gebruikt worden.
'gotaccountlink' => 'Identificatz-vos',
'userlogin-resetlink' => 'Avètz doblidat vòstres detalhs de connexion ?',
'userlogin-resetpassword-link' => 'Senhal doblidat ?',
+'userlogin-helplink2' => 'Ajuda a la connexion',
'userlogin-loggedin' => 'Sètz ja connectat en tant que {{GENDER:$1|$1}}.
Utilizatz lo formulari çaijós per vos connectar amb un autre utilizaire.',
'userlogin-createanother' => 'Crear un autre compte',
'resetpass-submit-cancel' => 'Anullar',
'resetpass-wrong-oldpass' => 'Senhal actual o temporari invalid.
Benlèu ja avètz modificat vòstre senhal o demandat un senhal temporari novèl.',
+'resetpass-recycled' => 'Reïnicializatz vòstre senhal a quicòm mai que l’actual.',
'resetpass-temp-password' => 'Senhal temporari :',
'resetpass-abort-generic' => 'La modificacion del senhal es estada anulada per una extension.',
+'resetpass-expired' => 'Vòstre senhal a expirat. Provesissètz-ne un novèl per vos connectar.',
# Special:PasswordReset
'passwordreset' => 'Remesa a zèro del senhal',
'changeemail-password' => 'Vòstre senhal sus {{SITENAME}} :',
'changeemail-submit' => "Cambiar l'adreça electronica:",
'changeemail-cancel' => 'Anullar',
+'changeemail-throttled' => 'Avètz fach tròp de temptativas de connexion.
+Esperatz $1 abans d’ensajar tornarmai.',
# Special:ResetTokens
'resettokens' => 'Reïnicializar los getons',
'editwarning-warning' => "Quitar aquesta pagina vos farà pèrdre totas las modificacions qu'avètz fachas.
Se sètz connectat, podètz desactivar aqueste avertiment dins la seccion « {{int:prefs-editing}} » de vòstras preferéncias.",
'editpage-notsupportedcontentformat-title' => 'Format de contengut pas pres en carga',
+'editpage-notsupportedcontentformat-text' => 'Lo format de contengut $1 es pas pres en carga pel modèl de contengut $2 .',
# Content models
'content-model-wikitext' => 'wikitèxte',
'undo-success' => "Aquesta modificacion va èsser desfacha. Confirmatz los cambiaments (visibles en bas d'aquesta pagina), puèi salvatz se sètz d’acòrdi. Mercés de motivar l’anullacion dins la bóstia de resumit.",
'undo-failure' => 'Aquesta modificacion a pas pogut èsser desfacha a causa de conflictes amb de modificacions intermediàrias.',
'undo-norev' => 'La modificacion a pas pogut èsser desfacha perque siá es inexistenta siá es estada suprimida.',
+'undo-nochange' => 'Sembla que la modificacion es ja estada anullada.',
'undo-summary' => 'Anullacion de las modificacions $1 de [[Special:Contributions/$2|$2]] ([[User talk:$2|discutir]] | [[Special:Contributions/$2|{{MediaWiki:Contribslink}}]])',
'undo-summary-username-hidden' => 'Anullar la revision $1 per un utilizaire amagat',
'showhideselectedversions' => 'Afichar/amagar las versions seleccionadas',
'editundo' => 'desfar',
'diff-empty' => '(Pas cap de diferéncia)',
+'diff-multi-sameuser' => '({{PLURAL:$1|Una revision intermediària pel meteis utilizaire pas afichada|$1 revisions intermediàrias pel meteis utilizaire pas afichadas}})',
'diff-multi-manyusers' => '({{PLURAL:$1|Una revision intermediària amagada|$1 revisions intermediàrias amagadas}}) per ({{PLURAL:$2|un utilizaire pas afichada|$2 utilizaires pas afichadas}})',
'difference-missing-revision' => "{{PLURAL:$2|Una revision|$2 revisions}} d'aquesta diferéncia ($1) {{PLURAL:$2|es pas estada trobada|son pas estadas trobadas}}.
# List redirects
'listredirects' => 'Lista de las redireccions',
+# List duplicated files special page
+'listduplicatedfiles' => 'Lista de fichièrs en doble',
+
# Unused templates
'unusedtemplates' => 'Modèls inutilizats',
'unusedtemplatestext' => "Aquesta pagina lista totas las paginas de l’espaci de noms {{ns:template}} que son pas enclusas dins cap d'autra pagina.
'allpages-hide-redirects' => 'Amagar las redireccions',
# SpecialCachedPage
+'cachedspecial-viewing-cached-ttl' => "Visualizatz una version d'aquesta pagina mesa en escondedor, que pòt èsser datada d’al mai $1.",
'cachedspecial-refresh-now' => 'Veire lo mai recent.',
# Special:Categories
'prot_1movedto2' => 'a renomenat [[$1]] en [[$2]]',
'protect-badnamespace-title' => 'Espaci de noms pas protegible',
'protect-badnamespace-text' => 'Las paginas dins aqueste espaci de noms pòdon pas èsser protegidas.',
+'protect-norestrictiontypes-text' => 'Aquesta pagina pòt pas èsser protegida perque i a pas de tipe de restriccion disponible.',
'protect-norestrictiontypes-title' => 'Pagina pas protegibla',
'protect-legend' => 'Confirmar la proteccion',
'protectcomment' => 'Rason :',
'protect-locked-blocked' => "Podètz pas modificar lo nivèl de proteccion tant que sètz blocat. Vaquí los reglatges actuals de la pagina '''$1''' :",
'protect-locked-dblock' => "Lo nivèl de proteccion pòt pas èsser modificat perque la banca de donadas es blocada. Vaquí los reglatges actuals de la pagina '''$1''' :",
'protect-locked-access' => "Avètz pas los dreches necessaris per modificar la proteccion de la pagina. Vaquí los reglatges actuals de la pagina '''$1''' :",
-'protect-cascadeon' => "Aquesta pagina es actualament protegida perque es inclusa dins {{PLURAL:$1|la pagina seguenta|las paginas seguentas}}, {{PLURAL:$1|qu'es estada protegida|que son estadas protegidas}} amb l’opcion « proteccion en cascada » activada. Podètz cambiar lo nivèl de proteccion d'aquesta pagina sens qu'aquò afècte la proteccion en cascada.",
+'protect-cascadeon' => "Aquesta pagina es protegida perque es inclusa dins {{PLURAL:$1|la pagina seguenta qu'es estada protegida|las paginas seguentas que son estadas protegidas}}, amb l’opcion « proteccion en cascada » activada. Podètz cambiar lo nivèl de proteccion d'aquesta pagina sens qu'aquò afècte la proteccion en cascada.",
'protect-default' => 'Autorizar totes los utilizaires',
'protect-fallback' => 'Autorizar unicament los utilizaires amb lo drech « $1 »',
'protect-level-autoconfirmed' => 'Autorizar unicament los utilizaires autoconfirmats',
'blockipsuccesssub' => 'Blocatge capitat',
'blockipsuccesstext' => '[[Special:Contributions/$1|$1]] es esta{{GENDER:||t|(da)}} bloca{{GENDER:||t|(da)}}.<br />
Podètz consultar la [[Special:BlockList|lista dels comptes e de las adreças IP blocats]].',
+'ipb-blockingself' => 'Sètz a mand de blocar vòstre pròpri compte ! Sètz segur{{GENDER:||a}} que volètz far aquò ?',
'ipb-edit-dropdown' => 'Modificar los motius de blocatge per defaut',
'ipb-unblock-addr' => 'Desblocar $1',
'ipb-unblock' => "Desblocar un compte d'utilizaire o una adreça IP",
'ipb_already_blocked' => '« $1 » ja es blocat',
'ipb-needreblock' => '$1 ja es blocat. Volètz modificar los paramètres ?',
'ipb-otherblocks-header' => '{{PLURAL:$1|Autre blocatge|Autres blocatges}}',
+'unblock-hideuser' => 'Podètz pas desblocar aqueste utilizaire, perque son nom d’utilizaire es estat amagat.',
'ipb_cant_unblock' => 'Error : Lo blocatge d’ID $1 existís pas. Es possible qu’un desblocatge ja siá estat efectuat.',
'ipb_blocked_as_range' => "Error : L'adreça IP $1 es pas estada blocada dirèctament e doncas pòt pas èsser deblocada. Çaquelà, es estada blocada per la plaja $2 la quala pòt èsser deblocada.",
'ip_range_invalid' => 'Plaja IP incorrècta.',
'import-error-invalid' => 'Pagina « $1 » es pas importada perque son nom es pas valid.',
'import-options-wrong' => '{{PLURAL:$2|Marrida opcion|Marridas opcions}} : <nowiki>$1</nowiki>',
'import-rootpage-invalid' => 'La pagina raiç provesida es un títol invalid.',
+'import-rootpage-nosubpage' => "L'espaci de noms « $1 » de la pagina raiç autoriza pas las sospaginas.",
# Import log
'importlogpage' => 'Istoric de las importacions de paginas',
# Info page
'pageinfo-title' => 'Informacions per « $1 »',
+'pageinfo-not-current' => 'O planhèm, impossible de provesir aquesta informacion per las ancianas revisions.',
'pageinfo-header-basic' => 'Informacions de basa',
'pageinfo-header-edits' => 'Istoric de las modificacions',
'pageinfo-header-restrictions' => 'Proteccion de la pagina',
'markedaspatrollederror' => 'Pòt pas èsser marcat coma pas vandalizat',
'markedaspatrollederrortext' => 'Vos cal seleccionar una version per poder la marcar coma pas vandalizada.',
'markedaspatrollederror-noautopatrol' => 'Avètz pas lo drech de marcar vòstras pròprias modificacions coma susvelhadas.',
+'markedaspatrollednotify' => 'Aquesta modificacion de $1 es estada marcada coma relegida.',
'markedaspatrollederrornotify' => 'Fracàs del marcatge coma contrarotlat.',
# Patrol log
'version-ext-colheader-description' => 'Descripcion',
'version-ext-colheader-credits' => 'Autors',
'version-license-title' => 'Licéncia per $1',
+'version-license-not-found' => "Cap d'informacion detalhada de la licéncia es pas estada trobada per aquesta extension.",
'version-credits-title' => 'Mercejaments per $1',
+'version-credits-not-found' => "Cap d'informacion detalhada dels mercejaments es pas estada trobada per aquesta extension.",
'version-poweredby-credits' => "Aqueste wiki fonciona gràcias a '''[https://www.mediawiki.org/ MediaWiki]''', copyright © 2001-$1 $2.",
'version-poweredby-others' => 'autres',
'version-poweredby-translators' => 'traductors de translatewiki.net',
'api-error-emptypage' => 'Creacion de paginas voidas pas autorizada.',
'api-error-fetchfileerror' => "Error intèrna : Quicòm s'es mal passat al moment de la recuperacion del fichièr.",
'api-error-fileexists-forbidden' => 'Un fichièr nomenat "$1" existís ja, e pòt pas èsser espotir.',
+'api-error-fileexists-shared-forbidden' => 'Un fichièr nomenat "$1" existís ja dins lo repertòri dels fichièrs partejats, e pòt pas èsser espotit.',
'api-error-file-too-large' => "Lo fichièr qu'avètz somés èra tròp grand.",
'api-error-filename-tooshort' => 'Lo nom del fichièr es tròp cort.',
'api-error-filetype-banned' => 'Aqueste tipe de fichièr es interdich',
'api-error-missingresult' => 'Error intèrna : Avèm pas pogut determinar se la còpia aviá capitat.',
'api-error-mustbeloggedin' => 'Vos cal èsser connectat per telecargar de fichièrs.',
'api-error-mustbeposted' => 'Error intèrna : aquesta requèsta necessita lo metòde HTTP POST.',
+'api-error-noimageinfo' => "Lo mandadís a capitat, mas lo servidor a pas donat cap d'informacions sul fichièr.",
'api-error-nomodule' => 'Error intèrna : cap de modul de versament pas definit.',
'api-error-ok-but-empty' => 'Error intèrna : Lo servidor a pas respondut.',
'api-error-overwrite' => 'Espotir un fichièr existent es pas autorizat.',
'friday' => 'майрæмбон',
'saturday' => 'сабат',
'sun' => 'Хцб',
-'mon' => 'Ð\9aÑ\80с',
-'tue' => 'Дцг',
+'mon' => 'Ð\9aÑ\8aс',
+'tue' => 'Дц',
'wed' => 'Æрт',
'thu' => 'Цпр',
'fri' => 'Мрб',
'recentchanges-feed-description' => 'Хъус дарын викийы фæстаг ивдтытæм ацы лæсæны уылты.',
'recentchanges-label-newpage' => 'Ацы ивд нæуæг фарс бакодта',
'recentchanges-label-minor' => 'Ай у чысыл ивд',
-'recentchanges-label-bot' => 'Ацы ивд бот сарызта',
+'recentchanges-label-bot' => 'Ацы ивд бот сарæзта',
'recentchanges-label-unpatrolled' => 'Ацы ивд нырмæ нæу фидар гонд',
'rcnotefrom' => "Бындæр сты æвдыст ивдтытæ '''$2'''-æй ('''{{grammar:genitive|$1}}''' йонг).",
'rclistfrom' => 'Равдисын ивдтытæ амæй фæстæ: $1',
# Special:SpecialPages
'specialpages' => 'Сæрмагонд фæрстæ',
+'specialpages-note-top' => 'Легендæ',
# External image whitelist
'external_image_whitelist' => ' #Ныууадз ацы рæнхъ куыд у афтæ<pre>
* @author Odie2
* @author Olgak85
* @author Peter Bowman
+ * @author Pio387
* @author Przemub
* @author Reedy
* @author Remedios44
'uploaddisabledtext' => 'Możliwość przesyłania plików została wyłączona.',
'php-uploaddisabledtext' => 'Przesyłanie plików PHP zostało zablokowane. Sprawdź ustawienie „file_uploads”.',
'uploadscripted' => 'Plik zawiera kod HTML lub skrypt, który może zostać błędnie zinterpretowany przez przeglądarkę internetową.',
-'uploadscriptednamespace' => "Ten plik SVG zawiera niepoprawną nazwę '$1'",
+'uploadscriptednamespace' => "Ten plik SVG zawiera niedozwoloną przestrzeń nazw '$1'",
'uploadinvalidxml' => 'Nie udało się przeanalizować XML w załadowanym pliku.',
'uploadvirus' => 'W pliku jest wirus! Szczegóły: $1',
'uploadjava' => 'Ten plik zawiera deklarację klasy Java skompresowaną ZIP.
'sp-contributions-search' => 'Szukaj wkładu',
'sp-contributions-username' => 'Adres IP lub nazwa użytkownika',
'sp-contributions-toponly' => 'Pokaż wyłącznie ostatnie wersje',
-'sp-contributions-newonly' => 'Pokazuj wyłącznie stworzenia stron',
+'sp-contributions-newonly' => 'Pokazuj tylko edycje tworzące nową stronę',
'sp-contributions-submit' => 'Szukaj',
# What links here
'blocklist-timestamp' => 'Sygnatura czasowa',
'blocklist-target' => 'Cel',
'blocklist-expiry' => 'Upływa',
-'blocklist-by' => 'Zarządzanie blokowaniem',
+'blocklist-by' => 'Administrator blokujący',
'blocklist-params' => 'Parametry blokad',
'blocklist-reason' => 'Powód',
'ipblocklist-submit' => 'Szukaj',
'userlogin-helplink2' => 'په ننوتلو کې مرسته',
'userlogin-createanother' => 'بل گڼون جوړول',
'createacct-join' => 'خپل مالومات مو لاندې ورکړئ.',
+'createacct-another-join' => 'د نوي گڼون مالومات مو لاندې ورکړئ.',
'createacct-emailrequired' => 'برېښليک پته',
'createacct-emailoptional' => 'برېښليک پته (اختياري)',
'createacct-email-ph' => 'برېښليک پته مو وټاپۍ',
'gotaccountlink' => 'Autentique-se',
'userlogin-resetlink' => 'Esqueceu-se do seu nome de utilizador ou da palavra-chave?',
'userlogin-resetpassword-link' => 'Esqueceu a sua palavra-chave?',
+'userlogin-helplink2' => 'Ajuda na autenticação',
'userlogin-loggedin' => 'Já está {{GENDER:$1|autenticado|autenticada|autenticado}} com o nome $1.
Use o formulário abaixo para iniciar uma sessão com outro nome.',
'userlogin-createanother' => 'Criar outra conta',
'resetpass-abort-generic' => 'A alteração da palavra-chave foi cancelada por uma extensão.',
'resetpass-expired' => 'A sua palavra-chave expirou. Para autenticar-se, defina uma nova.',
'resetpass-expired-soft' => 'A sua palavra-chave expirou e tem de ser redefinida. Escolha uma nova agora ou clique "{{int:resetpass-submit-cancel}}" para redefini-la mais tarde.',
+'resetpass-validity-soft' => 'Sua palavra-chave não é válida: $1
+
+Por favor, escolha uma nova palavra-chave agora, ou clique em "{{int:resetpass-submit-cancel}}" para redefini-la mais tarde.',
# Special:PasswordReset
'passwordreset' => 'Redefinir palavra-chave',
'logdelete-selected' => "'''{{PLURAL:$1|Evento do registo selecionado|Eventos do registo selecionados}}:'''",
'revdelete-text-text' => 'Revisões eliminadas ainda aparecerão no histórico da página, mas parte do seu conteúdo estará inacessível para o público.',
'revdelete-text-file' => 'Versões eliminadas do ficheiro ainda aparecerão no histórico da página, mas parte do seu conteúdo estará inacessível para o público.',
+'logdelete-text' => 'Os eventos eliminados ainda aparecerão no histórico da página, mas pare de seu conteúdo será inacessível ao público.',
'revdelete-text-others' => 'Outros administradores em {{SITENAME}} podem aceder ao conteúdo oculto e torná-lo visível novamente através desta mesma interface, a menos que sejam definidas restrições adicionais.',
'revdelete-confirm' => 'Por favor confirme que pretende executar esta operação, que compreende as suas consequências e que o faz em concordância com as [[{{MediaWiki:Policy-url}}|políticas e recomendações]].',
'revdelete-suppress-text' => "A supressão '''só''' deverá ser usada nos seguintes casos:
# List redirects
'listredirects' => 'Lista de redirecionamentos',
+# List duplicated files special page
+'listduplicatedfiles' => 'Lista de ficheiros com duplicatas',
+'listduplicatedfiles-summary' => 'Esta é uma lista de ficheiros cuja suas versões mais recentes são duplicatas da versão mais recente de outros ficheiros. Somente os ficheiros locais são considerados.',
+'listduplicatedfiles-entry' => '[[:File:$1|$1]] possui [[$3|{{PLURAL:$2|uma duplicata|$2 duplicatas}}]].',
+
# Unused templates
'unusedtemplates' => 'Predefinições não utilizadas',
'unusedtemplatestext' => 'Esta página lista todas as páginas no espaço nominal {{ns:template}} que não são incluídas em nenhuma outra página. Lembre-se de verificar a existência de outros links para as predefinições, antes de eliminá-las.',
'deadendpagestext' => 'As seguintes páginas não contêm links para outras páginas na {{SITENAME}}.',
'protectedpages' => 'Páginas protegidas',
'protectedpages-indef' => 'Apenas proteções indefinidas',
-'protectedpages-summary' => 'Esta página lista as páginas protegidas. Para ver os títulos protegidos, cuja criação está impossibilitada, consulte [[{{#special:ProtectedTitles}}|{{int:protectedtitles}}]].',
+'protectedpages-summary' => 'Esta página lista páginas existentes que estão protegidas. Para ver os títulos cuja criação está impossibilitada, consulte [[{{#special:ProtectedTitles}}|{{int:protectedtitles}}]].',
'protectedpages-cascade' => 'Apenas proteções em cascata',
'protectedpages-noredirect' => 'Esconder redirecionamentos',
'protectedpagesempty' => 'Neste momento, nenhuma das páginas está protegida com estes parâmetros.',
'protectedpages-unknown-timestamp' => 'Desconhecido',
'protectedpages-unknown-performer' => 'Utilizador desconhecido',
'protectedtitles' => 'Títulos protegidos',
-'protectedtitles-summary' => 'Esta página lista os títulos protegidos, cuja criação está impossibilitada. Para ver as páginas protegidas consulte [[{{#special:ProtectedPages}}|{{int:protectedpages}}]].',
+'protectedtitles-summary' => 'Esta página lista títulos cuja criação está impossibilitada. Para ver uma lista de páginas protegidas, consulte [[{{#special:ProtectedPages}}|{{int:protectedpages}}]].',
'protectedtitlesempty' => 'Neste momento, nenhum dos títulos está protegido com estes parâmetros.',
'listusers' => 'Utilizadores',
'listusers-editsonly' => 'Mostrar apenas utilizadores com edições',
Esta é a configuração atual para a página '''$1''':",
'protect-locked-access' => "A sua conta não tem permissões para alterar os níveis de proteção de uma página.
Esta é a configuração atual da página '''$1''':",
-'protect-cascadeon' => 'Esta página está protegida porque se encontra incluída {{PLURAL:$1|na página listada a seguir, protegida|nas páginas listadas a seguir, protegidas}} com proteção em cascata.
-Pode alterar o nível de proteção desta página, mas isso não afetará a proteção em cascata.',
+'protect-cascadeon' => 'Esta página está atualmente protegida porque está incluída {{PLURAL:$1|na página listada a seguir, a qual|nas páginas listadas a seguir, as quais}} têm a proteção em cascata ativada.
+Alterações feitas ao nível de proteção desta página não afetarão a proteção em cascata.',
'protect-default' => 'Permitir todos os utilizadores',
'protect-fallback' => 'Permitir apenas utilizadores com o privilégio de "$1"',
'protect-level-autoconfirmed' => 'Permitir apenas utilizadores auto-confirmados',
'sp-contributions-blocked-notice-anon' => 'Este endereço IP encontra-se bloqueado.
Segue, para referência, a entrada mais recente no registro de bloqueios:',
'sp-contributions-search' => 'Navegar pelas contribuições',
-'sp-contributions-suppresslog' => 'Contribuições de usuário eliminadas',
+'sp-contributions-suppresslog' => 'Contribuições de usuário suprimidas',
'sp-contributions-username' => 'Endereço de IP ou usuário:',
'sp-contributions-toponly' => 'Mostrar somente as edições que sejam a última alteração',
'sp-contributions-newonly' => 'Mostre somente as edições que criaram uma nova página.',
# List redirects
'listredirects' => '{{doc-special|ListRedirects}}',
+# List duplicated files special page
+'listduplicatedfiles' => '{{doc-special|ListDuplicatedFiles}}',
+'listduplicatedfiles-summary' => 'Summary at top of Special:ListDuplicatedFiles',
+'listduplicatedfiles-entry' => 'A list item on Special:ListDuplicatedFiles. $1 is the file name (no namespace prefix). $2 is the number of duplicates this file has. $3 is the name of the duplicate search page (aka "Special:FileDuplicateSearch/Foo.png" or "Spécial:Recherche_fichier_en_double/Firefox.png")',
+
# Unused templates
'unusedtemplates' => '{{doc-special|UnusedTemplates}}',
'unusedtemplatestext' => 'Shown on top of [[Special:Unusedtemplates]]',
# List redirects
'listredirects' => 'Список перенаправлений',
+# List duplicated files special page
+'listduplicatedfiles' => 'Список файлов с дубликатами',
+'listduplicatedfiles-summary' => 'Это список файлов, где самая последняя версия файла считается дубликатом последней версии некоторых других файлов. Учитываются только локальные файлы.',
+'listduplicatedfiles-entry' => 'У файла [[:File:$1|$1]] — [[$3|{{PLURAL:$2|один дубликат|$2 дубликатов|$2 дубликата}}]].',
+
# Unused templates
'unusedtemplates' => 'Неиспользуемые шаблоны',
'unusedtemplatestext' => 'Здесь перечислены все страницы пространства имён «{{ns:template}}», не включённые ни в какие другие страницы.
'delete-warning-toobig' => 'У этой страницы очень длинная история изменений, более $1 {{PLURAL:$1|версии|версий}}.
Её удаление может привести к нарушению нормальной работы базы данных сайта «{{SITENAME}}»;
действуйте с осторожностью.',
-'deleting-backlinks-warning' => "'''Предупреждение.''' [[Special:WhatLinksHere/{{FULLPAGENAME}}|Другие страницы]] ссылаются на страницу, которую вы собираетесь удалить или содержат её.",
+'deleting-backlinks-warning' => "'''Предупреждение.''' [[Special:WhatLinksHere/{{FULLPAGENAME}}|Другие страницы]] ссылаются на страницу, которую вы собираетесь удалить, или содержат её.",
# Rollback
'rollback' => 'Откатить изменения',
'category-subcat-count-limited' => 'अस्मिन् वर्गे {{PLURAL:$1|अधो लिखितः $1 वर्गः अस्ति|अधो लिखिताः $1 वर्गाः सन्ति}}',
'category-article-count' => '$2 इत्येषु {{PLURAL:$2|वर्गेऽस्मिन् अधो लिखितानि पृष्ठानि विद्यन्ते |वर्गेऽस्मिन् {{PLURAL:$1|अधो लिखितं पृष्ठम् अस्ति|अधो लिखितानि $1 पृष्ठानि सन्ति}}}}',
'category-article-count-limited' => 'अधोलिखितं {{PLURAL:$1|पृष्ठम् अस्मिन् श्रेण्याम् अस्ति|$1 पृष्ठाणि अस्मिन् श्रेण्यां सन्ति}}।',
-'category-file-count' => '{{PLURAL:$2|अस्मिन् वर्गे केवलम् इदं पृष्ठं विद्यते ।|अस्मिन् वर्गे {{PLURAL:$1|अधोलिखितं पृष्ठमस्ति|$1 अधोलिखितानि पृष्ठानि सन्ति}}, सर्वाणि पृष्ठानि $2 ।}}',
-'category-file-count-limited' => 'एतस्यां श्रेण्यां {{PLURAL:$1|संचिका|$1 संचिकाः}} अधस्तात् सूचिता{{PLURAL:$1||ः}} -
-The following {{PLURAL:$1|file is|$1 files are}} in the current category.',
+'category-file-count' => '$2 इत्येषु {{PLURAL:$2|वर्गेऽस्मिन् अधो उल्लिखिताः सञ्चिकाः विद्यन्ते |वर्गेऽस्मिन् {{PLURAL:$1|अधो उल्लिखिता सञ्चिका अस्ति|अधो उल्लिखिताः $1 सञ्चिकाः सन्ति}}}}',
+'category-file-count-limited' => 'निम्नोल्लिखित{{PLURAL:$1|सञ्चिका|$1 सञ्चिकाः}} वर्गेऽस्मिन् {{PLURAL:$1|अस्ति|$1 सन्ति}}',
'listingcontinuesabbrev' => 'आगामि.',
-'index-category' => 'सà¥\82à¤\9aà¤\95ाà¤\82à¤\95ितानि पृष्ठानि',
-'noindex-category' => 'नावलितानि पृष्ठानि',
-'broken-file-category' => 'à¤à¤\97à¥\8dनसमà¥\8dबनà¥\8dधà¥\88à¤\83 यà¥\81à¤\95à¥\8dतानि पà¥\83षà¥\8dठाणि',
+'index-category' => 'à¤\85नà¥\81à¤\95à¥\8dरमणिà¤\95ापृष्ठानि',
+'noindex-category' => 'नानà¥\81à¤\95à¥\8dरमणिà¤\95पृष्ठानि',
+'broken-file-category' => 'à¤\85विदà¥\8dयानानाà¤\82 सà¤\9eà¥\8dà¤\9aिà¤\95ानामà¥\8d à¤\86वलिà¤\83',
-'about' => 'विषये:',
+'about' => 'विषये',
'article' => 'लेखः',
'newwindow' => '(इदं नवीने गवाक्षे उद्घाट्यते)',
'cancel' => 'निरस्यताम्',
'moredotdotdot' => 'अपि च...',
-'mypage' => 'मम पृष्ठम्',
+'morenotlisted' => 'एषाऽऽवलिः अपूर्णा अस्ति ।',
+'mypage' => 'पृष्ठम्',
'mytalk' => 'सम्भाषणम्',
-'anontalk' => 'à¤\85सà¥\8dय à¤\86à¤\87.पà¥\80. सà¤\82à¤\95à¥\87तसà¥\8dय कृते सम्भाषणम्',
-'navigation' => 'सà¤\9eà¥\8dà¤\9aरणमà¥\8d',
+'anontalk' => 'à¤\85सà¥\8dय à¤\85नà¥\8dतरà¥\8dà¤\9cालसà¤\82विदà¤\83 (I P address) कृते सम्भाषणम्',
+'navigation' => 'सà¤\9eà¥\8dà¤\9aरणà¤\82',
'and' => ' तथा च',
# Cologne Blue skin
'qbfind' => 'अन्विष्यताम्',
-'qbbrowse' => 'बà¥\8dराà¤\89सà¥\8d à¤\87तà¥\8dयà¥\87ततà¥\8d à¤\95रà¥\8bतà¥\81।',
+'qbbrowse' => 'à¤\85नà¥\8dविषà¥\8dयतामà¥\8d',
'qbedit' => 'सम्पाद्यताम्',
'qbpageoptions' => 'इदं पृष्ठम्',
'qbmyoptions' => 'मम पृष्ठानि',
'faq' => 'सामान्यजिज्ञासाः (FAQ)',
-'faqpage' => 'Project:बहà¥\81धा पà¥\83à¤\9bà¥\8dयमानाà¤\83 पà¥\8dरशà¥\8dनाà¤\83',
+'faqpage' => 'Project:सामानà¥\8dयà¤\9cिà¤\9cà¥\8dà¤\9eासाà¤\83(FAQ)',
# Vector skin
'vector-action-addsection' => 'विषयः योज्यताम्',
'vector-action-delete' => 'अपाक्रियताम्',
-'vector-action-move' => 'à¤\9aाल्यताम्',
+'vector-action-move' => 'शà¥\80रà¥\8dषà¤\95à¤\82 परिवरà¥\8dत्यताम्',
'vector-action-protect' => 'संरक्ष्यताम्',
-'vector-action-undelete' => 'à¤\85पाà¤\95रणसà¥\8dय निरसनमà¥\8d',
-'vector-action-unprotect' => 'सà¥\81रà¤\95à¥\8dषितà¥\80à¤\95रणसà¥\8dय निरसनमà¥\8d',
+'vector-action-undelete' => 'नापाà¤\95à¥\83तà¤\82',
+'vector-action-unprotect' => 'सà¤\82रà¤\95à¥\8dषणà¤\82 परिवरà¥\8dतयतà¥\81',
'vector-view-create' => 'सृज्यताम्',
'vector-view-edit' => 'सम्पाद्यताम्',
'vector-view-history' => 'इतिहासः दर्श्यताम्',
'vector-view-view' => 'पठ्यताम्',
'vector-view-viewsource' => 'स्रोतः दृश्यताम्',
'actions' => 'क्रियाः',
-'namespaces' => 'नामाकाशः',
-'variants' => 'पाठभेदः',
+'namespaces' => 'नामाà¤\95ाशाà¤\83',
+'variants' => 'पाठà¤à¥\87दाà¤\83',
-'navigation-heading' => 'मारà¥\8dà¤\97णसà¥\82à¤\9aिः',
+'navigation-heading' => 'सà¤\9eà¥\8dà¤\9aरणावलिः',
'errorpagetitle' => 'दोषः',
'returnto' => '$1 प्रति निवर्त्यताम् ।',
'tagline' => '{{SITENAME}} तः',
'searcharticle' => 'गम्यताम्',
'history' => 'पृष्ठस्य इतिहासः',
'history_short' => 'इतिहासः',
-'updatedmarker' => 'मम पà¥\8cरà¥\8dविà¤\95-à¤\86à¤\97मन-पशà¥\8dà¤\9aातà¥\8d परिवरà¥\8dतितानि',
+'updatedmarker' => 'पà¥\82रà¥\8dवपà¥\8dरवà¥\87शाननà¥\8dतरसà¥\8dय परिवरà¥\8dतनानि',
'printableversion' => 'मुद्रणयोग्यं संस्करणम्',
'permalink' => 'स्थायिपरिसन्धिः',
'print' => 'मुद्र्यताम्',
'create-this-page' => 'इदं पृष्ठं सृज्यताम्',
'delete' => 'अपाक्रियताम्',
'deletethispage' => 'इदं पृष्ठम् अपाक्रियताम्',
-'undelete_short' => '{{PLURAL:$1|एकं सम्पादनं|$1 सम्पादनानि}} अनपाकरोतु',
-'viewdeleted_short' => 'दर्श्यताम् {{PLURAL:$1|एको विलुप्तं सम्पादनम्|$1 विलुप्तानि सम्पादनानि}}',
+'undeletethispage' => 'इदं पृष्ठं न अपाक्रियताम्',
+'undelete_short' => '{{PLURAL:$1|एकं सम्पादनं|$1 सम्पादनानि}} न अपाकरोतु',
+'viewdeleted_short' => '{{PLURAL:$1|एकम् अपाकृतं सम्पादनम् |$1 अपाकृतानि सम्पादनानि}} दृश्यताम्',
'protect' => 'संरक्ष्यताम्',
'protect_change' => 'परिवर्त्यताम्',
'protectthispage' => 'इदं पृष्ठं संरक्ष्यताम्',
'unprotect' => 'संरक्षणं परिवर्तयतु',
-'unprotectthispage' => 'à¤\85सà¥\8dय पà¥\81à¤\9fस्य सुरक्षां परिवर्तयतु ।',
+'unprotectthispage' => 'à¤\85सà¥\8dय पà¥\83षà¥\8dठस्य सुरक्षां परिवर्तयतु ।',
'newpage' => 'नवीनपृष्ठम्',
'talkpage' => 'अस्य पृष्ठस्य विषये चर्चा क्रियताम्',
'talkpagelinktext' => 'सम्भाषणम्',
'specialpage' => 'विशेषपृष्ठम्',
-'personaltools' => 'वà¥\88यà¤\95à¥\8dतिà¤\95साधनानि',
+'personaltools' => 'वà¥\88यà¤\95à¥\8dतिà¤\95à¥\8bपà¤\95रणानि',
'postcomment' => 'नवीनः विभागः',
'articlepage' => 'लेखः दृश्यताम्',
'talk' => 'सम्भाषणम्',
'imagepage' => 'सञ्चिकापृष्ठं दृश्यताम्',
'mediawikipage' => 'सन्देशपृष्ठं दृश्यताम्।',
'templatepage' => 'फलकपृष्ठं दृश्यताम्',
-'viewhelppage' => 'सहायपृष्ठं दृश्यताम्',
+'viewhelppage' => 'साहायà¥\8dयपृष्ठं दृश्यताम्',
'categorypage' => 'वर्गाणां पृष्ठं दृश्यताम्',
'viewtalkpage' => 'चर्चा दृश्यताम्',
'otherlanguages' => 'अन्यासु भाषासु',
'redirectedfrom' => '($1 इत्यस्मात् पुनर्निर्दिष्टम्)',
-'redirectpagesub' => 'à¤\85नà¥\81पà¥\8dरà¥\87षण-पà¥\83षà¥\8dठम्',
+'redirectpagesub' => 'पà¥\83षà¥\8dठमà¥\8d à¤\85नà¥\81पà¥\8dरà¥\87षà¥\8dयताम्',
'lastmodifiedat' => '$1 (तमे) दिनाङ्के अन्तिमसम्पादनं $2 समये अभवत्',
'viewcount' => 'एतत्पृष्ठं {{PLURAL:$1|एक वारं|$1 वारं}} दृष्टम् अस्ति',
'protectedpage' => 'संरक्षितपृष्ठम्',
'jumpto' => 'अत्र गम्यताम् :',
'jumptonavigation' => 'सञ्चरणं',
'jumptosearch' => 'अन्वेषणम्',
-'view-pool-error' => 'भोः, अधुना वितारकः अतिभाराक्रान्तः ।
-बहवः योजकाः एतत् पृष्ठं द्रष्टुं प्रयतमानाः सन्ति ।
-कृपया, कञ्चित्कालं प्रतीक्षतां करोतु ।
-$1',
-'pool-timeout' => 'कालावधिः समाप्ता, यन्त्रणस्यार्थे प्रतीक्षते',
-'pool-queuefull' => 'कुण्डपंक्तिः (पूल् क्यू इत्येषा) पूर्णा अस्ति।',
-'pool-errorunknown' => 'अज्ञाता त्रुटिः',
+'view-pool-error' => 'क्षम्यताम् ! सद्यः वितरकस्य (server) उपरि बहु कार्यभारः अस्ति ।
+बहवः जनाः एतत् पृष्ठं पश्यन्तः सन्ति ।
+एतत् पृष्ठं पुनर्द्रष्टुं पतिक्षा क्रियताम् । $1',
+'pool-timeout' => 'संरक्षणार्थं कालावधिः समाप्ता',
+'pool-queuefull' => 'Pool इति पङ्कतिः पूर्णा अस्ति ।',
+'pool-errorunknown' => 'अज्ञातदोषः',
# All link text and link target definitions of links into project namespace that get used by other message strings, with the exception of user group pages (see grouppage).
'aboutsite' => '{{SITENAME}} विषयकं',
'aboutpage' => 'Project:विषयकम्',
-'copyright' => 'à¤\85सà¥\8dय à¤\98à¤\9fà¤\95ानि $1 à¤\87तà¥\8dयसà¥\8dयानà¥\8dतरà¥\8dà¤\97तानि à¤\89पलबà¥\8dधानि।',
+'copyright' => 'à¤à¤¿à¤¨à¥\8dनà¥\8bलà¥\8dलà¤\96à¤\83 न à¤à¤µà¤¤à¤¿ तावतà¥\8d $1 à¤\85तà¥\8dर à¤\89लà¥\8dलà¥\87à¤\96à¥\8b à¤à¤µà¤¤à¤¿ ।',
'copyrightpage' => '{{ns:project}}:प्रतिकृत्यधिकारः',
'currentevents' => 'वर्तमानवार्ताः',
'currentevents-url' => 'Project:वर्तमानवार्ताः',
'privacy' => 'गोपनीयतानीतिः',
'privacypage' => 'Project:गोपनीयतानीतिः',
-'badaccess' => 'à¤\85नà¥\81à¤\9cà¥\8dà¤\9eा-पà¥\8dरमादः',
-'badaccess-group0' => 'à¤à¤µà¤¦à¤°à¥\8dथमà¥\8d, à¤\85तà¥\8dर पà¥\8dरारà¥\8dथितà¤\95à¥\8dरियायाà¤\83 पà¥\8dरवरà¥\8dतनà¤\82 न à¤\85नà¥\81मतमà¥\8d।',
-'badaccess-groups' => 'à¤à¤µà¤¤à¤¾ पà¥\8dरारà¥\8dथिता à¤\95à¥\8dरिया à¤\95à¥\87वलà¥\87 {{PLURAL:$2|à¤\85सà¥\8dमिनà¥\8d समà¥\82हà¥\87|à¤\8fतà¥\87षà¥\81 समà¥\82हà¥\87षà¥\81}} à¤\85नà¥\81मता à¤\85सà¥\8dति: $1।',
+'badaccess' => 'à¤\85नà¥\81मतिदà¥\8bषः',
+'badaccess-group0' => 'यसà¥\8dयाà¤\83 à¤\95à¥\8dरियायाà¤\83 à¤\95à¥\83तà¥\87 à¤à¤µà¤¾à¤¨à¥\8d/à¤à¤µà¤¤à¥\80 à¤\89दà¥\8dयà¥\81à¤\95à¥\8dता, तसà¥\8dयà¥\88 à¤\95à¥\8dरियायà¥\88 à¤\85नà¥\81मति नासà¥\8dति ।',
+'badaccess-groups' => 'यसà¥\8dयाà¤\83 à¤\95à¥\8dरियायाà¤\83 à¤\95à¥\83तà¥\87 à¤à¤µà¤¾à¤¨à¥\8d/à¤à¤µà¤¤à¥\80 à¤\89दà¥\8dयà¥\81à¤\95à¥\8dता, तसà¥\8dयà¥\88 à¤\95à¥\8dरियायà¥\88 $1 {{PLURAL:$2|à¤\85सà¥\8dमिनà¥\8d समà¥\82हà¥\87|à¤\8fतà¥\87षà¥\81 समà¥\82हà¥\87षà¥\81}} à¤\85नà¥\81मति नासà¥\8dति ।',
-'versionrequired' => 'मीडीयाविके: $1 संस्करणम् आवश्यकम् ।',
-'versionrequiredtext' => 'à¤\8fततà¥\8dपà¥\83षà¥\8dठà¤\82 पà¥\8dरयà¥\8bà¤\95à¥\8dतà¥\81à¤\82 मà¥\80डियाविà¤\95ि à¤\87तà¥\8dयà¥\87तसà¥\8dय $1तमा à¤\86वà¥\83तà¥\8dतिà¤\83 à¤\86वशà¥\8dयà¤\95à¥\80। पशà¥\8dयतà¥\81 [[Special:Version|à¤\86वà¥\83तà¥\8dति-सà¥\82à¤\9aिà¤\95ा]]',
+'versionrequired' => 'मीडीयाविक इत्यस्य $1 संस्करणम् आवश्यकम् ।',
+'versionrequiredtext' => 'à¤\85सà¥\8dय पà¥\83षà¥\8dठसà¥\8dय à¤\89पयà¥\8bà¤\97ारà¥\8dथà¤\82 मà¥\80डà¥\80याविà¤\95ि à¤\87तà¥\8dयसà¥\8dय $1 सà¤\82सà¥\8dà¤\95रणमà¥\8d à¤\86वशà¥\8dयà¤\95मà¥\8d । पशà¥\8dयतà¥\81 [[Special:सà¤\82सà¥\8dà¤\95रणमà¥\8d|सà¤\82सà¥\8dà¤\95रणानि]].',
'ok' => 'अस्तु',
'pagetitle' => '$1 - {{SITENAME}}',
'retrievedfrom' => '"$1" इत्यस्माद् पुनः प्राप्तिः',
-'youhavenewmessages' => 'भवदर्थम् $1 सन्ति। ($2).
-{{PLURAL:$3|भवतः/भवत्याः कृते}} $1 ($2).',
-'youhavenewmessagesfromusers' => 'भवदर्थम् {{PLURAL:$3|अन्यस्मात् सदस्यात्|$3 सदस्येभ्यः}} $1 अस्ति ($2)।',
-'youhavenewmessagesmanyusers' => 'नैकेभ्यः योजकेभ्यः ते $1 सन्ति $2 ।',
+'youhavenewmessages' => '{{PLURAL:$3|भवतः/भवत्याः कृते}} $1 ($2).',
+'youhavenewmessagesfromusers' => '{{PLURAL:$4|भवतः/भवत्याः कृते}} $1 {{PLURAL:$3|अन्यस्मात् योजकात्|$3 अन्येभ्यः योजकेभ्यः}} अस्ति ($2)।',
+'youhavenewmessagesmanyusers' => 'नैकेभ्यः योजकेभ्यः ते $1 सन्ति ($2) ।',
'newmessageslinkplural' => '{{PLURAL:$1|नूतनः सन्देशः|नूतनसन्देशाः}}',
-'newmessagesdifflinkplural' => 'सद्यः {{PLURAL:$1|परिवर्तनम्|परिवर्तनानि}}',
-'youhavenewmessagesmulti' => 'भवतः कृते $1 मध्ये नूतनः सन्देशः विद्यते',
+'newmessagesdifflinkplural' => 'सद्यः {{PLURAL:$1|परिवर्तनम्| परिवर्तनानि}}',
+'youhavenewmessagesmulti' => '$1 अत्र भवते नूतनसन्देशाः सन्ति',
'editsection' => 'सम्पाद्यताम्',
'editold' => 'सम्पाद्यताम्',
'viewsourceold' => 'स्रोतः दृश्यताम्',
'toc' => 'अन्तर्विषयाः',
'showtoc' => 'दर्श्यताम्',
'hidetoc' => 'गोप्यताम्',
-'collapsible-collapse' => 'सà¤\82à¤\95à¥\8bच्यताम्',
+'collapsible-collapse' => 'सà¤\99à¥\8dà¤\95à¥\81च्यताम्',
'collapsible-expand' => 'विस्तीर्यताम्',
-'thisisdeleted' => '$1 दरà¥\8dशयà¥\87तà¥\8d वा पà¥\8dरतà¥\8dयानयà¥\87तà¥\8d वा?',
+'thisisdeleted' => '$1 दà¥\83शà¥\8dयताà¤\82 पà¥\82रà¥\8dवतनà¤\82 à¤\95à¥\8dरियताà¤\82 वा ?',
'viewdeleted' => '$1 दृश्यताम् ?',
-'restorelink' => '{{PLURAL:$1|à¤\8fà¤\95मà¥\8d à¤\85पाà¤\95à¥\83तà¤\82 सà¤\82पादनमà¥\8d |$1 à¤\85पाà¤\95à¥\83तानि सà¤\82पादनानि}}',
+'restorelink' => '{{PLURAL:$1|à¤\8fà¤\95मà¥\8d à¤\85पाà¤\95à¥\83तà¤\82 समà¥\8dपादनमà¥\8d|$1 à¤\85पाà¤\95à¥\83तानि समà¥\8dपादनानि}}',
'feedlinks' => 'अनुबन्ध:',
-'feed-invalid' => 'à¤\85मानà¥\8dयà¤\82 सà¥\87वाà¤\97à¥\8dरहण-पà¥\82रण (सबà¥\8dसà¥\8dà¤\95à¥\8dरिपà¥\8dशन-फà¥\80डà¥\8d à¤\87ति) पà¥\8dरà¤\95ारà¤\83।',
-'feed-unavailable' => 'समवायसमà¥\8dपà¥\82रणà¤\82 नà¥\8bपलà¤ते ।',
-'site-rss-feed' => '$1 आरएसएस पूरणम्',
+'feed-invalid' => 'सदसà¥\8dयतायाà¤\83 à¤\85मानà¥\8dयà¤\83 à¤\85नà¥\81बनà¥\8dध(feed)पà¥\8dरà¤\95ारà¤\83',
+'feed-unavailable' => 'समवायानà¥\81बनà¥\8dधाà¤\83 नà¥\8bपलà¤à¤¨à¥\8dते ।',
+'site-rss-feed' => '$1 RSS अनुबन्धः',
'site-atom-feed' => '$1 अणुपूरणम्',
-'page-rss-feed' => '"$1" आरएसएस-पूरणम्',
+'page-rss-feed' => '"$1" RSS अनुबन्धः',
'page-atom-feed' => '"$1" अणुपूरणम्',
'red-link-title' => '$1 (पृष्ठं न विद्यते)',
-'sort-descending' => 'à¤\85वरà¥\8bहिà¤\95à¥\8dरमà¥\87ण सà¤\9cà¥\8dà¤\9cयतà¥\81',
-'sort-ascending' => 'à¤\86रà¥\8bहिà¤\95à¥\8dरमà¥\87ण सà¤\9cà¥\8dà¤\9cयतà¥\81',
+'sort-descending' => 'अवरोहक्रमेण सज्जयतु',
+'sort-ascending' => 'आरोहक्रमेण सज्जयतु',
# Short words for each namespace, by default used in the namespace tab in monobook
'nstab-main' => 'पृष्ठम्',
'nstab-image' => 'सञ्चिका',
'nstab-mediawiki' => 'सन्देशः',
'nstab-template' => 'फलकम्',
-'nstab-help' => 'सहायपृष्ठम्',
+'nstab-help' => 'साहायà¥\8dयपृष्ठम्',
'nstab-category' => 'वर्गः',
# Main script and global functions
# List redirects
'listredirects' => 'Seznam preusmeritev',
+# List duplicated files special page
+'listduplicatedfiles' => 'Seznam datotek z dvojniki',
+'listduplicatedfiles-summary' => 'Seznam datotek, kjer je najnovejša različica datoteke dvojnik najnovejše različice neke druge datoteke. Upoštevamo samo lokalne datoteke.',
+'listduplicatedfiles-entry' => '[[:File:$1|$1]] ima [[$3|{{PLURAL:$2|dvojnik|$2 dvojnika|$2 dvojnike|$2 dvojnikov}}]].',
+
# Unused templates
'unusedtemplates' => 'Osirotele predloge',
'unusedtemplatestext' => 'Naslednji seznam navaja vse strani v imenskem prostoru {{ns:template}}, ki niso vključene v nobeno stran.
'protectedtitles-summary' => 'На овој страници се налази списак тренутно заштићених наслова. За списак тренутно заштићених страница види [[{{#special:ProtectedPages}}|{{int:protectedpages}}]].',
'protectedtitlesempty' => 'Нема заштићених наслова с овим параметрима.',
'listusers' => 'Списак корисника',
-'listusers-editsonly' => 'прикажи само кориснике који су уређивали',
-'listusers-creationsort' => 'поређај по датуму стварања',
-'listusers-desc' => 'сортирај у опадајућем редоследу',
+'listusers-editsonly' => 'Ð\9fрикажи само кориснике који су уређивали',
+'listusers-creationsort' => 'Ð\9fоређај по датуму стварања',
+'listusers-desc' => 'Сортирај у опадајућем редоследу',
'usereditcount' => '$1 {{PLURAL:$1|измена|измене|измена}}',
'usercreated' => '{{GENDER:$3|је направио|је направила|је направио}} дана $1 у $2',
'newpages' => 'Нове странице',
'protectedtitles' => 'Zaštićeni naslovi',
'protectedtitlesempty' => 'Nema zaštićenih naslova s ovim parametrima.',
'listusers' => 'Spisak korisnika',
-'listusers-editsonly' => 'prikaži samo korisnike koji su uređivali',
-'listusers-creationsort' => 'poređaj po datumu stvaranja',
-'listusers-desc' => 'sortiraj u opadajućem redosledu',
+'listusers-editsonly' => 'Prikaži samo korisnike koji su uređivali',
+'listusers-creationsort' => 'Poređaj po datumu stvaranja',
+'listusers-desc' => 'Sortiraj u opadajućem redosledu',
'usereditcount' => '$1 {{PLURAL:$1|izmena|izmene|izmena}}',
'usercreated' => '{{GENDER:$3|je napravio|je napravila|je napravio}} dana $1 u $2',
'newpages' => 'Nove stranice',
'tog-useeditwarning' => 'เตือนฉัน เมื่อฉันกำลังจะออกจากหน้าแก้ไขโดยมีข้อมูลที่ยังไม่ได้บันทึก',
'tog-prefershttps' => 'ใช้การเชื่อมต่อปลอดภัยทุกครั้งเมื่อล็อกอิน',
-'underline-always' => 'à¹\80สมà¸',
-'underline-never' => 'ไม่เคย',
+'underline-always' => 'à¸\97ุà¸\81à¸\84รัà¹\89à¸\87',
+'underline-never' => 'ไม่',
'underline-default' => 'ค่าโดยปริยายของหน้าตาหรือเบราว์เซอร์',
# Font style option in Special:Preferences
'gotaccountlink' => 'ล็อกอิน',
'userlogin-resetlink' => 'ลืมรายละเอียดล็อกอินของคุณหรือ',
'userlogin-resetpassword-link' => 'ลืมรหัสผ่านหรือ',
+'userlogin-helplink2' => 'วิธีใช้เรื่องการล็อกอิน',
'userlogin-loggedin' => 'คุณล็อกอินในชื่อ {{GENDER:$1|$1}} แล้ว
ใช้แบบด้านล่างเพื่อล็อกอินเป็นอีกผู้ใช้หนึ่ง',
'userlogin-createanother' => 'สร้างอีกบัญชี',
'createacct-another-realname-tip' => 'ไม่จำเป็นต้องใส่ชื่อจริง
หากคุณเลือกใส่ชื่อจริง จะใช้เพื่อแสดงที่มาสำหรับงานของตน',
'pt-login' => 'ล็อกอิน',
+'pt-login-button' => 'ล็อกอิน',
'pt-createaccount' => 'สร้างบัญชี',
'pt-userlogout' => 'ล็อกเอาต์',
'resetpass-abort-generic' => 'การเปลี่ยนรหัสผ่านถูกส่วนขยายยกเลิก',
'resetpass-expired' => 'รหัสผ่านของคุณหมดอายุแล้ว โปรดตั้งรหัสผ่านใหม่เพื่อล็อกอิน',
'resetpass-expired-soft' => 'รหัสผ่านของคุณหมดอายุแล้วและจำเป็นต้องตั้งใหม่ โปรดเลือกรหัสผ่านใหม่ขณะนี้ หรือคลิก "{{int:resetpass-submit-cancel}}" เพื่อตั้งใหม่ทีหลัง',
+'resetpass-validity-soft' => 'รหัสผ่านของคุณไม่สมเหตุสมผล: $1
+
+โปรดเลือดรหัสผ่านใหม่ในขณะนี้ หรือคลิก "{{int:resetpass-submit-cancel}}" เพื่อตั้งใหม่ทีหลัง',
# Special:PasswordReset
'passwordreset' => 'ตั้งรหัสผ่านใหม่',
'page_first' => 'แรกสุด',
'page_last' => 'ท้ายสุด',
'histlegend' => 'วิธีเปรียบเทียบ: เลือกปุ่มของรุ่นสองรุ่นที่ต้องการเปรียบเทียบ และกดปุ่มเริ่มเปรียบเทียบด้านล่าง<br />
-คำอธิบาย: (ป) = เทียบกับรุ่นปัจจุบัน, (ก) = เทียบกับรุ่นก่อนหน้า, ล = การแก้ไขเล็กน้อย',
+คำอธิบาย: <strong>({{int:cur}})</strong> = เทียบกับรุ่นปัจจุบัน, <strong>({{int:last}})</strong> = เทียบกับรุ่นก่อนหน้า, <strong>{{int:minoreditletter}}</strong> = การแก้ไขเล็กน้อย',
'history-fieldset-title' => 'ค้นหาประวัติ',
'history-show-deleted' => 'เฉพาะที่ถูกลบ',
'histfirst' => 'แรกสุด',
'revdelete-show-file-submit' => 'ใช่',
'revdelete-selected' => "'''{{PLURAL:$2|รุ่นการปรับปรุงที่ถูกเลือก|รุ่นการปรับปรุงที่ถูกเลือก}}ของ [[:$1]] :'''",
'logdelete-selected' => "'''{{PLURAL:$1|เหตุการณ์ปูมที่เลือก|เหตุการณ์ปูมที่เลือก}} :'''",
+'revdelete-text-text' => 'รุ่นที่ถูกลบจะยังปรากฏในประวัติหน้า แต่สาธารณะจะไม่สามารถเข้าถึงเนื้อหาบางส่วนได้',
+'revdelete-text-file' => 'รุ่นที่ถูกลบจะยังปรากฏในประวัติไฟล์ แต่สาธารณะจะไม่สามารถเข้าถึงเนื้อหาบางส่วนได้',
+'logdelete-text' => 'รายการปูมที่ถูกลบจะยังปรากฏในปูม แต่สาธารณะจะไม่สามารถเข้าถึงเนื้อหาบางส่วนได้',
+'revdelete-text-others' => 'ผู้ดูแลระบบคนอื่นบน {{SITENAME}} จะยังสามารถเข้าถึงเนื้อหาที่ถูกซ่อน และสามารถกู้คืนได้อีกผ่านอินเตอร์เฟซเดียวกันนี้ ยกเว้นตั้งข้อจำกัดเพิ่มเติม',
'revdelete-confirm' => 'กรุณายืนยันว่าคุณมีเจตนาลบจริง และเข้าใจผลลัพธ์ และกระทำภายใต้[[{{MediaWiki:Policy-url}}|นโยบาย]]',
'revdelete-suppress-text' => "การระงับควรใช้'''เฉพาะ'''กรณีต่อไปนี้:
* ข้อมูลที่อาจหมิ่นประมาท
'nextn-title' => '$1 ผลลัพธ์ถัดไป',
'shown-title' => 'แสดง $1 ผลลัพธ์ต่อหน้า',
'viewprevnext' => 'ดู ($1 {{int:pipe-separator}} $2) ($3)',
-'searchmenu-exists' => "'''มีหน้าชื่อ \"[[:\$1]]\" บนวิกินี้'''",
+'searchmenu-exists' => '<strong>มีหน้าชื่อ "[[:$1]]" บนวิกินี้</strong>
+{{PLURAL:$2|0=|ดูผลการค้นหาอื่นที่พบเพิ่มเติม}}',
'searchmenu-new' => '<strong>สร้างหน้า "[[:$1]]" บนวิกินี้!</strong> {{PLURAL:$2|0=|ดูหน้าที่พบด้วยการค้นหาของคุณ|ดูผลการค้นหาที่พบเพิ่มเติม}}',
'searchprofile-articles' => 'หน้าเนื้อหา',
'searchprofile-project' => 'คำอธิบายและหน้าโครงการ',
'search-file-match' => '(จับคู่เนื้อหาไฟล์)',
'search-suggest' => 'คุณอาจหมายถึง: $1',
'search-interwiki-caption' => 'โครงการพี่น้อง',
-'search-interwiki-default' => '$1 ผลลัพธ์:',
+'search-interwiki-default' => 'ผลลัพธ์จาก $1 :',
'search-interwiki-more' => '(เพิ่มเติม)',
'search-relatedarticle' => 'สัมพันธ์',
'searcheverything-enable' => 'ค้นหาในทุกเนมสเปซ',
'recentchangeslinked-title' => 'การปรับปรุงที่โยงมายัง "$1"',
'recentchangeslinked-summary' => "หน้านี้เป็นรายการปรับปรุงล่าสุดของหน้าที่ถูกโยงไป (หรือไปยังหน้าต่าง ๆ ของหมวดหมู่ที่กำหนด) โดยหน้าที่อยู่ใน[[Special:Watchlist|รายการเฝ้าดู]]แสดงเป็น'''ตัวหนา'''",
'recentchangeslinked-page' => 'ชื่อหน้า:',
-'recentchangeslinked-to' => 'à¹\81สà¸\94à¸\87à¸\81ารà¹\80à¸\9bลีà¹\88ยà¸\99à¹\81à¸\9bลà¸\87à¸\97ีà¹\88à¹\80à¸\8aืà¹\88à¸à¸¡à¹\82ยà¸\87มายัà¸\87หà¸\99à¹\89าà¸\99ีà¹\89แทน',
+'recentchangeslinked-to' => 'à¹\81สà¸\94à¸\87à¸\81ารà¹\80à¸\9bลีà¹\88ยà¸\99à¹\81à¸\9bลà¸\87à¹\84à¸\9bยัà¸\87หà¸\99à¹\89าà¸\97ีà¹\88à¹\80à¸\8aืà¹\88à¸à¸¡à¹\82ยà¸\87มายัà¸\87หà¸\99à¹\89าà¸\97ีà¹\88ระà¸\9aุแทน',
# Upload
'upload' => 'อัปโหลดไฟล์',
'uploadlogpagetext' => 'ด้านล่างเป็นรายการการอัปโหลดไฟล์ล่าสุด
ดูภาพรวมที่ [[Special:NewFiles|แกลอรีไฟล์ใหม่]]',
'filename' => 'ชื่อไฟล์',
-'filedesc' => 'รายละà¹\80à¸à¸µà¸¢à¸\94à¹\84à¸\9fลà¹\8c',
+'filedesc' => 'à¸\84วามยà¹\88à¸',
'fileuploadsummary' => 'รายละเอียดไฟล์:',
'filereuploadsummary' => 'เปลี่ยนแปลงไฟล์:',
'filestatus' => 'สถานะลิขสิทธิ์:',
'protect-locked-dblock' => "ไม่สามารถเปลี่ยนระดับการล็อกได้เนื่องจากฐานข้อมูลถูกล็อก การตั้งค่าปัจจุบันของหน้า '''$1''' คือ:",
'protect-locked-access' => "บัญชีของคุณไม่ได้รับอนุญาตให้เปลี่ยนแปลงระดับการล็อกหน้า การตั้งค่าปัจจุบันของหน้า '''$1''' คือ:",
'protect-cascadeon' => 'หน้านี้ถูกล็อกเนื่องจากเป็นส่วนหนึ่งของ{{PLURAL:$1|หน้า|หน้า}}ที่เปิดการล็อกแบบสืบทอด
-à¸\84ุà¸\93สามารà¸\96à¹\80à¸\9bลีà¹\88ยà¸\99ระà¸\94ัà¸\9aà¸\81ารลà¹\87à¸à¸\81à¹\84à¸\94à¹\89 à¹\81à¸\95à¹\88จะไม่มีผลต่อการล็อกแบบสืบทอด',
+à¸\81ารà¹\80à¸\9bลีà¹\88ยà¸\99ระà¸\94ัà¸\9aà¸\81ารลà¹\87à¸à¸\81à¸\82à¸à¸\87หà¸\99à¹\89าà¸\99ีà¹\89จะไม่มีผลต่อการล็อกแบบสืบทอด',
'protect-default' => 'อนุญาตผู้ใช้ทั้งหมด',
'protect-fallback' => 'อนุญาตเฉพาะผู้ใช้ที่มีสิทธิ "$1"',
'protect-level-autoconfirmed' => 'อนุญาตเฉพาะผู้ใช้ยืนยันอัตโนมัติ',
'blanknamespace' => '(หลัก)',
# Contributions
-'contributions' => 'เรื่องที่ผู้ใช้รายนี้เขียน',
+'contributions' => 'เรื่องที่{{GENDER:$1|ผู้ใช้}}รายนี้เขียน',
'contributions-title' => 'เรื่องที่เขียนโดย $1',
'mycontris' => 'เรื่องที่เขียน',
'contribsub2' => 'สำหรับ {{GENDER:$3|$1}} ($2)',
'nocontribs' => 'ไม่พบการเปลี่ยนแปลงตรงกับเงื่อนไขเหล่านี้',
'uctop' => '(ปัจจุบัน)',
-'month' => 'à¸\88าà¸\81เดือน (และก่อนหน้า):',
-'year' => 'à¸\88าà¸\81ปี (และก่อนหน้า):',
+'month' => 'à¸\95ัà¹\89à¸\87à¹\81à¸\95à¹\88เดือน (และก่อนหน้า):',
+'year' => 'à¸\95ัà¹\89à¸\87à¹\81à¸\95à¹\88ปี (และก่อนหน้า):',
'sp-contributions-newbies' => 'แสดงการแก้ไขของบัญชีใหม่เท่านั้น',
'sp-contributions-newbies-sub' => 'สำหรับบัญชีใหม่',
'tooltip-ca-nstab-template' => 'ดูหน้าแม่แบบ',
'tooltip-ca-nstab-help' => 'ดูหน้าคำอธิบาย',
'tooltip-ca-nstab-category' => 'ดูหน้าหมวดหมู่',
-'tooltip-minoredit' => 'à¸\81ำหà¸\99à¸\94เป็นการแก้ไขเล็กน้อย',
+'tooltip-minoredit' => 'à¸\97ำà¹\80à¸\84รืà¹\88à¸à¸\87หมายเป็นการแก้ไขเล็กน้อย',
'tooltip-save' => 'บันทึกการแก้ไข',
'tooltip-preview' => 'แสดงตัวอย่างการเปลี่ยนแปลงของคุณ กรุณาใช้คำสั่งนี้ก่อนบันทึก!',
'tooltip-diff' => 'แสดงการเปลี่ยนการต่อข้อความ',
* @author Rhinestorm
* @author Runningfridgesrule
* @author Sadrettin
+ * @author SiLveRLeaD
* @author Srhat
* @author Stultiwikia
* @author Suelnur
'createacct-another-realname-tip' => 'Gerçek adınız isteğe bağlıdır.
Eğer gerçek adınızı belirtirseniz, çalışmalarınıza atıfta bulunulması için de kullanılacaktır.',
'pt-login' => 'Giriş yap',
+'pt-login-button' => 'Oturum aç',
'pt-createaccount' => 'Hesap oluştur',
'pt-userlogout' => 'Oturumu kapat',
* @author Sodmy
* @author Ua2004
* @author Urhixidur
+ * @author Vittalio
* @author VolodymyrF
* @author Vox
* @author Yuriy Apostol
# List redirects
'listredirects' => 'Список перенаправлень',
+# List duplicated files special page
+'listduplicatedfiles' => 'Список файлів з дублікатами',
+'listduplicatedfiles-summary' => 'Це список файлів, де остання версія файлу вважається дублікатом останньої версії деяких інших файлів. Враховуються тільки локальні файли.',
+'listduplicatedfiles-entry' => 'У файлу [[:File:$1|$1]] - [[$3|{{PLURAL:$2|один дублікат|$2 дублікатів|$2 дублікат}}]].',
+
# Unused templates
'unusedtemplates' => 'Шаблони, що не використовуються',
'unusedtemplatestext' => 'На цій сторінці показані всі сторінки простору назв «{{ns:template}}», які не включені до інших сторінок. Не забувайте перевірити відсутність інших посилань на шаблон, перш ніж вилучити його.',
Поточні установки для сторінки '''$1''':",
'protect-locked-access' => "У вашого облікового запису недостатньо прав для зміни рівня захисту сторінки.
Поточні установки для сторінки: '''$1''':",
-'protect-cascadeon' => 'Ця сторінка захищена, бо вона включена {{PLURAL:$1|1=до зазначеної нижче сторінки, на яку|до нижчезазначених сторінок, на які}} встановлено каскадний захист. Ви можете змінити рівень захисту цієї сторінки, але це не вплине на каскадний захист.',
+'protect-cascadeon' => "Ця сторінка зараз захищена у зв'язку з тим, що вона включена в {{PLURAL:$1/1=зазначену нижче сторінку, для якої|нижченаведені сторінки, для яких}} встановлений каскадний захист. Зміни рівня захисту цієї сторінки не вплине на каскадний захист.",
'protect-default' => 'Дозволити всім користувачам',
'protect-fallback' => 'Дозволено тільки користувачам із дозволом «$1»',
'protect-level-autoconfirmed' => 'Дозволено тільки автопідтвердженим користувачам',
'tooltip-n-portal' => 'Loyiha haqida, nimalar qilishingiz mumkin, nimalarni qayerdan topish mumkin',
'tooltip-n-currentevents' => 'Joriy hodisalar haqida ma’lumot olish',
'tooltip-n-recentchanges' => 'Wikidagi eng so‘nggi o‘zgartirishlar ro‘yxati',
-'tooltip-n-randompage' => 'Tasodifiy sahifani yuklash',
-'tooltip-n-help' => 'O‘rganish uchun manzil',
+'tooltip-n-randompage' => 'Tasodifiy sahifaga oʻtish',
+'tooltip-n-help' => 'Qisqa va loʻnda maʼlumotnoma',
'tooltip-t-whatlinkshere' => 'Ushbu sahifaga bogʻlangan sahifalar roʻyxati',
'tooltip-t-recentchangeslinked' => 'Bu sahifaga bogʻlangan sahifalardagi yangi oʻzgarishlar',
'tooltip-feed-rss' => "Bu sahifa uchun RSS ta'minot",
'gotaccountlink' => 'Đăng nhập',
'userlogin-resetlink' => 'Quên mất thông tin đăng nhập?',
'userlogin-resetpassword-link' => 'Quên mật khẩu?',
+'userlogin-helplink2' => 'Trợ giúp đăng nhập',
'userlogin-loggedin' => 'Bạn đã đăng nhập với tên {{GENDER:$1}}$1.
Hãy sử dụng biểu mẫu ở dưới để đăng nhập với tài khoản người dùng khác.',
'userlogin-createanother' => 'Mở thêm tài khoản',
'resetpass-abort-generic' => 'Một phần mở rộng đã hủy bỏ tác vụ thay đổi mật khẩu.',
'resetpass-expired' => 'Mật khẩu của bạn đã hết hạn. Xin vui lòng tạo lại mật khẩu mới để đăng nhập.',
'resetpass-expired-soft' => 'Mật khẩu của bạn đã hết hạn và cần được đặt lại. Xin vui lòng chọn một mật khẩu mới lúc bây giờ hoặc bấm “{{int:resetpass-submit-cancel}}” để đặt lại sau.',
+'resetpass-validity-soft' => 'Mật khẩu của bạn không hợp lệ: $1
+
+Xin hãy chọn mật khẩu mới bây giờ hoặc bấm “{{int:resetpass-submit-cancel}}” để đặt lại sau.',
# Special:PasswordReset
'passwordreset' => 'Tái tạo mật khẩu',
Đây là trạng thái hiện tại của trang '''$1''':",
'protect-locked-access' => "Tài khoản của bạn không được cấp quyền đổi mức khóa của trang.
Đây là trạng thái hiện tại của trang '''$1''':",
-'protect-cascadeon' => 'Trang này hiện bị khóa vì nó được nhúng vào {{PLURAL:$1|những trang|trang}} dưới đây bị khóa với tùy chọn “khóa theo tầng” được kích hoạt. Bạn có thể đổi mức độ khóa của trang này, nhưng nó sẽ không ảnh hưởng đến việc khóa theo tầng.',
+'protect-cascadeon' => 'Trang này hiện bị khóa vì nó được nhúng vào {{PLURAL:$1|những trang|trang}} dưới đây bị khóa với tùy chọn “khóa theo tầng” được kích hoạt. Việc thay đổi mức độ khóa của trang này sẽ không ảnh hưởng đến việc khóa theo tầng.',
'protect-default' => 'Cho phép mọi thành viên',
'protect-fallback' => 'Chỉ cho phép những người dùng có quyền “$1”',
'protect-level-autoconfirmed' => 'Chỉ cho phép các thành viên tự động xác nhận',
'gotaccountlink' => 'אַרײַנלאגירן',
'userlogin-resetlink' => 'פארגעסן אײַערע אַרײַנלאָגירן פרטים?',
'userlogin-resetpassword-link' => 'פֿאַרגעסן אײַער פאַסווארט?',
+'userlogin-helplink2' => 'הילף מיט ארײַנלאגירן',
'userlogin-loggedin' => 'איר זענט שוין אריינלאגירט ווי {{GENDER:$1|$1}}.
ניצט די פארעם אונטן כדי אריינלאגירן ווי אן אנדער באניצער.',
'userlogin-createanother' => 'שאפֿן נאך א קאנטע',
'resetpass-wrong-oldpass' => 'אומגילטיג צײַטווײַליק אדער לויפֿיק פאַסווארט.
איר האט מעגלעך שוין געטוישט אייער פאַסווארט מיט הצלחה אדער געבעטן א נײַ צײַטווײַליק פאַסווארט.',
'resetpass-recycled' => 'זײַט אזוי גוט שטעטל אירע פאסווארט צו עפעס אנדערש פונעם לויפיקן פאסווארט.',
+'resetpass-temp-emailed' => 'איר האט זיך ארי לאגירת מיט א פראוויזארישן קאד געשיקט דורכן ע־פאסט. כדי שליסן דאס ארײַנלאגירן, דארט איר שטעלן א נײַ פאסווארט דא.',
'resetpass-temp-password' => 'צײַטווייליק פאַסווארט:',
'resetpass-abort-generic' => 'פאסווארט ענדערונג איז מבוטל געווארן דורך א פארברייטערונג.',
'resetpass-expired' => 'אירע פאסווארט איז אויסגעגאנגען. זײַט אזוי גוט שטעלט א נײַ פאסווארט כדי ארײַנלאגירן.',
דא זענען די לויפֿיקע שטעלונגען פֿאַר דעם בלאַט '''$1''':",
'protect-cascadeon' => 'דער בלאַט איז געשיצט אַצינד ווײַל ער איז אײַנגעשלאסן אין {{PLURAL:$1|דעם פֿאלגנדן בלאַט, וואס האט|די פֿאלגנדע בלעטער, וואס האבן}} קאַסקאַדירטע שיצונג.
-×\90×\99ר ×§×¢× ×\98 ×¢× ×\93ער×\9f ×\93×¢×\9d ש×\99צ×\95× ×\92 × ×\99×\95×\95×\90 פ×\95× ×¢×\9d ×\91×\9c×\90Ö·×\98, ×\90×\91ער ×\93×\90ס ×\95×\95×¢×\98 נישט ווירקן אויף דער קאַסקאַדירטער שיצונג .',
+×¢× ×\93ער×\95× ×\92×¢×\9f צ×\95×\9d ש×\99צ×\95× ×\92 × ×\99×\95×\95×\90 פ×\95× ×¢×\9d ×\91×\9c×\90Ö·×\98 ×\95×\95×¢×\9c×\9f נישט ווירקן אויף דער קאַסקאַדירטער שיצונג .',
'protect-default' => 'אלע באניצער ערלויבט',
'protect-fallback' => 'דערלויבן נאר באניצער מיט "$1" ערלויבניש',
'protect-level-autoconfirmed' => 'לאזן נאר אויטאמאטיש באשטעטיקטע באַניצער',
# Upload
'upload' => '上传文件',
'uploadbtn' => '上传文件',
-'reuploaddesc' => '取消上传并返回上传表单',
-'upload-tryagain' => '提交修改后的文件描述',
+'reuploaddesc' => '取消上传,返回上传表格',
+'upload-tryagain' => '提交修改过的文件说明',
'uploadnologin' => '未登录',
'uploadnologintext' => '您必须先$1才能上传文件。',
'upload_directory_missing' => '上传目录($1)遗失,不能由网页服务器建立。',
'upload_directory_read_only' => '上传目录($1)不存在或无写权限。',
-'uploaderror' => '上传错误',
+'uploaderror' => '上传出错',
'upload-recreate-warning' => "'''警告:一个相同名字的文件曾经被删除或者移动至别处。'''
这个页面的删除和移动日志在这里提供以便参考:",
-'uploadtext' => "请使用下面的表格上传文件。要查看或搜索以前上传的文件,可以进入[[Special:FileList|文件上传列表]],(重新)上传也将在[[Special:Log/upload|上传日志]]中记录,而删除将在[[Special:Log/delete|删除日志]]中记录。
+'uploadtext' => '请使用下面的表格上传文件。要查看或搜索以往上传的文件,请前往[[Special:FileList|上传的文件的列表]],(重新)上传也将记录在[[Special:Log/upload|上传日志]]中,删除将记录在[[Special:Log/delete|删除日志]]中。
-è¦\81å\9c¨é¡µé\9d¢ä¸å\8a å\85¥文件,请使用一种以下形式的链接:
-* '''<code><nowiki>[[</nowiki>{{ns:file}}<nowiki>:File.jpg]]</nowiki></code>'''使用文件的完整版本
-* '''<code><nowiki>[[</nowiki>{{ns:file}}<nowiki>:File.png|200px|thumb|left|替换文字]]</nowiki></code>'''使用放置于左侧的一个框内的200像素宽的图片,同时使用“替换文字”作为描述
-* '''<code><nowiki>[[</nowiki>{{ns:media}}<nowiki>:File.ogg]]</nowiki></code>'''直接链接到文件而不显示文件",
+è¦\81å\9c¨é¡µé\9d¢ä¸å\8c\85å\90«文件,请使用一种以下形式的链接:
+* <strong><code><nowiki>[[</nowiki>{{ns:file}}<nowiki>:File.jpg]]</nowiki></code></strong>使用文件的完整版本
+* <strong><code><nowiki>[[</nowiki>{{ns:file}}<nowiki>:File.png|200px|thumb|left|替代文字]]</nowiki></code></strong>使用位于页面左边的框内的200像素宽的图片,以“替代文字”作为说明
+* <strong><code><nowiki>[[</nowiki>{{ns:media}}<nowiki>:File.ogg]]</nowiki></code></strong>直接链接到文件而不显示文件',
'upload-permitted' => '允许的文件类型:$1。',
'upload-preferred' => '建议的文件类型:$1。',
'upload-prohibited' => '禁止的文件类型:$1。',
'filestatus' => '著作权状况:',
'filesource' => '来源:',
'uploadedfiles' => '已上传文件',
-'ignorewarning' => '忽视警告并继续保存文件',
+'ignorewarning' => '忽略警告,继续保存文件',
'ignorewarnings' => '忽略所有警告',
'minlength1' => '文件名至少要有一个字符。',
'illegalfilename' => '文件名“$1”包含在页面标题中不允许使用的字符。请重命名该文件,然后重新上传。',
'emptyfile' => '您所上传的文件不存在。这可能是由于文件名键入错误。请检查您是否真的要上传此文件。',
'windows-nonascii-filename' => '本wiki不支持在文件名中使用特殊字符。',
'fileexists' => '已存在相同名称的文件,如果您无法确定您是否要改变它,请检查<strong><strong>[[:$1]]</strong></strong>。 [[$1|thumb]]',
-'filepageexists' => '这个文件的描述页已经于<strong><strong>[[:$1]]</strong></strong>创建,但是这个名称的文件尚不存在。
-您输入的摘要不会显示在该描述页中。
-要令该摘要在该处中出现,您需要手动地编辑该页。
-[[$1|thumb]]',
+'filepageexists' => '该文件的说明页面已经创建于<strong>[[:$1]]</strong>,但是目前没有名称为此的文件存在。你输入的摘要不会显示在说明页面上。要使你的摘要在那里显示,你需要手工编辑它。[[$1|thumb]]',
'fileexists-extension' => '一个相似名称的文件已经存在: [[$2|thumb]]
* 上传文件的文件名:<strong>[[:$1]]</strong>
* 现有文件的文件名:<strong>[[:$2]]</strong>
# File description page
'file-anchor-link' => '文件',
'filehist' => '文件历史',
-'filehist-help' => '查看某一时刻的文件,请单击相应的日期/时间。',
+'filehist-help' => '单击某个日期/时间查看对应时刻的文件。',
'filehist-deleteall' => '删除全部',
'filehist-deleteone' => '删除',
'filehist-revert' => '恢复',
'morelinkstoimage' => '查看连接到这个文件的[[Special:WhatLinksHere/$1|更多链接]]。',
'linkstoimage-redirect' => '$1(文件重定向)$2',
'duplicatesoffile' => '以下{{PLURAL:$1|文件|$1个文件}}是本文件的副本([[Special:FileDuplicateSearch/$2|更多细节]]):',
-'sharedupload' => '本文件来自$1并可能被其它项目使用。',
-'sharedupload-desc-there' => '本文件来自$1并可能被其它项目使用。更多信息请见[$2 文件说明页面]。',
-'sharedupload-desc-here' => '本文件来自$1并可能被其它项目使用。其[$2 文件说明页面]上的说明显示在下面。',
-'sharedupload-desc-edit' => '本文件来自$1并可能被其它项目使用。也许你想要编辑其[$2 文件说明页面]上的说明。',
+'sharedupload' => '本文件来自$1并可能被其他项目使用。',
+'sharedupload-desc-there' => '本文件来自$1并可能被其他项目使用。更多信息请见[$2 文件说明页面]。',
+'sharedupload-desc-here' => '本文件来自$1并可能被其他项目使用。其[$2 文件说明页面]上的说明显示在下面。',
+'sharedupload-desc-edit' => '本文件来自$1并可能被其他项目使用。也许你想要编辑其[$2 文件说明页面]上的说明。',
'sharedupload-desc-create' => '本文件来自$1并可能被其他项目使用。也许你想要编辑其[$2 文件说明页面]上的说明。',
'filepage-nofile' => '不存在此名称的文件。',
'filepage-nofile-link' => '不存在此名称的文件,但您可以[$1 上传它]。',
'uploadnewversion-linktext' => '上传该文件的新版本',
-'shared-repo-from' => '出自$1',
-'shared-repo' => '一个共用文件库',
+'shared-repo-from' => '来自$1',
+'shared-repo' => '一个共享文件库',
'shared-repo-name-wikimediacommons' => '维基共享资源',
'upload-disallowed-here' => '您不可以覆盖此文件。',
# List redirects
'listredirects' => '重定向列表',
+# List duplicated files special page
+'listduplicatedfiles' => '重复文件列表',
+'listduplicatedfiles-summary' => '这是某文件的最新版本与其他文件最新版本重复的文件列表。仅考虑本地文件。',
+'listduplicatedfiles-entry' => '文件[[:File:$1|$1]]与[[$3|$2个重复]]。',
+
# Unused templates
'unusedtemplates' => '未使用模板',
'unusedtemplatestext' => '本页面列出{{ns:template}}名字空间中所有未包含于其它页面的页面。请记得在删除这些模板前检查其他链至它们的链接。',
'exif-contrast' => '对比度',
'exif-saturation' => '饱和度',
'exif-sharpness' => '锐化',
-'exif-devicesettingdescription' => '设备设定描述',
+'exif-devicesettingdescription' => '设备设置说明',
'exif-subjectdistancerange' => '主体距离范围',
'exif-imageuniqueid' => '唯一图像ID',
'exif-gpsversionid' => 'GPS标签版本',
'exif-editstatus' => '编辑状态的图像',
'exif-urgency' => '紧急性',
'exif-fixtureidentifier' => '夹具名称',
-'exif-locationdest' => '位置描述',
+'exif-locationdest' => '描绘的地点',
'exif-locationdestcode' => '位置所示的代码',
'exif-objectcycle' => '媒体文件使用时间要求',
'exif-contact' => '联系信息',
'exif-intellectualgenre' => '项目类型',
'exif-subjectnewscode' => '主题代码',
'exif-scenecode' => 'IPTC 现场代码',
-'exif-event' => '事件描述',
-'exif-organisationinimage' => '组织描述',
-'exif-personinimage' => '描述的人',
+'exif-event' => '描绘的事件',
+'exif-organisationinimage' => '描绘的组织',
+'exif-personinimage' => '描绘的人物',
'exif-originalimageheight' => '裁剪前的图像高度',
'exif-originalimagewidth' => '裁剪前的图像宽度',
# List redirects
'listredirects' => '重定向清單',
+# List duplicated files special page
+'listduplicatedfiles' => '重複檔案列表',
+'listduplicatedfiles-summary' => '以下列表中某檔案之最新版本與其他檔案之最新版本重複。進包含本地檔案',
+'listduplicatedfiles-entry' => '檔案[[:File:$1|$1]]與[[$3|其他$2個重複]]。',
+
# Unused templates
'unusedtemplates' => '未使用的模板',
'unusedtemplatestext' => '本頁面列出{{ns:template}}名字空間下所有未被其他頁面使用的頁面。請在刪除這些模板前檢查其他連入該模板的頁面。',
wikif1|http://www.wikif1.org/$1|0
wikihow|http://www.wikihow.com/$1|0
wikinfo|http://www.wikinfo.org/index.php/$1|0
-# The following wik[it]* interwikis but wikitravel belong to the Wikimedia Family:
+# The following wik[it]* interwikis belong to the Wikimedia Family:
wikimedia|https://wikimediafoundation.org/wiki/$1|0
wikinews|https://en.wikinews.org/wiki/$1|1
wikipedia|https://en.wikipedia.org/wiki/$1|1
wikiquote|https://en.wikiquote.org/wiki/$1|1
wikisource|https://wikisource.org/wiki/$1|1
wikispecies|https://species.wikimedia.org/wiki/$1|1
-wikitravel|http://wikitravel.org/en/$1|0
wikiversity|https://en.wikiversity.org/wiki/$1|1
wikivoyage|https://en.wikivoyage.org/wiki/$1|1
wikt|https://en.wiktionary.org/wiki/$1|1
('wikif1','http://www.wikif1.org/$1',0),
('wikihow','http://www.wikihow.com/$1',0),
('wikinfo','http://www.wikinfo.org/index.php/$1',0),
-# The following wik[it]* interwikis but wikitravel belong to the Wikimedia Family:
+# The following wik[it]* interwikis belong to the Wikimedia Family:
('wikimedia','https://wikimediafoundation.org/wiki/$1',0),
('wikinews','https://en.wikinews.org/wiki/$1',1),
('wikipedia','https://en.wikipedia.org/wiki/$1',1),
('wikiquote','https://en.wikiquote.org/wiki/$1',1),
('wikisource','https://wikisource.org/wiki/$1',1),
('wikispecies','https://species.wikimedia.org/wiki/$1',1),
-('wikitravel','http://wikitravel.org/en/$1',0),
('wikiversity','https://en.wikiversity.org/wiki/$1',1),
('wikivoyage','https://en.wikivoyage.org/wiki/$1',1),
('wikt','https://en.wiktionary.org/wiki/$1',1),
'listredirects',
'listredirects-summary',
),
+ 'listduplicatedfiles' => array(
+ 'listduplicatedfiles',
+ 'listduplicatedfiles-summary',
+ 'listduplicatedfiles-entry',
+ ),
'unusedtemplates' => array(
'unusedtemplates',
'unusedtemplates-summary',
'filedelete' => 'File deletion',
'mimesearch' => 'MIME search',
'unwatchedpages' => 'Unwatched pages',
+ 'listduplicatedfiles' => 'List duplicated files special page',
'listredirects' => 'List redirects',
'unusedtemplates' => 'Unused templates',
'randompage' => 'Random page',
} );
};
-}( jQuery ) );
\ No newline at end of file
+}( jQuery ) );
$el.attr( 'maxlength', elLimit );
}
-
// Safe base value, used to determine the path between the previous state
// and the state that triggered the event handler below - and enforce the
// limit approppiately (e.g. don't chop from the end if text was inserted
// By Blair Mitchelmore
// http://jquery.offput.ca/highlightFade/
// Parse strings looking for color tuples [255,255,255]
- getRGB : function ( color ) {
+ getRGB: function ( color ) {
/*jshint boss:true */
var result;
// Look for rgb(num%,num%,num%)
if (result = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(color)) {
- return [parseFloat(result[1],10)*2.55, parseFloat(result[2],10)*2.55, parseFloat(result[3])*2.55];
+ return [parseFloat(result[1],10) * 2.55, parseFloat(result[2],10) * 2.55, parseFloat(result[3]) * 2.55];
}
// Look for #a0b1c2
// Look for #fff
if (result = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(color)) {
- return [parseInt(result[1]+result[1],16), parseInt(result[2]+result[2],16), parseInt(result[3]+result[3],16)];
+ return [parseInt(result[1] + result[1],16), parseInt(result[2] + result[2],16), parseInt(result[3] + result[3],16)];
}
// Look for rgba(0, 0, 0, 0) == transparent in Safari 3
if ( t > 1 ) {
t -= 1;
}
- if ( t < 1/6 ) {
+ if ( t < 1 / 6 ) {
return p + (q - p) * 6 * t;
}
- if ( t < 1/2 ) {
+ if ( t < 1 / 2 ) {
return q;
}
- if ( t < 2/3 ) {
- return p + (q - p) * (2/3 - t) * 6;
+ if ( t < 2 / 3 ) {
+ return p + (q - p) * (2 / 3 - t) * 6;
}
return p;
};
q = l < 0.5 ? l * (1 + s) : l + s - l * s;
p = 2 * l - q;
- r = hue2rgb( p, q, h + 1/3 );
+ r = hue2rgb( p, q, h + 1 / 3 );
g = hue2rgb( p, q, h );
- b = hue2rgb( p, q, h - 1/3 );
+ b = hue2rgb( p, q, h - 1 / 3 );
}
return [r * 255, g * 255, b * 255];
getColorBrightness: function ( currentColor, mod ) {
var rgbArr = $.colorUtil.getRGB( currentColor ),
hslArr = $.colorUtil.rgbToHsl(rgbArr[0], rgbArr[1], rgbArr[2] );
- rgbArr = $.colorUtil.hslToRgb(hslArr[0], hslArr[1], hslArr[2]+mod);
+ rgbArr = $.colorUtil.hslToRgb(hslArr[0], hslArr[1], hslArr[2] + mod);
return 'rgb(' +
[parseInt( rgbArr[0], 10), parseInt( rgbArr[1], 10 ), parseInt( rgbArr[2], 10 )].join( ',' ) +
} );
// HTML, Text for elements which cannot have children e.g. OPTION
- $target.find( '[data-msg-text]' ).each( function() {
+ $target.find( '[data-msg-text]' ).each( function () {
var $el = $( this );
$el.text( msg( options, $el.attr( 'data-msg-text' ) ) );
} );
- $target.find( '[data-msg-html]' ).each( function() {
+ $target.find( '[data-msg-html]' ).each( function () {
var $el = $( this );
$el.html( msg( options, $el.attr( 'data-msg-html' ) ) );
} );
* @author Krinkle, 2011-2012
*
* Dual license:
- * @license CC-BY 3.0 <http://creativecommons.org/licenses/by/3.0>
+ * @license CC BY 3.0 <http://creativecommons.org/licenses/by/3.0>
* @license GPL2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
*/
( function ( $, mw ) {
* @version 2.1.0
* @license MIT
*/
-(function($) {
+(function ($) {
var isInputSupported = 'placeholder' in document.createElement('input'),
isTextareaSupported = 'placeholder' in document.createElement('textarea'),
if (isInputSupported && isTextareaSupported) {
- placeholder = prototype.placeholder = function(text) {
+ placeholder = prototype.placeholder = function (text) {
var hasArgs = arguments.length;
- if( hasArgs ) {
+ if (hasArgs) {
changePlaceholder.call(this, text);
}
} else {
- placeholder = prototype.placeholder = function(text) {
+ placeholder = prototype.placeholder = function (text) {
var $this = this,
hasArgs = arguments.length;
- if(hasArgs) {
+ if (hasArgs) {
changePlaceholder.call(this, text);
}
-
$this
.filter((isInputSupported ? 'textarea' : ':input') + '[placeholder]')
- .filter(function() {
+ .filter(function () {
return !$(this).data('placeholder-enabled');
})
.bind({
placeholder.textarea = isTextareaSupported;
hooks = {
- 'get': function(element) {
+ 'get': function (element) {
var $element = $(element),
$passwordInput = $element.data('placeholder-password');
if ($passwordInput) {
return $element.data('placeholder-enabled') && $element.hasClass('placeholder') ? '' : element.value;
},
- 'set': function(element, value) {
+ 'set': function (element, value) {
var $element = $(element),
$passwordInput = $element.data('placeholder-password');
if ($passwordInput) {
setPlaceholder.call(element);
}
} else if ($element.hasClass('placeholder')) {
- if(!clearPlaceholder.call(element, true, value)) {
+ if (!clearPlaceholder.call(element, true, value)) {
element.value = value;
}
} else {
propHooks.value = hooks;
}
- $(function() {
+ $(function () {
// Look for forms
- $(document).delegate('form', 'submit.placeholder', function() {
+ $(document).delegate('form', 'submit.placeholder', function () {
// Clear the placeholder values so they don't get submitted
var $inputs = $('.placeholder', this).each(clearPlaceholder);
- setTimeout(function() {
+ setTimeout(function () {
$inputs.each(setPlaceholder);
}, 10);
});
});
// Clear placeholder values upon page reload
- $(window).bind('beforeunload.placeholder', function() {
- $('.placeholder').each(function() {
+ $(window).bind('beforeunload.placeholder', function () {
+ $('.placeholder').each(function () {
this.value = '';
});
});
// Return an object of element attributes
var newAttrs = {},
rinlinejQuery = /^jQuery\d+$/;
- $.each(elem.attributes, function(i, attr) {
+ $.each(elem.attributes, function (i, attr) {
if (attr.specified && !rinlinejQuery.test(attr.name)) {
newAttrs[attr.name] = attr.value;
}
} else {
input.value = '';
$input.removeClass('placeholder');
- if(input === safeActiveElement()) {
+ if (input === safeActiveElement()) {
input.select();
}
}
function changePlaceholder(text) {
var hasArgs = arguments.length,
$input = this;
- if(hasArgs) {
- if($input.attr('placeholder') !== text) {
+ if (hasArgs) {
+ if ($input.attr('placeholder') !== text) {
$input.prop('placeholder', text);
- if($input.hasClass('placeholder')) {
+ if ($input.hasClass('placeholder')) {
$input[0].value = text;
}
}
isEmptyObject: $.isEmptyObject
};
-
/**
* CompletenessTest
* @constructor
i, expWidth, matchedText, maxWidth, text;
// Validate creation using fallback values
- switch( property ) {
+ switch ( property ) {
case 'fetch':
case 'cancel':
case 'special':
}
// Apply new width for results box, if any
if ( expWidth > context.data.$container.width() ) {
- maxWidth = context.config.maxExpandFactor*context.data.$textbox.width();
+ maxWidth = context.config.maxExpandFactor * context.data.$textbox.width();
context.data.$container.width( Math.min( expWidth, maxWidth ) );
}
// autoEllipse the results. Has to be done after changing the width
*/
( function ( $, mw ) {
- /*jshint onevar:false */
-
/* Local scope */
var ts,
/* Parser utility functions */
function getParserById( name ) {
- var len = parsers.length;
- for ( var i = 0; i < len; i++ ) {
+ var i,
+ len = parsers.length;
+ for ( i = 0; i < len; i++ ) {
if ( parsers[i].id.toLowerCase() === name.toLowerCase() ) {
return parsers[i];
}
}
function appendToTable( table, cache ) {
- var row = cache.row,
+ var i, pos, l, j,
+ row = cache.row,
normalized = cache.normalized,
totalRows = normalized.length,
checkCell = ( normalized[0].length - 1 ),
fragment = document.createDocumentFragment();
- for ( var i = 0; i < totalRows; i++ ) {
- var pos = normalized[i][checkCell];
+ for ( i = 0; i < totalRows; i++ ) {
+ pos = normalized[i][checkCell];
- var l = row[pos].length;
+ l = row[pos].length;
- for ( var j = 0; j < l; j++ ) {
+ for ( j = 0; j < l; j++ ) {
fragment.appendChild( row[pos][j] );
}
* @param $table jQuery object for a <table>
*/
function emulateTHeadAndFoot( $table ) {
- var $rows = $table.find( '> tbody > tr' );
- if( !$table.get(0).tHead ) {
- var $thead = $( '<thead>' );
+ var $thead, $tfoot, i, len,
+ $rows = $table.find( '> tbody > tr' );
+ if ( !$table.get(0).tHead ) {
+ $thead = $( '<thead>' );
$rows.each( function () {
- if ( $(this).children( 'td' ).length > 0 ) {
+ if ( $(this).children( 'td' ).length ) {
// This row contains a <td>, so it's not a header row
// Stop here
return false;
} );
$table.find(' > tbody:first').before( $thead );
}
- if( !$table.get(0).tFoot ) {
- var $tfoot = $( '<tfoot>' );
- var len = $rows.length;
- for ( var i = len-1; i >= 0; i-- ) {
- if( $( $rows[i] ).children( 'td' ).length > 0 ){
+ if ( !$table.get(0).tFoot ) {
+ $tfoot = $( '<tfoot>' );
+ len = $rows.length;
+ for ( i = len - 1; i >= 0; i-- ) {
+ if ( $( $rows[i] ).children( 'td' ).length ){
break;
}
$tfoot.prepend( $( $rows[i] ));
return false;
}
-
function uniqueElements( array ) {
var uniques = [];
$.each( array, function( index, elem ) {
}
function multisort( table, sortList, cache ) {
- var sortFn = [];
- var len = sortList.length;
- for ( var i = 0; i < len; i++ ) {
+ var i,
+ sortFn = [],
+ len = sortList.length;
+ for ( i = 0; i < len; i++ ) {
sortFn[i] = ( sortList[i][1] ) ? sortTextDesc : sortText;
}
cache.normalized.sort( function ( array1, array2 ) {
- var col, ret;
- for ( var i = 0; i < len; i++ ) {
+ var i, col, ret;
+ for ( i = 0; i < len; i++ ) {
col = sortList[i][0];
ret = sortFn[i].call( this, array1[col], array2[col] );
if ( ret !== 0 ) {
}
function buildTransformTable() {
- var digits = '0123456789,.'.split( '' );
- var separatorTransformTable = mw.config.get( 'wgSeparatorTransformTable' );
- var digitTransformTable = mw.config.get( 'wgDigitTransformTable' );
+ var ascii, localised, i, digitClass,
+ digits = '0123456789,.'.split( '' ),
+ separatorTransformTable = mw.config.get( 'wgSeparatorTransformTable' ),
+ digitTransformTable = mw.config.get( 'wgDigitTransformTable' );
+
if ( separatorTransformTable === null || ( separatorTransformTable[0] === '' && digitTransformTable[2] === '' ) ) {
ts.transformTable = false;
} else {
ts.transformTable = {};
// Unpack the transform table
- var ascii = separatorTransformTable[0].split( '\t' ).concat( digitTransformTable[0].split( '\t' ) );
- var localised = separatorTransformTable[1].split( '\t' ).concat( digitTransformTable[1].split( '\t' ) );
+ ascii = separatorTransformTable[0].split( '\t' ).concat( digitTransformTable[0].split( '\t' ) );
+ localised = separatorTransformTable[1].split( '\t' ).concat( digitTransformTable[1].split( '\t' ) );
// Construct regex for number identification
- for ( var i = 0; i < ascii.length; i++ ) {
+ for ( i = 0; i < ascii.length; i++ ) {
ts.transformTable[localised[i]] = ascii[i];
digits.push( $.escapeRE( localised[i] ) );
}
}
- var digitClass = '[' + digits.join( '', digits ) + ']';
+ digitClass = '[' + digits.join( '', digits ) + ']';
// We allow a trailing percent sign, which we just strip. This works fine
// if percents and regular numbers aren't being mixed.
}
function buildDateTable() {
- var regex = [];
+ var i, name,
+ regex = [];
+
ts.monthNames = {};
- for ( var i = 0; i < 12; i++ ) {
- var name = mw.language.months.names[i].toLowerCase();
+ for ( i = 0; i < 12; i++ ) {
+ name = mw.language.months.names[i].toLowerCase();
ts.monthNames[name] = i + 1;
regex.push( $.escapeRE( name ) );
name = mw.language.months.genitive[i].toLowerCase();
* @param $table jQuery object for a <table>
*/
function explodeRowspans( $table ) {
- var rowspanCells = $table.find( '> tbody > tr > [rowspan]' ).get();
+ var spanningRealCellIndex, rowSpan, colSpan,
+ cell, i, $tds, $clone, $nextRows,
+ rowspanCells = $table.find( '> tbody > tr > [rowspan]' ).get();
// Short circuit
if ( !rowspanCells.length ) {
// account colspans. We also cache the rowIndex to avoid having to take
// cell.parentNode.rowIndex in the sorting function below.
$table.find( '> tbody > tr' ).each( function () {
- var col = 0;
- var l = this.cells.length;
- for ( var i = 0; i < l; i++ ) {
+ var i,
+ col = 0,
+ l = this.cells.length;
+ for ( i = 0; i < l; i++ ) {
this.cells[i].realCellIndex = col;
this.cells[i].realRowIndex = this.rowIndex;
col += this.cells[i].colSpan;
}
resortCells();
- var spanningRealCellIndex, rowSpan, colSpan;
function filterfunc() {
return this.realCellIndex >= spanningRealCellIndex;
}
resortCells();
}
- var cell = rowspanCells.shift();
+ cell = rowspanCells.shift();
rowSpan = cell.rowSpan;
colSpan = cell.colSpan;
spanningRealCellIndex = cell.realCellIndex;
cell.rowSpan = 1;
- var $nextRows = $( cell ).parent().nextAll();
- for ( var i = 0; i < rowSpan - 1; i++ ) {
- var $tds = $( $nextRows[i].cells ).filter( filterfunc );
- var $clone = $( cell ).clone();
+ $nextRows = $( cell ).parent().nextAll();
+ for ( i = 0; i < rowSpan - 1; i++ ) {
+ $tds = $( $nextRows[i].cells ).filter( filterfunc );
+ $clone = $( cell ).clone();
$clone[0].realCellIndex = spanningRealCellIndex;
if ( $tds.length ) {
$tds.each( fixTdCellIndex );
ts.collationTable = mw.config.get( 'tableSorterCollation' );
ts.collationRegex = null;
if ( ts.collationTable ) {
- var keys = [];
+ var key,
+ keys = [];
// Build array of key names
- for ( var key in ts.collationTable ) {
- if ( ts.collationTable.hasOwnProperty(key) ) { //to be safe
+ for ( key in ts.collationTable ) {
+ // Check hasOwn to be safe
+ if ( ts.collationTable.hasOwnProperty(key) ) {
keys.push(key);
}
}
- if (keys.length) {
+ if ( keys.length ) {
ts.collationRegex = new RegExp( '[' + keys.join( '' ) + ']', 'ig' );
}
}
construct: function ( $tables, settings ) {
return $tables.each( function ( i, table ) {
// Declare and cache.
- var $headers, cache, config,
+ var $headers, cache, config, sortCSS, sortMsg,
$table = $( table ),
firstTime = true;
$.data( table, 'tablesorter', { config: config } );
// Get the CSS class names, could be done else where.
- var sortCSS = [ config.cssDesc, config.cssAsc ];
- var sortMsg = [ mw.msg( 'sort-descending' ), mw.msg( 'sort-ascending' ) ];
+ sortCSS = [ config.cssDesc, config.cssAsc ];
+ sortMsg = [ mw.msg( 'sort-descending' ), mw.msg( 'sort-ascending' ) ];
// Build headers
$headers = buildHeaders( table, sortMsg );
this.order = this.count % 2;
this.count++;
- var cell = this;
+ var cell, columns, newSortList, i;
+
+ cell = this;
// Get current column index
- var columns = table.headerToColumns[ this.headerIndex ];
- var newSortList = $.map( columns, function (c) {
+ columns = table.headerToColumns[ this.headerIndex ];
+ newSortList = $.map( columns, function ( c ) {
// jQuery "helpfully" flattens the arrays...
return [[c, cell.order]];
});
// Index of first column belonging to this header
- var i = columns[0];
+ i = columns[0];
if ( !e[config.sortMultiSortKey] ) {
// User only wants to sort on one column set
*
* @param sortList {Array} (optional) List of sort objects.
*/
- $table.data( 'tablesorter' ).sort = function( sortList ) {
+ $table.data( 'tablesorter' ).sort = function ( sortList ) {
if ( firstTime ) {
setupForFirstSort();
* These plugins provide extra functionality for interaction with textareas.
*/
( function ( $ ) {
- /*jshint noempty:false */
-
if ( document.selection && document.selection.createRange ) {
// On IE, patch the focus() method to restore the windows' scroll position
// (bug 32241)
var $w, state, result;
if ( arguments.length === 0 ) {
$w = $( window );
- state = {top: $w.scrollTop(), left: $w.scrollLeft()};
+ state = { top: $w.scrollTop(), left: $w.scrollLeft() };
result = jqFocus.apply( this, arguments );
window.scrollTo( state.top, state.left );
return result;
el = this.get( 0 );
if ( $(el).is( ':hidden' ) ) {
- // Do nothing
retval = '';
} else if ( document.selection && document.selection.createRange ) {
activateElementOnIE( el );
}
isSample = false;
- if ( this.style.display === 'none' ) {
- // Do nothing
- } else if ( document.selection && document.selection.createRange ) {
- // IE
+ // Do nothing if display none
+ if ( this.style.display !== 'none' ) {
+ if ( document.selection && document.selection.createRange ) {
+ // IE
- // Note that IE9 will trigger the next section unless we check this first.
- // See bug 35201.
+ // Note that IE9 will trigger the next section unless we check this first.
+ // See bug 35201.
- activateElementOnIE( this );
- if ( context ) {
- context.fn.restoreCursorAndScrollTop();
- }
- if ( options.selectionStart !== undefined ) {
- $(this).textSelection( 'setSelection', { 'start': options.selectionStart, 'end': options.selectionEnd } );
- }
+ activateElementOnIE( this );
+ if ( context ) {
+ context.fn.restoreCursorAndScrollTop();
+ }
+ if ( options.selectionStart !== undefined ) {
+ $(this).textSelection( 'setSelection', { 'start': options.selectionStart, 'end': options.selectionEnd } );
+ }
- selText = $(this).textSelection( 'getSelection' );
- scrollTop = this.scrollTop;
- range = document.selection.createRange();
+ selText = $(this).textSelection( 'getSelection' );
+ scrollTop = this.scrollTop;
+ range = document.selection.createRange();
- checkSelectedText();
- insertText = pre + selText + post;
- if ( options.splitlines ) {
- insertText = doSplitLines( selText, pre, post );
- }
- if ( options.ownline && range.moveStart ) {
- range2 = document.selection.createRange();
- range2.collapse();
- range2.moveStart( 'character', -1 );
- // FIXME: Which check is correct?
- if ( range2.text !== '\r' && range2.text !== '\n' && range2.text !== '' ) {
- insertText = '\n' + insertText;
- pre += '\n';
+ checkSelectedText();
+ insertText = pre + selText + post;
+ if ( options.splitlines ) {
+ insertText = doSplitLines( selText, pre, post );
}
- range3 = document.selection.createRange();
- range3.collapse( false );
- range3.moveEnd( 'character', 1 );
- if ( range3.text !== '\r' && range3.text !== '\n' && range3.text !== '' ) {
- insertText += '\n';
- post += '\n';
+ if ( options.ownline && range.moveStart ) {
+ range2 = document.selection.createRange();
+ range2.collapse();
+ range2.moveStart( 'character', -1 );
+ // FIXME: Which check is correct?
+ if ( range2.text !== '\r' && range2.text !== '\n' && range2.text !== '' ) {
+ insertText = '\n' + insertText;
+ pre += '\n';
+ }
+ range3 = document.selection.createRange();
+ range3.collapse( false );
+ range3.moveEnd( 'character', 1 );
+ if ( range3.text !== '\r' && range3.text !== '\n' && range3.text !== '' ) {
+ insertText += '\n';
+ post += '\n';
+ }
}
- }
- range.text = insertText;
- if ( isSample && options.selectPeri && range.moveStart ) {
- range.moveStart( 'character', - post.length - selText.length );
- range.moveEnd( 'character', - post.length );
- }
- range.select();
- // Restore the scroll position
- this.scrollTop = scrollTop;
- } else if ( this.selectionStart || this.selectionStart === 0 ) {
- // Mozilla/Opera
-
- $(this).focus();
- if ( options.selectionStart !== undefined ) {
- $(this).textSelection( 'setSelection', { 'start': options.selectionStart, 'end': options.selectionEnd } );
- }
+ range.text = insertText;
+ if ( isSample && options.selectPeri && range.moveStart ) {
+ range.moveStart( 'character', -post.length - selText.length );
+ range.moveEnd( 'character', -post.length );
+ }
+ range.select();
+ // Restore the scroll position
+ this.scrollTop = scrollTop;
+ } else if ( this.selectionStart || this.selectionStart === 0 ) {
+ // Mozilla/Opera
+
+ $(this).focus();
+ if ( options.selectionStart !== undefined ) {
+ $(this).textSelection( 'setSelection', { 'start': options.selectionStart, 'end': options.selectionEnd } );
+ }
- selText = $(this).textSelection( 'getSelection' );
- startPos = this.selectionStart;
- endPos = this.selectionEnd;
- scrollTop = this.scrollTop;
- checkSelectedText();
- if ( options.selectionStart !== undefined
- && endPos - startPos !== options.selectionEnd - options.selectionStart )
- {
- // This means there is a difference in the selection range returned by browser and what we passed.
- // This happens for Chrome in the case of composite characters. Ref bug #30130
- // Set the startPos to the correct position.
- startPos = options.selectionStart;
- }
+ selText = $(this).textSelection( 'getSelection' );
+ startPos = this.selectionStart;
+ endPos = this.selectionEnd;
+ scrollTop = this.scrollTop;
+ checkSelectedText();
+ if ( options.selectionStart !== undefined
+ && endPos - startPos !== options.selectionEnd - options.selectionStart )
+ {
+ // This means there is a difference in the selection range returned by browser and what we passed.
+ // This happens for Chrome in the case of composite characters. Ref bug #30130
+ // Set the startPos to the correct position.
+ startPos = options.selectionStart;
+ }
- insertText = pre + selText + post;
- if ( options.splitlines ) {
- insertText = doSplitLines( selText, pre, post );
- }
- if ( options.ownline ) {
- if ( startPos !== 0 && this.value.charAt( startPos - 1 ) !== '\n' && this.value.charAt( startPos - 1 ) !== '\r' ) {
- insertText = '\n' + insertText;
- pre += '\n';
+ insertText = pre + selText + post;
+ if ( options.splitlines ) {
+ insertText = doSplitLines( selText, pre, post );
}
- if ( this.value.charAt( endPos ) !== '\n' && this.value.charAt( endPos ) !== '\r' ) {
- insertText += '\n';
- post += '\n';
+ if ( options.ownline ) {
+ if ( startPos !== 0 && this.value.charAt( startPos - 1 ) !== '\n' && this.value.charAt( startPos - 1 ) !== '\r' ) {
+ insertText = '\n' + insertText;
+ pre += '\n';
+ }
+ if ( this.value.charAt( endPos ) !== '\n' && this.value.charAt( endPos ) !== '\r' ) {
+ insertText += '\n';
+ post += '\n';
+ }
+ }
+ this.value = this.value.substring( 0, startPos ) + insertText +
+ this.value.substring( endPos, this.value.length );
+ // Setting this.value scrolls the textarea to the top, restore the scroll position
+ this.scrollTop = scrollTop;
+ if ( window.opera ) {
+ pre = pre.replace( /\r?\n/g, '\r\n' );
+ selText = selText.replace( /\r?\n/g, '\r\n' );
+ post = post.replace( /\r?\n/g, '\r\n' );
+ }
+ if ( isSample && options.selectPeri && !options.splitlines ) {
+ this.selectionStart = startPos + pre.length;
+ this.selectionEnd = startPos + pre.length + selText.length;
+ } else {
+ this.selectionStart = startPos + insertText.length;
+ this.selectionEnd = this.selectionStart;
}
- }
- this.value = this.value.substring( 0, startPos ) + insertText +
- this.value.substring( endPos, this.value.length );
- // Setting this.value scrolls the textarea to the top, restore the scroll position
- this.scrollTop = scrollTop;
- if ( window.opera ) {
- pre = pre.replace( /\r?\n/g, '\r\n' );
- selText = selText.replace( /\r?\n/g, '\r\n' );
- post = post.replace( /\r?\n/g, '\r\n' );
- }
- if ( isSample && options.selectPeri && !options.splitlines ) {
- this.selectionStart = startPos + pre.length;
- this.selectionEnd = startPos + pre.length + selText.length;
- } else {
- this.selectionStart = startPos + insertText.length;
- this.selectionEnd = this.selectionStart;
}
}
$(this).trigger( 'encapsulateSelection', [ options.pre, options.peri, options.post, options.ownline,
setSelection: function ( options ) {
return this.each( function () {
var selection, length, newLines;
- if ( $(this).is( ':hidden' ) ) {
- // Do nothing
- } else if ( this.selectionStart || this.selectionStart === 0 ) {
- // Opera 9.0 doesn't allow setting selectionStart past
- // selectionEnd; any attempts to do that will be ignored
- // Make sure to set them in the right order
- if ( options.start > this.selectionEnd ) {
- this.selectionEnd = options.end;
- this.selectionStart = options.start;
- } else {
- this.selectionStart = options.start;
- this.selectionEnd = options.end;
- }
- } else if ( document.body.createTextRange ) {
- selection = rangeForElementIE( this );
- length = this.value.length;
- // IE doesn't count \n when computing the offset, so we won't either
- newLines = this.value.match( /\n/g );
- if ( newLines ) {
- length = length - newLines.length;
+ // Do nothing if hidden
+ if ( !$(this).is( ':hidden' ) ) {
+ if ( this.selectionStart || this.selectionStart === 0 ) {
+ // Opera 9.0 doesn't allow setting selectionStart past
+ // selectionEnd; any attempts to do that will be ignored
+ // Make sure to set them in the right order
+ if ( options.start > this.selectionEnd ) {
+ this.selectionEnd = options.end;
+ this.selectionStart = options.start;
+ } else {
+ this.selectionStart = options.start;
+ this.selectionEnd = options.end;
+ }
+ } else if ( document.body.createTextRange ) {
+ selection = rangeForElementIE( this );
+ length = this.value.length;
+ // IE doesn't count \n when computing the offset, so we won't either
+ newLines = this.value.match( /\n/g );
+ if ( newLines ) {
+ length = length - newLines.length;
+ }
+ selection.moveStart( 'character', options.start );
+ selection.moveEnd( 'character', -length + options.end );
+
+ // This line can cause an error under certain circumstances (textarea empty, no selection)
+ // Silence that error
+ try {
+ selection.select();
+ } catch ( e ) { }
}
- selection.moveStart( 'character', options.start );
- selection.moveEnd( 'character', -length + options.end );
-
- // This line can cause an error under certain circumstances (textarea empty, no selection)
- // Silence that error
- try {
- selection.select();
- } catch ( e ) { }
}
});
},
}
return this.each(function () {
var scroll, range, savedRange, pos, oldScrollTop;
- if ( $(this).is( ':hidden' ) ) {
- // Do nothing
- } else if ( this.selectionStart || this.selectionStart === 0 ) {
- // Mozilla
- scroll = getCaretScrollPosition( this );
- if ( options.force || scroll < $(this).scrollTop() ||
- scroll > $(this).scrollTop() + $(this).height() ) {
- $(this).scrollTop( scroll );
- }
- } else if ( document.selection && document.selection.createRange ) {
- // IE / Opera
- /*
- * IE automatically scrolls the selected text to the
- * bottom of the textarea at range.select() time, except
- * if it was already in view and the cursor position
- * wasn't changed, in which case it does nothing. To
- * cover that case, we'll force it to act by moving one
- * character back and forth.
- */
- range = document.body.createTextRange();
- savedRange = document.selection.createRange();
- pos = $(this).textSelection( 'getCaretPosition' );
- oldScrollTop = this.scrollTop;
- range.moveToElementText( this );
- range.collapse();
- range.move( 'character', pos + 1);
- range.select();
- if ( this.scrollTop !== oldScrollTop ) {
- this.scrollTop += range.offsetTop;
- } else if ( options.force ) {
- range.move( 'character', -1 );
+ // Do nothing if hidden
+ if ( !$(this).is( ':hidden' ) ) {
+ if ( this.selectionStart || this.selectionStart === 0 ) {
+ // Mozilla
+ scroll = getCaretScrollPosition( this );
+ if ( options.force || scroll < $(this).scrollTop() ||
+ scroll > $(this).scrollTop() + $(this).height() ) {
+ $(this).scrollTop( scroll );
+ }
+ } else if ( document.selection && document.selection.createRange ) {
+ // IE / Opera
+ /*
+ * IE automatically scrolls the selected text to the
+ * bottom of the textarea at range.select() time, except
+ * if it was already in view and the cursor position
+ * wasn't changed, in which case it does nothing. To
+ * cover that case, we'll force it to act by moving one
+ * character back and forth.
+ */
+ range = document.body.createTextRange();
+ savedRange = document.selection.createRange();
+ pos = $(this).textSelection( 'getCaretPosition' );
+ oldScrollTop = this.scrollTop;
+ range.moveToElementText( this );
+ range.collapse();
+ range.move( 'character', pos + 1);
range.select();
+ if ( this.scrollTop !== oldScrollTop ) {
+ this.scrollTop += range.offsetTop;
+ } else if ( options.force ) {
+ range.move( 'character', -1 );
+ range.select();
+ }
+ savedRange.select();
}
- savedRange.select();
}
$(this).trigger( 'scrollToPosition' );
} );
} );
}( mediaWiki, jQuery ) );
-
};
}
var $image = $( '<img>' ).attr( {
- width : 23,
+ width: 23,
height: 22,
- src : b.imageFile,
- alt : b.speedTip,
- title : b.speedTip,
- id : b.imageId || undefined,
+ src: b.imageFile,
+ alt: b.speedTip,
+ title: b.speedTip,
+ id: b.imageId || undefined,
'class': 'mw-toolbar-editbutton'
} ).click( function () {
toolbar.insertTags( b.tagOpen, b.tagClose, b.sampleText );
// Set initial state
updateDiffRadios();
-
// Prettify url output for HistoryAction submissions,
// to cover up action=historysubmit construction.
$table.addClass( 'collapsed' );
} );
-}( mediaWiki, jQuery ) );
\ No newline at end of file
+}( mediaWiki, jQuery ) );
.promise( { abort: apiPromise.abort } );
},
-
/**
* Get the categories that a particular page on the wiki belongs to
* @param {mw.Title} title
break;
case 'illative':
// Double the last letter and add 'n'
- word += word.substr( word.length-1 ) + 'n';
+ word += word.substr( word.length - 1 ) + 'n';
break;
case 'inessive':
word += ( aou ? 'ssa' : 'ssä' );
switch ( form ) {
case 'genitive': // սեռական հոլով
if ( word.substr( -1 ) === 'ա' ) {
- word = word.substr( 0, word.length -1 ) + 'այի';
+ word = word.substr( 0, word.length - 1 ) + 'այի';
} else if ( word.substr( -1 ) === 'ո' ) {
word = word.substr( 0, word.length - 1 ) + 'ոյի';
} else if ( word.substr( -4 ) === 'գիրք' ) {
word = word.replace( /tio$/i,'tionis' ); // 3rd declension singular (partly)
word = word.replace( /ns$/i, 'ntis' );
word = word.replace( /as$/i, 'atis' );
- word = word.replace( /es$/i ,'ei' ); // 5th declension singular
+ word = word.replace( /es$/i, 'ei' ); // 5th declension singular
break;
case 'accusative':
// only a few declensions, and even for those mostly the singular only
word = word.replace( /tio$/i,'tionem' ); // 3rd declension singular (partly)
word = word.replace( /ns$/i, 'ntem' );
word = word.replace( /as$/i, 'atem');
- word = word.replace( /es$/i ,'em' ); // 5th declension singular
+ word = word.replace( /es$/i, 'em' ); // 5th declension singular
break;
case 'ablative':
// only a few declensions, and even for those mostly the singular only
word = word.replace( /tio$/i,'tione' ); // 3rd declension singular (partly)
word = word.replace( /ns$/i, 'nte' );
word = word.replace( /as$/i, 'ate');
- word = word.replace( /es$/i ,'e' ); // 5th declension singular
+ word = word.replace( /es$/i, 'e' ); // 5th declension singular
break;
}
return word;
// Checking if word ends on 'у'. 'У' can be either consonant 'W' or vowel 'U' in cyrillic Ossetic.
// Examples: {{grammar:genitive|аунеу}} = аунеуы, {{grammar:genitive|лæппу}} = лæппуйы.
else if ( word.match( /у$/i ) ) {
- if ( ! word.substring( word.length-2, word.length-1 ).match( /[аæеёиоыэюя]$/i ) ) {
+ if ( !word.substring( word.length - 2, word.length - 1 ).match( /[аæеёиоыэюя]$/i ) ) {
jot = 'й';
}
} else if ( !word.match( /[бвгджзйклмнопрстфхцчшщьъ]$/i ) ) {
*/
mediaWiki.language.convertGrammar = function ( word, form ) {
- /*jshint noempty:false */
var grammarForms = mediaWiki.language.getData( 'uk', 'grammarForms' );
if ( grammarForms && grammarForms[form] ) {
return grammarForms[form][word];
}
switch ( form ) {
case 'genitive': // родовий відмінок
- if ( ( word.substr( word.length - 4 ) === 'вікі' ) || ( word.substr( word.length - 4 ) === 'Вікі' ) ) {
- } else if ( word.substr( word.length - 1 ) === 'ь' ) {
- word = word.substr(0, word.length - 1 ) + 'я';
- } else if ( word.substr( word.length - 2 ) === 'ія' ) {
- word = word.substr(0, word.length - 2 ) + 'ії';
- } else if ( word.substr( word.length - 2 ) === 'ка' ) {
- word = word.substr(0, word.length - 2 ) + 'ки';
- } else if ( word.substr( word.length - 2 ) === 'ти' ) {
- word = word.substr(0, word.length - 2 ) + 'тей';
- } else if ( word.substr( word.length - 2 ) === 'ды' ) {
- word = word.substr(0, word.length - 2 ) + 'дов';
- } else if ( word.substr( word.length - 3 ) === 'ник' ) {
- word = word.substr(0, word.length - 3 ) + 'ника';
+ if ( word.substr( word.length - 4 ) !== 'вікі' && word.substr( word.length - 4 ) !== 'Вікі' ) {
+ if ( word.substr( word.length - 1 ) === 'ь' ) {
+ word = word.substr(0, word.length - 1 ) + 'я';
+ } else if ( word.substr( word.length - 2 ) === 'ія' ) {
+ word = word.substr(0, word.length - 2 ) + 'ії';
+ } else if ( word.substr( word.length - 2 ) === 'ка' ) {
+ word = word.substr(0, word.length - 2 ) + 'ки';
+ } else if ( word.substr( word.length - 2 ) === 'ти' ) {
+ word = word.substr(0, word.length - 2 ) + 'тей';
+ } else if ( word.substr( word.length - 2 ) === 'ды' ) {
+ word = word.substr(0, word.length - 2 ) + 'дов';
+ } else if ( word.substr( word.length - 3 ) === 'ник' ) {
+ word = word.substr(0, word.length - 3 ) + 'ника';
+ }
}
break;
case 'accusative': // знахідний відмінок
- if ( ( word.substr( word.length - 4 ) === 'вікі' ) || ( word.substr( word.length - 4 ) === 'Вікі' ) ) {
- }
- else if ( word.substr( word.length - 2 ) === 'ія' ) {
- word = word.substr(0, word.length - 2 ) + 'ію';
+ if ( word.substr( word.length - 4 ) !== 'вікі' && word.substr( word.length - 4 ) !== 'Вікі' ) {
+ if ( word.substr( word.length - 2 ) === 'ія' ) {
+ word = word.substr(0, word.length - 2 ) + 'ію';
+ }
}
break;
}
*/
preConvertPlural: function ( forms, count ) {
while ( forms.length < count ) {
- forms.push( forms[ forms.length-1 ] );
+ forms.push( forms[ forms.length - 1 ] );
}
return forms;
},
imgHeight = 0;
}
- rows[rows.length-1][rows[rows.length-1].length] = {
+ rows[rows.length - 1][rows[rows.length - 1].length] = {
$elm: $this,
width: $this.outerWidth(),
imgWidth: imgWidth,
- aspect: imgWidth / imgHeight, // XXX: can divide by 0 ever happen?
+ // XXX: can divide by 0 ever happen?
+ aspect: imgWidth / imgHeight,
captionWidth: $this.children().children( 'div.gallerytextwrapper' ).width(),
height: imgHeight
};
// Also on the off chance there is a bug in this
// code, would prevent accidentally expanding to
// be 10 billion pixels wide.
- mw.log( 'mw.page.gallery: Cannot fit row, aspect is ' + preferredHeight/curRowHeight );
+ mw.log( 'mw.page.gallery: Cannot fit row, aspect is ' + preferredHeight / curRowHeight );
if ( i === rows.length - 1 ) {
// If its the last row, and we can't fit it,
// don't make the entire row huge.
}
if ( preferredHeight < 5 ) {
// Well something clearly went wrong...
- mw.log( {maxWidth: maxWidth, combinedPadding: combinedPadding, combinedAspect: combinedAspect, wantedWidth: wantedWidth } );
+ mw.log( {
+ maxWidth: maxWidth,
+ combinedPadding: combinedPadding,
+ combinedAspect: combinedAspect,
+ wantedWidth: wantedWidth
+ } );
mw.log( 'mw.page.gallery: [BUG!] Fitting row ' + i + ' to too small a size: ' + preferredHeight );
// Skip this row.
continue;
imageElm = $imageElm.length ? $imageElm[0] : null;
$caption = $outerDiv.find( 'div.gallerytextwrapper' );
-
// Since we are going to re-adjust the height, the vertical
// centering margins need to be reset.
$imageDiv.children( 'div' ).css( 'margin', '0px auto' );
}
}
} );
-}( mediaWiki, jQuery ) );
\ No newline at end of file
+}( mediaWiki, jQuery ) );
}
} );
}( mediaWiki, jQuery ) );
-
} );
}( mediaWiki, jQuery ) );
-
// make the selected tab visible.
hash = window.location.hash;
if ( hash.match( /^#mw-prefsection-[\w\-]+/ ) ) {
- switchPrefTab( hash.replace( '#mw-prefsection-' , '' ) );
+ switchPrefTab( hash.replace( '#mw-prefsection-', '' ) );
}
// In browsers that support the onhashchange event we will not bind click
if ( 'onhashchange' in window &&
( document.documentMode === undefined || document.documentMode >= 8 )
) {
- $( window ).on( 'hashchange' , function () {
+ $( window ).on( 'hashchange', function () {
var hash = window.location.hash;
if ( hash.match( /^#mw-prefsection-[\w\-]+/ ) ) {
switchPrefTab( hash.replace( '#mw-prefsection-', '' ) );
};
img.src = dataURL;
}, mw.config.get( 'wgFileCanRotate' ) ? function ( data ) {
- /*jshint camelcase: false, nomen: false */
+ /*jshint camelcase:false, nomen:false */
try {
meta = mw.libs.jpegmeta( data, file.fileName );
meta._binary_data = null;
return true;
}
-
/**
* Initialization
*/
border-radius: 0;
float: left;
- &:first-child{
+ &:first-child {
border-top-left-radius: @buttonBorderRadius;
border-bottom-left-radius: @buttonBorderRadius;
}
+ &:not(:first-child) {
+ border-left: none;
+ }
+
&:last-child{
border-top-right-radius: @buttonBorderRadius;
border-bottom-right-radius: @buttonBorderRadius;
}
}
- &:active {
+ &:active,
+ &.mw-ui-checked {
// lessphp doesn't implement shade (https://github.com/leafo/lessphp/issues/528);
// it passes it through, then ResourceLoader drops it.
// background: shade(@bgColor, 20%);
// make sure disabled buttons don't have hover and active states
&:hover,
- &:active {
+ &:active,
+ &.mw-ui-checked {
box-shadow: none;
}
}
color: mix(#fff, @textColor, 20%);
}
- &:active {
+ &:active,
+ &.mw-ui-checked {
// lessphp doesn't implement shade, see above
// color: shade(@textColor, 20%);
color: mix(#000, @textColor, 20%);
.replace( rUnderscoreTrim, '' );
}
-
// Reject illegal characters
if ( title.match( rInvalid ) ) {
return false;
};
}() );
-
/* Static members */
/**
*/
Title.prototype.toString = Title.prototype.getPrefixedDb;
-
/**
* @alias #getPrefixedText
* @method
$( '<colgroup>' ).appendTo( $table );
$( '<colgroup>' ).css( 'width', 350 ).appendTo( $table );
-
entryTypeText = function ( entryType ) {
switch ( entryType ) {
case 'log':
.appendTo( $table );
}
-
return $table;
},
* The section of the dialog to show.
*/
display: function ( s ) {
- this.$dialog.dialog( { buttons:{} } ); // hide the buttons
- this.$dialog.find( '.feedback-mode' ).hide(); // hide everything
- this.$dialog.find( '.feedback-' + s ).show(); // show the desired div
+ // Hide the buttons
+ this.$dialog.dialog( { buttons: {} } );
+ // Hide everything
+ this.$dialog.find( '.feedback-mode' ).hide();
+ // Show the desired div
+ this.$dialog.find( '.feedback-' + s ).show();
},
/**
var oldParser,
slice = Array.prototype.slice,
parserDefaults = {
- magic : {
- 'SITENAME' : mw.config.get( 'wgSiteName' )
+ magic: {
+ 'SITENAME': mw.config.get( 'wgSiteName' )
},
// This is a whitelist based on, but simpler than, Sanitizer.php.
// Self-closing tags are not currently supported.
- allowedHtmlElements : [
+ allowedHtmlElements: [
'b',
'i'
],
// Key tag name, value allowed attributes for that tag.
// See Sanitizer::setupAttributeWhitelist
- allowedHtmlCommonAttributes : [
+ allowedHtmlCommonAttributes: [
// HTML
'id',
'class',
// Attributes allowed for specific elements.
// Key is element name in lower case
// Value is array of allowed attributes for that element
- allowedHtmlAttributesByElement : {},
- messages : mw.messages,
- language : mw.language,
+ allowedHtmlAttributesByElement: {},
+ messages: mw.messages,
+ language: mw.language,
// Same meaning as in mediawiki.js.
//
"ooui-dialog-action-close": "Slütj",
"ooui-outline-control-move-down": "Element efter onern sküüw",
"ooui-outline-control-move-up": "Element efter boowen sküüw",
+ "ooui-outline-control-remove": "Element wechnem",
"ooui-toolbar-more": "Muar"
}
\ No newline at end of file
"ooui-dialog-action-close": "બંધ કરો",
"ooui-outline-control-move-down": "વસ્તુ નીચે ખસેડો",
"ooui-outline-control-move-up": "વસ્તુ ઉપર ખસેડો",
+ "ooui-outline-control-remove": "વસ્તુ હટાવો",
"ooui-toolbar-more": "વધુ"
}
\ No newline at end of file
"ooui-dialog-action-close": "Zamknij",
"ooui-outline-control-move-down": "Przenieś niżej",
"ooui-outline-control-move-up": "Przenieś wyżej",
- "ooui-outline-control-remove": "Usuń przedmiot",
+ "ooui-outline-control-remove": "Usuń element",
"ooui-toolbar-more": "Więcej"
}
\ No newline at end of file
"John Reid"
]
},
- "ooui-outline-control-remove": "Remuiv eitem"
+ "ooui-dialog-action-close": "Claise",
+ "ooui-outline-control-move-down": "Muiv eetem doon",
+ "ooui-outline-control-move-up": "Muiv eetem up",
+ "ooui-outline-control-remove": "Remuiv eitem",
+ "ooui-toolbar-more": "Mair"
}
\ No newline at end of file
/*!
- * OOjs UI v0.1.0-pre (3b434d5388)
+ * OOjs UI v0.1.0
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: Fri Mar 21 2014 11:06:28 GMT-0700 (PDT)
+ * Date: Mon Mar 24 2014 17:35:46 GMT-0700 (PDT)
*/
( function () {
// Mixin constructors
OO.ui.LabeledElement.call( this, this.$( '<div>' ), config );
+ OO.ui.ClippableElement.call( this, this.$( '<div>' ), config );
// Properties
this.visible = false;
this.$popup = this.$( '<div>' );
this.$head = this.$( '<div>' );
- this.$body = this.$( '<div>' );
+ this.$body = this.$clippable;
this.$tail = this.$( '<div>' );
this.$container = config.$container || this.$( 'body' );
this.autoClose = !!config.autoClose;
OO.mixinClass( OO.ui.PopupWidget, OO.ui.LabeledElement );
+OO.mixinClass( OO.ui.PopupWidget, OO.ui.ClippableElement );
+
/* Events */
/**
*/
OO.ui.PopupWidget.prototype.show = function () {
if ( !this.visible ) {
+ this.setClipping( true );
this.$element.show();
this.visible = true;
this.emit( 'show' );
*/
OO.ui.PopupWidget.prototype.hide = function () {
if ( this.visible ) {
+ this.setClipping( false );
this.$element.hide();
this.visible = false;
this.emit( 'hide' );
return this.query;
};
+/**
+ * Reset the widget to initial value.
+ */
+OO.ui.SearchWidget.prototype.clear = function () {
+ this.query.setValue( '' );
+};
+
/**
* Get the results list.
*
/*!
- * OOjs UI v0.1.0-pre (3b434d5388)
+ * OOjs UI v0.1.0
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: Fri Mar 21 2014 11:06:28 GMT-0700 (PDT)
+ * Date: Mon Mar 24 2014 17:35:46 GMT-0700 (PDT)
*/
/* Textures */
}
.oo-ui-popupToolGroup.oo-ui-iconedElement .oo-ui-popupToolGroup-handle .oo-ui-labeledElement-label {
- margin-left: 3.25em;
+ margin-left: 3em;
}
.oo-ui-popupToolGroup.oo-ui-indicatedElement .oo-ui-popupToolGroup-handle .oo-ui-labeledElement-label {
display: inline-block;
width: 2em;
height: 2em;
- margin-right: 0.5em;
+ margin-right: 0.25em;
vertical-align: middle;
}
cursor: default;
}
+.oo-ui-popupWidget-body {
+ clear: both;
+}
+
.oo-ui-buttonGroupWidget {
border-radius: 0.3em;
}
setrelative = window.setrelative = function ( nodes ) {
var i = 0;
while ( i < nodes.length ) {
- if( ( ( nodes[i].style.float && nodes[i].style.float !== ( 'none' ) ||
+ if ( ( ( nodes[i].style.float && nodes[i].style.float !== ( 'none' ) ||
( nodes[i].align && nodes[i].align !== ( 'none' ) ) ) &&
( !nodes[i].style.position || nodes[i].style.position !== 'relative' ) ) )
{
}
};
-window.onafterprint = function() {
+window.onafterprint = function () {
for ( var i = 0; i < expandedURLs.length; i++ ) {
if ( expandedURLs[i] ) {
expandedURLs[i].removeNode( true );
* http://www.modernmethod.com/sajax/
*/
-/*jshint camelcase:false, onevar:false */
+/*jshint camelcase:false */
/*global alert */
( function ( mw ) {
* with id = showFoo
*/
function doAjaxRequest( func_name, args, target ) {
- var i, x;
- var uri;
- var post_data;
+ var i, x, uri, post_data;
uri = mw.util.wikiScript() + '?action=ajax';
if ( window.sajax_request_type === 'GET' ) {
if ( uri.indexOf( '?' ) === -1 ) {
} else if ( typeof target === 'object' ) {
if ( target.tagName === 'INPUT' ) {
if ( x.status === 200 ) {
- target.value= x.responseText;
+ target.value = x.responseText;
}
//else alert( 'Error: ' + x.status + ' ' + x.statusText + ' (' + x.responseText + ')' );
} else {
* @return {boolean} Whether the browser supports AJAX
*/
function wfSupportsAjax() {
- var request = createXhr();
- var supportsAjax = request ? true : false;
+ var request = createXhr(),
+ supportsAjax = request ? true : false;
+
request = undefined;
return supportsAjax;
}
// Show/Hide memcached servers when needed
$( 'input[name$="config_wgMainCacheType"]' ).change( function () {
var $memc = $( '#config-memcachewrapper' );
- if( $( 'input[name$="config_wgMainCacheType"]:checked' ).val() === 'memcached' ) {
+ if ( $( 'input[name$="config_wgMainCacheType"]:checked' ).val() === 'memcached' ) {
$memc.show( 'slow' );
} else {
$memc.hide( 'slow' );
wpLicenseTbody.insertBefore( row, wpLicenseRow.nextSibling );
}
-
// fillDestFile setup
uploadSourceIds = mw.config.get( 'wgUploadSourceIds' );
len = uploadSourceIds.length;
}
wgUploadWarningObj = window.wgUploadWarningObj = {
- responseCache: { '' : ' ' },
+ responseCache: { '': ' ' },
nameToCheck: '',
typing: false,
delay: 500, // ms
wgUploadLicenseObj = window.wgUploadLicenseObj = {
- responseCache: { '' : '' },
+ responseCache: { '': '' },
fetchPreview: function ( license ) {
var cached, title;
return win.importStylesheetURI( uri );
};
-win.importStylesheetURI = function( url, media ) {
+win.importStylesheetURI = function ( url, media ) {
var l = document.createElement( 'link' );
l.rel = 'stylesheet';
l.href = url;
.attr( 'tabindex', '0' )
// For accessibility, show the menu when the h3 is clicked (bug 24298/46486)
.on( 'click keypress', function ( e ) {
- if( e.type === 'click' || e.which === 13 ) {
+ if ( e.type === 'click' || e.which === 13 ) {
$el.toggleClass( 'menuForceShow' );
e.preventDefault();
}
--- /dev/null
+/*!
+ * Grunt file
+ */
+
+/*jshint node:true */
+module.exports = function ( grunt ) {
+ grunt.loadNpmTasks( 'grunt-contrib-jshint' );
+ grunt.loadNpmTasks( 'grunt-contrib-watch' );
+ grunt.loadNpmTasks( 'grunt-jscs-checker' );
+
+ grunt.file.setBase( __dirname + '/../..' );
+
+ grunt.initConfig( {
+ pkg: grunt.file.readJSON( __dirname + '/package.json' ),
+ jshint: {
+ options: {
+ jshintrc: '.jshintrc'
+ },
+ all: [ '*.js', '{includes,languages,resources,skins,tests}/**/*.js' ]
+ },
+ jscs: {
+ // Known issues:
+ // - https://github.com/mdevils/node-jscs/issues/277
+ // - https://github.com/mdevils/node-jscs/issues/278
+ all: [
+ '<%= jshint.all %>',
+ // Auto-generated file with JSON (double quotes)
+ '!tests/qunit/data/mediawiki.jqueryMsg.data.js'
+
+ // Exclude all files ignored by jshint
+ ].concat( grunt.file.read( '.jshintignore' ).split( '\n' ).reduce( function ( patterns, pattern ) {
+ // Filter out empty lines
+ if ( pattern.length && pattern[0] !== '#' ) {
+ patterns.push( '!' + pattern );
+ }
+ return patterns;
+ }, [] ) )
+ },
+ watch: {
+ files: [
+ '.{jshintrc,jscs.json,jshintignore,csslintrc}',
+ '<%= jshint.all %>'
+ ],
+ tasks: ['test']
+ }
+ } );
+
+ grunt.registerTask( 'lint', ['jshint', 'jscs'] );
+ grunt.registerTask( 'test', ['lint'] );
+ grunt.registerTask( 'default', ['test'] );
+};
--- /dev/null
+{
+ "name": "mediawiki",
+ "version": "0.0.0",
+ "scripts": {
+ "test": "grunt test"
+ },
+ "devDependencies": {
+ "grunt": "0.4.2",
+ "grunt-contrib-jshint": "0.8.0",
+ "grunt-contrib-watch": "0.5.3",
+ "grunt-jscs-checker": "0.4.0"
+ }
+}
US_states_by_total_state_tax_revenue.svg
http://commons.wikimedia.org/wiki/File:US_states_by_total_state_tax_revenue.svg
-CC-BY 3.0
+CC BY 3.0
TastyCakes on English Wikipedia
greyscale-na-png.png, rgb-png.png, Xmp-exif-multilingual_test.jpg
Speech_bubbles.svg (Modified slightly)
https://commons.wikimedia.org/wiki/File:Speech_bubbles.svg
-CC-BY-SA 3.0
+CC BY-SA 3.0
Jarry1250
*/
public static function provideFiles() {
return array(
- array( "QuoteQuran" ), # http://en.wikipedia.org/w/index.php?title=Template:QuoteQuran/sandbox&oldid=237348988 GFDL + CC-BY-SA by Striver
- array( "Factorial" ), # http://en.wikipedia.org/w/index.php?title=Template:Factorial&oldid=98548758 GFDL + CC-BY-SA by Polonium
+ array( "QuoteQuran" ), # http://en.wikipedia.org/w/index.php?title=Template:QuoteQuran/sandbox&oldid=237348988 GFDL + CC BY-SA by Striver
+ array( "Factorial" ), # http://en.wikipedia.org/w/index.php?title=Template:Factorial&oldid=98548758 GFDL + CC BY-SA by Polonium
array( "All_system_messages" ), # http://tl.wiktionary.org/w/index.php?title=Suleras:All_system_messages&oldid=2765 GPL text generated by MediaWiki
- array( "Fundraising" ), # http://tl.wiktionary.org/w/index.php?title=MediaWiki:Sitenotice&oldid=5716 GFDL + CC-BY-SA, copied there by Sky Harbor.
+ array( "Fundraising" ), # http://tl.wiktionary.org/w/index.php?title=MediaWiki:Sitenotice&oldid=5716 GFDL + CC BY-SA, copied there by Sky Harbor.
array( "NestedTemplates" ), # bug 27936
);
}
. '// Last generated with ' . basename( __FILE__ ) . ' at ' . gmdate( 'r' ) . "\n"
// This file will contain unquoted JSON strings as javascript native object literals,
// flip the quotemark convention for this file.
- . "/*jshint quotmark: double */\n"
. "\n"
. 'mediaWiki.libs.phpParserData = ' . FormatJson::encode( $phpParserData, true ) . ";\n";
// This file stores the output from the PHP parser for various messages, arguments,
// languages, and parser modes. Intended for use by a unit test framework by looping
// through the object and comparing its parser return value with the 'result' property.
-// Last generated with generateJqueryMsgData.php at Sat, 03 Nov 2012 21:32:01 +0000
-/*jshint quotmark: double */
+// Last generated with generateJqueryMsgData.php at Thu, 30 Jan 2014 04:04:41 +0000
mediaWiki.libs.phpParserData = {
- "messages": {
- "en_undelete_short": "Undelete {{PLURAL:$1|one edit|$1 edits}}",
- "en_category-subcat-count": "{{PLURAL:$2|This category has only the following subcategory.|This category has the following {{PLURAL:$1|subcategory|$1 subcategories}}, out of $2 total.}}",
- "fr_undelete_short": "Restaurer $1 modification{{PLURAL:$1||s}}",
- "fr_category-subcat-count": "Cette cat\u00e9gorie comprend {{PLURAL:$2|la sous-cat\u00e9gorie|$2 sous-cat\u00e9gories, dont {{PLURAL:$1|celle|les $1}}}} ci-dessous.",
- "ar_undelete_short": "\u0627\u0633\u062a\u0631\u062c\u0627\u0639 {{PLURAL:$1|\u062a\u0639\u062f\u064a\u0644 \u0648\u0627\u062d\u062f|\u062a\u0639\u062f\u064a\u0644\u064a\u0646|$1 \u062a\u0639\u062f\u064a\u0644\u0627\u062a|$1 \u062a\u0639\u062f\u064a\u0644|$1 \u062a\u0639\u062f\u064a\u0644\u0627}}",
- "ar_category-subcat-count": "{{PLURAL:$2|\u0644\u0627 \u062a\u0635\u0627\u0646\u064a\u0641 \u0641\u0631\u0639\u064a\u0629 \u0641\u064a \u0647\u0630\u0627 \u0627\u0644\u062a\u0635\u0646\u064a\u0641|\u0647\u0630\u0627 \u0627\u0644\u062a\u0635\u0646\u064a\u0641 \u0641\u064a\u0647 \u0627\u0644\u062a\u0635\u0646\u064a\u0641 \u0627\u0644\u0641\u0631\u0639\u064a \u0627\u0644\u062a\u0627\u0644\u064a \u0641\u0642\u0637.|\u0647\u0630\u0627 \u0627\u0644\u062a\u0635\u0646\u064a\u0641 \u0641\u064a\u0647 {{PLURAL:$1||\u0647\u0630\u0627 \u0627\u0644\u062a\u0635\u0646\u064a\u0641 \u0627\u0644\u0641\u0631\u0639\u064a|\u0647\u0630\u064a\u0646 \u0627\u0644\u062a\u0635\u0646\u064a\u0641\u064a\u0646 \u0627\u0644\u0641\u0631\u0639\u064a\u064a\u0646|\u0647\u0630\u0647 \u0627\u0644$1 \u062a\u0635\u0627\u0646\u064a\u0641 \u0627\u0644\u0641\u0631\u0639\u064a\u0629|\u0647\u0630\u0647 \u0627\u0644$1 \u062a\u0635\u0646\u064a\u0641\u0627 \u0641\u0631\u0639\u064a\u0627|\u0647\u0630\u0647 \u0627\u0644$1 \u062a\u0635\u0646\u064a\u0641 \u0641\u0631\u0639\u064a}}\u060c \u0645\u0646 \u0625\u062c\u0645\u0627\u0644\u064a $2.}}",
- "jp_undelete_short": "Undelete {{PLURAL:$1|one edit|$1 edits}}",
- "jp_category-subcat-count": "{{PLURAL:$2|This category has only the following subcategory.|This category has the following {{PLURAL:$1|subcategory|$1 subcategories}}, out of $2 total.}}",
- "zh_undelete_short": "\u6062\u590d$1\u4e2a\u88ab\u5220\u9664\u7684\u7f16\u8f91",
- "zh_category-subcat-count": "{{PLURAL:$2|\u672c\u5206\u7c7b\u53ea\u6709\u4e0b\u5217\u4e00\u4e2a\u5b50\u5206\u7c7b\u3002|\u672c\u5206\u7c7b\u5305\u542b\u4e0b\u5217$1\u4e2a\u5b50\u5206\u7c7b\uff0c\u5171$2\u4e2a\u5b50\u5206\u7c7b\u3002}}"
- },
- "tests": [
- {
- "name": "en undelete_short 0",
- "key": "en_undelete_short",
- "args": [
- 0
- ],
- "result": "Undelete 0 edits",
- "lang": "en"
- },
- {
- "name": "en undelete_short 1",
- "key": "en_undelete_short",
- "args": [
- 1
- ],
- "result": "Undelete one edit",
- "lang": "en"
- },
- {
- "name": "en undelete_short 2",
- "key": "en_undelete_short",
- "args": [
- 2
- ],
- "result": "Undelete 2 edits",
- "lang": "en"
- },
- {
- "name": "en undelete_short 5",
- "key": "en_undelete_short",
- "args": [
- 5
- ],
- "result": "Undelete 5 edits",
- "lang": "en"
- },
- {
- "name": "en undelete_short 21",
- "key": "en_undelete_short",
- "args": [
- 21
- ],
- "result": "Undelete 21 edits",
- "lang": "en"
- },
- {
- "name": "en undelete_short 101",
- "key": "en_undelete_short",
- "args": [
- 101
- ],
- "result": "Undelete 101 edits",
- "lang": "en"
- },
- {
- "name": "en category-subcat-count 0,10",
- "key": "en_category-subcat-count",
- "args": [
- 0,
- 10
- ],
- "result": "This category has the following 0 subcategories, out of 10 total.",
- "lang": "en"
- },
- {
- "name": "en category-subcat-count 1,1",
- "key": "en_category-subcat-count",
- "args": [
- 1,
- 1
- ],
- "result": "This category has only the following subcategory.",
- "lang": "en"
- },
- {
- "name": "en category-subcat-count 1,2",
- "key": "en_category-subcat-count",
- "args": [
- 1,
- 2
- ],
- "result": "This category has the following subcategory, out of 2 total.",
- "lang": "en"
- },
- {
- "name": "en category-subcat-count 3,30",
- "key": "en_category-subcat-count",
- "args": [
- 3,
- 30
- ],
- "result": "This category has the following 3 subcategories, out of 30 total.",
- "lang": "en"
- },
- {
- "name": "fr undelete_short 0",
- "key": "fr_undelete_short",
- "args": [
- 0
- ],
- "result": "Restaurer 0 modification",
- "lang": "fr"
- },
- {
- "name": "fr undelete_short 1",
- "key": "fr_undelete_short",
- "args": [
- 1
- ],
- "result": "Restaurer 1 modification",
- "lang": "fr"
- },
- {
- "name": "fr undelete_short 2",
- "key": "fr_undelete_short",
- "args": [
- 2
- ],
- "result": "Restaurer 2 modifications",
- "lang": "fr"
- },
- {
- "name": "fr undelete_short 5",
- "key": "fr_undelete_short",
- "args": [
- 5
- ],
- "result": "Restaurer 5 modifications",
- "lang": "fr"
- },
- {
- "name": "fr undelete_short 21",
- "key": "fr_undelete_short",
- "args": [
- 21
- ],
- "result": "Restaurer 21 modifications",
- "lang": "fr"
- },
- {
- "name": "fr undelete_short 101",
- "key": "fr_undelete_short",
- "args": [
- 101
- ],
- "result": "Restaurer 101 modifications",
- "lang": "fr"
- },
- {
- "name": "fr category-subcat-count 0,10",
- "key": "fr_category-subcat-count",
- "args": [
- 0,
- 10
- ],
- "result": "Cette cat\u00e9gorie comprend 10 sous-cat\u00e9gories, dont celle ci-dessous.",
- "lang": "fr"
- },
- {
- "name": "fr category-subcat-count 1,1",
- "key": "fr_category-subcat-count",
- "args": [
- 1,
- 1
- ],
- "result": "Cette cat\u00e9gorie comprend la sous-cat\u00e9gorie ci-dessous.",
- "lang": "fr"
- },
- {
- "name": "fr category-subcat-count 1,2",
- "key": "fr_category-subcat-count",
- "args": [
- 1,
- 2
- ],
- "result": "Cette cat\u00e9gorie comprend 2 sous-cat\u00e9gories, dont celle ci-dessous.",
- "lang": "fr"
- },
- {
- "name": "fr category-subcat-count 3,30",
- "key": "fr_category-subcat-count",
- "args": [
- 3,
- 30
- ],
- "result": "Cette cat\u00e9gorie comprend 30 sous-cat\u00e9gories, dont les 3 ci-dessous.",
- "lang": "fr"
- },
- {
- "name": "ar undelete_short 0",
- "key": "ar_undelete_short",
- "args": [
- 0
- ],
- "result": "\u0627\u0633\u062a\u0631\u062c\u0627\u0639 \u062a\u0639\u062f\u064a\u0644 \u0648\u0627\u062d\u062f",
- "lang": "ar"
- },
- {
- "name": "ar undelete_short 1",
- "key": "ar_undelete_short",
- "args": [
- 1
- ],
- "result": "\u0627\u0633\u062a\u0631\u062c\u0627\u0639 \u062a\u0639\u062f\u064a\u0644\u064a\u0646",
- "lang": "ar"
- },
- {
- "name": "ar undelete_short 2",
- "key": "ar_undelete_short",
- "args": [
- 2
- ],
- "result": "\u0627\u0633\u062a\u0631\u062c\u0627\u0639 2 \u062a\u0639\u062f\u064a\u0644\u0627\u062a",
- "lang": "ar"
- },
- {
- "name": "ar undelete_short 5",
- "key": "ar_undelete_short",
- "args": [
- 5
- ],
- "result": "\u0627\u0633\u062a\u0631\u062c\u0627\u0639 5 \u062a\u0639\u062f\u064a\u0644",
- "lang": "ar"
- },
- {
- "name": "ar undelete_short 21",
- "key": "ar_undelete_short",
- "args": [
- 21
- ],
- "result": "\u0627\u0633\u062a\u0631\u062c\u0627\u0639 21 \u062a\u0639\u062f\u064a\u0644\u0627",
- "lang": "ar"
- },
- {
- "name": "ar undelete_short 101",
- "key": "ar_undelete_short",
- "args": [
- 101
- ],
- "result": "\u0627\u0633\u062a\u0631\u062c\u0627\u0639 101 \u062a\u0639\u062f\u064a\u0644\u0627",
- "lang": "ar"
- },
- {
- "name": "ar category-subcat-count 0,10",
- "key": "ar_category-subcat-count",
- "args": [
- 0,
- 10
- ],
- "result": "\u0647\u0630\u0627 \u0627\u0644\u062a\u0635\u0646\u064a\u0641 \u0641\u064a\u0647 \u060c \u0645\u0646 \u0625\u062c\u0645\u0627\u0644\u064a 10.",
- "lang": "ar"
- },
- {
- "name": "ar category-subcat-count 1,1",
- "key": "ar_category-subcat-count",
- "args": [
- 1,
- 1
- ],
- "result": "\u0647\u0630\u0627 \u0627\u0644\u062a\u0635\u0646\u064a\u0641 \u0641\u064a\u0647 \u0627\u0644\u062a\u0635\u0646\u064a\u0641 \u0627\u0644\u0641\u0631\u0639\u064a \u0627\u0644\u062a\u0627\u0644\u064a \u0641\u0642\u0637.",
- "lang": "ar"
- },
- {
- "name": "ar category-subcat-count 1,2",
- "key": "ar_category-subcat-count",
- "args": [
- 1,
- 2
- ],
- "result": "\u0647\u0630\u0627 \u0627\u0644\u062a\u0635\u0646\u064a\u0641 \u0641\u064a\u0647 \u0647\u0630\u0627 \u0627\u0644\u062a\u0635\u0646\u064a\u0641 \u0627\u0644\u0641\u0631\u0639\u064a\u060c \u0645\u0646 \u0625\u062c\u0645\u0627\u0644\u064a 2.",
- "lang": "ar"
- },
- {
- "name": "ar category-subcat-count 3,30",
- "key": "ar_category-subcat-count",
- "args": [
- 3,
- 30
- ],
- "result": "\u0647\u0630\u0627 \u0627\u0644\u062a\u0635\u0646\u064a\u0641 \u0641\u064a\u0647 \u0647\u0630\u0647 \u0627\u06443 \u062a\u0635\u0627\u0646\u064a\u0641 \u0627\u0644\u0641\u0631\u0639\u064a\u0629\u060c \u0645\u0646 \u0625\u062c\u0645\u0627\u0644\u064a 30.",
- "lang": "ar"
- },
- {
- "name": "jp undelete_short 0",
- "key": "jp_undelete_short",
- "args": [
- 0
- ],
- "result": "Undelete 0 edits",
- "lang": "jp"
- },
- {
- "name": "jp undelete_short 1",
- "key": "jp_undelete_short",
- "args": [
- 1
- ],
- "result": "Undelete one edit",
- "lang": "jp"
- },
- {
- "name": "jp undelete_short 2",
- "key": "jp_undelete_short",
- "args": [
- 2
- ],
- "result": "Undelete 2 edits",
- "lang": "jp"
- },
- {
- "name": "jp undelete_short 5",
- "key": "jp_undelete_short",
- "args": [
- 5
- ],
- "result": "Undelete 5 edits",
- "lang": "jp"
- },
- {
- "name": "jp undelete_short 21",
- "key": "jp_undelete_short",
- "args": [
- 21
- ],
- "result": "Undelete 21 edits",
- "lang": "jp"
- },
- {
- "name": "jp undelete_short 101",
- "key": "jp_undelete_short",
- "args": [
- 101
- ],
- "result": "Undelete 101 edits",
- "lang": "jp"
- },
- {
- "name": "jp category-subcat-count 0,10",
- "key": "jp_category-subcat-count",
- "args": [
- 0,
- 10
- ],
- "result": "This category has the following 0 subcategories, out of 10 total.",
- "lang": "jp"
- },
- {
- "name": "jp category-subcat-count 1,1",
- "key": "jp_category-subcat-count",
- "args": [
- 1,
- 1
- ],
- "result": "This category has only the following subcategory.",
- "lang": "jp"
- },
- {
- "name": "jp category-subcat-count 1,2",
- "key": "jp_category-subcat-count",
- "args": [
- 1,
- 2
- ],
- "result": "This category has the following subcategory, out of 2 total.",
- "lang": "jp"
- },
- {
- "name": "jp category-subcat-count 3,30",
- "key": "jp_category-subcat-count",
- "args": [
- 3,
- 30
- ],
- "result": "This category has the following 3 subcategories, out of 30 total.",
- "lang": "jp"
- },
- {
- "name": "zh undelete_short 0",
- "key": "zh_undelete_short",
- "args": [
- 0
- ],
- "result": "\u6062\u590d0\u4e2a\u88ab\u5220\u9664\u7684\u7f16\u8f91",
- "lang": "zh"
- },
- {
- "name": "zh undelete_short 1",
- "key": "zh_undelete_short",
- "args": [
- 1
- ],
- "result": "\u6062\u590d1\u4e2a\u88ab\u5220\u9664\u7684\u7f16\u8f91",
- "lang": "zh"
- },
- {
- "name": "zh undelete_short 2",
- "key": "zh_undelete_short",
- "args": [
- 2
- ],
- "result": "\u6062\u590d2\u4e2a\u88ab\u5220\u9664\u7684\u7f16\u8f91",
- "lang": "zh"
- },
- {
- "name": "zh undelete_short 5",
- "key": "zh_undelete_short",
- "args": [
- 5
- ],
- "result": "\u6062\u590d5\u4e2a\u88ab\u5220\u9664\u7684\u7f16\u8f91",
- "lang": "zh"
- },
- {
- "name": "zh undelete_short 21",
- "key": "zh_undelete_short",
- "args": [
- 21
- ],
- "result": "\u6062\u590d21\u4e2a\u88ab\u5220\u9664\u7684\u7f16\u8f91",
- "lang": "zh"
- },
- {
- "name": "zh undelete_short 101",
- "key": "zh_undelete_short",
- "args": [
- 101
- ],
- "result": "\u6062\u590d101\u4e2a\u88ab\u5220\u9664\u7684\u7f16\u8f91",
- "lang": "zh"
- },
- {
- "name": "zh category-subcat-count 0,10",
- "key": "zh_category-subcat-count",
- "args": [
- 0,
- 10
- ],
- "result": "\u672c\u5206\u7c7b\u5305\u542b\u4e0b\u52170\u4e2a\u5b50\u5206\u7c7b\uff0c\u517110\u4e2a\u5b50\u5206\u7c7b\u3002",
- "lang": "zh"
- },
- {
- "name": "zh category-subcat-count 1,1",
- "key": "zh_category-subcat-count",
- "args": [
- 1,
- 1
- ],
- "result": "\u672c\u5206\u7c7b\u53ea\u6709\u4e0b\u5217\u4e00\u4e2a\u5b50\u5206\u7c7b\u3002",
- "lang": "zh"
- },
- {
- "name": "zh category-subcat-count 1,2",
- "key": "zh_category-subcat-count",
- "args": [
- 1,
- 2
- ],
- "result": "\u672c\u5206\u7c7b\u5305\u542b\u4e0b\u52171\u4e2a\u5b50\u5206\u7c7b\uff0c\u51712\u4e2a\u5b50\u5206\u7c7b\u3002",
- "lang": "zh"
- },
- {
- "name": "zh category-subcat-count 3,30",
- "key": "zh_category-subcat-count",
- "args": [
- 3,
- 30
- ],
- "result": "\u672c\u5206\u7c7b\u5305\u542b\u4e0b\u52173\u4e2a\u5b50\u5206\u7c7b\uff0c\u517130\u4e2a\u5b50\u5206\u7c7b\u3002",
- "lang": "zh"
- }
- ]
+ "messages": {
+ "en_undelete_short": "Undelete {{PLURAL:$1|one edit|$1 edits}}",
+ "en_category-subcat-count": "{{PLURAL:$2|This category has only the following subcategory.|This category has the following {{PLURAL:$1|subcategory|$1 subcategories}}, out of $2 total.}}",
+ "fr_undelete_short": "Restaurer $1 modification{{PLURAL:$1||s}}",
+ "fr_category-subcat-count": "Cette cat\u00e9gorie comprend {{PLURAL:$2|la sous-cat\u00e9gorie|$2 sous-cat\u00e9gories, dont {{PLURAL:$1|celle|les $1}}}} ci-dessous.",
+ "ar_undelete_short": "\u0627\u0633\u062a\u0631\u062c\u0627\u0639 {{PLURAL:$1||\u062a\u0639\u062f\u064a\u0644 \u0648\u0627\u062d\u062f|\u062a\u0639\u062f\u064a\u0644\u064a\u0646|$1 \u062a\u0639\u062f\u064a\u0644\u0627\u062a|$1 \u062a\u0639\u062f\u064a\u0644\u0627\u064b|$1 \u062a\u0639\u062f\u064a\u0644}}",
+ "ar_category-subcat-count": "{{PLURAL:$2|\u0647\u0630\u0627 \u0627\u0644\u062a\u0635\u0646\u064a\u0641 \u064a\u062d\u0648\u064a \u0627\u0644\u062a\u0635\u0646\u064a\u0641 \u0627\u0644\u0641\u0631\u0639\u064a \u0627\u0644\u062a\u0627\u0644\u064a|\u0647\u0630\u0627 \u0627\u0644\u062a\u0635\u0646\u064a\u0641 \u064a\u062d\u0648\u064a {{PLURAL:$1||\u0627\u0644\u062a\u0635\u0646\u064a\u0641 \u0627\u0644\u0641\u0631\u0639\u064a|\u062a\u0635\u0646\u064a\u0641\u064a\u0646 \u0641\u0631\u0639\u064a\u064a\u0646|$1 \u062a\u0635\u0646\u064a\u0641\u0627\u062a \u0641\u0631\u0639\u064a\u0629}}\u060c \u0645\u0646 \u0625\u062c\u0645\u0627\u0644\u064a $2.}}",
+ "jp_undelete_short": "Undelete {{PLURAL:$1|one edit|$1 edits}}",
+ "jp_category-subcat-count": "{{PLURAL:$2|This category has only the following subcategory.|This category has the following {{PLURAL:$1|subcategory|$1 subcategories}}, out of $2 total.}}",
+ "zh_undelete_short": "\u8fd8\u539f{{PLURAL:$1|$1\u4e2a\u7f16\u8f91}}",
+ "zh_category-subcat-count": "{{PLURAL:$2|\u672c\u5206\u7c7b\u53ea\u6709\u4ee5\u4e0b\u5b50\u5206\u7c7b\u3002|\u672c\u5206\u7c7b\u6709\u4ee5\u4e0b$1\u4e2a\u5b50\u5206\u7c7b\uff0c\u5171\u6709$2\u4e2a\u5b50\u5206\u7c7b\u3002}}"
+ },
+ "tests": [
+ {
+ "name": "en undelete_short 0",
+ "key": "en_undelete_short",
+ "args": [
+ 0
+ ],
+ "result": "Undelete 0 edits",
+ "lang": "en"
+ },
+ {
+ "name": "en undelete_short 1",
+ "key": "en_undelete_short",
+ "args": [
+ 1
+ ],
+ "result": "Undelete one edit",
+ "lang": "en"
+ },
+ {
+ "name": "en undelete_short 2",
+ "key": "en_undelete_short",
+ "args": [
+ 2
+ ],
+ "result": "Undelete 2 edits",
+ "lang": "en"
+ },
+ {
+ "name": "en undelete_short 5",
+ "key": "en_undelete_short",
+ "args": [
+ 5
+ ],
+ "result": "Undelete 5 edits",
+ "lang": "en"
+ },
+ {
+ "name": "en undelete_short 21",
+ "key": "en_undelete_short",
+ "args": [
+ 21
+ ],
+ "result": "Undelete 21 edits",
+ "lang": "en"
+ },
+ {
+ "name": "en undelete_short 101",
+ "key": "en_undelete_short",
+ "args": [
+ 101
+ ],
+ "result": "Undelete 101 edits",
+ "lang": "en"
+ },
+ {
+ "name": "en category-subcat-count 0,10",
+ "key": "en_category-subcat-count",
+ "args": [
+ 0,
+ 10
+ ],
+ "result": "This category has the following 0 subcategories, out of 10 total.",
+ "lang": "en"
+ },
+ {
+ "name": "en category-subcat-count 1,1",
+ "key": "en_category-subcat-count",
+ "args": [
+ 1,
+ 1
+ ],
+ "result": "This category has only the following subcategory.",
+ "lang": "en"
+ },
+ {
+ "name": "en category-subcat-count 1,2",
+ "key": "en_category-subcat-count",
+ "args": [
+ 1,
+ 2
+ ],
+ "result": "This category has the following subcategory, out of 2 total.",
+ "lang": "en"
+ },
+ {
+ "name": "en category-subcat-count 3,30",
+ "key": "en_category-subcat-count",
+ "args": [
+ 3,
+ 30
+ ],
+ "result": "This category has the following 3 subcategories, out of 30 total.",
+ "lang": "en"
+ },
+ {
+ "name": "fr undelete_short 0",
+ "key": "fr_undelete_short",
+ "args": [
+ 0
+ ],
+ "result": "Restaurer 0 modification",
+ "lang": "fr"
+ },
+ {
+ "name": "fr undelete_short 1",
+ "key": "fr_undelete_short",
+ "args": [
+ 1
+ ],
+ "result": "Restaurer 1 modification",
+ "lang": "fr"
+ },
+ {
+ "name": "fr undelete_short 2",
+ "key": "fr_undelete_short",
+ "args": [
+ 2
+ ],
+ "result": "Restaurer 2 modifications",
+ "lang": "fr"
+ },
+ {
+ "name": "fr undelete_short 5",
+ "key": "fr_undelete_short",
+ "args": [
+ 5
+ ],
+ "result": "Restaurer 5 modifications",
+ "lang": "fr"
+ },
+ {
+ "name": "fr undelete_short 21",
+ "key": "fr_undelete_short",
+ "args": [
+ 21
+ ],
+ "result": "Restaurer 21 modifications",
+ "lang": "fr"
+ },
+ {
+ "name": "fr undelete_short 101",
+ "key": "fr_undelete_short",
+ "args": [
+ 101
+ ],
+ "result": "Restaurer 101 modifications",
+ "lang": "fr"
+ },
+ {
+ "name": "fr category-subcat-count 0,10",
+ "key": "fr_category-subcat-count",
+ "args": [
+ 0,
+ 10
+ ],
+ "result": "Cette cat\u00e9gorie comprend 10 sous-cat\u00e9gories, dont celle ci-dessous.",
+ "lang": "fr"
+ },
+ {
+ "name": "fr category-subcat-count 1,1",
+ "key": "fr_category-subcat-count",
+ "args": [
+ 1,
+ 1
+ ],
+ "result": "Cette cat\u00e9gorie comprend la sous-cat\u00e9gorie ci-dessous.",
+ "lang": "fr"
+ },
+ {
+ "name": "fr category-subcat-count 1,2",
+ "key": "fr_category-subcat-count",
+ "args": [
+ 1,
+ 2
+ ],
+ "result": "Cette cat\u00e9gorie comprend 2 sous-cat\u00e9gories, dont celle ci-dessous.",
+ "lang": "fr"
+ },
+ {
+ "name": "fr category-subcat-count 3,30",
+ "key": "fr_category-subcat-count",
+ "args": [
+ 3,
+ 30
+ ],
+ "result": "Cette cat\u00e9gorie comprend 30 sous-cat\u00e9gories, dont les 3 ci-dessous.",
+ "lang": "fr"
+ },
+ {
+ "name": "ar undelete_short 0",
+ "key": "ar_undelete_short",
+ "args": [
+ 0
+ ],
+ "result": "\u0627\u0633\u062a\u0631\u062c\u0627\u0639 ",
+ "lang": "ar"
+ },
+ {
+ "name": "ar undelete_short 1",
+ "key": "ar_undelete_short",
+ "args": [
+ 1
+ ],
+ "result": "\u0627\u0633\u062a\u0631\u062c\u0627\u0639 \u062a\u0639\u062f\u064a\u0644 \u0648\u0627\u062d\u062f",
+ "lang": "ar"
+ },
+ {
+ "name": "ar undelete_short 2",
+ "key": "ar_undelete_short",
+ "args": [
+ 2
+ ],
+ "result": "\u0627\u0633\u062a\u0631\u062c\u0627\u0639 \u062a\u0639\u062f\u064a\u0644\u064a\u0646",
+ "lang": "ar"
+ },
+ {
+ "name": "ar undelete_short 5",
+ "key": "ar_undelete_short",
+ "args": [
+ 5
+ ],
+ "result": "\u0627\u0633\u062a\u0631\u062c\u0627\u0639 5 \u062a\u0639\u062f\u064a\u0644\u0627\u062a",
+ "lang": "ar"
+ },
+ {
+ "name": "ar undelete_short 21",
+ "key": "ar_undelete_short",
+ "args": [
+ 21
+ ],
+ "result": "\u0627\u0633\u062a\u0631\u062c\u0627\u0639 21 \u062a\u0639\u062f\u064a\u0644\u0627\u064b",
+ "lang": "ar"
+ },
+ {
+ "name": "ar undelete_short 101",
+ "key": "ar_undelete_short",
+ "args": [
+ 101
+ ],
+ "result": "\u0627\u0633\u062a\u0631\u062c\u0627\u0639 101 \u062a\u0639\u062f\u064a\u0644",
+ "lang": "ar"
+ },
+ {
+ "name": "ar category-subcat-count 0,10",
+ "key": "ar_category-subcat-count",
+ "args": [
+ 0,
+ 10
+ ],
+ "result": "\u0647\u0630\u0627 \u0627\u0644\u062a\u0635\u0646\u064a\u0641 \u064a\u062d\u0648\u064a \u060c \u0645\u0646 \u0625\u062c\u0645\u0627\u0644\u064a 10.",
+ "lang": "ar"
+ },
+ {
+ "name": "ar category-subcat-count 1,1",
+ "key": "ar_category-subcat-count",
+ "args": [
+ 1,
+ 1
+ ],
+ "result": "\u0647\u0630\u0627 \u0627\u0644\u062a\u0635\u0646\u064a\u0641 \u064a\u062d\u0648\u064a \u0627\u0644\u062a\u0635\u0646\u064a\u0641 \u0627\u0644\u0641\u0631\u0639\u064a\u060c \u0645\u0646 \u0625\u062c\u0645\u0627\u0644\u064a 1.",
+ "lang": "ar"
+ },
+ {
+ "name": "ar category-subcat-count 1,2",
+ "key": "ar_category-subcat-count",
+ "args": [
+ 1,
+ 2
+ ],
+ "result": "\u0647\u0630\u0627 \u0627\u0644\u062a\u0635\u0646\u064a\u0641 \u064a\u062d\u0648\u064a \u0627\u0644\u062a\u0635\u0646\u064a\u0641 \u0627\u0644\u0641\u0631\u0639\u064a\u060c \u0645\u0646 \u0625\u062c\u0645\u0627\u0644\u064a 2.",
+ "lang": "ar"
+ },
+ {
+ "name": "ar category-subcat-count 3,30",
+ "key": "ar_category-subcat-count",
+ "args": [
+ 3,
+ 30
+ ],
+ "result": "\u0647\u0630\u0627 \u0627\u0644\u062a\u0635\u0646\u064a\u0641 \u064a\u062d\u0648\u064a 3 \u062a\u0635\u0646\u064a\u0641\u0627\u062a \u0641\u0631\u0639\u064a\u0629\u060c \u0645\u0646 \u0625\u062c\u0645\u0627\u0644\u064a 30.",
+ "lang": "ar"
+ },
+ {
+ "name": "jp undelete_short 0",
+ "key": "jp_undelete_short",
+ "args": [
+ 0
+ ],
+ "result": "Undelete 0 edits",
+ "lang": "jp"
+ },
+ {
+ "name": "jp undelete_short 1",
+ "key": "jp_undelete_short",
+ "args": [
+ 1
+ ],
+ "result": "Undelete one edit",
+ "lang": "jp"
+ },
+ {
+ "name": "jp undelete_short 2",
+ "key": "jp_undelete_short",
+ "args": [
+ 2
+ ],
+ "result": "Undelete 2 edits",
+ "lang": "jp"
+ },
+ {
+ "name": "jp undelete_short 5",
+ "key": "jp_undelete_short",
+ "args": [
+ 5
+ ],
+ "result": "Undelete 5 edits",
+ "lang": "jp"
+ },
+ {
+ "name": "jp undelete_short 21",
+ "key": "jp_undelete_short",
+ "args": [
+ 21
+ ],
+ "result": "Undelete 21 edits",
+ "lang": "jp"
+ },
+ {
+ "name": "jp undelete_short 101",
+ "key": "jp_undelete_short",
+ "args": [
+ 101
+ ],
+ "result": "Undelete 101 edits",
+ "lang": "jp"
+ },
+ {
+ "name": "jp category-subcat-count 0,10",
+ "key": "jp_category-subcat-count",
+ "args": [
+ 0,
+ 10
+ ],
+ "result": "This category has the following 0 subcategories, out of 10 total.",
+ "lang": "jp"
+ },
+ {
+ "name": "jp category-subcat-count 1,1",
+ "key": "jp_category-subcat-count",
+ "args": [
+ 1,
+ 1
+ ],
+ "result": "This category has only the following subcategory.",
+ "lang": "jp"
+ },
+ {
+ "name": "jp category-subcat-count 1,2",
+ "key": "jp_category-subcat-count",
+ "args": [
+ 1,
+ 2
+ ],
+ "result": "This category has the following subcategory, out of 2 total.",
+ "lang": "jp"
+ },
+ {
+ "name": "jp category-subcat-count 3,30",
+ "key": "jp_category-subcat-count",
+ "args": [
+ 3,
+ 30
+ ],
+ "result": "This category has the following 3 subcategories, out of 30 total.",
+ "lang": "jp"
+ },
+ {
+ "name": "zh undelete_short 0",
+ "key": "zh_undelete_short",
+ "args": [
+ 0
+ ],
+ "result": "\u8fd8\u539f0\u4e2a\u7f16\u8f91",
+ "lang": "zh"
+ },
+ {
+ "name": "zh undelete_short 1",
+ "key": "zh_undelete_short",
+ "args": [
+ 1
+ ],
+ "result": "\u8fd8\u539f1\u4e2a\u7f16\u8f91",
+ "lang": "zh"
+ },
+ {
+ "name": "zh undelete_short 2",
+ "key": "zh_undelete_short",
+ "args": [
+ 2
+ ],
+ "result": "\u8fd8\u539f2\u4e2a\u7f16\u8f91",
+ "lang": "zh"
+ },
+ {
+ "name": "zh undelete_short 5",
+ "key": "zh_undelete_short",
+ "args": [
+ 5
+ ],
+ "result": "\u8fd8\u539f5\u4e2a\u7f16\u8f91",
+ "lang": "zh"
+ },
+ {
+ "name": "zh undelete_short 21",
+ "key": "zh_undelete_short",
+ "args": [
+ 21
+ ],
+ "result": "\u8fd8\u539f21\u4e2a\u7f16\u8f91",
+ "lang": "zh"
+ },
+ {
+ "name": "zh undelete_short 101",
+ "key": "zh_undelete_short",
+ "args": [
+ 101
+ ],
+ "result": "\u8fd8\u539f101\u4e2a\u7f16\u8f91",
+ "lang": "zh"
+ },
+ {
+ "name": "zh category-subcat-count 0,10",
+ "key": "zh_category-subcat-count",
+ "args": [
+ 0,
+ 10
+ ],
+ "result": "\u672c\u5206\u7c7b\u6709\u4ee5\u4e0b0\u4e2a\u5b50\u5206\u7c7b\uff0c\u5171\u670910\u4e2a\u5b50\u5206\u7c7b\u3002",
+ "lang": "zh"
+ },
+ {
+ "name": "zh category-subcat-count 1,1",
+ "key": "zh_category-subcat-count",
+ "args": [
+ 1,
+ 1
+ ],
+ "result": "\u672c\u5206\u7c7b\u53ea\u6709\u4ee5\u4e0b\u5b50\u5206\u7c7b\u3002",
+ "lang": "zh"
+ },
+ {
+ "name": "zh category-subcat-count 1,2",
+ "key": "zh_category-subcat-count",
+ "args": [
+ 1,
+ 2
+ ],
+ "result": "\u672c\u5206\u7c7b\u6709\u4ee5\u4e0b1\u4e2a\u5b50\u5206\u7c7b\uff0c\u5171\u67092\u4e2a\u5b50\u5206\u7c7b\u3002",
+ "lang": "zh"
+ },
+ {
+ "name": "zh category-subcat-count 3,30",
+ "key": "zh_category-subcat-count",
+ "args": [
+ 3,
+ 30
+ ],
+ "result": "\u672c\u5206\u7c7b\u6709\u4ee5\u4e0b3\u4e2a\u5b50\u5206\u7c7b\uff0c\u5171\u670930\u4e2a\u5b50\u5206\u7c7b\u3002",
+ "lang": "zh"
+ }
+ ]
};
QUnit.asyncTest( 'animate', 3, function ( assert ) {
var $canvas = $( '<div>' ).css( 'background-color', '#fff' );
- $canvas.animate( { backgroundColor: '#000' }, 4 ).promise().then( function() {
+ $canvas.animate( { backgroundColor: '#000' }, 4 ).promise().then( function () {
var endColors = $.colorUtil.getRGB( $canvas.css( 'background-color' ) );
assert.strictEqual( endColors[0], 0 );
assert.strictEqual( endColors[1], 0 );
$collapsible.find( '.mw-collapsible-toggle' ).trigger( 'click' );
} );
- QUnit.test( 'clicks on links inside toggler pass through (options.linksPassthru)' , 2, function ( assert ) {
+ QUnit.test( 'clicks on links inside toggler pass through (options.linksPassthru)', 2, function ( assert ) {
var $collapsible = prepareCollapsible(
'<div class="mw-collapsible">' +
'<div class="mw-collapsible-toggle">' +
-(function($) {
+(function ($) {
QUnit.module('jquery.placeholder', QUnit.newMwEnvironment());
- QUnit.test('caches results of feature tests', 2, function(assert) {
+ QUnit.test('caches results of feature tests', 2, function (assert) {
assert.strictEqual(typeof $.fn.placeholder.input, 'boolean', '$.fn.placeholder.input');
assert.strictEqual(typeof $.fn.placeholder.textarea, 'boolean', '$.fn.placeholder.textarea');
});
'<input id="input-type-password" type="password" placeholder="e.g. hunter2">' +
'<textarea id="textarea" name="message" placeholder="Your message goes here"></textarea>' +
'</form>',
- testElement = function($el, assert) {
+ testElement = function ($el, assert) {
var el = $el[0],
placeholder = el.getAttribute('placeholder');
$el.placeholder(placeholder);
};
- QUnit.test('emulates placeholder for <input type=text>', 22, function(assert) {
+ QUnit.test('emulates placeholder for <input type=text>', 22, function (assert) {
$('<div>').html(html).appendTo($('#qunit-fixture'));
testElement($('#input-type-text'), assert);
});
- QUnit.test('emulates placeholder for <input type=search>', 22, function(assert) {
+ QUnit.test('emulates placeholder for <input type=search>', 22, function (assert) {
$('<div>').html(html).appendTo($('#qunit-fixture'));
testElement($('#input-type-search'), assert);
});
- QUnit.test('emulates placeholder for <input type=email>', 22, function(assert) {
+ QUnit.test('emulates placeholder for <input type=email>', 22, function (assert) {
$('<div>').html(html).appendTo($('#qunit-fixture'));
testElement($('#input-type-email'), assert);
});
- QUnit.test('emulates placeholder for <input type=url>', 22, function(assert) {
+ QUnit.test('emulates placeholder for <input type=url>', 22, function (assert) {
$('<div>').html(html).appendTo($('#qunit-fixture'));
testElement($('#input-type-url'), assert);
});
- QUnit.test('emulates placeholder for <input type=tel>', 22, function(assert) {
+ QUnit.test('emulates placeholder for <input type=tel>', 22, function (assert) {
$('<div>').html(html).appendTo($('#qunit-fixture'));
testElement($('#input-type-tel'), assert);
});
- QUnit.test('emulates placeholder for <input type=password>', 13, function(assert) {
+ QUnit.test('emulates placeholder for <input type=password>', 13, function (assert) {
$('<div>').html(html).appendTo($('#qunit-fixture'));
var selector = '#input-type-password',
});
- QUnit.test('emulates placeholder for <textarea></textarea>', 22, function(assert) {
+ QUnit.test('emulates placeholder for <textarea></textarea>', 22, function (assert) {
$('<div>').html(html).appendTo($('#qunit-fixture'));
testElement($('#textarea'), assert);
});
}, opt.after );
QUnit.test( opt.description, function ( assert ) {
- /*jshint onevar: false */
- var tests = 1;
+ var $textarea, start, end, options, text,
+ tests = 1;
if ( opt.after.selected !== null ) {
tests++;
}
QUnit.expect( tests );
- var $textarea = $( '<textarea>' );
+ $textarea = $( '<textarea>' );
$( '#qunit-fixture' ).append( $textarea );
- //$textarea.textSelection( 'setContents', opt.before.text); // this method is actually missing atm...
- $textarea.val( opt.before.text ); // won't work with the WikiEditor iframe?
+ // This method is actually missing atm...
+ //$textarea.textSelection( 'setContents', opt.before.text);
- var start = opt.before.start,
- end = opt.before.end;
+ // Won't work with the WikiEditor iframe?
+ $textarea.val( opt.before.text );
- var options = $.extend( {}, opt.replace ); // Clone opt.replace
+ start = opt.before.start;
+ end = opt.before.end;
+
+ // Clone opt.replace
+ options = $.extend( {}, opt.replace );
options.selectionStart = start;
options.selectionEnd = end;
$textarea.textSelection( 'encapsulateSelection', options );
- var text = $textarea.textSelection( 'getContents' ).replace( /\r\n/g, '\n' );
+ text = $textarea.textSelection( 'getContents' ).replace( /\r\n/g, '\n' );
assert.equal( text, opt.after.text, 'Checking full text after encapsulation' );
replace: h2
} );
-
encapsulateTest( {
description: 'ownline option: turn a partial line into new h2',
before: {
replace: h2
} );
-
encapsulateTest( {
description: 'splitlines option: no selection, insert new list item',
before: {
replace: ulist
} );
-
function caretTest( options ) {
QUnit.test( options.description, 2, function ( assert ) {
- var pos, $textarea = $( '<textarea>' ).text( options.text );
+ var pos,
+ $textarea = $( '<textarea>' ).text( options.text );
$( '#qunit-fixture' ).append( $textarea );
} );
} );
-
QUnit.test( 'API error', function ( assert ) {
QUnit.expect( 1 );
100: 'Penguins'
},
wgNamespaceIds: {
- /*jshint camelcase: false */
- media: -2,
- special: -1,
+ 'media': -2,
+ 'special': -1,
'': 0,
- talk: 1,
- user: 2,
- user_talk: 3,
- wikipedia: 4,
- wikipedia_talk: 5,
- file: 6,
- file_talk: 7,
- mediawiki: 8,
- mediawiki_talk: 9,
- template: 10,
- template_talk: 11,
- help: 12,
- help_talk: 13,
- category: 14,
- category_talk: 15,
- image: 6,
- image_talk: 7,
- project: 4,
- project_talk: 5,
- /* testing custom / alias */
- penguins: 100,
- antarctic_waterfowl: 100
+ 'talk': 1,
+ 'user': 2,
+ 'user_talk': 3,
+ 'wikipedia': 4,
+ 'wikipedia_talk': 5,
+ 'file': 6,
+ 'file_talk': 7,
+ 'mediawiki': 8,
+ 'mediawiki_talk': 9,
+ 'template': 10,
+ 'template_talk': 11,
+ 'help': 12,
+ 'help_talk': 13,
+ 'category': 14,
+ 'category_talk': 15,
+ 'image': 6,
+ 'image_talk': 7,
+ 'project': 4,
+ 'project_talk': 5,
+ // Testing custom namespaces and aliases
+ 'penguins': 100,
+ 'antarctic_waterfowl': 100
},
wgCaseSensitiveNamespaces: []
},
'Escaped attributes are parsed correctly'
);
-
mw.messages.set( 'jquerymsg-wikitext-contents-parsed', '<i>[http://example.com Example]</i>' );
assert.htmlEqual(
formatParse( 'jquerymsg-wikitext-contents-parsed' ),
assert.strictEqual( conf.get( 'constructor' ), 42, 'Map.get for key "constructor"' );
assert.strictEqual( conf.set( 'ImUndefined', undefined ), true, 'Map.set allows setting value to `undefined`' );
- assert.equal( conf.get( 'ImUndefined', 'fallback' ), undefined , 'Map.get supports retreiving value of `undefined`' );
+ assert.equal( conf.get( 'ImUndefined', 'fallback' ), undefined, 'Map.get supports retreiving value of `undefined`' );
assert.strictEqual( conf.set( funky, 'Funky' ), false, 'Map.set returns boolean false if key was invalid (Function)' );
assert.strictEqual( conf.set( arry, 'Arry' ), false, 'Map.set returns boolean false if key was invalid (Array)' );
'notExist': null
}, 'Map.get return includes keys that were not found as null values' );
-
// Interacting with globals and accessing the values object
assert.strictEqual( conf.get(), conf.values, 'Map.get returns the entire values object by reference (if called without arguments)' );
assertMultipleFormats( ['mediawiki-test-version-entrypoints-index-php'], ['plain', 'text', 'escaped'], mw.messages.get( 'mediawiki-test-version-entrypoints-index-php' ), 'External link markup is unprocessed' );
assert.htmlEqual( mw.message( 'mediawiki-test-version-entrypoints-index-php' ).parse(), '<a href="https://www.mediawiki.org/wiki/Manual:index.php">index.php</a>', 'External link works correctly in parse mode' );
- assertMultipleFormats( ['external-link-replace', 'http://example.org/?x=y&z'], ['plain', 'text'] , 'Foo [http://example.org/?x=y&z bar]', 'Parameters are substituted but external link is not processed' );
+ assertMultipleFormats( ['external-link-replace', 'http://example.org/?x=y&z'], ['plain', 'text'], 'Foo [http://example.org/?x=y&z bar]', 'Parameters are substituted but external link is not processed' );
assert.equal( mw.message( 'external-link-replace', 'http://example.org/?x=y&z' ).escaped(), 'Foo [http://example.org/?x=y&z bar]', 'In escaped mode, parameters are substituted and ampersand is escaped, but external link is not processed' );
assert.htmlEqual( mw.message( 'external-link-replace', 'http://example.org/?x=y&z' ).parse(), 'Foo <a href="http://example.org/?x=y&z">bar</a>', 'External link with replacement works in parse mode without double-escaping' );
assertMultipleFormats( ['plural-test-msg-explicit-beginning', 6], ['text', 'parse', 'escaped'], 'Basket has half a dozen eggs', 'explicit plural given at beginning get resolved for 6' );
assertMultipleFormats( ['plural-test-msg-explicit-beginning', 0], ['text', 'parse', 'escaped'], 'Basket has no eggs', 'explicit plural given at beginning get resolved for 0' );
-
assertMultipleFormats( ['mediawiki-test-pagetriage-del-talk-page-notify-summary'], ['plain', 'text'], mw.messages.get( 'mediawiki-test-pagetriage-del-talk-page-notify-summary' ), 'Double square brackets with no parameters unchanged' );
assertMultipleFormats( ['mediawiki-test-pagetriage-del-talk-page-notify-summary', specialCharactersPageName], ['plain', 'text'], 'Notifying author of deletion nomination for [[' + specialCharactersPageName + ']]', 'Double square brackets with one parameter' );
assert.equal( mw.message( 'mediawiki-test-pagetriage-del-talk-page-notify-summary', specialCharactersPageName ).escaped(), 'Notifying author of deletion nomination for [[' + mw.html.escape( specialCharactersPageName ) + ']]', 'Double square brackets with one parameter, when escaped' );
-
assert.ok( mw.messages.set( 'mediawiki-test-categorytree-collapse-bullet', '[<b>−</b>]' ), 'mw.messages.set: Register' );
assert.equal( mw.message( 'mediawiki-test-categorytree-collapse-bullet' ).plain(), mw.messages.get( 'mediawiki-test-categorytree-collapse-bullet' ), 'Single square brackets unchanged in plain mode' );
'Script escaped when using parse format'
);
-
} );
QUnit.test( 'mw.msg', 14, function ( assert ) {
assert.equal( mw.msg( 'hello' ), 'Hello <b>awesome</b> world', 'Gets message with default options (existing message)' );
assert.equal( mw.msg( 'goodbye' ), '<goodbye>', 'Gets message with default options (nonexistent message)' );
- assert.ok( mw.messages.set( 'plural-item' , 'Found $1 {{PLURAL:$1|item|items}}' ), 'mw.messages.set: Register' );
+ assert.ok( mw.messages.set( 'plural-item', 'Found $1 {{PLURAL:$1|item|items}}' ), 'mw.messages.set: Register' );
assert.equal( mw.msg( 'plural-item', 5 ), 'Found 5 items', 'Apply plural for count 5' );
assert.equal( mw.msg( 'plural-item', 0 ), 'Found 0 items', 'Apply plural for count 0' );
assert.equal( mw.msg( 'plural-item', 1 ), 'Found 1 item', 'Apply plural for count 1' );