Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: JeroenDeDauw/Wikibase
base: 8f90180c59
...
head fork: JeroenDeDauw/Wikibase
compare: d3eff82305
Checking mergeability… Don't worry, you can still create the pull request.
  • 17 commits
  • 41 files changed
  • 0 commit comments
  • 11 contributors
Commits on Aug 09, 2012
@raymondde raymondde Fix typo 031b224
Commits on Aug 10, 2012
@tobijat tobijat added forced sleep for all browsers to ajax-wait to avoid random fail…
…ures

Change-Id: I3c8d630220caac8a3c689d4cbdcad8c90134d6e6
9e27ff2
@tobijat tobijat added WIKI_CLIENT_URL config-var to selenium tests and renamed WIKI_URL
config-var to WIKI_REPO_URL

patchset 2: fixed typo in README

Change-Id: I46ac03916fc169de6399aee5fe83653440ce4d65
18b862a
@jeblad jeblad Removed url args for usekeys/nousekeys, and also setting through config
This is now completely under control from the format, and only one form
is returned and that will be with keys unless it is not compatible with
the format.

There are tests to check if the keys in the format is according to some
of the actual values.

Patchset: Rebase...

Change-Id: I4eaa36de9c85c7de590092bd4d0fb6e4b51d7911
399d443
@tobijat tobijat Merge "Removed url args for usekeys/nousekeys, and also setting throu…
…gh config"
aed7add
@jeblad jeblad Fix for erroneous message from lang attribute module
Change-Id: I98a94b25ff3673a76f62690ff4eac02dc9df034b
8ebe926
Daniel Werner use __DIR__ instead of dirname(__FILE__)
Change-Id: I425a581ffdbb4c206d7d950d7fd4c0067f7d7d82
5741406
@JeroenDeDauw Merge "use __DIR__ instead of dirname(__FILE__)" 5f1af9d
@filbertkm filbertkm Merge "Fix for erroneous message from lang attribute module" a18a78a
@filbertkm filbertkm adding and updating qqq messages for autocomment stuff
Change-Id: I7180c0142f5fdececbf0777bdcd06bbd7ca27d8e
6d6d5ed
@jeblad jeblad Merge "adding and updating qqq messages for autocomment stuff" f21d101
Translation updater bot Localisation updates from http://translatewiki.net.
Change-Id: I2032d2f4f549269ea58c0118cabe09275f209259
fa2a190
Commits on Aug 11, 2012
Translation updater bot Localisation updates from http://translatewiki.net.
Change-Id: Ieee15a78babc2815c6f29dcf48649a201c22713b
d4feb3a
@amire80 amire80 Stylistic changes in English messages
Making message nicer in English and easier to translate.

Change-Id: I24f0edbef9516d51d43de65fc4ba4f613c699af0
15896e7
@filbertkm filbertkm fix wikibase-item-summary-wbsetitem message, does not need or use par…
…am; add qqq message

Change-Id: Iaaff8601a4f3c9c3e3ce54952b1043f2834116f1
bb0e8cf
@JeroenDeDauw Merge "fix wikibase-item-summary-wbsetitem message, does not need or …
…use param; add qqq message"
95c2c49
@JeroenDeDauw Moved some lib tests to reflect dir structure in includes
Change-Id: I68369f82a173acda0273ef5246dbb842a5c19c55
d3eff82
Showing with 404 additions and 188 deletions.
  1. +5 −5 client/WikibaseClient.hooks.php
  2. +1 −1  client/WikibaseClient.i18n.php
  3. +2 −2 client/WikibaseClient.php
  4. +1 −1  client/maintenance/populateInterwiki.php
  5. +13 −13 lib/WikibaseLib.hooks.php
  6. +7 −0 lib/WikibaseLib.i18n.php
  7. +4 −4 lib/WikibaseLib.php
  8. +1 −1  lib/maintenance/deleteAllData.php
  9. +1 −1  lib/maintenance/pollForChanges.php
  10. 0  lib/tests/phpunit/{ → entity}/EntityObjectTest.php
  11. 0  lib/tests/phpunit/{ → item}/ItemMultilangTextsTest.php
  12. 0  lib/tests/phpunit/{ → item}/ItemNewEmptyTest.php
  13. 0  lib/tests/phpunit/{ → item}/ItemNewFromArrayTest.php
  14. 0  lib/tests/phpunit/{ → item}/ItemObjectTest.php
  15. 0  lib/tests/phpunit/{ → item}/TestItems.php
  16. 0  lib/tests/phpunit/{ → property}/PropertyObjectTest.php
  17. 0  lib/tests/phpunit/{ → query}/QueryObjectTest.php
  18. +5 −10 repo/Wikibase.hooks.php
  19. +266 −70 repo/Wikibase.i18n.php
  20. +2 −2 repo/Wikibase.php
  21. +20 −46 repo/includes/api/Api.php
  22. +0 −2  repo/includes/api/ApiGetItems.php
  23. +0 −1  repo/includes/api/ApiModifyItem.php
  24. +2 −8 repo/includes/api/ApiModifyLangAttribute.php
  25. +0 −1  repo/includes/api/ApiSetItem.php
  26. +1 −1  repo/maintenance/importInterlang.php
  27. +1 −1  repo/resources/Resources.php
  28. +1 −1  repo/tests/phpunit/bootstrap.php
  29. +2 −2 repo/tests/phpunit/includes/AutocommentTest.php
  30. +55 −0 repo/tests/phpunit/includes/api/ApiGetItemsTest.php
  31. +0 −1  repo/tests/phpunit/includes/api/ApiSetAliasesTest.php
  32. +4 −2 repo/tests/selenium/README
  33. +2 −1  repo/tests/selenium/configuration.yml.sample
  34. +1 −1  repo/tests/selenium/lib/pages/blockuser_page.rb
  35. +1 −1  repo/tests/selenium/lib/pages/login_page.rb
  36. +1 −1  repo/tests/selenium/lib/pages/new_item_page.rb
  37. +1 −1  repo/tests/selenium/lib/pages/noexisting_item_page.rb
  38. +1 −1  repo/tests/selenium/lib/pages/recent_changes_page.rb
  39. +1 −1  repo/tests/selenium/lib/pages/search_page.rb
  40. +1 −1  repo/tests/selenium/lib/pages/unblockuser_page.rb
  41. +1 −4 repo/tests/selenium/spec/spec_helper.rb
View
10 client/WikibaseClient.hooks.php
@@ -34,19 +34,19 @@ public static function onSchemaUpdate( DatabaseUpdater $updater ) {
if ( $type === 'mysql' || $type === 'sqlite' ) {
$updater->addExtensionTable(
'wbc_local_items',
- dirname( __FILE__ ) . '/sql/WikibaseClient.sql'
+ __DIR__ . '/sql/WikibaseClient.sql'
);
$updater->addExtensionField(
'wbc_local_items',
'li_page_title',
- dirname( __FILE__ ) . '/sql/LocalItemTitleField.sql'
+ __DIR__ . '/sql/LocalItemTitleField.sql'
);
}
elseif ( $type === 'postgres' ) {
$updater->addExtensionTable(
'wbc_local_items',
- dirname( __FILE__ ) . '/sql/WikibaseClient.pg.sql'
+ __DIR__ . '/sql/WikibaseClient.pg.sql'
);
}
else {
@@ -78,7 +78,7 @@ public static function registerUnitTests( array &$files ) {
);
foreach ( $testFiles as $file ) {
- $files[] = dirname( __FILE__ ) . '/tests/phpunit/' . $file . 'Test.php';
+ $files[] = __DIR__ . '/tests/phpunit/' . $file . 'Test.php';
}
return true;
@@ -161,7 +161,7 @@ public static function onWikibaseDefaultSettings( array &$settings ) {
$settings,
array(
'namespaces' => array( NS_MAIN ),
- 'source' => array( 'dir' => dirname(__FILE__) . '/tests' ),
+ 'source' => array( 'dir' => __DIR__ . '/tests' ),
'editURL' => '',
'sort' => 'none',
'sortPrepend' => false,
View
2  client/WikibaseClient.i18n.php
@@ -191,7 +191,7 @@
*/
$messages['ksh'] = array(
'wbc-desc' => 'Madd en Aanwendong vun däm WikiData Projrammzihsaz müjjelesch.',
- 'wbc-editlinks' => 'Lenks ändere',
+ 'wbc-editlinks' => 'Lengks ändere',
'wbc-editlinkstitle' => 'Donn de Lenks zwesche der Schprooche aanbränge udder aanpaße',
);
View
4 client/WikibaseClient.php
@@ -39,7 +39,7 @@
'descriptionmsg' => 'wbc-desc'
);
-$dir = dirname( __FILE__ ) . '/';
+$dir = __DIR__ . '/';
// i18n
$wgExtensionMessagesFiles['wikibaseclient'] = $dir . 'WikibaseClient.i18n.php';
@@ -71,7 +71,7 @@
// Resource loader modules
$moduleTemplate = array(
- 'localBasePath' => dirname( __FILE__ ) . '/resources',
+ 'localBasePath' => __DIR__ . '/resources',
'remoteExtPath' => 'Wikibase/client/resources',
);
View
2  client/maintenance/populateInterwiki.php
@@ -15,7 +15,7 @@
* @licence GNU GPL v2+
* @author Katie Filbert < aude.wiki@gmail.com >
*/
-$basePath = getenv( 'MW_INSTALL_PATH' ) !== false ? getenv( 'MW_INSTALL_PATH' ) : dirname( __FILE__ ) . '/../../../..';
+$basePath = getenv( 'MW_INSTALL_PATH' ) !== false ? getenv( 'MW_INSTALL_PATH' ) : __DIR__ . '/../../../..';
require_once $basePath . '/maintenance/Maintenance.php';
View
26 lib/WikibaseLib.hooks.php
@@ -63,32 +63,32 @@ public static function onSchemaUpdate( DatabaseUpdater $updater ) {
if ( $type === 'mysql' || $type === 'sqlite' ) {
$updater->addExtensionTable(
'wb_changes',
- dirname( __FILE__ ) . '/sql/WikibaseLib.sql'
+ __DIR__ . '/sql/WikibaseLib.sql'
);
// TODO: move to core
$updater->addExtensionTable(
'sites',
- dirname( __FILE__ ) . '/sql/AddSitesTable.sql'
+ __DIR__ . '/sql/AddSitesTable.sql'
);
// TODO: move to core
$updater->addExtensionField(
'langlinks',
'll_local',
- dirname( __FILE__ ) . '/sql/AddLocalLanglinksField.sql'
+ __DIR__ . '/sql/AddLocalLanglinksField.sql'
);
$updater->addExtensionField(
'sites',
'site_link_navigation',
- dirname( __FILE__ ) . '/sql/IndexSitesTable.sql'
+ __DIR__ . '/sql/IndexSitesTable.sql'
);
$updater->addExtensionField(
'sites',
'site_language',
- dirname( __FILE__ ) . '/sql/MakeSitesTableMoarAwesome.sql'
+ __DIR__ . '/sql/MakeSitesTableMoarAwesome.sql'
);
$updater->addExtensionUpdate( array( '\Wikibase\Utils::insertDefaultSites' ) );
@@ -96,7 +96,7 @@ public static function onSchemaUpdate( DatabaseUpdater $updater ) {
elseif ( $type === 'postgres' ) {
$updater->addExtensionTable(
'wb_changes',
- dirname( __FILE__ ) . '/sql/WikibaseLib.pg.sql'
+ __DIR__ . '/sql/WikibaseLib.pg.sql'
);
//$updater->addExtensionUpdate( array( '\Wikibase\Utils::insertDefaultSites' ) );
@@ -124,14 +124,14 @@ public static function registerUnitTests( array &$files ) {
'ChangeNotifier',
'ChangeHandler',
'Changes',
- 'ItemMultilangTexts',
- 'ItemNewEmpty',
- 'ItemNewFromArray',
- 'ItemObject',
+ 'item/ItemMultilangTexts',
+ 'item/ItemNewEmpty',
+ 'item/ItemNewFromArray',
+ 'item/ItemObject',
'LibHooks',
'MediaWikiSite',
- 'PropertyObject',
- 'QueryObject',
+ 'property/PropertyObject',
+ 'query/QueryObject',
'SiteConfigObject',
'SiteLink',
'SiteList',
@@ -150,7 +150,7 @@ public static function registerUnitTests( array &$files ) {
}
foreach ( $testFiles as $file ) {
- $files[] = dirname( __FILE__ ) . '/tests/phpunit/' . $file . 'Test.php';
+ $files[] = __DIR__ . '/tests/phpunit/' . $file . 'Test.php';
}
return true;
View
7 lib/WikibaseLib.i18n.php
@@ -95,6 +95,13 @@
'wikibaselib-desc' => 'Contine functionalitate commun pro le extensiones Wikibase e Wikibase Client',
);
+/** Icelandic (íslenska)
+ * @author Snævar
+ */
+$messages['is'] = array(
+ 'wikibaselib-desc' => 'Inniheldur almenna virkni fyrir Wikibase og Wikibase Client.',
+);
+
/** Italian (italiano)
* @author Beta16
*/
View
8 lib/WikibaseLib.php
@@ -30,7 +30,7 @@
// Include the Diff extension if that hasn't been done yet, since it's required for WikibaseLib to work.
if ( !defined( 'Diff_VERSION' ) ) {
- @include_once( dirname( __FILE__ ) . '/../../Diff/Diff.php' );
+ @include_once( __DIR__ . '/../../Diff/Diff.php' );
}
if ( !defined( 'Diff_VERSION' ) ) {
@@ -50,7 +50,7 @@
'descriptionmsg' => 'wikibaselib-desc'
);
-$dir = dirname( __FILE__ ) . '/';
+$dir = __DIR__ . '/';
// constants
define( 'CONTENT_MODEL_WIKIBASE_ITEM', "wikibase-item" );
@@ -129,8 +129,8 @@
$wgAutoloadClasses['Wikibase\QueryObject'] = $dir . 'includes/query/QueryObject.php';
// tests
-$wgAutoloadClasses['Wikibase\Test\TestItems'] = $dir . 'tests/phpunit/TestItems.php';
-$wgAutoloadClasses['Wikibase\Test\EntityObjectTest'] = $dir . 'tests/phpunit/EntityObjectTest.php';
+$wgAutoloadClasses['Wikibase\Test\TestItems'] = $dir . 'tests/phpunit/item/TestItems.php';
+$wgAutoloadClasses['Wikibase\Test\EntityObjectTest'] = $dir . 'tests/phpunit/entity/EntityObjectTest.php';
// tests/changes
$wgAutoloadClasses['Wikibase\tests\AliasChangeTest'] = $dir . 'tests/phpunit/changes/AliasChangeTest.php';
View
2  lib/maintenance/deleteAllData.php
@@ -2,7 +2,7 @@
namespace Wikibase;
-$basePath = getenv( 'MW_INSTALL_PATH' ) !== false ? getenv( 'MW_INSTALL_PATH' ) : dirname( __FILE__ ) . '/../../../..';
+$basePath = getenv( 'MW_INSTALL_PATH' ) !== false ? getenv( 'MW_INSTALL_PATH' ) : __DIR__ . '/../../../..';
require_once $basePath . '/maintenance/Maintenance.php';
View
2  lib/maintenance/pollForChanges.php
@@ -2,7 +2,7 @@
namespace Wikibase;
-$basePath = getenv( 'MW_INSTALL_PATH' ) !== false ? getenv( 'MW_INSTALL_PATH' ) : dirname( __FILE__ ) . '/../../../..';
+$basePath = getenv( 'MW_INSTALL_PATH' ) !== false ? getenv( 'MW_INSTALL_PATH' ) : __DIR__ . '/../../../..';
require_once $basePath . '/maintenance/Maintenance.php';
View
0  lib/tests/phpunit/EntityObjectTest.php → lib/tests/phpunit/entity/EntityObjectTest.php
File renamed without changes
View
0  lib/tests/phpunit/ItemMultilangTextsTest.php → lib/tests/phpunit/item/ItemMultilangTextsTest.php
File renamed without changes
View
0  lib/tests/phpunit/ItemNewEmptyTest.php → lib/tests/phpunit/item/ItemNewEmptyTest.php
File renamed without changes
View
0  lib/tests/phpunit/ItemNewFromArrayTest.php → lib/tests/phpunit/item/ItemNewFromArrayTest.php
File renamed without changes
View
0  lib/tests/phpunit/ItemObjectTest.php → lib/tests/phpunit/item/ItemObjectTest.php
File renamed without changes
View
0  lib/tests/phpunit/TestItems.php → lib/tests/phpunit/item/TestItems.php
File renamed without changes
View
0  lib/tests/phpunit/PropertyObjectTest.php → lib/tests/phpunit/property/PropertyObjectTest.php
File renamed without changes
View
0  lib/tests/phpunit/QueryObjectTest.php → lib/tests/phpunit/query/QueryObjectTest.php
File renamed without changes
View
15 repo/Wikibase.hooks.php
@@ -35,13 +35,13 @@ public static function onSchemaUpdate( \DatabaseUpdater $updater ) {
if ( $type === 'mysql' || $type === 'sqlite' ) {
$updater->addExtensionTable(
'wb_items',
- dirname( __FILE__ ) . '/sql/Wikibase.sql'
+ __DIR__ . '/sql/Wikibase.sql'
);
}
elseif ( $type === 'postgres' ) {
$updater->addExtensionTable(
'wb_items',
- dirname( __FILE__ ) . '/sql/Wikibase.sql'
+ __DIR__ . '/sql/Wikibase.sql'
);
}
else {
@@ -99,7 +99,7 @@ public static function registerUnitTests( array &$files ) {
);
foreach ( $testFiles as $file ) {
- $files[] = dirname( __FILE__ ) . '/tests/phpunit/includes/' . $file . 'Test.php';
+ $files[] = __DIR__ . '/tests/phpunit/includes/' . $file . 'Test.php';
}
return true;
@@ -179,7 +179,7 @@ public static function onResourceLoaderTestModules( array &$testModules, \Resour
'wikibase.ui.Toolbar',
'wikibase.ui.PropertyEditTool'
),
- 'localBasePath' => dirname( __FILE__ ),
+ 'localBasePath' => __DIR__,
'remoteExtPath' => 'Wikibase/repo',
);
@@ -396,10 +396,6 @@ public static function onWikibaseDefaultSettings( array &$settings ) {
// set to true will always delete empty items
'apiDeleteEmpty' => false,
- // Defaults to turn off use of keys
- // set to true will always return the key form
- 'apiUseKeys' => true,
-
// Set API in debug mode
// do not turn on in production!
'apiInDebug' => false,
@@ -411,7 +407,7 @@ public static function onWikibaseDefaultSettings( array &$settings ) {
'apiDebugWithRights' => false,
'apiDebugWithTokens' => false,
- // Which formats to use with keys when there are a "usekeys" in the URL
+ // Which formats to inject keys into
// undefined entries are interpreted as false
'formatsWithKeys' => array(
'json' => true,
@@ -424,7 +420,6 @@ public static function onWikibaseDefaultSettings( array &$settings ) {
'xmlfm' => false,
'yaml' => true,
'yamlfm' => true,
- 'raw' => true,
'rawfm' => true,
'txtfm' => true,
'dbg' => true,
View
336 repo/Wikibase.i18n.php
@@ -49,14 +49,14 @@
'wikibase-aliases-input-help-message' => 'If this data set is known under more than one particular name, you may enter aliases and synonyms, so it can be found by its alternative names.',
'wikibase-aliases-empty' => 'No aliases defined.',
- 'wikibase-restrictionedit-tooltip-message' => 'This page is protected, editing is not allowed.',
+ 'wikibase-restrictionedit-tooltip-message' => 'This page is protected. Editing is not allowed.',
'wikibase-blockeduser-tooltip-message' => 'You are blocked from editing.',
'wikibase-tooltip-error-details' => 'Details',
- 'wikibase-error-save-generic' => 'An error occurred while trying to perform save and because of this, changes could not be completed.',
+ 'wikibase-error-save-generic' => 'An error occurred while trying to perform save and because of this, your changes could not be completed.',
'wikibase-error-remove-generic' => 'An error occurred while trying to perform remove and because of this, your changes could not be completed.',
- 'wikibase-error-save-connection' => 'A connection error has occurred while trying to perform save, and because of this your changes could not be completed. Please check your internet connection.',
- 'wikibase-error-remove-connection' => 'A connection error occurred while trying to perform remove, and because of this your changes could not be completed. Please check your internet connection.',
+ 'wikibase-error-save-connection' => 'A connection error has occurred while trying to perform save, and because of this your changes could not be completed. Please check your Internet connection.',
+ 'wikibase-error-remove-connection' => 'A connection error occurred while trying to perform remove, and because of this your changes could not be completed. Please check your Internet connection.',
'wikibase-error-save-timeout' => 'We are experiencing technical difficulties, and because of this your "save" could not be completed.',
'wikibase-error-remove-timeout' => 'We are experiencing technical difficulties, and because of this your "remove" could not be completed.',
'wikibase-error-autocomplete-connection' => 'Could not query Wikipedia API. Please try again later.',
@@ -83,8 +83,8 @@
'wikibase-itembytitle-lookup-site' => 'Site¹²:',
'wikibase-itembytitle-lookup-page' => 'Page¹:',
'wikibase-itembytitle-submit' => 'Search',
- 'wikibase-itembytitle-nothing-found' => 'No item was found by the previous search, you must refine the query with better identification of the external page.',
- 'wikibase-itembytitle-invalid-site' => 'The previous query could not be used for a search. You must provide a valid site identifier.',
+ 'wikibase-itembytitle-nothing-found' => 'No item was found by the previous search. Please refine the query with better identification of the external page.',
+ 'wikibase-itembytitle-invalid-site' => 'The previous query could not be used for a search. Please provide a valid site identifier.',
'wikibase-itembytitle-description' => '¹Values used for searching must be the complete text entry. ²Site is an identifier, typically "enwiki".',
'wikibase-itembytitle-create' => 'You can also [{{fullurl:Special:CreateItem|site=$1&page=$2}} create an item].',
'special-itembylabel' => 'Item by label',
@@ -93,7 +93,7 @@
'wikibase-itembylabel-lookup-label' => 'Label¹:',
'wikibase-itembylabel-submit' => 'Search',
'wikibase-itembylabel-create' => 'You can also [{{fullurl:Special:CreateItem|language=$1&label=$2}} create an item].',
- 'wikibase-itembylabel-nothing-found' => 'No item was found by the previous search, please refine the query.',
+ 'wikibase-itembylabel-nothing-found' => 'No item was found by the previous search. Please refine the query.',
'wikibase-itembylabel-invalid-langcode' => 'The previous query could not be used for a search. You must provide a valid language identifier.',
'wikibase-itembylabel-description' => '¹Values used for searching must be the complete text entry. ²Language is an identifier, typically "en".',
'special-createitem' => 'Create a new item',
@@ -109,7 +109,7 @@
'wikibase-api-remove-sitelink-failed' => 'The site link could not be removed.',
'wikibase-api-cant-edit' => 'Edit not allowed:
$1',
- 'wikibase-api-json-invalid' => 'The supplied JSON structure could not be parsed and/or recreated as a valid structure.',
+ 'wikibase-api-json-invalid' => 'The supplied JSON structure could not be parsed or recreated as a valid structure.',
'wikibase-api-not-recognized-string' => 'A string was expected but not found.',
'wikibase-api-not-recognized-array' => 'An array was expected but not found.',
'wikibase-api-not-recognized-language' => 'The language identifier found was not recognized.',
@@ -148,26 +148,17 @@
You can <span class="plainlinks">[{{fullurl:{{#Special:Log}}|page={{FULLPAGENAMEE}}}} search the related logs]</span>.',
// summary and autocomment
- 'wikibase-item-summary-wbsetitem-set' => 'Updated item',
-
+ 'wikibase-item-summary-wbsetitem' => 'Created a new item',
+ 'wikibase-item-summary-wbsetlabel-set' => 'Changed [$2] label',
+ 'wikibase-item-summary-wbsetlabel-remove' => 'Removed [$2] label',
+ 'wikibase-item-summary-wbsetdescription-set' => 'Changed [$2] description',
+ 'wikibase-item-summary-wbsetdescription-remove' => 'Removed [$2] description',
'wikibase-item-summary-wbsetsitelink-set' => 'Added site-specific [$2] link',
'wikibase-item-summary-wbsetsitelink-remove' => 'Removed site-specific [$2] link',
-
'wikibase-item-summary-wbsetaliases-set' => 'Setting [$2] {{plural:$1|alias|aliases}}',
+ 'wikibase-item-summary-wbsetaliases-add-remove' => 'Added and removed [$2] {{plural:$1|alias|aliases}}',
'wikibase-item-summary-wbsetaliases-add' => 'Added [$2] {{plural:$1|alias|aliases}}',
'wikibase-item-summary-wbsetaliases-remove' => 'Removed [$2] {{plural:$1|alias|aliases}}',
- 'wikibase-item-summary-wbsetaliases-add-remove' => 'Addd and removed [$2] {{plural:$1|alias|aliases}}',
-
- // these will be removed later
- 'wikibase-item-summary-wbsetlanguageattribute-label' => 'Changed [$2] label',
- 'wikibase-item-summary-wbsetlanguageattribute-description' => 'Changed [$2] description',
- 'wikibase-item-summary-wbsetlanguageattribute-label-description' => 'Changed [$2] label and descriptions',
-
- 'wikibase-item-summary-wbsetlabel-set' => 'Changed [$2] label',
- 'wikibase-item-summary-wbsetlabel-remove' => 'Removed [$2] label',
-
- 'wikibase-item-summary-wbsetdescription-set' => 'Changed [$2] description',
- 'wikibase-item-summary-wbsetdescription-remove' => 'Removed [$2] description',
//content model names
'content-model-1001' => 'Wikibase item',
@@ -328,11 +319,17 @@
'wikibase-resetold' => "Link text shown on the link that lets the user reset the page's content to an old revision. Must be distinct from undo and revert. Used on the diff views.",
'wikibase-noitem' => 'Of some reason the user tried to access an item which then was detected as non-existing. This can happen when an item is deleted and clients are not yet made aware of this. A possible solution for the user is to search the logs or to create a new item.',
'wikibase-noitem-nopermission' => 'Of some reason the user tried to access an item which then was detected as non-existing. This can happen when an item is deleted and clients are not yet made aware of this. A possible solution for the user is to search the logs. The user do not have sufficient rights to create a new item in this case.',
- 'wikibase-item-summary-wbsetitem-set' => 'This is the initial part of the autocomment for setting parts of, or a complete item. The message takes no arguments. See also Wikidatas glossary on [[m:Wikidata/Glossary#item|item]].',
- 'wikibase-item-summary-wbsetaliases-set' => 'Setting [$2] {{plural:$1|alias|aliases}}',
- 'wikibase-item-summary-wbsetaliases-add' => 'Added [$2] {{plural:$1|alias|aliases}}',
- 'wikibase-item-summary-wbsetaliases-remove' => 'Removed [$2] {{plural:$1|alias|aliases}}',
- 'wikibase-item-summary-wbsetaliases-add-remove' => 'Add and removed [$2] {{plural:$1|alias|aliases}}',
+ 'wikibase-item-summary-wbsetitem' => 'Automatic edit summary generated when creating a new item',
+ 'wikibase-item-summary-wbsetlabel-set' => 'Automatic edit summary generated when editing an item label, which appears in the h1 heading at top of the page. Parameter $2 is the language code for the item page. Example edit summary is "Updated [en] label: Egypt".',
+ 'wikibase-item-summary-wbsetlabel-remove' => 'Automatic edit summary generated when removing an item label. Parameter $2 is the language code for the item page. Example edit summary is "Removed [en] label"',
+ 'wikibase-item-summary-wbsetdescription-set' => 'Automatic edit summary when creating or editing an item description. Parameter $2 is the language code for the item page. Example edit summary is "Updated [en] description: a country in Africa"',
+ 'wikibase-item-summary-wbsetdescription-remove' => 'Automatic edit summary when removing an item description. Parameter $2 is the language code for the item page. Example edit summary is "Removed [en] description"',
+ 'wikibase-item-summary-wbsetsitelink-set' => 'Automatic edit summary when adding or editing a language link. Parameter $2 is the site code for the link target wiki, such as itwiki (Italian Wikipedia). Such an edit summary would appear in English as "Added site-specific [itwiki] link: Italia".',
+ 'wikibase-item-summary-wbsetsitelink-remove' => 'Automatic edit summary when removing a language link from a Wikidata item (page). Parameter $2 is the site code for the link target wiki, such as itwiki (Italian Wikipedia). Such an edit summary would appear in English as "Removed site-specific [itwiki] link".',
+ 'wikibase-item-summary-wbsetaliases-set' => 'Automatic edit summary when adding or editing item aliases. Parameter $2 is the language code for the item page. Example for adding aliases on the English item page for Italy: "Setting [en] aliases: Italian Republic, Repubblica italiana".',
+ 'wikibase-item-summary-wbsetaliases-add-remove' => 'Automatic edit summary when adding and removing aliases. A user can be in edit mode for aliases and can remove one or more aliases, while adding others in the same edit. Parameter $2 is the language code of the item page and $1 is the number of aliases added/removed.',
+ 'wikibase-item-summary-wbsetaliases-add' => 'Automatic edit summary when adding an alias(es). Parameter $2 is the language code for the item page, and $1 is the number of aliases that were added.',
+ 'wikibase-item-summary-wbsetaliases-remove' => 'Automatic edit summary when a user removes one or more aliases. Parameter $2 is the language code for the item page, and $1 is the number of aliases removed.',
'content-model-1001' => 'This is the human readable form of the identifier for Wikibase items, or the name of the Wikibase item content model as it is used when describing what type of content a page contains.',
);
@@ -374,6 +371,7 @@
'wikibase-error-autocomplete-connection' => 'Не атрымалася запытаць Wikipedia API. Калі ласка, паспрабуйце пазьней.',
'wikibase-error-autocomplete-response' => 'Адказ сэрвэра: $1',
'wikibase-move-error' => 'Вы ня можаце пераносіць старонкі, якія знаходзяцца ў прасторы назваў зьвестак, як і ня можаце пераносіць старонкі ў прастору.',
+ 'special-itembytitle' => 'Аб’ект паводле назвы',
'special-itembylabel' => 'Аб’ект паводле меткі',
'special-createitem' => 'Стварыць новы прадмет',
'wikibase-api-no-token' => 'Не пазначаны token.',
@@ -453,16 +451,23 @@
'wikibase-error-relational-save-failed' => 'Die Identität des Datenelements konnte nicht in der Datenbank gespeichert werden.',
'wikibase-error-sitelink-already-used' => 'Der Websitelink [[$1:$2]] wird bereits vom Datenelement mit der Kennung [[$3]] verwendet.',
'special-itembytitle' => 'Wert nach Name',
+ 'wikibase-itembytitle-lookup-fieldset' => 'Suche nach Datenelementen nach Website und Titel',
'wikibase-itembytitle-lookup-site' => 'Website¹²:',
'wikibase-itembytitle-lookup-page' => 'Seite¹:',
'wikibase-itembytitle-submit' => 'Suchen',
- 'wikibase-itembytitle-create' => 'Du kannst auch [{{fullurl:Special:CreateItem|site=$1&page=$2}} ein Element erstellen].',
+ 'wikibase-itembytitle-nothing-found' => 'Mit der vorherigen Suche konnte kein Datenelement ermittelt werden. Bitte verfeinere die Abfrage indem du die externe Seite besser beschreibst.',
+ 'wikibase-itembytitle-invalid-site' => 'Die vorherige Abfrage konnte nicht zum Suchen eingesetzt werden. Du mußt eine gültige Websitekennung angeben.',
+ 'wikibase-itembytitle-description' => '¹ Die für die Suche genutzten Werte müssen vollständige Texteinträge sein. ² Website ist eine Kennung, typischerweise „dewiki“.',
+ 'wikibase-itembytitle-create' => 'Du kannst auch [{{fullurl:Special:CreateItem|site=$1&page=$2}} ein Datenelement erstellen].',
'special-itembylabel' => 'Wert nach Bezeichnung',
'wikibase-itembylabel-lookup-fieldset' => 'Suche nach Datenelementen nach Sprache und Bezeichnung',
'wikibase-itembylabel-lookup-language' => 'Sprache¹²:',
'wikibase-itembylabel-lookup-label' => 'Bezeichnung¹:',
'wikibase-itembylabel-submit' => 'Suchen',
- 'wikibase-itembylabel-create' => 'Du kannst auch [{{fullurl:Special:CreateItem|language=$1&label=$2}} ein Element erstellen].',
+ 'wikibase-itembylabel-create' => 'Du kannst auch [{{fullurl:Special:CreateItem|language=$1&label=$2}} ein Datenelement erstellen].',
+ 'wikibase-itembylabel-nothing-found' => 'Mit der vorherigen Suche konnte kein Datenelement ermittelt werden. Bitte verfeinere die Abfrage.',
+ 'wikibase-itembylabel-invalid-langcode' => 'Die vorherige Abfrage konnte nicht zum Suchen eingesetzt werden. Du mußt eine gültige Sprachkennung angeben.',
+ 'wikibase-itembylabel-description' => '¹ Die für die Suche genutzten Werte müssen vollständige Texteinträge sein. ² Sprache ist eine Kennung, typischerweise „de“.',
'special-createitem' => 'Ein neues Datenelement erstellen',
'wikibase-api-aliases-invalid-list' => 'Du musst einen der Parameter zu „set“, „add“, bzw. „remove“ verwenden.',
'wikibase-api-no-token' => 'Es wurden keine Token angegeben.',
@@ -507,20 +512,17 @@
Du kannst entweder die <span class="plainlinks">[{{fullurl:{{#Special:Log}}|page={{FULLPAGENAMEE}}}} entsprechenden Logbücher danach durchsuchen], um herauszufinden, was mit ihm passiert ist, oder ein [[Special:CreateItem|neues Datenobjekt erstellen]]</span>.',
'wikibase-noitem-nopermission' => 'Dieses Datenelement ist nicht vorhanden.
Du kannst die <span class="plainlinks">[{{fullurl:{{#Special:Log}}|page={{FULLPAGENAMEE}}}} entsprechenden Logbücher danach durchsuchen]</span>.',
- 'wikibase-item-summary-wbsetitem-set' => 'Aktualisiertes Element',
- 'wikibase-item-summary-wbsetsitelink-set' => 'Fügte websitespezifischen [$2] Link hinzu',
- 'wikibase-item-summary-wbsetsitelink-remove' => 'Entfernte websitespezifischen [$2] Link',
- 'wikibase-item-summary-wbsetaliases-set' => 'Legte [$2] {{PLURAL:$1|Aalias|Aliasse}} fest',
- 'wikibase-item-summary-wbsetaliases-add' => 'Fügte [$2] {{PLURAL:$1|Alias|Aliasse}} hinzu',
- 'wikibase-item-summary-wbsetaliases-remove' => 'Entfernte [$2] {{PLURAL:$1|Alias|Aliasse}}',
- 'wikibase-item-summary-wbsetaliases-add-remove' => 'Entfernte sowie fügte [$2] {{PLURAL:$1|Aalias|Aliasse}} hinzu',
- 'wikibase-item-summary-wbsetlanguageattribute-label' => 'Änderte [$2] Bezeichnung',
- 'wikibase-item-summary-wbsetlanguageattribute-description' => 'Änderte [$2] Beschreibung',
- 'wikibase-item-summary-wbsetlanguageattribute-label-description' => 'Änderte [$2] Bezeichnung und Beschreibungen',
+ 'wikibase-item-summary-wbsetitem' => 'Erstellte ein Datenelement für [$2]',
'wikibase-item-summary-wbsetlabel-set' => 'Änderte [$2] Bezeichnung',
'wikibase-item-summary-wbsetlabel-remove' => 'Entfernte [$2] Bezeichnung',
'wikibase-item-summary-wbsetdescription-set' => 'Änderte [$2] Beschreibung',
'wikibase-item-summary-wbsetdescription-remove' => 'Entfernte [$2] Beschreibung',
+ 'wikibase-item-summary-wbsetsitelink-set' => 'Fügte websitespezifischen [$2] Link hinzu',
+ 'wikibase-item-summary-wbsetsitelink-remove' => 'Entfernte websitespezifischen [$2] Link',
+ 'wikibase-item-summary-wbsetaliases-set' => 'Legte [$2] {{PLURAL:$1|Alias|Aliasse}} fest',
+ 'wikibase-item-summary-wbsetaliases-add-remove' => 'Entfernte sowie fügte [$2] {{PLURAL:$1|Aalias|Aliasse}} hinzu',
+ 'wikibase-item-summary-wbsetaliases-add' => 'Fügte [$2] {{PLURAL:$1|Alias|Aliasse}} hinzu',
+ 'wikibase-item-summary-wbsetaliases-remove' => 'Entfernte [$2] {{PLURAL:$1|Alias|Aliasse}}',
'content-model-1001' => 'Wikibase-Datenelement',
);
@@ -541,6 +543,12 @@
'wikibase-error-ui-link-exists' => 'Sie können nicht auf diese Seite verlinken, da ein anderes Datenelement bereits auf sie verlinkt.',
'wikibase-error-ui-session-failure' => 'Ihre Sitzung ist abgelaufen. Sie müssen sich daher erneut anmelden.',
'wikibase-move-error' => 'Sie können keine Seiten aus dem Datennamensraum heraus- bzw. in ihn hineinverschieben.',
+ 'wikibase-itembytitle-nothing-found' => 'Mit der vorherigen Suche konnte kein Datenelement ermittelt werden. Bitte verfeinern Sie die Abfrage indem Sie die externe Seite besser beschreiben.',
+ 'wikibase-itembytitle-invalid-site' => 'Die vorherige Abfrage konnte nicht zum Suchen eingesetzt werden. Sie müssen eine gültige Websitekennung angeben.',
+ 'wikibase-itembytitle-create' => 'Sie können auch [{{fullurl:Special:CreateItem|site=$1&page=$2}} ein Datenelement erstellen].',
+ 'wikibase-itembylabel-create' => 'Sie können auch [{{fullurl:Special:CreateItem|language=$1&label=$2}} ein Datenelement erstellen].',
+ 'wikibase-itembylabel-nothing-found' => 'Mit der vorherigen Suche konnte kein Datenelement ermittelt werden. Bitte verfeinern Sie die Abfrage.',
+ 'wikibase-itembylabel-invalid-langcode' => 'Die vorherige Abfrage konnte nicht zum Suchen eingesetzt werden. Sie müssen eine gültige Sprachkennung angeben.',
'wikibase-api-aliases-invalid-list' => 'Sie müssen einen der Parameter zu „set“, „add“, bzw. „remove“ nutzen.',
'wikibase-api-data-or-id-xor-wikititle' => 'Geben Sie für die zugehörige Seite entweder „id“ als Kennung des Datenelements, die Informationspaare mit Angaben zu „site“ und „title“ oder „data“ für ein neues Datenelement an.',
'wikibase-api-id-xor-wikititle' => 'Geben Sie für die zugehörige Seite entweder „id“ als Kennung des Datenelements oder Informationspaare mit Angaben zu „site“ und „title“ an.',
@@ -734,6 +742,7 @@
'wikibase-move-error' => 'No puedes mover las páginas que se encuentran en el espacio de nombres de datos, y no puedes mover páginas hacia allí.',
'wikibase-error-relational-save-failed' => 'No se ha podido guardar la identidad del elemento en la base de datos.',
'wikibase-error-sitelink-already-used' => 'El enlace del sitio [[$1:$2]] ya es usado por el elemento con identificador ID [[$3]].',
+ 'special-itembytitle' => 'Artículo por título',
'special-itembylabel' => 'Artículo por etiqueta',
'special-createitem' => 'Crear un nuevo elemento',
'wikibase-api-aliases-invalid-list' => 'Utiliza uno de los parámetros "set", "add" o "remove".',
@@ -784,8 +793,19 @@
'content-model-1001' => 'Elemento de Wikibase',
);
+/** Estonian (eesti)
+ * @author Avjoska
+ */
+$messages['et'] = array(
+ 'wikibase-edit' => 'redigeeri',
+ 'wikibase-save' => 'salvesta',
+ 'wikibase-cancel' => 'tühista',
+ 'wikibase-add' => 'lisa',
+);
+
/** Persian (فارسی)
* @author Dalba
+ * @author Mjbmr
* @author Reza1615
* @author ZxxZxxZ
*/
@@ -838,6 +858,8 @@
'wikibase-move-error' => 'نمی‌توانید صفحه‌هایی را که در فضای نام داده هستند منتقل کنید، همچنین نمی‌توانید صفحه‌ها را به این فضا منتقل کنید.',
'wikibase-error-relational-save-failed' => 'امکان ذخیره‌سازی شناسهٔ این مورد در پایگاه داده نبود.',
'wikibase-error-sitelink-already-used' => 'پیوند وب‌گاه [[$1:$2]] از پیش توسط مورد با شناسهٔ [[$3]] استفاده شده‌است.',
+ 'special-itembytitle' => 'مورد را بر پایه عنوان',
+ 'wikibase-itembytitle-submit' => 'جستجو',
'special-itembylabel' => 'مورد بر پایه برچسب',
'special-createitem' => 'ایجاد یک مورد جدید',
'wikibase-api-aliases-invalid-list' => 'از یکی از پارامترهای «set»، «add» و «remove» استفاده کنید.',
@@ -882,6 +904,7 @@
/** French (français)
* @author Alno
+ * @author Brunoperel
* @author Crochet.david
* @author DavidL
* @author Gomoko
@@ -940,7 +963,14 @@
'wikibase-move-error' => 'Vous ne pouvez pas déplacer des pages situées dans l\'espace de nom "data", ni déplacer des pages vers cet espace de nom.',
'wikibase-error-relational-save-failed' => "Impossible d'enregistrer l'identité de l'objet dans la base de données.",
'wikibase-error-sitelink-already-used' => "Le lien du site [[$1:$2]] est déjà utilisé par l'objet d'ID [[$3]].",
+ 'special-itembytitle' => 'Article par titre',
+ 'wikibase-itembytitle-lookup-fieldset' => 'Rechercher des éléments par site et par titre',
+ 'wikibase-itembytitle-submit' => 'Rechercher',
+ 'wikibase-itembytitle-nothing-found' => "Aucun élément n'a été trouvé lors de la recherche précédente, vous devez affiner la requête avec une meilleure identification de la page externe.",
+ 'wikibase-itembytitle-invalid-site' => "La requête précédente n'a pas pu être utilisée pour effectuer une recherche. Vous devez fournir un identificateur de site valide.",
'special-itembylabel' => 'Article par étiquette',
+ 'wikibase-itembylabel-nothing-found' => "Aucun élément n'a été trouvé par la recherche précédente, veuillez affiner la requête.",
+ 'wikibase-itembylabel-invalid-langcode' => "La requête précédente n'a pas pu être utilisée pour effectuer une recherche. Vous devez fournir un identificateur de langue valide.",
'special-createitem' => 'Créer un nouvel élément',
'wikibase-api-aliases-invalid-list' => "Utilisez l'un des paramètres « set », « add» ou « remove».",
'wikibase-api-no-token' => "Il n'y a aucun jeton donné.",
@@ -986,6 +1016,7 @@
pour trouver d\'où cela vient, ou [[Special:CreateItem|créer un nouvel élément]]</span>.',
'wikibase-noitem-nopermission' => 'Cet élément n’existe pas.
Vous pouvez <span class="plainlinks">[{{fullurl:{{#Special:Log}}|page = {{FULLPAGENAMEE}}}} recherchez les journaux connexes]</span>.',
+ 'wikibase-item-summary-wbsetaliases-set' => 'Paramètre [ $2 ] {{plural:$1|alias|alias}}',
'content-model-1001' => 'Élément Wikibase',
);
@@ -1043,7 +1074,24 @@
'wikibase-move-error' => 'Non pode trasladar as páxinas que se atopan no espazo de nomes de datos, e tampouco pode mover páxinas a este espazo de nomes.',
'wikibase-error-relational-save-failed' => 'Non se puido almacenar a identidade do elemento na base de datos.',
'wikibase-error-sitelink-already-used' => 'O elemento co identificador [[$3]] xa utiliza a ligazón do sitio [[$1:$2]].',
+ 'special-itembytitle' => 'Artigo por título',
+ 'wikibase-itembytitle-lookup-fieldset' => 'Procurar elementos por sitio e título',
+ 'wikibase-itembytitle-lookup-site' => 'Sitio¹²:',
+ 'wikibase-itembytitle-lookup-page' => 'Páxina¹:',
+ 'wikibase-itembytitle-submit' => 'Procurar',
+ 'wikibase-itembytitle-nothing-found' => 'Non se atopou elemento ningún na procura. Debe afinar a pescuda cunha mellor identificación da páxina externa.',
+ 'wikibase-itembytitle-invalid-site' => 'A pescuda anterior non se pode usar para efectuar unha procura. Debe proporcionar un identificador de sitio válido.',
+ 'wikibase-itembytitle-description' => '¹Os valores usados para a procura deben ser a entrada de texto ao completo. ²O sitio é un identificador, a miúdo "enwiki".',
+ 'wikibase-itembytitle-create' => 'Tamén pode [{{fullurl:Special:CreateItem|site=$1&page=$2}} crear un elemento].',
'special-itembylabel' => 'Artigo por etiqueta',
+ 'wikibase-itembylabel-lookup-fieldset' => 'Procurar elementos por lingua e etiqueta',
+ 'wikibase-itembylabel-lookup-language' => 'Lingua¹²:',
+ 'wikibase-itembylabel-lookup-label' => 'Etiqueta¹:',
+ 'wikibase-itembylabel-submit' => 'Procurar',
+ 'wikibase-itembylabel-create' => 'Tamén pode [{{fullurl:Special:CreateItem|language=$1&label=$2}} crear un elemento].',
+ 'wikibase-itembylabel-nothing-found' => 'Non se atopou elemento ningún na procura. Afine a pescuda.',
+ 'wikibase-itembylabel-invalid-langcode' => 'A pescuda anterior non se pode usar para efectuar unha procura. Debe proporcionar un identificador de lingua válido.',
+ 'wikibase-itembylabel-description' => '¹Os valores usados para a procura deben ser a entrada de texto ao completo. ²A lingua é un identificador, a miúdo "en".',
'special-createitem' => 'Crear un novo elemento',
'wikibase-api-aliases-invalid-list' => 'Utilice unicamente un dos parámetros "set", "add" e "remove".',
'wikibase-api-no-token' => 'Non se achegou ningún pase.',
@@ -1089,6 +1137,17 @@
para descubir onde está ou [[Special:CreateItem|crear un novo elemento]]</span>.',
'wikibase-noitem-nopermission' => 'O elemento non existe.
Pode <span class="plainlinks">[{{fullurl:{{#Special:Log}}|page={{FULLPAGENAMEE}}}} procurar nos rexistros relacionados]</span>.',
+ 'wikibase-item-summary-wbsetitem' => 'Creo un elemento en [$2]',
+ 'wikibase-item-summary-wbsetlabel-set' => 'Cambio a etiqueta en [$2]',
+ 'wikibase-item-summary-wbsetlabel-remove' => 'Elimino a etiqueta en [$2]',
+ 'wikibase-item-summary-wbsetdescription-set' => 'Cambio a descrición en [$2]',
+ 'wikibase-item-summary-wbsetdescription-remove' => 'Elimino a descrición en [$2]',
+ 'wikibase-item-summary-wbsetsitelink-set' => 'Engado a ligazón específica a [$2]',
+ 'wikibase-item-summary-wbsetsitelink-remove' => 'Elimino a ligazón específica a [$2]',
+ 'wikibase-item-summary-wbsetaliases-set' => 'Defino {{plural:$1|o pseudónimo|os pseudónimos}} en [$2]',
+ 'wikibase-item-summary-wbsetaliases-add-remove' => 'Engado e elimino {{plural:$1|un pseudónimo|pseudónimos}} en [$2]',
+ 'wikibase-item-summary-wbsetaliases-add' => 'Engado {{plural:$1|un pseudónimo|pseudónimos}} en [$2]',
+ 'wikibase-item-summary-wbsetaliases-remove' => 'Elimino {{plural:$1|un pseudónimo|pseudónimos}} en [$2]',
'content-model-1001' => 'Elemento de Wikibase',
);
@@ -1187,7 +1246,19 @@
'wikibase-move-error' => 'Njemóžeš strony přesunyć, kotrež su w datowym mjenowym rumje, a njemóžeš strony do njeho přesunyć.',
'wikibase-error-relational-save-failed' => 'Identita elementa njeda so w datowej bance składować.',
'wikibase-error-sitelink-already-used' => 'Sydłowy wotkaz [[$1:$2]] so hižo wot elementa z IDk [[$3]] wužiwa.',
+ 'special-itembytitle' => 'Zapisk po titulu',
+ 'wikibase-itembytitle-lookup-fieldset' => 'Za elementami po sydle a titulu pytać',
+ 'wikibase-itembytitle-lookup-site' => 'Sydło¹²:',
+ 'wikibase-itembytitle-lookup-page' => 'Strona¹:',
+ 'wikibase-itembytitle-submit' => 'Pytać',
+ 'wikibase-itembytitle-create' => 'Móžeš tež [{{fullurl:Special:CreateItem|site=$1&page=$2}} element wutworić].',
'special-itembylabel' => 'Zapisk po pomjenowanju',
+ 'wikibase-itembylabel-lookup-fieldset' => 'Elementy po rěči a pomjenowanju pytać',
+ 'wikibase-itembylabel-lookup-language' => 'Rěč¹²:',
+ 'wikibase-itembylabel-lookup-label' => 'Pomjenowanje¹:',
+ 'wikibase-itembylabel-submit' => 'Pytać',
+ 'wikibase-itembylabel-create' => 'Móžeš tež [{{fullurl:Special:CreateItem|language=$1&label=$2}} element wutworić].',
+ 'wikibase-itembylabel-description' => '¹Hódnoty, kotrež so za pytanje wužiwaja, dyrbja dospołne tekstowy zapiski być. ²Rěč je identifikator, typisce "hsb".',
'special-createitem' => 'Nowy element wutworić',
'wikibase-api-aliases-invalid-list' => 'Wužij jedyn z parametrow "set", "add" a "remove".',
'wikibase-api-no-token' => 'Njeje so token podał.',
@@ -1232,6 +1303,8 @@
Móžeš <span class="plainlinks">[{{fullurl:{{#Special:Log}}|page={{FULLPAGENAMEE}}}} wotpowědowace protokole přepytać], zo by wuslědźił, štož je so z nim stało abo [[Special:CreateItem|wutwor nowy element]]</span>.',
'wikibase-noitem-nopermission' => 'Tutón element njeeksistuje.
Móžeš <span class="plainlinks">[{{fullurl:{{#Special:Log}}|page={{FULLPAGENAMEE}}}} wotpowědowace protokole přepytać]</span>.',
+ 'wikibase-item-summary-wbsetdescription-set' => 'Změni [$2] wopisanje',
+ 'wikibase-item-summary-wbsetdescription-remove' => 'Wotstroni [$2] wopisanje',
'content-model-1001' => 'Datowy element Wikibase',
);
@@ -1287,6 +1360,7 @@
'wikibase-move-error' => 'Tu non pote renominar paginas que es in le spatio de nomines de datos, e tu non pote displaciar paginas a in illo.',
'wikibase-error-relational-save-failed' => 'Non poteva immagazinar le identitate del elemento in le base de datos.',
'wikibase-error-sitelink-already-used' => 'Le ligamine de sito [[$1:$2]] es jam usate per le elemento con ID [[$3]].',
+ 'special-itembytitle' => 'Objecto per titulo',
'special-itembylabel' => 'Objecto per etiquetta',
'special-createitem' => 'Crear un nove objecto',
'wikibase-api-aliases-invalid-list' => 'Usa un del tres parametros "set", "add" e "remove".',
@@ -1392,7 +1466,22 @@
'wikibase-error-relational-save-failed' => 'Vistun auðkennis hlutar í gagnabankanum mistókst.',
'wikibase-error-sitelink-already-used' => 'Þessi vefsvæðistengill [[$1:$2]] er þegar í notkun í hlut með auðkennið [[$3]].',
'special-itembytitle' => 'Hlutur eftir titli',
+ 'wikibase-itembytitle-lookup-fieldset' => 'Leita eftir hlutum eftir vefsíðu og titli',
+ 'wikibase-itembytitle-lookup-site' => 'Vefsíða¹²:',
+ 'wikibase-itembytitle-lookup-page' => 'Síða¹:',
+ 'wikibase-itembytitle-submit' => 'Leita',
+ 'wikibase-itembytitle-invalid-site' => 'Gat ekki notað fyrri fyrirspurn við leit. Þú þarft að tilgreina gilt kennimerki síðunnar.',
+ 'wikibase-itembytitle-description' => 'Þau ¹gildi sem eru notuð við leit þurfa að vera tæmandi texta færsla. ²Vefsvæði er kennimerki, venjulega "enwiki".',
+ 'wikibase-itembytitle-create' => 'Þú getur einnig [{{fullurl:Special:CreateItem|site=$1&page=$2}} búið til hlut].',
'special-itembylabel' => 'Hlutur eftir merkimiða',
+ 'wikibase-itembylabel-lookup-fieldset' => 'Leita eftir hlutum eftir tungumáli og merkimiða',
+ 'wikibase-itembylabel-lookup-language' => 'Tungumál¹²:',
+ 'wikibase-itembylabel-lookup-label' => 'Merkimiði¹:',
+ 'wikibase-itembylabel-submit' => 'Leita',
+ 'wikibase-itembylabel-create' => 'Þú getur einnig [{{fullurl:Special:CreateItem|language=$1&label=$2}} búið til hlut].',
+ 'wikibase-itembylabel-nothing-found' => 'Enginn hlutur fannst, vinsamlegast endurorðaðu fyrirspurnina.',
+ 'wikibase-itembylabel-invalid-langcode' => 'Gat ekki notað fyrri fyrirspurn við leit. Þú þarft að tilgreina gilt kennimerki tungumálsins.',
+ 'wikibase-itembylabel-description' => 'Þau ¹gildi sem eru notuð við leit þurfa að vera tæmandi texta færsla. ²Vefsvæði er kennimerki, venjulega "en".',
'special-createitem' => 'Búa til nýjan hlut',
'wikibase-api-aliases-invalid-list' => 'Notaðu einn af þessum stikum „set", „add" eða „remove".',
'wikibase-api-no-token' => 'Enginn tóki tilgreindur.',
@@ -1439,6 +1528,16 @@
til þess að finna hvert hann fór, eða [[Special:CreateItem|búið til nýjan hlut]]</span>.',
'wikibase-noitem-nopermission' => 'Þessi hlutur er ekki til.
Þú getur <span class="plainlinks">[{{fullurl:{{#Special:Log}}|page={{FULLPAGENAMEE}}}} leitað í aðgerðarskránni]</span>.',
+ 'wikibase-item-summary-wbsetlabel-set' => 'Breytti [$2] merkimiða',
+ 'wikibase-item-summary-wbsetlabel-remove' => 'Fjarlægði [$2] merkimiða',
+ 'wikibase-item-summary-wbsetdescription-set' => 'Breytti [$2] lýsingu',
+ 'wikibase-item-summary-wbsetdescription-remove' => 'Fjarlægði [$2] lýsingu',
+ 'wikibase-item-summary-wbsetsitelink-set' => 'Bætti við vefsvæðis tengil [$2]',
+ 'wikibase-item-summary-wbsetsitelink-remove' => 'Fjarlægði vefsvæðis tengil [$2]',
+ 'wikibase-item-summary-wbsetaliases-set' => 'Setur [$2] {{plural:$1|samnefni}}',
+ 'wikibase-item-summary-wbsetaliases-add-remove' => 'Bætti og fjarlægði [$2] {{plural:$1|samnefni}}',
+ 'wikibase-item-summary-wbsetaliases-add' => 'Bætti við [$2] {{plural:$1|samnefni|samnefnum}}',
+ 'wikibase-item-summary-wbsetaliases-remove' => 'Fjarlægði [$2] {{plural:$1|samnefni}}',
'content-model-1001' => 'Wikibase hlutur',
);
@@ -1627,7 +1726,15 @@
'wikibase-move-error' => '데이터 이름공간에 있는 문서를 이동할 수 없으며 그것으로 문서를 이동할 수 없습니다.',
'wikibase-error-relational-save-failed' => '데이터베이스에서 항목 식별을 저장할 수 없습니다.',
'wikibase-error-sitelink-already-used' => '[[$1:$2]] 사이트 링크가 이미 [[$3]] ID로 항목에 의해 사용되고 있습니다.',
+ 'special-itembytitle' => '제목별 항목',
+ 'wikibase-itembytitle-lookup-fieldset' => '사이트와 제목별로 항목 찾기',
+ 'wikibase-itembytitle-lookup-site' => '사이트¹²:',
+ 'wikibase-itembytitle-lookup-page' => '문서¹:',
+ 'wikibase-itembytitle-submit' => '찾기',
'special-itembylabel' => '레이블별 항목',
+ 'wikibase-itembylabel-lookup-language' => '언어¹²:',
+ 'wikibase-itembylabel-lookup-label' => '레이블¹:',
+ 'wikibase-itembylabel-submit' => '찾기',
'special-createitem' => '새 항목 만들기',
'wikibase-api-aliases-invalid-list' => '"set", "add"와 "remove" 변수 중 하나를 사용하세요.',
'wikibase-api-no-token' => '토큰을 가지지 않았습니다.',
@@ -1674,6 +1781,12 @@
[[Special:CreateItem|새 항목을 만들]]</span>수 있습니다.',
'wikibase-noitem-nopermission' => '이 항목이 존재하지 않습니다.
<span class="plainlinks">[{{fullurl:{{#Special:Log}}|page={{FULLPAGENAMEE}}}} 관련 기록을 검색]</span>할 수 있습니다.',
+ 'wikibase-item-summary-wbsetlabel-set' => '[$2] 레이블 바꿈',
+ 'wikibase-item-summary-wbsetlabel-remove' => '[$2] 레이블 제거함',
+ 'wikibase-item-summary-wbsetdescription-set' => '[$2] 설명 바꿈',
+ 'wikibase-item-summary-wbsetdescription-remove' => '[$2] 설명 제거함',
+ 'wikibase-item-summary-wbsetsitelink-set' => '사이트 관련 [$2] 링크 추가함',
+ 'wikibase-item-summary-wbsetsitelink-remove' => '사이트 관련 [$2] 링크 제거함',
'content-model-1001' => '위키베이스 항목',
);
@@ -1762,10 +1875,10 @@
'wikibase-alias-edit-placeholder' => 'внесете алијас',
'wikibase-label-input-help-message' => 'Внесете го насловот на податочниот збир во $1.',
'wikibase-description-input-help-message' => 'Внесете краток опис за $1.',
- 'wikibase-sitelinks' => 'Список на страници поврзани со оваа ставка',
+ 'wikibase-sitelinks' => 'Список на страници поврзани со овој предмет',
'wikibase-sitelinks-add' => 'додај врска во поврзаност со страница',
- 'wikibase-sitelinks-empty' => 'Досега нема врски до страници за оваа ставка.',
- 'wikibase-sitelinks-input-help-message' => 'Задајте врска до страница поврзана со оваа ставка.',
+ 'wikibase-sitelinks-empty' => 'Досега нема врски до страници за овој предмет.',
+ 'wikibase-sitelinks-input-help-message' => 'Задајте врска до страница поврзана со овој предмет.',
'wikibase-remove' => 'отстрани',
'wikibase-propertyedittool-full' => 'Списокот на вредности е исполнет.',
'wikibase-propertyedittool-counter' => '($1 {{PLURAL:$1|ставка|ставки}})',
@@ -1774,7 +1887,7 @@
'wikibase-propertyedittool-counter-pending-tooltip' => '{{PLURAL:$1|Една вредност остана незачувана|$1 вредности останаа незачувани}}',
'wikibase-sitelinksedittool-full' => 'Веќе се зададени врски за страници на сите познати викија.',
'wikibase-disambiguation-title' => 'Појаснување за „$1“',
- 'wb-special-createitem-new-item-notification' => 'Новата ставка $1 е создадена и пренасочена на својата страница. Назад на $2.',
+ 'wb-special-createitem-new-item-notification' => 'Новиот предмет $1 е создаден и пренасочен на својата страница. Назад на $2.',
'wikibase-aliases-label' => 'Познати и како:',
'wikibase-aliases-input-help-message' => 'Ако овој податочен збир е познат по повеќе од едно име, тогаш можете да внесете алијаси и синоними. Така збирот ќе може да се најде и по неговите други имиња.',
'wikibase-aliases-empty' => 'Нема зададено алијаси.',
@@ -1793,13 +1906,30 @@
'wikibase-error-ui-no-external-page' => 'Укажаната статија не е најдена на соодветното вики.',
'wikibase-error-ui-cant-edit' => 'Не сте овластени да ја извршите оваа постапка.',
'wikibase-error-ui-no-permissions' => 'Ги немате потребните права за да го извршите ова дејство.',
- 'wikibase-error-ui-link-exists' => 'Не можете да ставите врска за оваа страница бидејќи веќе има друга ставка што води до неа.',
+ 'wikibase-error-ui-link-exists' => 'Не можете да ставите врска за оваа страница бидејќи веќе има друг предмет што води до неа.',
'wikibase-error-ui-session-failure' => 'Сесијата истече. Најавете се повторно.',
'wikibase-move-error' => 'Не можете да преместувате страници што се наоѓаат во податочниот именски простор. Исто така не можете да преместувате други страници во него.',
- 'wikibase-error-relational-save-failed' => 'Не можев да го зачувам идентитетот на ставката во базата.',
- 'wikibase-error-sitelink-already-used' => 'Надворешната врска [[$1:$2]] веќе се користи во ставката со назнака [[$3]].',
- 'special-itembylabel' => 'Ставка по натпис',
- 'special-createitem' => 'Создај нова ставка',
+ 'wikibase-error-relational-save-failed' => 'Не можев да го зачувам идентитетот на предметот во базата.',
+ 'wikibase-error-sitelink-already-used' => 'Надворешната врска [[$1:$2]] веќе се користи од предметот со назнака [[$3]].',
+ 'special-itembytitle' => 'Предмет по наслов',
+ 'wikibase-itembytitle-lookup-fieldset' => 'Пребарување на предмети по вики или наслов',
+ 'wikibase-itembytitle-lookup-site' => 'Вики¹²:',
+ 'wikibase-itembytitle-lookup-page' => 'Страница¹:',
+ 'wikibase-itembytitle-submit' => 'Пребарај',
+ 'wikibase-itembytitle-nothing-found' => 'Не пронајдов ниеден предмет. Ќе морате да го прецизирате барањето.',
+ 'wikibase-itembytitle-invalid-site' => 'Не можам да го пребарувам укажаното. Мора да наведете важечка назнака за вики.',
+ 'wikibase-itembytitle-description' => '¹Вредностите во пребарувањето мора да претставуваат целиот текстуален наслов на предметот. ²Викито е назнака, како на пр. „mkwiki“.',
+ 'wikibase-itembytitle-create' => 'Можете и да [{{fullurl:Special:CreateItem|site=$1&page=$2}} создадете предмет].',
+ 'special-itembylabel' => 'Предмет по натпис',
+ 'wikibase-itembylabel-lookup-fieldset' => 'Пребарување на предмети по јазик или етикета',
+ 'wikibase-itembylabel-lookup-language' => 'Јазик¹²:',
+ 'wikibase-itembylabel-lookup-label' => 'Етикета¹:',
+ 'wikibase-itembylabel-submit' => 'Пребарај',
+ 'wikibase-itembylabel-create' => 'Можете и да [{{fullurl:Special:CreateItem|language=$1&label=$2}} создадете предмет].',
+ 'wikibase-itembylabel-nothing-found' => 'Не пронајдов ниеден предмет. Ќе морате да го прецизирате барањето.',
+ 'wikibase-itembylabel-invalid-langcode' => ' Не можам да го пребарувам укажаното. Мора да наведете важечка назнака за јазик.',
+ 'wikibase-itembylabel-description' => '¹Вредностите во пребарувањето мора да претставуваат целиот текстуален наслов на предметот. ²Јазикот е назнака, како на пр. „mk“.',
+ 'special-createitem' => 'Создај нов предмет',
'wikibase-api-aliases-invalid-list' => 'Треба да го укажете зададениот параметар xor или да додадете/отстраните параметри',
'wikibase-api-no-token' => 'Нема зададено жетони',
'wikibase-api-no-data' => 'Нема најдено податоци со кои би работел',
@@ -1816,36 +1946,47 @@
'wikibase-api-not-recognized-language' => 'Пронајдов јазична назнака, но не ја препознав.',
'wikibase-api-not-recognized-siteid' => 'Не ја препознав пронајдената назнака за мреж. место.',
'wikibase-api-no-permissions' => 'Најавениот уредник нема доволно права',
- 'wikibase-api-data-or-id-xor-wikititle' => 'Наведете „id“ на ставката или парови од „site“ и „title“ за соодветната страница, или пак „data“ за нова ставка.',
- 'wikibase-api-id-xor-wikititle' => 'Наведете назнаки на ставките или пар адреса-наслов за соодветна страница',
- 'wikibase-api-no-such-item' => 'Не можев да пронајдам постоечката ставка',
- 'wikibase-api-no-such-item-id' => 'Не пронајдов постоечка ставка за таа назнака',
+ 'wikibase-api-data-or-id-xor-wikititle' => 'Наведете „id“ на предметот или парови од „site“ и „title“ за соодветната страница, или пак „data“ за нов предмет.',
+ 'wikibase-api-id-xor-wikititle' => 'Наведете ја назнаката на предметот (со „id“) или парови од „site“ и „title“ за соодветна страница',
+ 'wikibase-api-no-such-item' => 'Не можев да го пронајдам постоечкиот предмет.',
+ 'wikibase-api-no-such-item-id' => 'Не пронајдов постоечки предмет за таа назнака',
'wikibase-api-link-exists' => 'Веќе има врска со статијата на укажаното вики',
- 'wikibase-api-add-with-id' => 'Не да додадам со назнаката на постечка ставка',
- 'wikibase-api-add-exists' => 'Не можам да додадам во постоечка ставка',
+ 'wikibase-api-add-with-id' => 'Не можам да додадам со назнаката на постечки предмет.',
+ 'wikibase-api-add-exists' => 'Не можам да додадам во постоечки предмет',
'wikibase-api-update-without-id' => 'Не можам да направам поднова без претходна назнака',
- 'wikibase-api-no-such-item-link' => 'Не пронајдов постоечка ставка за таа врска',
- 'wikibase-api-create-failed' => 'Обидот за создавање на нова ставка не успеа: $1',
- 'wikibase-api-modify-failed' => 'Обидот за измена на ставка не успеа',
- 'wikibase-api-delete-failed' => 'Обидот за бришење на ставка не успеа',
- 'wikibase-api-save-failed' => 'Обидот за зачувување на ставката не успеа: $1',
- 'wikibase-api-invalid-contentmodel' => 'Содржинскиот модел за страницата на која е зачувана ставката е неважечки',
- 'wikibase-api-alias-incomplete' => 'Не можев да најдам дефиниција на алијасот на ставката',
- 'wikibase-api-alias-not-found' => 'Не можев да најдам претходен алијас во ставката',
- 'wikibase-api-alias-found' => 'Пронајдов претходен алијас во ставката',
+ 'wikibase-api-no-such-item-link' => 'Не пронајдов постоечки предмет за таа врска',
+ 'wikibase-api-create-failed' => 'Обидот за создавање на нов предмет не успеа: $1',
+ 'wikibase-api-modify-failed' => 'Обидот за измена на предметот не успеа',
+ 'wikibase-api-delete-failed' => 'Обидот за бришење на предметот не успеа',
+ 'wikibase-api-save-failed' => 'Обидот за зачувување на предметот не успеа: $1',
+ 'wikibase-api-invalid-contentmodel' => 'Содржинскиот модел за страницата на која е зачуван предметот е неважечки.',
+ 'wikibase-api-alias-incomplete' => 'Не можев да најдам дефиниција на алијасот на предметот.',
+ 'wikibase-api-alias-not-found' => 'Не можев да најдам претходен алијас во предметот.',
+ 'wikibase-api-alias-found' => 'Пронајдов претходен алијас во предметот.',
'wikibase-api-not-recognized' => 'Не ја препознав наредбата',
'wikibase-api-label-or-description' => 'Користете натпис, опис или обете, но не ниедно од нив',
- 'wikibase-api-label-not-found' => 'Не можев да пронајдам претходен натпис за овој јазик во ставката',
- 'wikibase-api-description-not-found' => 'Не можев да пронајдам претходен опис за овој јазик во ставката',
+ 'wikibase-api-label-not-found' => 'Не можев да пронајдам претходен натпис за овој јазик во предметот.',
+ 'wikibase-api-description-not-found' => 'Не можев да пронајдам претходен опис за овој јазик во предметот.',
'wikibase-api-wrong-class' => 'Содржината на пронајдената страница не е од бараниот тип.',
'wikibase-api-session-failure' => 'Тековната сесија прекина. Ќе мора да се најавите повторно.',
'wikibase-resetold' => 'врати',
- 'wikibase-noitem' => 'Не постои таква ставка.
+ 'wikibase-noitem' => 'Не постои таков предмет.
Можете да ги <span class="plainlinks">[{{fullurl:{{#Special:Log}}|page={{FULLPAGENAMEE}}}} пребарате поврзаните дневници]
-за да дознаете каде отишла, или да [[Special:CreateItem|создадете нова ставка]]</span>.',
- 'wikibase-noitem-nopermission' => 'Не постои таква ставка.
+за да дознаете каде отишол, или да [[Special:CreateItem|создадете нов предмет]]</span>.',
+ 'wikibase-noitem-nopermission' => 'Не постои таков предмет.
Можете да ги <span class="plainlinks">[{{fullurl:{{#Special:Log}}|page={{FULLPAGENAMEE}}}} пребарате поврзаните дневници]</span>.',
- 'content-model-1001' => 'Ставка во Викибазата',
+ 'wikibase-item-summary-wbsetitem' => 'Создавање на предмет за [$2]',
+ 'wikibase-item-summary-wbsetlabel-set' => 'Сменета етикетата на [$2]',
+ 'wikibase-item-summary-wbsetlabel-remove' => 'Отстранета етикетата на [$2]',
+ 'wikibase-item-summary-wbsetdescription-set' => 'Сменет описот на [$2]',
+ 'wikibase-item-summary-wbsetdescription-remove' => 'Отстранет описот на [$2]',
+ 'wikibase-item-summary-wbsetsitelink-set' => 'Додадена врската за конкретно вики [$2]',
+ 'wikibase-item-summary-wbsetsitelink-remove' => 'Отстранета врската за конкретно вики [$2]',
+ 'wikibase-item-summary-wbsetaliases-set' => 'Задавање на [$2] {{plural:$1|алијас|алијаси}}',
+ 'wikibase-item-summary-wbsetaliases-add-remove' => '{{plural:$1|Додаден и отстранет алијасот|Додадени и отстранети алијасите}} [$2]',
+ 'wikibase-item-summary-wbsetaliases-add' => 'Додадено [$2] {{plural:$1|алијас|алијаси}}',
+ 'wikibase-item-summary-wbsetaliases-remove' => 'Отстрането [$2] {{plural:$1|алијас|алијаси}}',
+ 'content-model-1001' => 'Предмет во Викибазата',
);
/** Norwegian Bokmål (‪norsk (bokmål)‬)
@@ -2275,6 +2416,7 @@
'wikibase-move-error' => 'Você não pode mover páginas que estão no domínio de dados, além disso, você não pode mover páginas para dentro de tal domínio.',
'wikibase-error-relational-save-failed' => 'Não não foi possível armazenar a identidade do item no banco de dados.',
'wikibase-error-sitelink-already-used' => 'Link do site [[$1:$2]] já utilizado pelo item com o ID [[$3]].',
+ 'special-itembytitle' => 'Item por título',
'special-itembylabel' => 'Item por rótulo',
'special-createitem' => 'Criar um novo item',
'wikibase-api-aliases-invalid-list' => 'Utilize um dos parâmetros "set", "add" e "remove".',
@@ -2341,9 +2483,21 @@
'wikibase-propertyedittool-counter-pending-pendingsubpart' => '+$1',
'wikibase-disambiguation-title' => 'Dezambiguizare pentru „$1”',
'wikibase-aliases-label' => 'Cunoscut și ca:',
+ 'wikibase-blockeduser-tooltip-message' => 'Vi s-a blocat accesul la modificări.',
+ 'wikibase-tooltip-error-details' => 'Detalii',
+ 'wikibase-error-save-generic' => 'A intervenit o eroare neașteptată la încercarea de salvare și din această cauză schimbările nu au putut fi finalizate.',
+ 'wikibase-error-remove-generic' => 'A intervenit o eroare neașteptată la încercarea de eliminare și din această cauză schimbările nu au putut fi finalizate.',
+ 'wikibase-error-ui-session-failure' => 'Sesiunea dumneavoastră a expirat. Vă rugăm autentificați-vă iar.',
+ 'wikibase-itembytitle-lookup-site' => 'Sit¹²:',
+ 'wikibase-itembytitle-submit' => 'Căutare',
+ 'wikibase-itembylabel-lookup-language' => 'Limbă¹²:',
+ 'wikibase-itembylabel-submit' => 'Căutare',
'special-createitem' => 'Crează un obiect nou',
+ 'wikibase-api-add-sitelink-failed' => 'Legătura sitului nu poate fi salvată.',
+ 'wikibase-api-remove-sitelink-failed' => 'Legătura sitului nu poate fi eliminată.',
'wikibase-api-cant-edit' => 'Modificarea nepermisă:
$1',
+ 'wikibase-resetold' => 'resetare',
);
/** Russian (русский)
@@ -2492,7 +2646,24 @@
'wikibase-itemlink' => '$1 $2',
'wikibase-itemlink-id-wrapper' => '($1)',
'wikibase-itemlink-title' => '$1 | $2',
+ 'special-itembytitle' => 'Bagay ayon sa pamagat',
+ 'wikibase-itembytitle-lookup-fieldset' => 'Maghanap ng mga bagay na naaayon sa pook at pamagat',
+ 'wikibase-itembytitle-lookup-site' => 'Pook¹²:',
+ 'wikibase-itembytitle-lookup-page' => 'Pahina¹:',
+ 'wikibase-itembytitle-submit' => 'Maghanap',
+ 'wikibase-itembytitle-nothing-found' => 'Wala natagpuan bagay sa pamamagitan ng nakaraang paghahanap, dapat mong dalisayin ang pag-uusisa sa pamamagitan ng mas mainam na pagkilala sa panlabas na pahina.',
+ 'wikibase-itembytitle-invalid-site' => 'Hindi magagamit para sa isang paghahanap ang nakaraang pag-uusisa. Dapat kang magbigay ng isang katanggap-tanggap na pangkilala ng pook.',
+ 'wikibase-itembytitle-description' => '¹Ang mga halagang ginagamit para sa paghahanap ay dapat na maging ang buong lahok na teksto. ²Ang pook ay dapat na isang pangkilala, karaniwan na ang "enwiki".',
+ 'wikibase-itembytitle-create' => 'Maaari ka ring [{{fullurl:Special:CreateItem|site=$1&page=$2}} lumikha ng isang bagay].',
'special-itembylabel' => 'Bagay ayon sa katatakan',
+ 'wikibase-itembylabel-lookup-fieldset' => 'Maghanap ng mga bagay ayon sa wika at katatakan',
+ 'wikibase-itembylabel-lookup-language' => 'Wika¹²:',
+ 'wikibase-itembylabel-lookup-label' => 'Katatakan¹:',
+ 'wikibase-itembylabel-submit' => 'Maghanap',
+ 'wikibase-itembylabel-create' => 'Maaari ka ring [{{fullurl:Special:CreateItem|language=$1&label=$2}} lumikha ng isang bagay].',
+ 'wikibase-itembylabel-nothing-found' => 'Walang bagay na natagpuan sa pamamagitan ng nakaraang paghahanap, paki dalisayin ang pag-uusisa.',
+ 'wikibase-itembylabel-invalid-langcode' => 'Hindi magagamit para sa isang paghahanap ang nakaraang pag-uusisa. Dapat kang magbigay ng isang katanggap-tanggap na pangkilala ng wika.',
+ 'wikibase-itembylabel-description' => '¹Ang mga halagang ginagamit para sa paghahanap ay dapat na maging ang buong lahok na teksto. ²Ang wika ay dapat na isang pangkilala, karaniwan na ang "en".',
'special-createitem' => 'Lumikha ng isang bagong bagay',
'wikibase-api-aliases-invalid-list' => 'Gamitin ang kahit na isa sa mga parametrong "set", "add" at "remove".',
'wikibase-api-no-token' => 'Walang ibinigay na kahalip.',
@@ -2539,12 +2710,24 @@
upang malaman kung saan ito napunta, o [[Special:CreateItem|lumikha ng isang bagong bagay]]</span>.',
'wikibase-noitem-nopermission' => 'Hindi umiiral ang bagay na ito.
Maaari mong <span class="plainlinks">[{{fullurl:{{#Special:Log}}|page={{FULLPAGENAMEE}}}} hanapin ang mga talaan na mayroong kaugnayan]</span>.',
+ 'wikibase-item-summary-wbsetitem' => 'Nilikha ang isang bagay para sa [$2]',
+ 'wikibase-item-summary-wbsetlabel-set' => 'Binago ang [$2] katatakan',
+ 'wikibase-item-summary-wbsetlabel-remove' => 'Tinanggal ang [$2] katatakan',
+ 'wikibase-item-summary-wbsetdescription-set' => 'Binago ang [$2] paglalarawan',
+ 'wikibase-item-summary-wbsetdescription-remove' => 'Tinanggal ang [$2] paglalarawan',
+ 'wikibase-item-summary-wbsetsitelink-set' => 'Idinagdag ang kawing [$2] na pangtiyak na pook',
+ 'wikibase-item-summary-wbsetsitelink-remove' => 'Tinanggal ang kawing [$2] sa tiyak na pook',
+ 'wikibase-item-summary-wbsetaliases-set' => 'Itinatakda ang [$2] {{plural:$1|bansag|mga bansag}}',
+ 'wikibase-item-summary-wbsetaliases-add-remove' => 'Idinagdag at tinanggal ang [$2] {{plural:$1|bansag|mga bansag}}',
+ 'wikibase-item-summary-wbsetaliases-add' => 'Idinagdag ang [$2] {{plural:$1|bansag|mga bansag}}',
+ 'wikibase-item-summary-wbsetaliases-remove' => 'Tinanggal ang [$2] {{plural:$1|bansag|mga bansag}}',
'content-model-1001' => 'Bagay ng himpilang wiki',
);
/** Simplified Chinese (‪中文(简体)‬)
* @author Dimension
* @author Linforest
+ * @author Shirayuki
*/
$messages['zh-hans'] = array(
'wikibase-desc' => '结构化数据存储库',
@@ -2565,6 +2748,19 @@
'wikibase-remove' => '删除',
'wikibase-propertyedittool-full' => '取值列表已完整。',
'wikibase-sitelinksedittool-full' => '已经为所有的已知站点设置了指向页面的链接。',
+ 'special-itembytitle' => '按标题排序的项目',
+ 'wikibase-itembytitle-submit' => '搜索',
'special-itembylabel' => '按标签排序的项目',
+ 'wikibase-itembylabel-lookup-language' => '语言¹²:',
+ 'wikibase-itembylabel-lookup-label' => '标签¹:',
+ 'wikibase-itembylabel-submit' => '搜索',
+);
+
+/** Traditional Chinese (‪中文(繁體)‬)
+ * @author Shirayuki
+ */
+$messages['zh-hant'] = array(
+ 'wikibase-itembytitle-submit' => '搜尋',
+ 'wikibase-itembylabel-submit' => '搜尋',
);
View
4 repo/Wikibase.php
@@ -32,7 +32,7 @@
// Include the WikibaseLib extension if that hasn't been done yet, since it's required for Wikibase to work.
if ( !defined( 'WBL_VERSION' ) ) {
- @include_once( dirname( __FILE__ ) . '/../lib/WikibaseLib.php' );
+ @include_once( __DIR__ . '/../lib/WikibaseLib.php' );
}
if ( !defined( 'WBL_VERSION' ) ) { // No version constant to check against :/
@@ -57,7 +57,7 @@
'descriptionmsg' => 'wikibase-desc'
);
-$dir = dirname( __FILE__ ) . '/';
+$dir = __DIR__ . '/';
// rights
// names should be according to other naming scheme
View
66 repo/includes/api/Api.php
@@ -16,27 +16,19 @@
* @author John Erling Blad < jeblad@gmail.com >
*/
abstract class Api extends \ApiBase {
+
/**
- * Var to keep the set status for later use
- * @var bool how to handle the keys
- */
- protected $usekeys = false;
-
- /**
- * Sets the usekeys-state for later use (and misuse)
+ * Figure out the usekeys-state
*
- * @param $params array parameters requested in subclass
+ * @return bool true if the keys should be present
*/
- protected function setUsekeys( array $params ) {
- $usekeys = Settings::get( 'apiUseKeys' ) || ( isset( $params['usekeys'] ) ? $params['usekeys'] : false );
-
- if ( $usekeys ) {
- $format = $this->getMain()->getRequest()->getVal( 'format' );
+ protected function getUsekeys() {
+ static $withkeys = false;
+ if ( $withkeys === false ) {
$withkeys = Settings::get( 'formatsWithKeys' );
- $usekeys = isset( $format ) && isset( $withkeys[$format] ) ? $withkeys[$format] : false;
}
-
- $this->usekeys = $usekeys;
+ $format = $this->getMain()->getRequest()->getVal( 'format' );
+ return ( isset( $format ) && isset( $withkeys[$format] ) ) ? $withkeys[$format] : false ;
}
/**
@@ -52,41 +44,23 @@ public function getPossibleErrors() {
* @see ApiBase::getParamDescription()
*/
public function getParamDescription() {
- $descriptions = array(
+ return array(
'gettoken' => array( 'If set, a new "modifyitem" token will be returned if the request completes.',
'The remaining of the call must be valid, otherwise an error can be returned without the token included.'
),
);
- if ( Settings::get( 'apiUseKeys' ) ) {
- $descriptions['nousekeys'] = array( 'Turn off use the keys. The use of keys are only used in formats that supports them,',
- 'otherwise fall back to the ordinary style which is to use keys.'
- );
- }
- else {
- $descriptions['usekeys'] = array( 'Turn on use the keys. The use of keys are only used in formats that supports them,',
- 'otherwise fall back to the ordinary style which is to use keys.'
- );
- }
- return $descriptions;
}
/**
* @see ApiBase::getAllowedParams()
*/
public function getAllowedParams() {
- $allowedParams = array(
+ return array(
'gettoken' => array(
ApiBase::PARAM_TYPE => 'boolean',
ApiBase::PARAM_DFLT => false
),
);
- if ( Settings::get( 'apiUseKeys' ) ) {
- $allowedParams['nousekeys'] = array( \ApiBase::PARAM_TYPE => 'boolean' );
- }
- else {
- $allowedParams['usekeys'] = array( \ApiBase::PARAM_TYPE => 'boolean' );
- }
- return $allowedParams;
}
/**
@@ -131,7 +105,7 @@ protected function addTokenToResult( $token, $path=null, $name = 'itemtoken' ) {
protected function addAliasesToResult( array $aliases, $path, $name = 'aliases', $tag = 'alias' ) {
$value = array();
- if ( $this->usekeys ) {
+ if ( $this->getUsekeys() ) {
foreach ( $aliases as $languageCode => $alarr ) {
$arr = array();
foreach ( $alarr as $alias ) {
@@ -155,7 +129,7 @@ protected function addAliasesToResult( array $aliases, $path, $name = 'aliases',
}
if ( $value !== array() ) {
- if (!$this->usekeys) {
+ if ( !$this->getUsekeys() ) {
$this->getResult()->setIndexedTagName( $value, $tag );
}
$this->getResult()->addValue( $path, $name, $value );
@@ -202,12 +176,12 @@ protected function addSiteLinksToResult( array $siteLinks, $path, $name = 'sitel
}
}
- $key = $this->usekeys ? $link->getSiteID() : $idx++;
+ $key = $this->getUsekeys() ? $link->getSiteID() : $idx++;
$value[$key] = $response;
}
if ( $value !== array() ) {
- if ( !$this->usekeys ) {
+ if ( !$this->getUsekeys() ) {
$this->getResult()->setIndexedTagName( $value, $tag );
}
@@ -233,13 +207,13 @@ protected function addDescriptionsToResult( array $descriptions, $path, $name =
foreach ( $descriptions as $languageCode => $description ) {
if ( $description === '' ) {
- $value[$this->usekeys ? $languageCode : $idx++] = array(
+ $value[$this->getUsekeys() ? $languageCode : $idx++] = array(
'language' => $languageCode,
'removed' => '',
);
}
else {
- $value[$this->usekeys ? $languageCode : $idx++] = array(
+ $value[$this->getUsekeys() ? $languageCode : $idx++] = array(
'language' => $languageCode,
'value' => $description,
);
@@ -247,7 +221,7 @@ protected function addDescriptionsToResult( array $descriptions, $path, $name =
}
if ( $value !== array() ) {
- if (!$this->usekeys) {
+ if ( !$this->getUsekeys() ) {
$this->getResult()->setIndexedTagName( $value, $tag );
}
$this->getResult()->addValue( $path, $name, $value );
@@ -272,13 +246,13 @@ protected function addLabelsToResult( array $labels, $path, $name = 'labels', $t
foreach ( $labels as $languageCode => $label ) {
if ( $label === '' ) {
- $value[$this->usekeys ? $languageCode : $idx++] = array(
+ $value[$this->getUsekeys() ? $languageCode : $idx++] = array(
'language' => $languageCode,
'removed' => '',
);
}
else {
- $value[$this->usekeys ? $languageCode : $idx++] = array(
+ $value[$this->getUsekeys() ? $languageCode : $idx++] = array(
'language' => $languageCode,
'value' => $label,
);
@@ -286,7 +260,7 @@ protected function addLabelsToResult( array $labels, $path, $name = 'labels', $t
}
if ( $value !== array() ) {
- if (!$this->usekeys) {
+ if ( !$this->getUsekeys() ) {
$this->getResult()->setIndexedTagName( $value, $tag );
}
$this->getResult()->addValue( $path, $name, $value );
View
2  repo/includes/api/ApiGetItems.php
@@ -77,8 +77,6 @@ public function execute() {
$languages = $params['languages'];
- $this->setUsekeys( $params );
-
// This really needs a more generic solution as similar tricks will be
// done to other props as well, for example variants for the language
// attributes. It would also be nice to write something like */urls for
View
1  repo/includes/api/ApiModifyItem.php
@@ -175,7 +175,6 @@ public function execute() {
}
// FIXME: we can (?) do this before we do permission checks as long as we don't save
- $this->setUsekeys( $params );
$success = $this->modifyItem( $itemContent, $params );
if ( !$success ) {
View
10 repo/includes/api/ApiModifyLangAttribute.php
@@ -43,14 +43,8 @@ protected function validateParameters( array $params ) {
*/
protected function getTextForComment( array $params, $plural = 1 ) {
return Autocomment::formatAutoComment(
- $this->getModuleName(),
- array(
- /* $plural */ 1,
- $params['language'],
- ( isset( $params['value'] ) && 0<strlen( $params['value'] ) )
- ? 'set'
- : 'remove'
- )
+ $this->getModuleName() . '-' . ( ( isset( $params['value'] ) && 0<strlen( $params['value'] ) ) ? 'set' : 'remove' ),
+ array( /* $plural */ 1, $params['language'] )
);
}
View
1  repo/includes/api/ApiSetItem.php
@@ -194,7 +194,6 @@ protected function modifyItem( ItemContent &$itemContent, array $params ) {
$res = $this->getResult();
- $this->setUsekeys( $params );
$this->addLabelsToResult( $item->getLabels(), 'item' );
$this->addDescriptionsToResult( $item->getDescriptions(), 'item' );
$this->addAliasesToResult( $item->getAllAliases(), 'item' );
View
2  repo/maintenance/importInterlang.php
@@ -17,7 +17,7 @@
* @author Jens Ohlig < jens.ohlig@wikimedia.de >
*/
-$basePath = getenv( 'MW_INSTALL_PATH' ) !== false ? getenv( 'MW_INSTALL_PATH' ) : dirname( __FILE__ ) . '/../../../..';
+$basePath = getenv( 'MW_INSTALL_PATH' ) !== false ? getenv( 'MW_INSTALL_PATH' ) : __DIR__ . '/../../../..';
require_once $basePath . '/maintenance/Maintenance.php';
require_once $basePath . '/includes/Exception.php';
View
2  repo/resources/Resources.php
@@ -14,7 +14,7 @@
return call_user_func( function() {
$moduleTemplate = array(
- 'localBasePath' => dirname( __FILE__ ),
+ 'localBasePath' => __DIR__,
'remoteExtPath' => 'Wikibase/repo/resources'
);
View
2  repo/tests/phpunit/bootstrap.php
@@ -11,7 +11,7 @@
You are running these tests directly from phpunit. You may not have all globals correctly set.
Running phpunit.php instead is recommended.
EOF;
- require_once ( dirname( __FILE__ ) . "/phpunit.php" );
+ require_once ( __DIR__ . "/phpunit.php" );
}
// Output a notice when running with older versions of PHPUnit
View
4 repo/tests/phpunit/includes/AutocommentTest.php
@@ -58,7 +58,7 @@ public function providerOnFormat() {
array(
CONTENT_MODEL_WIKIBASE_ITEM,
"wikibase-item",
- 'foo', 'wbsetitem-set', 'bar',
+ 'foo', 'wbsetitem', 'bar',
'Title',
false,
'!foo- ‎<span dir="auto"><span class="autocomment">.*?</span>bar</span>!'
@@ -240,4 +240,4 @@ public function providerFormatTotalSummary() {
array( '', str_repeat( 'a', 2*SUMMARY_MAX_LENGTH ), $lang, str_repeat( 'a', SUMMARY_MAX_LENGTH-3 ) . '...' ),
);
}
-}
+}
View
55 repo/tests/phpunit/includes/api/ApiGetItemsTest.php
@@ -340,5 +340,60 @@ function testSitelinkUrls( $handle ) {
$this->assertArrayHasKey( 'url', $link );
}
}
+
+ /**
+ * @dataProvider providerGetItemFormat
+ */
+ function testGetItemFormat( $format, $usekeys ) {
+ $this->createItems();
+
+ $item = $this->getItemOutput( 'Berlin' );
+ $id = $item['id'];
+
+ list($res,,) = $this->doApiRequest(
+ array(
+ 'action' => 'wbgetitems',
+ 'format' => $format,
+ 'ids' => $id )
+ );
+
+ $this->assertSuccess( $res, 'items', $id );
+ if ( $usekeys ) {
+ foreach ( array( 'sitelinks' => 'site', 'alias' => false, 'labels' => 'language', 'descriptions' => 'language' ) as $prop => $field) {
+ if ( array_key_exists( $prop, $res['items'][$id] ) ) {
+ foreach ( $res['items'][$id][$prop] as $key => $value ) {
+ $this->assertTrue( is_string( $key ) );
+ if ( $field !== false ) {
+ $this->assertArrayHasKey( $field, $value );
+ $this->assertTrue( is_string( $value[$field] ) );
+ $this->assertEquals( $key, $value[$field] );
+ }
+ }
+ }
+ }
+ }
+ else {
+ foreach ( array( 'sitelinks' => 'site', 'alias' => false, 'labels' => 'language', 'descriptions' => 'language' ) as $prop => $field) {
+ if ( array_key_exists( $prop, $res['items'][$id] ) ) {
+ foreach ( $res['items'][$id][$prop] as $key => $value ) {
+ $this->assertTrue( is_integer( $key ) );
+ if ( $field !== false ) {
+ $this->assertArrayHasKey( $field, $value );
+ $this->assertTrue( is_string( $value[$field] ) );
+ }
+ }
+ }
+ }
+ }
+ }
+
+ function providerGetItemFormat() {
+ $calls = array();
+ foreach ( Settings::get( 'formatsWithKeys' ) as $format => $usekeys) {
+ $calls[] = array( $format, $usekeys );
+ }
+ return $calls;
+ }
+
}
View
1  repo/tests/phpunit/includes/api/ApiSetAliasesTest.php
@@ -80,7 +80,6 @@ public function testSetAliases( $handle, $langCode, $op, $value, $expected ) {
// update the item ----------------------------------------------------------------
$req = array(
'token' => $this->getItemToken(),
- 'usekeys' => true,
'id' => $id,
'action' => 'wbsetaliases',
'language' => $langCode,
View
6 repo/tests/selenium/README
@@ -24,7 +24,8 @@ set configuration parameters to your needs before running the tests!
== Running the tests on your local machine ==
-* In configuration.yml set the WIKI_URL to point to your local MW instance you want to test
+* In configuration.yml set the WIKI_REPO_URL to point to your local MW instance you want to test and
+ WIKI_CLIENT_URL to the connected client wiki
* From your command line, run "rake run_tests[<taskname>,<browser>]" in the selenium directory,
whereas <taskname> specifies the task to run, e.g. default (for all tests) or "label" for just the label tests,
and <browser> specifies the browser you want to use for the tests, e.g. "firefox" || "chrome" || "ie".
@@ -40,7 +41,8 @@ set configuration parameters to your needs before running the tests!
== Running the tests remotely via Selenium Grid2 ==
-* In configuration.yml set the WIKI_URL to point to the remote MW instance you want to test
+* In configuration.yml set the WIKI_REPO_URL to point to the remote MW instance you want to test and
+ WIKI_CLIENT_URL to the connected client wiki
* Set REMOTE_SELENIUM_HUB to point to the Selenium Hub instance
* From your command line, run rake[browser,remote] in the selnium directory
(where "browser" specifies the browser you want to use for the tests, e.g. "firefox")
View
3  repo/tests/selenium/configuration.yml.sample
@@ -1,6 +1,7 @@
DEFAULT_BROWSER: "firefox"
SUPPORTED_BROWSERS: ["firefox", "chrome", "ie"]
- WIKI_URL: "http://localhost/wiki/"
+ WIKI_REPO_URL: "http://localhost/wikidata-repo/"
+ WIKI_CLIENT_URL: "http://localhost/wikidata-client/"
WIKI_USELANG: "en"
WIKI_SKIN: "vector" # "vector" "monobook"
WIKI_USERNAME: "Username"
View
2  repo/tests/selenium/lib/pages/blockuser_page.rb
@@ -9,7 +9,7 @@
class BlockUserPage
include PageObject
- page_url WIKI_URL + 'index.php?title=Special:Block'
+ page_url WIKI_REPO_URL + 'index.php?title=Special:Block'
text_field(:block_username, :id => 'mw-bi-target')
text_field(:expire_time, :id => 'mw-input-wpExpiry-other')
button(:block, :class => 'mw-htmlform-submit')
View
2  repo/tests/selenium/lib/pages/login_page.rb
@@ -9,7 +9,7 @@
class LoginPage
include PageObject
- page_url WIKI_URL + 'index.php?title=Special:UserLogin'
+ page_url WIKI_REPO_URL + 'index.php?title=Special:UserLogin'
text_field(:username, :id => 'wpName1')
text_field(:password, :id => 'wpPassword1')
button(:login, :id => 'wpLoginAttempt')
View
2  repo/tests/selenium/lib/pages/new_item_page.rb
@@ -10,7 +10,7 @@
class NewItemPage < ItemPage
include PageObject
- page_url WIKI_URL + "index.php/Special:CreateItem"
+ page_url WIKI_REPO_URL + "index.php/Special:CreateItem"
@@item_url = ""
@@item_id = ""
View
2  repo/tests/selenium/lib/pages/noexisting_item_page.rb
@@ -10,7 +10,7 @@
class NonExistingItemPage < RubySelenium
include PageObject
- page_url WIKI_URL + "index.php/Data:Qxy"
+ page_url WIKI_REPO_URL + "index.php/Data:Qxy"
span(:firstHeading, :xpath => "//h1[@id='firstHeading']/span")
link(:specialLogLink, :css => "div#mw-content-text > div > p > span > a:nth-child(1)")
View
2  repo/tests/selenium/lib/pages/recent_changes_page.rb
@@ -8,7 +8,7 @@
class RecentChangesPage < NewItemPage
include PageObject
- page_url WIKI_URL + "index.php/Special:RecentChanges"
+ page_url WIKI_REPO_URL + "index.php/Special:RecentChanges"
unordered_list(:recentChanges, :class => "special")
span(:firstResultLabelSpan, :class => "wb-itemlink-label")
span(:firstResultIdSpan, :class => "wb-itemlink-id")
View
2  repo/tests/selenium/lib/pages/search_page.rb
@@ -8,7 +8,7 @@
class SearchPage < NewItemPage
include PageObject
- page_url WIKI_URL + "index.php/Special:Search"
+ page_url WIKI_REPO_URL + "index.php/Special:Search"
text_field(:searchText, :id => "searchText")
button(:searchSubmit, :text => "Search")
div(:searchResultDiv, :class => "searchresults")
View
2  repo/tests/selenium/lib/pages/unblockuser_page.rb
@@ -9,7 +9,7 @@
class UnblockUserPage
include PageObject
- page_url WIKI_URL + 'index.php?title=Special:Unblock'
+ page_url WIKI_REPO_URL + 'index.php?title=Special:Unblock'
text_field(:unblock_username, :id => 'mw-input-wpTarget')
button(:unblock, :class => 'mw-htmlform-submit')
View
5 repo/tests/selenium/spec/spec_helper.rb
@@ -57,10 +57,7 @@
end
def ajax_wait
- # TODO: forced sleep for chrome & opera ('cause jQuery.active not working) is not that nice => investigate other possibilities
- if (ENV["BROWSER_TYPE"] == "chrome") || (ENV["BROWSER_TYPE"] == "opera") || (ENV["BROWSER_TYPE"] == "ie")
- sleep 1
- end
+ sleep 1
while (script = @browser.execute_script("return jQuery.active")) == 1 do
sleep(1.0/3)
end

No commit comments for this range

Something went wrong with that request. Please try again.