r110907 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110906‎ | r110907 | r110908 >
Date:01:15, 8 February 2012
Author:werdna
Status:ok (Comments)
Tags:
Comment:
Fix bug
Modified paths:
  • /trunk/extensions/ArticleCreationWorkflow/ArticleCreationWorkflow.i18n.php (modified) (history)
  • /trunk/extensions/ArticleCreationWorkflow/modules/ext.articleCreation.user/ext.articleCreation.user.js (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleCreationWorkflow/ArticleCreationWorkflow.i18n.php
@@ -20,27 +20,33 @@
2121 'ac-action-indicator' => 'I want to...',
2222
2323 'ac-action-login' => 'Log in to Wikipedia',
24 - 'ac-action-login-subtitle' => 'I have a Wikipedia account',
25 - 'ac-hover-tooltip-body-login' => "* You want to try creating an article, and you already have a Wikipedia account.",
 24+ 'ac-action-login-subtitle' => 'I have a Wikipedia account.',
 25+ 'ac-hover-tooltip-body-login' => "<ul><li>You already have a user account and wish to edit under that name.</li></ul>",
2626
2727 'ac-action-signup' => 'Create a Wikipedia account',
28 - 'ac-action-signup-subtitle' => 'A Wikipedia account allows you to create new articles',
29 - 'ac-hover-tooltip-body-signup' => "* You want to try creating an article, but you don't have a Wikipedia account just yet.",
 28+ 'ac-action-signup-subtitle' => 'A Wikipedia account allows you to create new articles.',
 29+ 'ac-hover-tooltip-body-signup' => "<ul><li>You <b><i>do not</i></b> have a Wikipedia account.</li></ul>",
3030
3131 'ac-action-request' => 'Request this article',
32 - 'ac-action-request-subtitle' => 'I\'m not ready to create this article myself',
33 - 'ac-action-request-subtitle-anon' => 'You can request an article without a Wikipedia account',
34 - 'ac-hover-tooltip-body-request' => "* You want to try your hand at writing a Wikipedia article, but you want to work on it and get feedback before it's published",
 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.",
 34+ 'ac-hover-tooltip-body-request' => "<ul><li> You want to see the article exist, and</li>
 35+ <li>You do not wish to write it yourself.</li></ul>",
3536
3637 'ac-action-draft' => 'Create a draft',
37 - 'ac-action-draft-subtitle' => 'I want to make a draft of this article before I publish it to Wikipedia',
38 - 'ac-hover-tooltip-body-draft' => "* You haven't created an article before, or you want to work on your article a bit before it's ready to publish.",
 38+ 'ac-action-draft-subtitle' => 'I want to make a draft of this article before I publish it to Wikipedia.',
 39+ 'ac-hover-tooltip-body-draft' => "<ul><li>You haven't created an article before, or</li>
 40+ <li>You want to work on your article a bit before it's ready to publish</li></ul>",
3941
4042 'ac-action-create' => 'Create this article myself',
41 - 'ac-action-create-subtitle' => 'I know what I\'m doing',
 43+ 'ac-action-create-subtitle' => 'I know what I\'m doing.',
4244 'ac-create-warning-create' => 'Your article may be deleted immediately if it does not conform to our policies.',
4345 'ac-create-button' => "Let's Go",
44 - 'ac-hover-tooltip-body-create' => '* You have created articles before',
 46+ 'ac-hover-tooltip-body-create' => "<ul><li>You have created articles before, and</li>
 47+ <li>You are familiar with Wikipedia's policies, and</li>
 48+ <li>You <b><i>do not</i></b> have a <i>conflict of interest</i> regarding the subject matter of the article, and</li>
 49+ <li>You have several references about the subject.</li></ul>
 50+ ",
4551
4652 'ac-create-dismiss' => 'I want to skip this step in the future',
4753
Index: trunk/extensions/ArticleCreationWorkflow/modules/ext.articleCreation.user/ext.articleCreation.user.js
@@ -47,9 +47,9 @@
4848 // setup button click states
4949 ac.panel
5050 .find('.ac-article-button')
51 - .click (function () {
 51+ .click (function (e) {
5252 e.preventDefault();
53 -
 53+
5454 $('.ac-article-button')
5555 //remove green states and hide their tooltips
5656 .removeClass('ac-button-green')

Comments

#Comment by MZMcBride (talk | contribs)   01:17, 8 February 2012

Truncated commit summary?

Status & tagging log