Index: trunk/extensions/ArticleCreationWorkflow/ArticleCreationWorkflow.i18n.php |
— | — | @@ -14,10 +14,10 @@ |
15 | 15 | 'article-creation-desc' => 'Adds a more user-friendly article creation pageflow.', |
16 | 16 | |
17 | 17 | 'ac-hover-tooltip-title' => 'Select this if...', |
18 | | - 'ac-landing-page-title' => 'Article creation landing page', |
| 18 | + 'ac-landing-page-title' => 'Create an article about "$1" on {{SITENAME}}', |
19 | 19 | |
20 | 20 | //buttons |
21 | | - 'ac-action-indicator' => 'I want to...', |
| 21 | + 'ac-action-indicator' => 'To create an article on {{SITENAME}}, you may...', |
22 | 22 | |
23 | 23 | 'ac-action-login' => 'Log in to {{SITENAME}}', |
24 | 24 | 'ac-action-login-subtitle' => 'I have a {{SITENAME}} account.', |
— | — | @@ -27,9 +27,9 @@ |
28 | 28 | 'ac-action-signup-subtitle' => 'A {{SITENAME}} account allows you to create new articles.', |
29 | 29 | 'ac-hover-tooltip-body-signup' => "<ul><li>You <b><i>do not</i></b> have a {{SITENAME}} account.</li></ul>", |
30 | 30 | |
31 | | - 'ac-action-request' => 'Request this article', |
32 | | - 'ac-action-request-subtitle' => "I'll submit a request that it be written.", |
33 | | - 'ac-action-request-subtitle-anon' => "I'll submit a request that it be written.", |
| 31 | + 'ac-action-request' => 'Use the Article Creation Wizard', |
| 32 | + 'ac-action-request-subtitle' => "Let the Wizard guide me through the process.", |
| 33 | + 'ac-action-request-subtitle-anon' => "Let the Wizard guide me through the process.", |
34 | 34 | 'ac-hover-tooltip-body-request' => "<ul><li> You want to see the article exist, and</li> |
35 | 35 | <li>You do not wish to write it yourself.</li></ul>", |
36 | 36 | |
— | — | @@ -39,17 +39,18 @@ |
40 | 40 | 'ac-hover-tooltip-body-exit' => '<ul><li>You want to go back to previous page.</li></ul>', |
41 | 41 | |
42 | 42 | 'ac-action-draft' => 'Create a draft', |
43 | | - 'ac-action-draft-subtitle' => 'I want to make a draft of this article before I publish it to {{SITENAME}}.', |
| 43 | + 'ac-action-draft-subtitle' => "This is my first article.", |
44 | 44 | 'ac-hover-tooltip-body-draft' => "<ul><li>You haven't created an article before, or</li> |
45 | 45 | <li>You want to work on your article a bit before it's ready to publish</li></ul>", |
46 | 46 | |
47 | 47 | 'ac-action-create' => 'Create this article myself', |
48 | | - 'ac-action-create-subtitle' => 'I know what I\'m doing.', |
49 | | - 'ac-create-warning-create' => "Articles may be deleted immediately if: |
50 | | - <ul><li>they copy from other sources, or</li> |
| 48 | + 'ac-action-create-subtitle' => 'I\'ve done this before.', |
| 49 | + 'ac-create-warning-create' => "We value your time and want to make sure your contributions are the kind that will improve Wikipedia. |
| 50 | + Articles on Wikipedia should be about notable topics and be written in an unbiased manner.<br/><br/> |
| 51 | + Articles may be deleted if: |
| 52 | + <ul><li>they copy material from other sources, or</li> |
51 | 53 | <li>are overly promotional, or</li> |
52 | | - <li>lack context, or</li> |
53 | | - <li>fail to explain why their subject is notable.</li></ul> |
| 54 | + <li>do not clearly state why the subject is important.</li></ul> |
54 | 55 | ", |
55 | 56 | 'ac-create-button' => "Let's Go", |
56 | 57 | 'ac-hover-tooltip-body-create' => "<ul><li>You have created articles before, and</li> |
— | — | @@ -60,7 +61,7 @@ |
61 | 62 | |
62 | 63 | 'ac-landing-login-required' => 'In order to create an article, you need to have a {{SITENAME}} user account.', |
63 | 64 | |
64 | | - 'ac-create-dismiss' => 'I want to skip this step in the future', |
| 65 | + 'ac-create-dismiss' => 'Skip this step in the future', |
65 | 66 | |
66 | 67 | 'ac-create-help' => 'Learn more', |
67 | 68 | 'ac-click-tip-title-create' => 'I know that…', |
— | — | @@ -70,7 +71,7 @@ |
71 | 72 | 'article-creation-desc' => 'Extension description.', |
72 | 73 | |
73 | 74 | 'ac-hover-tooltip-title' => 'The title for the tooltip displayed next to the buttons', |
74 | | - 'ac-landing-page-title' => 'The title of the landing page', |
| 75 | + 'ac-landing-page-title' => 'The title of the landing page. Parameter is the title of the article the user is attempting to create.', |
75 | 76 | |
76 | 77 | //buttons |
77 | 78 | 'ac-action-indicator' => 'Introduction for the selection of the action that the user wants to take ("I want to...")', |
Index: trunk/extensions/ArticleCreationWorkflow/ArticleCreationWorkflow.php |
— | — | @@ -153,7 +153,7 @@ |
154 | 154 | 'text' => 'ac-hover-tooltip-body-create', |
155 | 155 | ), |
156 | 156 | 'interstitial' => <<<HTML |
157 | | - <a class="mw-ac-help" href="http://www.google.com"><html:msg key="ac-create-help" /></a> |
| 157 | + <a class="mw-ac-help" href="https://www.mediawiki.org/wiki/Wikipedia:Starting_an_article"><html:msg key="ac-create-help" /></a> |
158 | 158 | <div class="mw-ac-tooltip-title"><html:msg key="ac-click-tip-title-create" /></div> |
159 | 159 | <div class="mw-ac-tooltip-body"> |
160 | 160 | <div class="mw-ac-create-verbiage"><html:msg raw="1" key="ac-create-warning-create" /></div> |
— | — | @@ -188,7 +188,7 @@ |
189 | 189 | 'create' => '{{SCRIPT}}?title={{PAGE}}&action=edit&acwbucket={{BUCKETID}}&acwsource={{SOURCE}}', |
190 | 190 | 'login' => '{{SCRIPT}}?title=Special:Userlogin&returnto=Special:ArticleCreationLanding/{{PAGE}}', |
191 | 191 | 'signup' => '{{SCRIPT}}?title=Special:Userlogin/signup&returnto=Special:ArticleCreationLanding/{{PAGE}}&returntoquery=' . urlencode( 'fromsignup=1' ), |
192 | | - 'request' => 'http://google.com/?q={{PAGE}}', |
| 192 | + 'request' => '{{SCRIPT}}?title=Wikipedia:Article_wizard', |
193 | 193 | 'exit' => 'javascript:history.go(-1)', |
194 | 194 | ), |
195 | 195 | 'buttons' => $wgArticleCreationButtons, |
Index: trunk/extensions/ArticleCreationWorkflow/SpecialArticleCreationLanding.php |
— | — | @@ -7,10 +7,11 @@ |
8 | 8 | public function __construct() { |
9 | 9 | //Do not list this special page under Special:SpecialPages |
10 | 10 | parent::__construct( 'ArticleCreationLanding', '', false ); |
| 11 | + $this->pageTitle = null; |
11 | 12 | } |
12 | 13 | |
13 | 14 | public function getDescription() { |
14 | | - return wfMessage( 'ac-landing-page-title' )->plain(); |
| 15 | + return wfMessage( $this->pageTitle )->plain(); |
15 | 16 | } |
16 | 17 | |
17 | 18 | public function execute( $par ) { |
— | — | @@ -28,7 +29,8 @@ |
29 | 30 | return; |
30 | 31 | } |
31 | 32 | |
32 | | - $wgOut->setPageTitle( wfMsg('ac-landing-page-title' ) ); |
| 33 | + $this->pageTitle = wfMsg( 'ac-landing-page-title', $title ); |
| 34 | + $wgOut->setPageTitle( $this->pageTitle ); |
33 | 35 | $wgOut->setRobotPolicy( 'noindex,nofollow' ); |
34 | 36 | $wgOut->addModules( 'ext.articleCreation.core' ); |
35 | 37 | $wgOut->addModules( 'ext.articleCreation.user' ); |