Commit graph

1352 commits

Author SHA1 Message Date
Translation updater bot afcbcbb92c Localisation updates from https://translatewiki.net.
Change-Id: I5e2e60b0a28f0bd2325b907b76b9060e0692b9c5
2014-03-26 20:38:39 +00:00
Siebrand Mazeland aca764a8c2 Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: I71327ba3a0db3f9a94afcac033f1d2fde0ca4173
2014-03-26 12:58:25 +01:00
Translation updater bot 25899151d9 Localisation updates from https://translatewiki.net.
Change-Id: I03afb7d4cbacaa4500c64060311e60648d5bb532
2014-03-25 20:49:52 +00:00
Translation updater bot ccc2523a7f Localisation updates from https://translatewiki.net.
Change-Id: I4942fcf4ab8850d37c28f145b1a8b9a432a4c21a
2014-03-23 20:28:41 +00:00
Translation updater bot 77a5ac4fb6 Localisation updates from https://translatewiki.net.
Change-Id: Ic5d8c136d30bd67b78cb4bfd11df713fd6675bbb
2014-03-22 20:47:38 +00:00
Translation updater bot c59ecb8e2a Localisation updates from https://translatewiki.net.
Change-Id: I948ab6ae8b5ef990483e5de4edae4e18b298e14e
2014-03-21 20:44:47 +00:00
Translation updater bot 01cf52c9eb Localisation updates from https://translatewiki.net.
Change-Id: I535dcb1e679a0f02213de83df36a1e5043c8b1d5
2014-03-19 20:41:18 +00:00
Translation updater bot e71e496383 Localisation updates from https://translatewiki.net.
Change-Id: I52d609bcae8e1b139a10b93fcc79197f394b995d
2014-03-18 20:59:38 +00:00
Brion VIBBER 1aa99af75f Merge "Return captcha information via createaccount API only if no other errors" 2014-03-13 21:10:37 +00:00
Translation updater bot db7962f073 Localisation updates from https://translatewiki.net.
Change-Id: I8344acb946eccb3bab6a534b609367735e01b290
2014-03-13 15:43:25 +00:00
Max Semenik 8a336ddd9a Return captcha information via createaccount API only if no other errors
Bug: 61704
Change-Id: I707aab2c0accff8ab5a36666c49815106356b2c7
2014-03-13 02:37:17 +04:00
jenkins-bot a32cd4f168 Merge "Add COPYING" 2014-03-11 15:36:11 +00:00
Translation updater bot 52f3a49bf1 Localisation updates from https://translatewiki.net.
Change-Id: I1512aa38cad361597340a4b4c90c2a22ac57483c
2014-03-10 21:26:03 +00:00
Translation updater bot 5b0ccc178f Localisation updates from https://translatewiki.net.
Change-Id: Iffab65500ed45a3ca63c3876405fbc8bde2f8d16
2014-03-09 20:28:02 +00:00
Translation updater bot a2e2133321 Merge "Localisation updates from https://translatewiki.net." 2014-03-07 21:58:04 +00:00
Translation updater bot 9080b0952e Localisation updates from https://translatewiki.net.
Change-Id: I71c35ddc9f83ed929ddc939c581b763c526ddacc
2014-03-07 21:37:22 +00:00
jenkins-bot da37528fc3 Merge "Cleaner response for captcha-related createaccount API failure" 2014-03-06 21:13:53 +00:00
Translation updater bot fbf0f655b7 Localisation updates from https://translatewiki.net.
Change-Id: I6cf9de8d413020d0e45bb34999e0546256a42525
2014-03-04 20:42:56 +00:00
Translation updater bot 54a81f92a6 Localisation updates from https://translatewiki.net.
Change-Id: Iea67bf173ed062b06314a4bad4538b9e98ebaa54
2014-03-03 21:05:20 +00:00
Translation updater bot 2fd297b365 Localisation updates from https://translatewiki.net.
Change-Id: Icac637642e98662e3e14c6154ae9e4267cf8a13a
2014-03-02 20:37:17 +00:00
Brion Vibber fe6fe5410f Cleaner response for captcha-related createaccount API failure
Instead of a generic API error, you get back a non-Success-resulted
creataccount response, with result='NeedCaptcha'. There's also a warning
included with the message key, and of course the captcha key:

array (
  'createaccount' =>
  array (
    'result' => 'NeedCaptcha',
    'warnings' =>
    array (
      0 =>
      array (
        'type' => 'warning',
        'message' => 'captcha-createaccount-fail',
        'params' =>
        array (
        ),
      ),
    ),
    'captcha' =>
    array (
      'type' => 'simple',
      'mime' => 'text/plain',
      'id' => '91510936',
      'question' => '76−3',
    ),
  ),
)

Change-Id: Id1c9e387c592e6d51a5bd58d99ce3d644dfa300b
2014-02-28 14:50:50 -08:00
Translation updater bot 7bf7bb31e5 Localisation updates from https://translatewiki.net.
Change-Id: Ia6f4c85f452064d22877a4b0c78335ed93fef2d0
2014-02-26 21:58:12 +00:00
Translation updater bot 43d5fed223 Localisation updates from https://translatewiki.net.
Change-Id: Ib4c430bf3e38e13367d236f2372184866bad0d54
2014-02-24 21:01:49 +00:00
Translation updater bot 415652df81 Localisation updates from https://translatewiki.net.
Change-Id: I9e8011f38b91969d90db9f8713dfa98f1c5b90d1
2014-02-23 21:38:03 +00:00
YuviPanda bfcd41732d Expect camelcase status codes from action=createaccount
Followup to efcf0a3f61b5bcdf5f9f6f716fa732b6afb9336e.
Bug: 61663

Change-Id: I1c8f1b7cd8cdf74b84869d6a58e5f5ca24b62184
2014-02-20 21:27:32 +05:30
jenkins-bot 22e9a55a65 Merge "Remove unused/incomplete stale HTMLCaptchaField" 2014-02-20 03:29:24 +00:00
Translation updater bot c413b2d03e Localisation updates from https://translatewiki.net.
Change-Id: Ie3e69b7de7e154cdffe244a5988c96623227fe26
2014-02-19 20:03:37 +00:00
Reedy b4e4ee3fca Remove unused/incomplete stale HTMLCaptchaField
Fixup type hint to remove Captcha type

Change-Id: I30cdf2a34dce9f8bf6731c845d7910fad1d42e42
2014-02-18 02:13:12 +00:00
Translation updater bot 0e90f20143 Localisation updates from https://translatewiki.net.
Change-Id: I0fd6e3896503f01be9f5b950a173be9f6be0265d
2014-02-17 20:45:20 +00:00
Translation updater bot 0f7ff83642 Localisation updates from https://translatewiki.net.
Change-Id: Ifbdac4b8ba093d51081d59eb697e21a02e5adfb3
2014-02-15 21:03:18 +00:00
Translation updater bot cd246b10ce Localisation updates from https://translatewiki.net.
Change-Id: Ifb3523f0c54dd70336b2b2492415474396269a77
2014-02-14 20:18:31 +00:00
Translation updater bot 77ccc5ca34 Localisation updates from https://translatewiki.net.
Change-Id: Ic9519e0797cb7dabb7a02497818190269132d016
2014-02-09 20:15:00 +00:00
Translation updater bot 836e6422ab Localisation updates from https://translatewiki.net.
Change-Id: I72af69bffaa6915cb9f38ee3fe36d75af950d81d
2014-02-08 21:22:29 +00:00
Reedy 226657ee00 Add COPYING
Change-Id: I3591a9ced5d6b1866123d6dbcf11b0f3e6529229
2014-02-08 01:51:17 +00:00
Translation updater bot a92fa05ba5 Localisation updates from https://translatewiki.net.
Change-Id: Ib008bb30befd08e951b35a01a0bb8d2406dcd0c5
2014-02-05 21:40:02 +00:00
Translation updater bot 11fc61202a Localisation updates from https://translatewiki.net.
Change-Id: I887e0cce0d5594f77fd54e813670f4ff3013118f
2014-02-03 21:19:04 +00:00
Translation updater bot 0c222edc25 Localisation updates from https://translatewiki.net.
Change-Id: I6c785700411165f09f8d3b86c04c577d5c9b4769
2014-01-28 21:18:20 +00:00
Translation updater bot d2e789380b Localisation updates from https://translatewiki.net.
Change-Id: Ia66fdf97513105b06e843d6221beef76406db2db
2014-01-23 20:11:55 +00:00
Translation updater bot f7652b430e Localisation updates from https://translatewiki.net.
Change-Id: I23fe553088355538c6738eb0446422025718e2df
2014-01-19 20:13:19 +00:00
jenkins-bot 07470eef16 Merge "Update ConfirmEdit to return Status object on AbortNewAccount hook" 2014-01-17 23:32:52 +00:00
jenkins-bot 5a63c99dec Merge "Use new hooks in API action=createaccount for Captcha" 2014-01-17 23:31:32 +00:00
Brion Vibber 19dcbb6fa2 Update ConfirmEdit to return Status object on AbortNewAccount hook
Requires core update I6ae34c0 to actually send the message key back
in the error response. On older MediaWiki versions, behavior should
remain unchanged.

Bug: 60008
Change-Id: If9cc08e44d1d2efacf817b8c6cbb2d71a4e8b692
2014-01-17 13:38:51 -08:00
Brion Vibber 78e6f5ec79 Use new hooks in API action=createaccount for Captcha
Hooks used:
* AddNewAccountApiForm
* AddNewAccountApiResult

This adds a 'captcha' section to the results with the same format
as we provide for editing; you'll get this for instance at the
same time as you do a first-request that prompts for a token.

No modification to the result status is included; presence of
the 'captcha' section is assumed to be enough to prompt the client
to fetch and render the captcha prompt.

Failure to pass a captcha will return an API error message; a
subsequent commit fixes problems with that error message being
hard to machine-read.

Note that logic from inside Captcha::confirmUserCreate has been
pulled out to Captcha::needCreateAccountCaptcha so we don't
send captcha information to users who don't need it.

Requires core changes: If5b7dab8

Sample API client: https://github.com/brion/api-createaccount

Bug: 46072

Change-Id: Id628defaeab2bf5979ca8f4284d14fc42d9c3e46
2014-01-17 12:49:23 -08:00
Translation updater bot 5755d532dd Localisation updates from https://translatewiki.net.
Change-Id: I7903fe4b0c829a9e3fe903532de16f0f8bfcb0d6
2014-01-17 20:38:48 +00:00
jenkins-bot 1a9a389be4 Merge "Fix depreciation warnings in FileBackend construction for ConfirmEdit" 2014-01-16 04:57:29 +00:00
Translation updater bot 3510b6fa42 Localisation updates from https://translatewiki.net.
Change-Id: I968a92611f8e1642e16a037e35604769aa1c6a26
2014-01-15 21:00:28 +00:00
Translation updater bot 9f63ac3e7a Localisation updates from https://translatewiki.net.
Change-Id: Ia906210f6bff6a06f4462b0f51dfbc015eed1662
2014-01-12 20:34:13 +00:00
tonythomas01 bcd0a3fc6c Fix depreciation warnings in FileBackend construction for ConfirmEdit
Modified getBackend() function to add values for WikiID and
lockmanager( array() )
Fixed spacing

Bug: 58614
Change-Id: I448579ac71809365d9f8c64eccfd2e08949f149d
2014-01-13 00:25:17 +05:30
Translation updater bot ef09320a5b Localisation updates from https://translatewiki.net.
Change-Id: I8372cc1b5329eb5c67b536fdd816a0807950e4b9
2014-01-11 22:06:43 +00:00
Translation updater bot 2355fc6170 Localisation updates from https://translatewiki.net.
Change-Id: Ibd4f66a524e2c243906ad2dd3964ab2426255cf4
2014-01-09 20:27:11 +00:00