Phuedx has uploaded a new change for review. https://gerrit.wikimedia.org/r/161969
Change subject: Remove unused code/messages ...................................................................... Remove unused code/messages Remove the following: * Unused category-based tasks * GettingStarted.i18n.php shim * GettingStartedNavbarNoArticle instrumentation * Anonymous Editor Acquisition controller and tours * "getting started" revision tagging * GettingStarted\Hooks::hasEditedMainNamespace method Change-Id: I9ec9b0295acd51ad37f227182f65f47aad3d3c1b --- D GettingStarted.i18n.php M GettingStarted.php M Hooks.php M i18n/ast.json M i18n/br.json M i18n/ca.json M i18n/ce.json M i18n/de.json M i18n/en.json M i18n/es.json M i18n/fa.json M i18n/fi.json M i18n/fr.json M i18n/gl.json M i18n/he.json M i18n/it.json M i18n/ko.json M i18n/lb.json M i18n/mk.json M i18n/ml.json M i18n/ms.json M i18n/mt.json M i18n/nl.json M i18n/pl.json M i18n/pt-br.json M i18n/pt.json M i18n/qqq.json M i18n/ru.json M i18n/sv.json M i18n/uk.json M i18n/vi.json M i18n/zh-hans.json M i18n/zh-hant.json D resources/ext.gettingstarted.anonymousEditorAcquisition.js M resources/ext.gettingstarted.return.js D resources/tours/anonymouseditoracquisitionpreeditv1.js D resources/tours/anonymouseditoracquisitionpreeditv2.js 37 files changed, 0 insertions(+), 710 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/GettingStarted refs/changes/69/161969/1 diff --git a/GettingStarted.i18n.php b/GettingStarted.i18n.php deleted file mode 100644 index c2006ab..0000000 --- a/GettingStarted.i18n.php +++ /dev/null @@ -1,35 +0,0 @@ -<?php -/** - * This is a backwards-compatibility shim, generated by: - * https://git.wikimedia.org/blob/mediawiki%2Fcore.git/HEAD/maintenance%2FgenerateJsonI18n.php - * - * Beginning with MediaWiki 1.23, translation strings are stored in json files, - * and the EXTENSION.i18n.php file only exists to provide compatibility with - * older releases of MediaWiki. For more information about this migration, see: - * https://www.mediawiki.org/wiki/Requests_for_comment/Localisation_format - * - * This shim maintains compatibility back to MediaWiki 1.17. - */ -$messages = array(); -if ( !function_exists( 'wfJsonI18nShimf34dc99382764a55' ) ) { - function wfJsonI18nShimf34dc99382764a55( $cache, $code, &$cachedData ) { - $codeSequence = array_merge( array( $code ), $cachedData['fallbackSequence'] ); - foreach ( $codeSequence as $csCode ) { - $fileName = dirname( __FILE__ ) . "/i18n/$csCode.json"; - if ( is_readable( $fileName ) ) { - $data = FormatJson::decode( file_get_contents( $fileName ), true ); - foreach ( array_keys( $data ) as $key ) { - if ( $key === '' || $key[0] === '@' ) { - unset( $data[$key] ); - } - } - $cachedData['messages'] = array_merge( $data, $cachedData['messages'] ); - } - - $cachedData['deps'][] = new FileDependency( $fileName ); - } - return true; - } - - $GLOBALS['wgHooks']['LocalisationCacheRecache'][] = 'wfJsonI18nShimf34dc99382764a55'; -} diff --git a/GettingStarted.php b/GettingStarted.php index 16ba0e3..ea8a6bf 100644 --- a/GettingStarted.php +++ b/GettingStarted.php @@ -29,14 +29,6 @@ 'copyedit' => array( 'toolbarDescription' => 'gettingstarted-task-copyedit-toolbar-description', 'toolbarTryAnotherTitle' => 'gettingstarted-task-copyedit-toolbar-try-another-title', - ), - 'clarify' => array( - 'toolbarDescription' => 'gettingstarted-task-clarify-toolbar-description', - 'toolbarTryAnotherTitle' => 'gettingstarted-task-clarify-toolbar-try-another-title', - ), - 'addlinks' => array( - 'toolbarDescription' => 'gettingstarted-task-addlinks-toolbar-description', - 'toolbarTryAnotherTitle' => 'gettingstarted-task-addlinks-toolbar-try-another-title', ) ); @@ -99,7 +91,6 @@ ); $wgMessagesDirs['GettingStarted'] = __DIR__ . '/i18n'; -$wgExtensionMessagesFiles[ 'GettingStarted' ] = __DIR__ . '/GettingStarted.i18n.php'; // APIs $wgAPIListModules['gettingstartedgetpages'] = 'GettingStarted\ApiGettingStartedGetPages'; @@ -110,12 +101,6 @@ $gettingStartedModuleInfo = array( 'localBasePath' => __DIR__ . '/resources', 'remoteExtPath' => 'GettingStarted/resources', -); - -$wgResourceModules[ 'schema.GettingStartedNavbarNoArticle' ] = array( - 'class' => 'ResourceLoaderSchemaModule', - 'schema' => 'GettingStartedNavbarNoArticle', - 'revision' => 5483117 ); $wgResourceModules[ 'schema.GettingStartedRedirectImpression' ] = array( @@ -341,53 +326,6 @@ ), ) + $gettingStartedModuleInfo; -// Tours for the Anonymous Editor Acquisition project (see -// https://www.mediawiki.org/wiki/Anonymous_editor_acquisition). - -$anonymousEditorAcquisitionPreEditTourInfo = array( - 'dependencies' => array( - 'ext.gettingstarted.anonymousEditorAcquisition', - 'ext.guidedTour', - 'schema.SignupExpCTAImpression', - ), -) + $gettingStartedModuleInfo; - -$wgResourceModules[ 'ext.guidedTour.tour.anonymouseditoracquisitionpreeditv1' ] = array( - 'scripts' => 'tours/anonymouseditoracquisitionpreeditv1.js', - 'messages' => array( - 'guidedtour-tour-anonymouseditoracquisitionpreeditv1-title', - 'guidedtour-tour-anonymouseditoracquisitionpreeditv1-description', - 'guidedtour-tour-anonymouseditoracquisitionpreeditv1-sign-up', - 'guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue', - ), -) + $anonymousEditorAcquisitionPreEditTourInfo; - -$wgResourceModules[ 'ext.guidedTour.tour.anonymouseditoracquisitionpreeditv2' ] = array( - 'scripts' => 'tours/anonymouseditoracquisitionpreeditv2.js', - 'messages' => array( - 'guidedtour-tour-anonymouseditoracquisitionpreeditv2-title', - 'guidedtour-tour-anonymouseditoracquisitionpreeditv2-description', - 'guidedtour-tour-anonymouseditoracquisitionpreeditv2-sign-up', - 'guidedtour-tour-anonymouseditoracquisitionpreeditv2-continue', - ), -) + $anonymousEditorAcquisitionPreEditTourInfo; - -$wgResourceModules[ 'ext.gettingstarted.anonymousEditorAcquisition' ] = array( - 'scripts' => 'ext.gettingstarted.anonymousEditorAcquisition.js', - 'dependencies' => array( - 'mediawiki.Title', - 'mediawiki.Uri', - 'mediawiki.cookie', - 'ext.gettingstarted.user', - 'ext.gettingstarted.logging', - 'schema.SignupExpPageLinkClick', - 'schema.SignupExpCTAButtonClick', - 'ext.guidedTour.launcher', - ), -) + $gettingStartedModuleInfo; - - - // Events for the Anonymous Edit Acquisition project. $wgResourceModules[ 'schema.SignupExpPageLinkClick' ] = array( @@ -444,7 +382,6 @@ $wgDefaultUserOptions[ GettingStarted\Hooks::INTRO_OPTION ] = true; $wgHooks[ 'BeforePageDisplay' ][] = 'GettingStarted\Hooks::onBeforePageDisplay'; -$wgHooks[ 'RecentChange_save' ][] = 'GettingStarted\Hooks::onRecentChange_save'; $wgHooks[ 'CategoryAfterPageAdded' ][] = 'GettingStarted\RedisCategorySync::onCategoryAfterPageAdded'; $wgHooks[ 'CategoryAfterPageRemoved' ][] = 'GettingStarted\RedisCategorySync::onCategoryAfterPageRemoved'; $wgHooks[ 'ArticleDeleteComplete' ][] = 'GettingStarted\RedisCategorySync::onArticleDeleteComplete'; diff --git a/Hooks.php b/Hooks.php index 79c099b..7d9450b 100644 --- a/Hooks.php +++ b/Hooks.php @@ -299,70 +299,9 @@ return true; } - /** - * Look for page edits where there's an item in the user's openTask cookie - * matching the title whose task is 'gettingstarted' - * Approach comes from AbuseFilter and MobileFrontend extensions. - * @param RecentChange $recentChange RecentChanges entry - * @return bool - */ - public static function onRecentChange_save( \RecentChange $recentChange ) { - global $wgRequest; - - if ( $recentChange->getAttribute( 'rc_type' ) !== RC_EDIT ) { - return true; - } - - $titleObj = $recentChange->getTitle(); - $task = self::getPageTask( $wgRequest, $titleObj ); - - // When they are assisted by GettingStarted, a cookie with that title - // is set. All edits to the page are then tagged, until the cookie - // expires at the end of the browser session. - if ( strpos( $task, 'gettingstarted' ) === 0 || - strpos( $task, 'redirect' ) === 0 ) { - \ChangeTags::addTags( - 'gettingstarted edit', - $recentChange->getAttribute( 'rc_id' ), - $recentChange->getAttribute( 'rc_this_oldid' ), - $recentChange->getAttribute( 'rc_logid' ) - ); - } - return true; - } - public static function onListDefinedTags( &$tags ) { $tags[] = 'gettingstarted edit'; return true; - } - - /** - * Checks if they have edited the main namespace - * - * @param User $user user to check - * @return true if they have, false otherwise - */ - protected static function hasEditedMainNamespace( User $user ) { - global $wgRequest; - - $api = new \ApiMain( - new \DerivativeRequest( - $wgRequest, - array( - 'action' => 'query', - 'list' => 'usercontribs', - 'ucuser' => $user->getName(), - 'uclimit' => 1, - 'ucnamespace' => NS_MAIN, - ), - false // not posted - ), - false // disable write - ); - - $api->execute(); - $result = $api->getResultData(); - return isset( $result['query']['usercontribs'] ) && count( $result['query']['usercontribs'] ) >= 1; } public static function onGetPreferences( User $user, array &$preferences ) { diff --git a/i18n/ast.json b/i18n/ast.json index 515b65a..02bd858 100644 --- a/i18n/ast.json +++ b/i18n/ast.json @@ -42,14 +42,6 @@ "gettingstarted-cta-fix-pages": "Editar una páxina suxerida", "gettingstarted-cta-fix-pages-sub": "Escoyeremos daqué cenciello", "gettingstarted-cta-leave": "Non gracies, seique más sero", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-title": "Crea una cuenta pa editar {{SITENAME}}", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-description": "Recomendamos que crees una cuenta pa editar {{SITENAME}}. Ye de baldre, fácil, y nun requier información personal.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-sign-up": "Crear una cuenta y editar", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue": "Non, gracies", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-title": "Rexistrase o siguir editando", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-description": "Nun fai falta rexistrase pa editar en {{SITENAME}}, pero ye fácil y nun se necesita nenguna información personal.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-sign-up": "Date d'alta", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-continue": "Siguir editando", "gettingstarted-task-toolbar-try-another-text-wikipedia": "Probar con otru artículu ►", "gettingstarted-task-toolbar-no-suggested-page-wikipedia": "Sentímoslo. Nun pudimos atopar más artículos qu'ameyorar nesti momentu. Vuelvi a intentalo nunos momentos o busca los temes que t'interesen.", "gettingstarted-task-copyedit-toolbar-description-wikipedia": "Esti artículu pue tener errores ortográficos o gramaticales que pues iguar.", diff --git a/i18n/br.json b/i18n/br.json index 4a00e15..4d5542c 100644 --- a/i18n/br.json +++ b/i18n/br.json @@ -30,12 +30,6 @@ "gettingstarted-cta-fix-pages": "Kavout pajennoù o deus ezhomm eus reizhadennoù eeun", "gettingstarted-cta-fix-pages-sub": "Tapout a raimp un dra bennak a aes", "gettingstarted-cta-leave": "Ket, diwezhatoc'h marteze", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-title": "En em enskrivit evit aozañ {{SITENAME}}", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-sign-up": "En em enskrivañ hag aozañ", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue": "Ne'm bo ket", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-title": "En em enskrivañ pe derc'hel da aozañ", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-sign-up": "En em enskrivañ", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-continue": "Kenderc'hel da aozañ", "gettingstarted-task-toolbar-try-another-text-wikipedia": "Esaeañ ur pennad all ►", "gettingstarted-task-clarify-toolbar-try-another-title-wikipedia": "Mont d'ur pennad bennak hag a c'hallit sklaeraat", "gettingstarted-task-addlinks-toolbar-try-another-title-wikipedia": "Mont d'ur pennad bennak hag a c'hallit ouzhpennañ liammoù dezhañ", diff --git a/i18n/ca.json b/i18n/ca.json index cd6c513..3469342 100644 --- a/i18n/ca.json +++ b/i18n/ca.json @@ -46,14 +46,6 @@ "gettingstarted-cta-fix-pages": "Edita una pàgina suggerida.", "gettingstarted-cta-fix-pages-sub": "Triarem alguna cosa fàcil", "gettingstarted-cta-leave": "No, gràcies, potser més endavant", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-title": "Registreu-vos per modificar {{SITENAME}}", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-description": "Us recomanem que creeu un compte per modificar {{SITENAME}}. És gratuït, fàcil i no requereix cap informació personal.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-sign-up": "Registra'm i modifica", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue": "No, gràcies", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-title": "Registrar-se o continuar modificant", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-description": "Registrar-se no és necessari per modificar {{SITENAME}}, però és fàcil i no requereix cap informació personal.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-sign-up": "Registra'm", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-continue": "Continua l'edició", "gettingstarted-task-toolbar-try-another-text-wikipedia": "Prova un altre article ►", "gettingstarted-task-toolbar-no-suggested-page-wikipedia": "Disculpes. No hem pogut trobar més articles a millorar ara mateix. Intenteu-ho de nou en uns moments o cerqueu els vostres temes d'interès.", "gettingstarted-task-copyedit-toolbar-description-wikipedia": "Aquest article pot tenir errors d'ortografia o gramàtica que podeu corregir.", diff --git a/i18n/ce.json b/i18n/ce.json index 537b041..59e3fc7 100644 --- a/i18n/ce.json +++ b/i18n/ce.json @@ -13,7 +13,6 @@ "gettingstarted-cta-edit-page": "Нисъе хӀара агӀо", "gettingstarted-cta-edit-page-sub": "Оха гойтур ду муха", "gettingstarted-cta-fix-pages-sub": "Оха гойтур ду муха тайо", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-sign-up": "ДӀаяздар кхоллар", "gettingstarted-lightbulb-notification-body": "Тера яззам табан.", "gettingstarted-lightbulb-notification-body-lastedited": "Тайина $1", "gettingstarted-lightbulb-recommendations-personal-tool": "Рекомендацеш", diff --git a/i18n/de.json b/i18n/de.json index 7b4ebc7..a4f4e42 100644 --- a/i18n/de.json +++ b/i18n/de.json @@ -45,14 +45,6 @@ "gettingstarted-cta-fix-pages": "Eine vorgeschlagene Seite bearbeiten", "gettingstarted-cta-fix-pages-sub": "Wir werden etwas einfaches auswählen", "gettingstarted-cta-leave": "Nein danke, vielleicht später.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-title": "Zur Bearbeitung von {{SITENAME}} registrieren", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-description": "Wir empfehlen dir, zum Bearbeiten von {{SITENAME}} ein Benutzerkonto zu erstellen. Es ist kostenlos, leicht und erfordert keine persönlichen Informationen.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-sign-up": "Registrieren und bearbeiten", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue": "Nein danke", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-title": "Registrieren oder mit dem Bearbeiten fortfahren", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-description": "Registrieren ist zum Bearbeiten von {{SITENAME}} nicht erforderlich, ist jedoch einfach und erfordert keine persönlichen Informationen.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-sign-up": "Registrieren", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-continue": "Mit dem Bearbeiten fortfahren", "gettingstarted-task-toolbar-try-another-text-wikipedia": "Einen anderen Artikel versuchen ►", "gettingstarted-task-toolbar-no-suggested-page-wikipedia": "Leider konnten wir derzeit keine weiteren Artikel zur Verbesserung finden. Versuche es bald erneut oder suche nach deinen eigenen Interessensgebieten.", "gettingstarted-task-copyedit-toolbar-description-wikipedia": "Dieser Artikel könnte Rechtschreib- oder Grammatikfehler haben, die du korrigieren kannst.", diff --git a/i18n/en.json b/i18n/en.json index f076531..2a7decc 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -42,14 +42,6 @@ "gettingstarted-cta-fix-pages": "Edit a suggested page", "gettingstarted-cta-fix-pages-sub": "We'll pick something easy", "gettingstarted-cta-leave": "No thanks, maybe later", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-title": "Sign up to edit {{SITENAME}}", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-description": "We recommend you create an account to edit {{SITENAME}}. It's free, easy, and requires no personal information.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-sign-up": "Sign up and edit", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue": "No thanks", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-title": "Sign up or continue editing", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-description": "Signing up is not required to edit {{SITENAME}}, but it's easy and requires no personal information.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-sign-up": "Sign up", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-continue": "Continue editing", "gettingstarted-task-toolbar-try-another-text-wikipedia": "Try another article ►", "gettingstarted-task-toolbar-no-suggested-page-wikipedia": "Sorry. We couldn't find more articles to be improved at the moment. Try again in a moment or search for your own topics of interest.", "gettingstarted-task-copyedit-toolbar-description-wikipedia": "This article may have spelling or grammar errors you can fix.", diff --git a/i18n/es.json b/i18n/es.json index 35fc6d5..7346c48 100644 --- a/i18n/es.json +++ b/i18n/es.json @@ -54,14 +54,6 @@ "gettingstarted-cta-fix-pages": "Edita una página sugerida", "gettingstarted-cta-fix-pages-sub": "Elegiremos algo sencillo", "gettingstarted-cta-leave": "No gracias, tal vez luego", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-title": "Regístrate para editar {{SITENAME}}", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-description": "Te recomendamos crear una cuenta para editar {{SITENAME}}. Es fácil, gratis y no necesitas proporcionar información personal.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-sign-up": "Regístrate para editar", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue": "No, gracias", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-title": "Regístrate o continúa editando", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-description": "No necesitas registrarte para editar en {{SITENAME}}, pero es fácil y no se requiere ningún dato personal.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-sign-up": "Regístrate", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-continue": "Continuar editando", "gettingstarted-task-toolbar-try-another-text-wikipedia": "Prueba con otro artículo ►", "gettingstarted-task-toolbar-no-suggested-page-wikipedia": "No pudimos encontrar más artículos que mejorar en este momento. Puedes intentarlo de nuevo más tarde o buscar artículos sobre tus temas de interés.", "gettingstarted-task-copyedit-toolbar-description-wikipedia": "Este artículo podría tener errores gramaticales o de ortografía que puedes arreglar.", diff --git a/i18n/fa.json b/i18n/fa.json index 6bca1c5..bfd423c 100644 --- a/i18n/fa.json +++ b/i18n/fa.json @@ -50,14 +50,6 @@ "gettingstarted-cta-fix-pages": "ویرایش یک صفحۀ پیشنهادی", "gettingstarted-cta-fix-pages-sub": "ما چیزی ساده انتخاب میکنیم", "gettingstarted-cta-leave": "نه متشکرم، شاید بعداً", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-title": "ثبتنام برای ویرایش {{SITENAME}}", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-description": "ما توصیه میکنیم حسابی برای ویرایش در {{SITENAME}} بسازید. این کار رایگان است، ساده است و هیچ اطلاعات شخصی نیاز ندارد.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-sign-up": "ثبت نام و ویرایش", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue": "نه، ممنون", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-title": "ثبت نام یا ادامۀ ویرایش", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-description": "ثبتنام برای ویرایش {{SITENAME}} نیاز نیست ولی ساده است و نیازمند اطلاعات شخصی نیست.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-sign-up": "ثبت نام", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-continue": "ادامه دادن به ویرایش", "gettingstarted-task-toolbar-try-another-text-wikipedia": "مقالهٔ دیگری را بیازمایید ◄", "gettingstarted-task-toolbar-no-suggested-page-wikipedia": "شرمنده. نمیتوانیم مقالههای بیشتری را برای بهبود بیابیم. چند لحظه دیگر بیازمایید یا برای عناوین مورد علاقهیتان جستجو کنید.", "gettingstarted-task-copyedit-toolbar-description-wikipedia": "این مقالهٔ ممکن است مشکلات املائی یا گرامری داشته باشد که میتوانید اصلاح کنید.", diff --git a/i18n/fi.json b/i18n/fi.json index 56a7111..548e69a 100644 --- a/i18n/fi.json +++ b/i18n/fi.json @@ -43,7 +43,6 @@ "gettingstarted-cta-fix-pages": "Muokkaa ehdotettua sivua", "gettingstarted-cta-fix-pages-sub": "Valitsemme jotain helppoa", "gettingstarted-cta-leave": "Ei kiitos, ehkä myöhemmin", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue": "Ei kiitos", "gettingstarted-lightbulb-flyout-back": "Takaisin", "gettingstarted-lightbulb-flyout-next": "Seuraava", "gettingstarted-lightbulb-flyout-error-state-secondary-text-no-recommendations": "Yritä uudelleen.", diff --git a/i18n/fr.json b/i18n/fr.json index 093669f..0b50d87 100644 --- a/i18n/fr.json +++ b/i18n/fr.json @@ -54,14 +54,6 @@ "gettingstarted-cta-fix-pages": "Modifier une page suggérée", "gettingstarted-cta-fix-pages-sub": "Nous allons choisir quelque chose de facile", "gettingstarted-cta-leave": "Non merci, peut-être plus tard", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-title": "Inscrivez-vous pour modifier {{SITENAME}}", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-description": "Nous vous recommandons de créer un compte pour modifier {{SITENAME}}. C’est gratuit, facile et ne nécessite aucune information personnelle.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-sign-up": "Inscrivez-vous et modifiez", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue": "Non merci", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-title": "S’inscrire ou continuer à modifier", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-description": "S’inscrire n’est pas obligatoire pour modifier {{SITENAME}}, mais c’est facile et ne demande aucune information personnelle.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-sign-up": "S’inscrire", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-continue": "Continuer l'édition", "gettingstarted-task-toolbar-try-another-text-wikipedia": "Essayer un autre article ►", "gettingstarted-task-toolbar-no-suggested-page-wikipedia": "Désolé. Nous ne trouvons pas d'autre page à améliorer pour l’instant. Réessayez dans un moment ou recherchez vos propres centres d’intérêt.", "gettingstarted-task-copyedit-toolbar-description-wikipedia": "Cette page peut comporter des erreurs d’orthographe ou de grammaire que vous pouvez corriger.", diff --git a/i18n/gl.json b/i18n/gl.json index 38401a4..f042b28 100644 --- a/i18n/gl.json +++ b/i18n/gl.json @@ -43,14 +43,6 @@ "gettingstarted-cta-fix-pages": "Edite unha páxina suxerida", "gettingstarted-cta-fix-pages-sub": "Elixiremos algo doado", "gettingstarted-cta-leave": "Non grazas, quizais logo", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-title": "Rexístrese para editar {{SITENAME}}", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-description": "Recomendámoslle que cree unha conta para editar {{SITENAME}}. É gratuíta, doada de facer e non necesita información persoal.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-sign-up": "Rexistrarse e editar", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue": "Non, grazas", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-title": "Rexistrarse ou continuar editando", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-description": "Non é necesario rexistrarse para editar {{SITENAME}}, pero é doado de facer e non necesita información persoal.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-sign-up": "Rexistrarse", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-continue": "Continuar editando", "gettingstarted-task-toolbar-try-another-text-wikipedia": "Probar outro artigo ►", "gettingstarted-task-toolbar-no-suggested-page-wikipedia": "Sentímolo. Nestes intres, non puidemos atopar máis artigos que mellorar. Inténteo de novo máis tarde ou busque entre os temas que lle interesen.", "gettingstarted-task-copyedit-toolbar-description-wikipedia": "Este artigo pode ter erros ortográficos ou gramaticais que vostede pode corrixir.", diff --git a/i18n/he.json b/i18n/he.json index 281e607..81f7f4a 100644 --- a/i18n/he.json +++ b/i18n/he.json @@ -49,14 +49,6 @@ "gettingstarted-cta-fix-pages": "לערוך דף מוצע", "gettingstarted-cta-fix-pages-sub": "אנחנו נבחר משהו פשוט", "gettingstarted-cta-leave": "לא תודה, אולי מאוחר יותר", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-title": "נא להירשם כדי לערוך את {{SITENAME}}", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-description": "אנחנו ממליצים ליצור חשבון כדי לערוך את {{SITENAME}}. זה חינם, זה קל וזה לא דורש חשיפה של שום מידע אישי.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-sign-up": "להירשם ולערוך", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue": "לא תודה", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-title": "להירשם או להמשיך לערוך", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-description": "הרישום אינו נדרש כדי להמשיך לערוך את {{SITENAME}}, אבל זה קל ולא דורש מידע אישי.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-sign-up": "רישום", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-continue": "המשך עריכה", "gettingstarted-task-toolbar-try-another-text-wikipedia": "לנסות ערך אחר ◄", "gettingstarted-task-toolbar-no-suggested-page-wikipedia": "סליחה. לא מצאנו עוד ערכים שאפשר לשפר עכשיו. אפשר לנסות שום בעוד רגע או לחפש נושאים שמעניינים אותך.", "gettingstarted-task-copyedit-toolbar-description-wikipedia": "ייתכן שהערך הזה מכיל שגיאות איות ודקדוק שביכולתך לתקן.", diff --git a/i18n/it.json b/i18n/it.json index fa725fa..4eb4d63 100644 --- a/i18n/it.json +++ b/i18n/it.json @@ -46,14 +46,6 @@ "gettingstarted-cta-fix-pages": "Modifica una pagina suggerita", "gettingstarted-cta-fix-pages-sub": "Ti sceglieremo qualcosa di facile", "gettingstarted-cta-leave": "No grazie, forse più tardi", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-title": "Registrati per modificare {{SITENAME}}", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-description": "Si consiglia di registrarsi per modificare {{SITENAME}}. È gratuito e facile; non richiede alcuna informazione personale.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-sign-up": "Registrati e modifica", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue": "No, grazie", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-title": "Registrati o continua a modificare", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-description": "La registrazione non è obbligatoria per modificare {{SITENAME}}, ma è facile e non richiede informazioni personali.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-sign-up": "Registrati", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-continue": "Prosegui nella modifica", "gettingstarted-task-toolbar-try-another-text-wikipedia": "Prova con un'altra voce ►", "gettingstarted-task-toolbar-no-suggested-page-wikipedia": "Spiacenti, non troviamo voci da migliorare al momento. Prova un'altra volta o cerca un argomento di tuo interesse.", "gettingstarted-task-copyedit-toolbar-description-wikipedia": "Questa voce potrebbe avere errori ortografici o grammaticali che puoi risolvere.", diff --git a/i18n/ko.json b/i18n/ko.json index 7ed37f2..ffd7b1a 100644 --- a/i18n/ko.json +++ b/i18n/ko.json @@ -47,13 +47,6 @@ "gettingstarted-cta-fix-pages": "제안된 문서 편집하기", "gettingstarted-cta-fix-pages-sub": "쉬운 예를 보여드리겠습니다.", "gettingstarted-cta-leave": "괜찮습니다. 나중에요.", - "guidedtour-tour-anonymouseditoracquisitionpreedit-title": "{{SITENAME}} 편집을 위해 계정을 만들기", - "guidedtour-tour-anonymouseditoracquisitionpreedit-description": "{{SITENAME}}을(를) 편집하기 위해 계정을 만드실 것을 추천합니다. 계정 생성은 무료이고 쉬우며, 어떤 개인 정보도 요구하지 않습니다.", - "guidedtour-tour-anonymouseditoracquisitionpreedit-sign-up": "계정을 만들고 편집하기", - "guidedtour-tour-anonymouseditoracquisitionpreedit-continue": "괜찮습니다", - "guidedtour-tour-anonymouseditoracquisitionpostedit-title": "{{SITENAME}}에 가입하세요", - "guidedtour-tour-anonymouseditoracquisitionpostedit-description": "계정을 만드시면 다음을 하실 수 있습니다:\n<ul>\n<li>자신의 기여 확인하기</li>\n<li>주시 문서의 바뀐 점 확인하기</li>\n<li>다른 위키백과 편집자들과 대화하기</li>\n<li>새로운 기능에 대한 더 빠른 사용</li>\n</ul>", - "guidedtour-tour-anonymouseditoracquisitionpostedit-continue": "계정 만들기", "gettingstarted-task-toolbar-try-another-text-wikipedia": "다른 문서 시도 ►", "gettingstarted-task-toolbar-no-suggested-page-wikipedia": "죄송합니다. 지금은 개선할 다른 문서를 찾을 수 없습니다. 잠시 후에 다시 시도하거나 자신이 관심있는 주제를 찾아보십시오.", "gettingstarted-task-copyedit-toolbar-description-wikipedia": "이 문서는 철자나 문법 오류가 있으며, 지금 바로 수정하실 수 있습니다.", diff --git a/i18n/lb.json b/i18n/lb.json index caa17e0..b5a31b9 100644 --- a/i18n/lb.json +++ b/i18n/lb.json @@ -43,9 +43,6 @@ "gettingstarted-cta-fix-pages": "Eng proposéiert Säit änneren", "gettingstarted-cta-fix-pages-sub": "Mir huelen eppes Einfaches", "gettingstarted-cta-leave": "Nee merci, vläicht méi spéit", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-title": "Schreift Iech a fir op {{SITENAME}} z'änneren", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-sign-up": "Aschreiwen an Änneren", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue": "Nee, merci", "gettingstarted-task-toolbar-try-another-text-wikipedia": "Probéiert en aneren Artikel ►", "gettingstarted-task-copyedit-toolbar-description-wikipedia": "An dësem Artikel si méiglecherweis Schreif- a grammatesch Feeler déi Dir verbessere kënnt.", "gettingstarted-task-clarify-toolbar-description-wikipedia": "Dësen Artikel ass méiglecherweis konfus oder vague. Kuckt no Weeër wéi Dir e méi kloer maache kënnt.", diff --git a/i18n/mk.json b/i18n/mk.json index b322d8e..282fece 100644 --- a/i18n/mk.json +++ b/i18n/mk.json @@ -42,14 +42,6 @@ "gettingstarted-cta-fix-pages": "Уредете предложена страница", "gettingstarted-cta-fix-pages-sub": "Ќе одбереме нешто лесно", "gettingstarted-cta-leave": "Не благодарам. Можеби подоцна.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-title": "Најавете се за да ја уредувате {{SITENAME}}", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-description": "Ви препорачуваме да направите сметка за да уредувате на {{SITENAME}}. Беплатно е, лесно е и не бара да внесувате никакви лични податоци.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-sign-up": "Регистрирајте се и уредувајте.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue": "Не, благодарам", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-title": "Регистрирајте се или продолжете со уредување", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-description": "Не мора да се регистрирате за да уредувате на {{SITENAME}}, но тоа е многу лесно и не ви бара никакви лични податоци.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-sign-up": "Регистрација", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-continue": "Продолжете со уредување", "gettingstarted-task-toolbar-try-another-text-wikipedia": "Пробајте друга статија ►", "gettingstarted-task-toolbar-no-suggested-page-wikipedia": "Нажалост, не можев да најдам уште статии за подобрување. Обидете се малку подоцна или пребарајте теми што ве интересираат.", "gettingstarted-task-copyedit-toolbar-description-wikipedia": "Статијава може да има правописни или граматички грешки што можете да ги поправите.", diff --git a/i18n/ml.json b/i18n/ml.json index ac5f345..332b92e 100644 --- a/i18n/ml.json +++ b/i18n/ml.json @@ -42,13 +42,6 @@ "gettingstarted-cta-fix-pages": "നിർദ്ദേശിക്കുന്ന താൾ തിരുത്തുക", "gettingstarted-cta-fix-pages-sub": "എളുപ്പമുള്ള ഒന്ന് ഞങ്ങൾ എടുത്തുതരാം", "gettingstarted-cta-leave": "ഇപ്പോൾ വേണ്ട, പിന്നീടാകട്ടെ", - "guidedtour-tour-anonymouseditoracquisitionpreedit-title": "{{SITENAME}} തിരുത്താൻ അംഗത്വമെടുക്കുക", - "guidedtour-tour-anonymouseditoracquisitionpreedit-description": "{{SITENAME}} തിരുത്താൻ താങ്കൾ ഒരംഗത്വമെടുക്കണമെന്ന് ഞങ്ങൾ താത്പര്യപ്പെടുന്നു. അത് സൗജന്യവും, ലളിതവും, വ്യക്തിവിവരങ്ങളൊന്നും ആവശ്യമില്ലാത്തതുമാണ്.", - "guidedtour-tour-anonymouseditoracquisitionpreedit-sign-up": "അംഗത്വമെടുക്കുക, തിരുത്തുക", - "guidedtour-tour-anonymouseditoracquisitionpreedit-continue": "വേണ്ട, നന്ദി", - "guidedtour-tour-anonymouseditoracquisitionpostedit-title": "{{SITENAME}} സംരംഭത്തിൽ ചേരുക", - "guidedtour-tour-anonymouseditoracquisitionpostedit-description": "തിരുത്താനായി അംഗത്വമെടുക്കുന്നതുവഴി താങ്കൾക്ക്:\n<ul>\n<li>താങ്കളുടെ സംഭാവനകളെന്തൊക്കെയെന്ന് പരിശോധിക്കാം</li>\n<li>പ്രിയപ്പെട്ട താളുകളിലെ മാറ്റങ്ങളൊക്കെയും പിന്തുടരാം</li>\n<li>മറ്റ് വിക്കിപീഡിയ ഉപയോക്താക്കളുമായി ബന്ധപ്പെടാം</li>\n<li>പുതിയ സവിശേഷതകൾ നേരത്തേ പരിചയപ്പെടാം</li>\n</ul>", - "guidedtour-tour-anonymouseditoracquisitionpostedit-continue": "എന്റെ അംഗത്വം സൃഷ്ടിക്കുക", "gettingstarted-task-toolbar-try-another-text-wikipedia": "മറ്റൊരു ലേഖനം പരീക്ഷിക്കുക ►", "gettingstarted-task-toolbar-no-suggested-page-wikipedia": "ക്ഷമിക്കണം. ഇപ്പോൾ മെച്ചപ്പെടുത്താനുള്ള കൂടുതൽ ലേഖനങ്ങൾ കണ്ടെടുക്കാനായില്ല. അല്പസമയത്തിനു ശേഷം വീണ്ടും ശ്രമിക്കുക അല്ലെങ്കിൽ താങ്കൾക്ക് താത്പര്യമുള്ളവയ്ക്കായി തിരയുക.", "gettingstarted-task-copyedit-toolbar-description-wikipedia": "ഈ ലേഖനത്തിൽ താങ്കൾക്ക് ശരിയാക്കാനാവുന്ന അക്ഷരപിശകുകളോ വ്യാകരണപിഴവുകളോ ഉണ്ടായേക്കും.", diff --git a/i18n/ms.json b/i18n/ms.json index 52f3e5f..84d79d5 100644 --- a/i18n/ms.json +++ b/i18n/ms.json @@ -40,10 +40,6 @@ "gettingstarted-cta-fix-pages": "Sunting laman cadangan", "gettingstarted-cta-fix-pages-sub": "Kami akan memilih sesuatu yang mudah", "gettingstarted-cta-leave": "Terima kasih sajalah, mungkin nanti", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-description": "Kami mengesyorkan anda membuka akaun untuk menyunting {{SITENAME}}. Ia adalah percuma, mudah, dan tidak memerlukan apa-apa maklumat peribadi.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-sign-up": "Buka akaun dan sunting", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue": "Terima kasih sajalah", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-sign-up": "Daftar", "gettingstarted-task-toolbar-try-another-text-wikipedia": "Cuba rencana lain ►", "gettingstarted-task-toolbar-no-suggested-page-wikipedia": "Harap maaf. Kami tidak menjumpai rencana yang boleh diperbaiki pada masa ini. Sila cuba lagi lain kali atau cari topik-topik kegemaran anda.", "gettingstarted-task-copyedit-toolbar-description-wikipedia": "Rencana ini mungkin mempunyai kesalahan ejaan atau tatabahasa yang boleh anda perbetulkan.", diff --git a/i18n/mt.json b/i18n/mt.json index b0ca770..a65297e 100644 --- a/i18n/mt.json +++ b/i18n/mt.json @@ -9,8 +9,6 @@ "gettingstarted-desc": "Iżżid [[Special:GettingStarted|paġna ta' merħba]] għal utenti ġodda (murija wara l-ħolqien tal-kont)", "guidedtour-tour-gettingstartedtasktoolbar-edit-article-title": "Jeditjaw il-paġna kollha ...", "guidedtour-tour-gettingstarted-click-preview-description": "Tikklikkjaw \"{{int: showpreview}}\" tippermetti li inti tara dak l-artiklu se jidhru bħal ma 'bidliet tiegħek. Biss ma ninsewx li jiffrankaw.", - "guidedtour-tour-anonymouseditoracquisitionpreedit-continue": "Le, grazzi", - "guidedtour-tour-anonymouseditoracquisitionpostedit-title": "Irreġistra fuq {{SITENAME}}", "gettingstarted-task-toolbar-try-another-text-wikipedia": "Ipprova ieħor artikolu ►", "guidedtour-tour-gettingstartedtasktoolbarve-click-save-description-wikipedia": "Issa tista jeditjaw il-kontenut artikolu. Meta inti qed isir, ikklikkja \"{{int:visualeditor-toolbar-savedialog}}\" teżamina u jiffrankaw bidliet tiegħek." } diff --git a/i18n/nl.json b/i18n/nl.json index 8a57c86..35a551c 100644 --- a/i18n/nl.json +++ b/i18n/nl.json @@ -49,9 +49,6 @@ "gettingstarted-cta-fix-pages": "Bewerk een geselecteerde pagina", "gettingstarted-cta-fix-pages-sub": "We kiezen iets eenvoudigs", "gettingstarted-cta-leave": "Nee bedankt, misschien een volgende keer", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-title": "Meld u aan om {{SITENAME}} te bewerken", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-sign-up": "Registreer u en bewerk", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue": "Nee, bedankt", "gettingstarted-task-toolbar-try-another-text-wikipedia": "Andere pagina proberen ►", "gettingstarted-task-toolbar-no-suggested-page-wikipedia": "We konden helaas niet meer pagina vinden die verbeterd moeten worden. Probeer het over enige tijd opnieuw of zoek naar onderwerpen die u van belang vindt.", "gettingstarted-task-copyedit-toolbar-description-wikipedia": "Deze pagina heeft mogelijk spel- of grammaticafouten die u kunt corrigeren.", diff --git a/i18n/pl.json b/i18n/pl.json index e544dab..3757dfc 100644 --- a/i18n/pl.json +++ b/i18n/pl.json @@ -46,8 +46,6 @@ "gettingstarted-cta-fix-pages": "Znajdź strony wymagające drobnych poprawek", "gettingstarted-cta-fix-pages-sub": "Pokażemy ci, jak edytować", "gettingstarted-cta-leave": "Nie, dziękuję, może później", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue": "Nie, dziękuję", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-sign-up": "Zarejestruj się", "guidedtour-tour-gettingstartedtasktoolbar-edit-article-title-wikipedia": "Edytuj cały artykuł...", "gettingstarted-cta-edit-page-wikipedia": "Edytuj ten artykuł", "gettingstarted-lightbulb-notification-body": "Edytuj podobny artykuł.", diff --git a/i18n/pt-br.json b/i18n/pt-br.json index 529fcb1..6cc1aca 100644 --- a/i18n/pt-br.json +++ b/i18n/pt-br.json @@ -49,9 +49,6 @@ "gettingstarted-cta-fix-pages": "Edite uma página de sugestão", "gettingstarted-cta-fix-pages-sub": "Nós vamos escolher algo fácil", "gettingstarted-cta-leave": "Não, obrigado. Talvez depois", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-title": "Registre-se para editar {{SITENAME}}", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-sign-up": "Registre-se e edite", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue": "Não, obrigado", "gettingstarted-task-toolbar-try-another-text-wikipedia": "Tente outro artigo ►", "gettingstarted-task-toolbar-no-suggested-page-wikipedia": "Desculpe. No momento não foi possível encontrar mais páginas para serem melhoradas. Tente novamente em alguns instantes ou busque por assuntos de seu interesse.", "gettingstarted-task-copyedit-toolbar-description-wikipedia": "Este artigo pode ter erros ortográficos ou de gramática que você pode consertar.", diff --git a/i18n/pt.json b/i18n/pt.json index 26c1bd5..6b51512 100644 --- a/i18n/pt.json +++ b/i18n/pt.json @@ -49,14 +49,6 @@ "gettingstarted-cta-fix-pages": "Editar uma página sugerida", "gettingstarted-cta-fix-pages-sub": "Vamos escolher algo fácil", "gettingstarted-cta-leave": "Não, obrigado, talvez mais tarde", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-title": "Inscrever-se para editar em {{SITENAME}}", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-description": "Recomendamos que crie uma conta para editar em {{SITENAME}}. É gratuito, fácil e não requer informação pessoal.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-sign-up": "Registe-se e edite", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue": "Não, obrigado", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-title": "Registar-se ou continuar a editar", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-description": "Não é necessário inscrever-se para editar em {{SITENAME}}, mas é fácil e não requer informação pessoal.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-sign-up": "Registar-se", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-continue": "Continuar a editar", "gettingstarted-task-toolbar-try-another-text-wikipedia": "Tentar outro artigo ►", "gettingstarted-task-copyedit-toolbar-description-wikipedia": "Esta página pode ter erros ortográficos ou gramaticais que pode corrigir.", "gettingstarted-task-addlinks-toolbar-description-wikipedia": "Esta página pode precisar de mais ligações. Procure por termos que possuam uma página em {{SITENAME}}.", diff --git a/i18n/qqq.json b/i18n/qqq.json index 4d1e386..a2a565e 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -44,14 +44,6 @@ "gettingstarted-cta-fix-pages": "Main text of button inviting user to fix other pages, shown in Call To Action displayed on articles after creating an account", "gettingstarted-cta-fix-pages-sub": "Additional text of button inviting user to fix other pages, shown in Call To Action displayed on articles after creating an account.\n\nThe button text is {{msg-mw|Gettingstarted-cta-fix-pages}}.", "gettingstarted-cta-leave": "Text to leave the Call To Action displayed on articles after creating an account", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-title": "Title of the step inviting the user to sign up before editing the page in the first version of the tour", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-description": "Description of the step inviting the user to sign up before editing the page in the first version of the tour.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-sign-up": "Main text of the button inviting the user to sign up before editing the page in the first version of the tour.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue": "Main text of the button inviting the user to remain anonymous and continue editing the page in the first version of the tour.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-title": "Title of the step inviting the user to sign up before editing the page in the second version of the tour", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-description": "Description of the step inviting the user to sign up before editing the page in the second version of the tour", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-sign-up": "Main text of the button inviting the user to sign up before editing the page in the second version of the tour", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-continue": "Main text of the button inviting the user to remain anonymous and continue editing the page in the second version of the tour", "gettingstarted-task-toolbar-try-another-text-wikipedia": "\"{{msg-mw|gettingstarted-task-toolbar-try-another-text}}\" with \"page\" replaced with \"article\".", "gettingstarted-task-toolbar-no-suggested-page-wikipedia": "\"{{msg-mw|gettingstarted-task-toolbar-no-suggested-page}}\" with \"page\" replaced with \"article\".", "gettingstarted-task-copyedit-toolbar-description-wikipedia": "\"{{msg-mw|gettingstarted-task-copyedit-toolbar-description}}\" with \"page\" replaced with \"article\".", diff --git a/i18n/ru.json b/i18n/ru.json index a857c2c..660eccb 100644 --- a/i18n/ru.json +++ b/i18n/ru.json @@ -50,14 +50,6 @@ "gettingstarted-cta-fix-pages": "Редактировать предложенную страницу", "gettingstarted-cta-fix-pages-sub": "Мы выберем что-нибудь лёгкое", "gettingstarted-cta-leave": "Нет, спасибо, может быть, позже", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-title": "Зарегистрируйтесь, чтобы редактировать материалы на сайте {{SITENAME}}", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-description": "Мы рекомендуем вам создать учётную запись для редактирования {{grammar:genitive|{{SITENAME}}}}. Это бесплатно, просто и не требует никакой личной информации.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-sign-up": "Зарегистрируйтесь и редактируйте", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue": "Нет, спасибо", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-title": "Зарегистрируйтесь или продолжите редактирование", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-description": "Регистрация не требуется для редактирования на сайте {{SITENAME}}, но она проста и не требует никакой личной информации.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-sign-up": "Зарегистрироваться", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-continue": "Продолжить редактирование", "gettingstarted-task-toolbar-try-another-text-wikipedia": "Попробуйте другую статью ►", "gettingstarted-task-toolbar-no-suggested-page-wikipedia": "Извините. Мы не смогли найти ещё статей, требующих в данный момент улучшений. Попробуйте ещё раз или поищите их на другие интересующие вас темы.", "gettingstarted-task-copyedit-toolbar-description-wikipedia": "Эта статья может содержать орфографические и грамматические ошибки, которые вы могли бы исправить.", diff --git a/i18n/sv.json b/i18n/sv.json index f60d68a..da6ad43 100644 --- a/i18n/sv.json +++ b/i18n/sv.json @@ -46,14 +46,6 @@ "gettingstarted-cta-fix-pages": "Redigera en föreslagen sida", "gettingstarted-cta-fix-pages-sub": "Vi kommer att välja något lätt", "gettingstarted-cta-leave": "Nej tack, kanske senare", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-title": "Registrera dig för att redigera {{SITENAME}}", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-description": "Vi rekommenderar att du skapar ett konto om du vill redigera {{SITENAME}}. Det är gratis, lätt och kräver ingen personlig information.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-sign-up": "Registrera dig och redigera", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue": "Nej tack", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-title": "Skapa ett konto eller fortsätta redigera", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-description": "Registrering krävs inte för att redigera {{SITENAME}}, men det är enkelt och kräver ingen personlig information.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-sign-up": "Skapa ett konto", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-continue": "Fortsätt redigera", "gettingstarted-task-toolbar-try-another-text-wikipedia": "Prova en annan artikel ►", "gettingstarted-task-toolbar-no-suggested-page-wikipedia": "Tyvärr kunde vi inte hitta fler artiklar i behov av förbättring för tillfället. Försök igen om en stund eller sök efter ett ämne du själv är intresserad av.", "gettingstarted-task-copyedit-toolbar-description-wikipedia": "Denna artikel kan ha stavnings- eller grammatikfel som du kan åtgärda.", diff --git a/i18n/uk.json b/i18n/uk.json index 9b23f8f..9d72af0 100644 --- a/i18n/uk.json +++ b/i18n/uk.json @@ -45,14 +45,6 @@ "gettingstarted-cta-fix-pages": "Редагувати запропоновану сторінку", "gettingstarted-cta-fix-pages-sub": "Ми виберемо щось легке", "gettingstarted-cta-leave": "Ні, дякую, можливо, пізніше", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-title": "Зареєструйтеся, щоб редагувати {{GRAMMAR:accusative|SITENAME}}", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-description": "Ми рекомендуємо вам створити обліковий запис для редагування {{grammar:genitive|{{SITENAME}}}}. Це безкоштовно, легко і не потребує жодної приватної інформації.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-sign-up": "Зареєструйтеся і редагуйте", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue": "Ні, дякую", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-title": "Зареєструватися або продовжити редагування", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-description": "Щоб редагувати сайт {{SITENAME}}, реєстрація не вимагається, але це просто і не вимагає жодної особистої інформації.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-sign-up": "Реєстрація", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-continue": "Продовжити редагування", "gettingstarted-task-toolbar-try-another-text-wikipedia": "Спробуйте іншу статтю ►", "gettingstarted-task-toolbar-no-suggested-page-wikipedia": "Вибачте. Ми не змогли знайти ще статті, що вимагають поліпшень у даний момент. Спробуйте ще раз через хвилину або пошукайте інші цікаві для вас теми.", "gettingstarted-task-copyedit-toolbar-description-wikipedia": "Ця стаття може містити одруки чи граматичні помилки, які ви можете виправити.", diff --git a/i18n/vi.json b/i18n/vi.json index 7552bb1..885e430 100644 --- a/i18n/vi.json +++ b/i18n/vi.json @@ -42,14 +42,6 @@ "gettingstarted-cta-fix-pages": "Sửa đổi một trang được gợi ý", "gettingstarted-cta-fix-pages-sub": "Chúng tôi sẽ chọn một công việc dễ dàng", "gettingstarted-cta-leave": "Thôi, có lẽ lần sau", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-title": "Hãy mở tài khoản để sửa đổi {{SITENAME}}", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-description": "Chúng tôi khuyên bạn mở tài khoản để sửa đổi {{SITENAME}}. Bạn có thể mở tài khoản miễn phí và dễ dàng, không đòi hỏi thông tin cá nhân của bạn.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-sign-up": "Mở tài khoản và sửa đổi", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue": "Thôi", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-title": "Đăng nhập hoặc tiếp tục sửa đổi", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-description": "Không nhất thiết phải đăng nhập để sửa đổi {{SITENAME}}, nhưng bạn có thể mở tài khoản rất dễ dàng mà không đòi thông tin cá nhân.", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-sign-up": "Mở tài khoản", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-continue": "Tiếp tục sửa đổi", "gettingstarted-task-toolbar-try-another-text-wikipedia": "Thử một bài khác ►", "gettingstarted-task-toolbar-no-suggested-page-wikipedia": "Rất tiếc, chúng tôi không kiếm được thêm bài để cải thiện vào lúc này. Hãy thử lại lát nữa hoặc tìm những chủ đề quan tâm của bạn.", "gettingstarted-task-copyedit-toolbar-description-wikipedia": "Bài này có thể có lỗi chính tả hoặc ngữ pháp mà bạn có thể sửa chữa.", diff --git a/i18n/zh-hans.json b/i18n/zh-hans.json index 61828f8..29a1ca4 100644 --- a/i18n/zh-hans.json +++ b/i18n/zh-hans.json @@ -57,14 +57,6 @@ "gettingstarted-cta-fix-pages": "编辑建议页面", "gettingstarted-cta-fix-pages-sub": "我们将挑选一些容易的", "gettingstarted-cta-leave": "不用了,以后再说吧", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-title": "注册以编辑{{SITENAME}}", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-description": "我们建议您创建账户编辑{{SITENAME}}。这是免费的、自由的且不需要任何个人信息。", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-sign-up": "注册并编辑", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue": "不,谢谢", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-title": "注册或继续编辑", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-description": "编辑{{SITENAME}}不需要注册,但它很容易并不需要个人信息。", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-sign-up": "注册", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-continue": "继续编辑", "gettingstarted-task-toolbar-try-another-text-wikipedia": "尝试另一条目 ►", "gettingstarted-task-toolbar-no-suggested-page-wikipedia": "抱歉。我们目前无法找到更多需要改进的条目。请过段时间重试或搜索您感兴趣的话题。", "gettingstarted-task-copyedit-toolbar-description-wikipedia": "这篇文章可能有您可以修正的拼写或语法错误", diff --git a/i18n/zh-hant.json b/i18n/zh-hant.json index 965de6f..a8723b8 100644 --- a/i18n/zh-hant.json +++ b/i18n/zh-hant.json @@ -48,14 +48,6 @@ "gettingstarted-cta-fix-pages": "編輯建議的頁面", "gettingstarted-cta-fix-pages-sub": "我們會挑選一些簡單的", "gettingstarted-cta-leave": "不,謝謝,以後再說", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-title": "註冊以編輯 {{SITENAME}}", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-description": "我們建議您註冊一個帳號來編輯 {{SITENAME}}。 註冊免費又非常簡單且不需填寫個人資訊。", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-sign-up": "註冊並編輯。", - "guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue": "不,謝謝", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-title": "註冊或繼續編輯", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-description": "並不一定要註冊才可以編輯 {{SITENAME}},但註冊非常簡單且不需要填寫個人資訊。", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-sign-up": "註冊", - "guidedtour-tour-anonymouseditoracquisitionpreeditv2-continue": "繼續編輯", "gettingstarted-task-toolbar-try-another-text-wikipedia": "嘗試其他文章 ►", "gettingstarted-task-toolbar-no-suggested-page-wikipedia": "很抱歉,我們此時找不到更多有待改善的文章。請稍後再試,或者直接搜尋您自己感興趣的主題。", "gettingstarted-task-copyedit-toolbar-description-wikipedia": "此文章可能有拼寫或文法錯誤,您可以修復它們。", diff --git a/resources/ext.gettingstarted.anonymousEditorAcquisition.js b/resources/ext.gettingstarted.anonymousEditorAcquisition.js deleted file mode 100644 index 5e1ed69..0000000 --- a/resources/ext.gettingstarted.anonymousEditorAcquisition.js +++ /dev/null @@ -1,261 +0,0 @@ -( function ( mw, $, gt ) { - - 'use strict'; - - var $currentGuiderTarget, - user = mw.gettingStarted.user, - token = user.getToken(), - bucket = user.getBucket(), - ctaFlagKey = '-gettingStartedHasShownAnonymousEditorAcquisitionCTA', - isVeAvailable = mw.libs.ve && mw.libs.ve.isAvailable, - currentUri = new mw.Uri(), - // isViewPage code is from VE and is used to determine whether VE can be loaded without a full page load - isViewPage = ( - mw.config.get( 'wgIsArticle' ) && - !( 'diff' in currentUri.query ) - ), - namespace = mw.config.get( 'wgNamespaceNumber' ), - self, - isLinkClickLoggingDisabled = false, - Bucket = mw.gettingStarted.Bucket, - targetElementsSelector = '#ca-edit, #ca-ve-edit, .mw-editsection a', - logEventOrTimeout = mw.gettingStarted.logging.logEventOrTimeout; - - /** - * Registers a click listener on links corresponding to one or more selectors. - * When event occurs, logs a SignupExpPageLinkClick event. - * - * If `shouldDelay` is false, it will allow the normal link navigation to work. - * - * If `shouldDelay` is true, it will prevent normal navigation and wait for logging. When - * logging completes, or after a 500 millisecond timeout, it will navigate then. - * - * @private - * - * @param {string} selector The link selector - * @param {string} link Identifier for link, for logging - * @param {boolean} shouldDelay True to delay the default link navigation, false otherwise - */ - function logLinkClick( selector, link, shouldDelay ) { - if ( shouldDelay === undefined ) { - shouldDelay = true; - } - - $( selector ).click( function ( event ) { - var schemaName, eventInstance; - - if ( isLinkClickLoggingDisabled ) { - return; - } - - schemaName = 'SignupExpPageLinkClick'; - eventInstance = { - token: token, - bucket: bucket, - link: link, - namespace: namespace - }; - - if ( shouldDelay ) { - event.preventDefault(); - - logEventOrTimeout( schemaName, eventInstance ).always( function () { - window.location.href = getHrefFromTarget( $( event.currentTarget ) ); - } ); - } else { - mw.eventLog.logEvent( schemaName, eventInstance ); - } - } ); - } - - function unregisterVariants() { - $( targetElementsSelector ).off( 'click.mw-gettingstarted' ); - - if ( isVeAvailable && isViewPage ) { - $( '#ca-ve-edit' ).on( 'click', mw.libs.ve.onEditTabClick ); - $( '.mw-editsection-visualeditor' ).on( 'click', mw.libs.ve.onEditSectionLinkClick ); - } - } - - function initVariants() { - var baseTourName = 'anonymouseditoracquisitionpreedit', - tourName = baseTourName; - - if ( isVeAvailable ) { - $( '#ca-ve-edit' ).off( 'click', mw.libs.ve.onEditTabClick ); - $( '.mw-editsection-visualeditor' ).off( 'click', mw.libs.ve.onEditSectionLinkClick ); - } - - if ( bucket === Bucket.PRE_EDIT_V1 ) { - tourName += 'v1'; - } else if ( bucket === Bucket.PRE_EDIT_V2 ) { - tourName += 'v2'; - } - - $( targetElementsSelector ).on( 'click.mw-gettingstarted', function ( event ) { - // Unregister and prevent dead click by returning true - if( mw.cookie.get( ctaFlagKey ) !== null ) { - unregisterVariants(); - return true; - } - event.preventDefault(); - event.stopPropagation(); - - $currentGuiderTarget = $( this ); - $currentGuiderTarget.addClass( 'mw-gettingstarted-anonymouseditoracquisition-guider-target' ); - - unregisterVariants(); - - if ( mw.libs.guiders ) { - mw.libs.guiders.reposition(); - } - - launchTour( tourName ); - } ); - } - - // Wrapper for launching the experiment tour - function launchTour( tourName ) { - // Set cookie so we know when not to show the tour - mw.cookie.set( ctaFlagKey, 'true' ); - gt.launcher.launchTour( tourName ); - } - - /** - * Returns the href of a link, from the given target. This is either from the target - * itself (section links), or the link descendant (tabs). - * - * @return {string} href attribute from target's link - */ - function getHrefFromTarget( $target ) { - if ( !$target.is( 'a' ) ) { - $target = $target.find( 'a' ); - } - return $target.attr( 'href' ); - } - - function logContinueAndClickTarget() { - gt.hideAll(); - - mw.eventLog.logEvent( 'SignupExpCTAButtonClick', { - token: token, - cta: bucket, - button: 'edit', - namespace: namespace - } ); - - // Load VE without a full page load. - - // NOTE (phuedx, 2014-05-14) Because we're triggering the click event of - // the Edit link, we have to temporarily disable logging the - // SignupExpPageLinkClick event. - isLinkClickLoggingDisabled = true; - $currentGuiderTarget.click(); - isLinkClickLoggingDisabled = false; - } - - function logContinueAndFollowTarget() { - logEventOrTimeout( 'SignupExpCTAButtonClick', { - token: token, - cta: bucket, - button: 'edit', - namespace: namespace - } ).always( function () { - window.location.href = getHrefFromTarget( $currentGuiderTarget ); - } ); - } - - /** - * Public anonymous editor acquisition API - * - * @class mw.gettingStarted.anonymousEditorAcquisition - * @singleton - */ - mw.gettingStarted.anonymousEditorAcquisition = self = { - - /** - * Handles the 'No thanks' and 'Continue editing' selection. - */ - handleContinue: function () { - var isTargetVEEditLink = - $currentGuiderTarget.is( '#ca-ve-edit' ) || $currentGuiderTarget.is( '.mw-editsection-visualeditor' ); - - if ( isTargetVEEditLink && isViewPage ) { - logContinueAndClickTarget(); - } else { - logContinueAndFollowTarget(); - } - }, - - /** - * Handles the 'Sign up and edit' and 'Sign up' selections from the - * pre-edit v1 and v2 variants respectively. Goes to the signup page, - * using the current page as the returnto and the query string from the - * edit tab/link as the returntoquery. - */ - handleSignup: function () { - var uri = new mw.Uri( getHrefFromTarget( $currentGuiderTarget ) ); - - delete uri.query.title; - - logEventOrTimeout( 'SignupExpCTAButtonClick', { - token: token, - cta: bucket, - button: 'signup', - namespace: namespace - } ).always( function () { - window.location.href = new mw.Title( 'Special:UserLogin' ).getUrl( { - type: 'signup', - returnto: mw.config.get( 'wgPageName' ), - returntoquery: uri.getQueryString() - } ); - } ); - }, - - /** - * Handles dismissal of either version of the pre-edit CTA. - */ - handleClose: function () { - mw.eventLog.logEvent( 'SignupExpCTAButtonClick', { - token: token, - cta: bucket, - button: 'dismiss', - namespace: namespace - } ); - }, - - /** - * Handles the display of the pre-edit CTA. - */ - handleShow: function () { - mw.eventLog.logEvent( 'SignupExpCTAImpression', { - token: token, - cta: bucket, - namespace: mw.config.get( 'wgNamespaceNumber' ) - } ); - } - }; - - $( function () { - var shouldShowCta = mw.cookie.get( ctaFlagKey ) === null && bucket !== Bucket.CONTROL; - - // If clicking "edit" or "edit source" shows a guider, then don't follow - // the link and allow the SignupExpPageLinkClick event to be logged - // asynchronously. - logLinkClick( '#ca-edit', 'edit page', !shouldShowCta ); - logLinkClick( '.mw-editsection a:not(.mw-editsection-visualeditor)', 'edit section', !shouldShowCta ); - - // That said, if the user is activating the Visual Editor, and that - // doesn't require a page reload, then allow the event to be logged - // asynchronously. - logLinkClick( '#ca-ve-edit', 'edit page', !isViewPage && !shouldShowCta ); - logLinkClick( '.mw-editsection-visualeditor', 'edit section', !isViewPage && !shouldShowCta ); - - logLinkClick( '#pt-createaccount', 'create account' ); - - if ( shouldShowCta ) { - initVariants(); - } - } ); - -} ( mediaWiki, jQuery, mediaWiki.guidedTour ) ); diff --git a/resources/ext.gettingstarted.return.js b/resources/ext.gettingstarted.return.js index db62b74..3dee6d8 100644 --- a/resources/ext.gettingstarted.return.js +++ b/resources/ext.gettingstarted.return.js @@ -19,13 +19,6 @@ CTA_TYPE_EDIT_CURRENT = 'edit current', CTA_TYPE_EDIT_CURRENT_OR_SUGGESTED = 'edit current or suggested'; - function logMissingSuggestedArticle() { - mw.eventLog.logEvent( 'GettingStartedNavbarNoArticle', { - version: 1, - funnel: fullTaskType - } ); - } - function logRedirectImpression( ctaType ) { var event; @@ -265,13 +258,11 @@ ]; ctaType = CTA_TYPE_EDIT_CURRENT_OR_SUGGESTED; } else { - logMissingSuggestedArticle(); dialogSpec.buttons = [ editCurrentPrimaryButton ]; ctaType = CTA_TYPE_EDIT_CURRENT; } } else if ( pageKind === 'other' ) { if ( !suggestedTitle) { - logMissingSuggestedArticle(); logRedirectImpression( CTA_TYPE_NONE ); // Nothing to show in dialog return; diff --git a/resources/tours/anonymouseditoracquisitionpreeditv1.js b/resources/tours/anonymouseditoracquisitionpreeditv1.js deleted file mode 100644 index 91cc953..0000000 --- a/resources/tours/anonymouseditoracquisitionpreeditv1.js +++ /dev/null @@ -1,45 +0,0 @@ -( function ( mw, $, gt ) { - - 'use strict'; - - gt.defineTour( { - name: 'anonymouseditoracquisitionpreeditv1', - shouldLog: true, - isSinglePage: true, - steps: [ { - titlemsg: 'guidedtour-tour-anonymouseditoracquisitionpreeditv1-title', - descriptionmsg: 'guidedtour-tour-anonymouseditoracquisitionpreeditv1-description', - position: 'top', - allowAutomaticOkay: false, - attachTo: '.mw-gettingstarted-anonymouseditoracquisition-guider-target', - onShow: function () { - mw.gettingStarted.anonymousEditorAcquisition.handleShow(); - }, - onClose: function () { - mw.gettingStarted.anonymousEditorAcquisition.handleClose(); - }, - buttons: [ - - // "No thanks" - { - namemsg: 'guidedtour-tour-anonymouseditoracquisitionpreeditv1-continue', - onclick: function () { - mw.gettingStarted.anonymousEditorAcquisition.handleContinue(); - }, - classString: 'mw-ui-quiet' - }, - - // "Sign up and edit" - { - namemsg: 'guidedtour-tour-anonymouseditoracquisitionpreeditv1-sign-up', - onclick: function () { - mw.gettingStarted.anonymousEditorAcquisition.handleSignup(); - }, - classString: 'mw-ui-progressive' - } - ], - closeOnClickOutside: false - } ] - } ); - -} ( mediaWiki, jQuery, mediaWiki.guidedTour ) ); diff --git a/resources/tours/anonymouseditoracquisitionpreeditv2.js b/resources/tours/anonymouseditoracquisitionpreeditv2.js deleted file mode 100644 index 3e5c600..0000000 --- a/resources/tours/anonymouseditoracquisitionpreeditv2.js +++ /dev/null @@ -1,45 +0,0 @@ -( function ( mw, $, gt ) { - - 'use strict'; - - gt.defineTour( { - name: 'anonymouseditoracquisitionpreeditv2', - shouldLog: true, - isSinglePage: true, - steps: [ { - titlemsg: 'guidedtour-tour-anonymouseditoracquisitionpreeditv2-title', - descriptionmsg: 'guidedtour-tour-anonymouseditoracquisitionpreeditv2-description', - position: 'top', - allowAutomaticOkay: false, - attachTo: '.mw-gettingstarted-anonymouseditoracquisition-guider-target', - onShow: function () { - mw.gettingStarted.anonymousEditorAcquisition.handleShow(); - }, - onClose: function () { - mw.gettingStarted.anonymousEditorAcquisition.handleClose(); - }, - buttons: [ - - // "Continue editing" - { - namemsg: 'guidedtour-tour-anonymouseditoracquisitionpreeditv2-continue', - onclick: function () { - mw.gettingStarted.anonymousEditorAcquisition.handleContinue(); - }, - type: 'neutral' - }, - - // "Sign up" - { - namemsg: 'guidedtour-tour-anonymouseditoracquisitionpreeditv2-sign-up', - onclick: function () { - mw.gettingStarted.anonymousEditorAcquisition.handleSignup(); - }, - classString: 'mw-ui-progressive' - } - ], - closeOnClickOutside: false - } ] - } ); - -} ( mediaWiki, jQuery, mediaWiki.guidedTour ) ); -- To view, visit https://gerrit.wikimedia.org/r/161969 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9ec9b0295acd51ad37f227182f65f47aad3d3c1b Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/GettingStarted Gerrit-Branch: master Gerrit-Owner: Phuedx <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
