Nemo bis has uploaded a new change for review. https://gerrit.wikimedia.org/r/105906
Change subject: Some after-import tweaks ...................................................................... Some after-import tweaks Split from initial commit: * variable names changes, * more generic pages, * (new) typofix. Change-Id: I136c395670f14b804eaa0d3f94767bc5dcb7baed --- M FirstSteps.php M SpecialFirstSteps.php M i18n/en.json 3 files changed, 8 insertions(+), 9 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/FirstSteps refs/changes/06/105906/1 diff --git a/FirstSteps.php b/FirstSteps.php index 516fdd3..277749b 100644 --- a/FirstSteps.php +++ b/FirstSteps.php @@ -17,18 +17,18 @@ /** * Version number used in extension credits and in other places where needed. */ -define( 'TRANSLATE_VERSION', '2013-12-23' ); +define( 'FIRSTSTEPS_VERSION', '2013-12-23' ); /** * Extension credits properties. */ $wgExtensionCredits['specialpage'][] = array( 'path' => __FILE__, - 'name' => 'Translate', + 'name' => 'FirstSteps', 'version' => FIRSTSTEPS_VERSION, 'author' => array( 'Niklas Laxström', 'Siebrand Mazeland' ), - 'descriptionmsg' => 'translate-desc', - 'url' => 'https://www.mediawiki.org/wiki/Extension:Translate', + 'descriptionmsg' => 'firststeps-desc', + 'url' => 'https://www.mediawiki.org/wiki/Extension:FirstSteps', ); /** diff --git a/SpecialFirstSteps.php b/SpecialFirstSteps.php index b46a1c4..e9a1712 100644 --- a/SpecialFirstSteps.php +++ b/SpecialFirstSteps.php @@ -12,7 +12,6 @@ /** * Implements a special page which assists users to become translators. - * Currently it is tailored for the needs of translatewiki.net * * @ingroup SpecialPage TranslateSpecialPage */ @@ -105,7 +104,7 @@ $user->setOption( 'translate-editlangs', implode( ',', $assistant ) ); } $user->saveSettings(); - // Reload the page if language changed, just in case and this is the easieast way + // Reload the page if language changed, just in case and this is the easiest way $out->redirect( $this->getTitle()->getLocalUrl() ); } @@ -357,8 +356,8 @@ 'action' => 'threadaction', 'threadaction' => 'newthread', 'token' => $user->getEditToken(), - 'talkpage' => 'Project:Translator', - 'subject' => "{{LanguageHeader|$language}}", + 'talkpage' => 'Project:FirstSteps', + 'subject' => "$language", 'reason' => 'Using Special:FirstSteps', 'text' => $message, ); diff --git a/i18n/en.json b/i18n/en.json index 940fd54..f243096 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -6,7 +6,7 @@ ] }, "firststeps": "First steps", - "firststeps-desc": "[[Special:FirstSteps|Special page]] for getting users started on a wiki using the Translate extension", + "firststeps-desc": "[[Special:FirstSteps|Special page]] for getting users started on a wiki", "translate-fs-pagetitle-done": " - done!", "translate-fs-pagetitle-pending": " - pending", "translate-fs-pagetitle": "Getting started wizard - $1", -- To view, visit https://gerrit.wikimedia.org/r/105906 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I136c395670f14b804eaa0d3f94767bc5dcb7baed Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/FirstSteps Gerrit-Branch: master Gerrit-Owner: Nemo bis <federicol...@tiscali.it> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits