Commit graph

1268 commits

Author SHA1 Message Date
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
Translation updater bot 24001e610a Localisation updates from https://translatewiki.net.
Change-Id: I323d01c5066e16cdc8ec41b1a389f2170fd978a8
2014-01-08 20:31:52 +00:00
Translation updater bot c5b5bdd71c Localisation updates from https://translatewiki.net.
Change-Id: Id7195c1bb67b157c26a6723a5dd3a5dff5fbd2de
2014-01-07 20:41:08 +00:00
Translation updater bot 8fcb274c38 Localisation updates from https://translatewiki.net.
Change-Id: I1e626118ffa22481d465408cfebdb6f84db8afa3
2014-01-06 20:04:24 +00:00
Translation updater bot 03020274ef Localisation updates from https://translatewiki.net.
Change-Id: I235fd63658a5d74d26bf5ab789ef0defb0e17cd3
2014-01-05 20:08:22 +00:00
Translation updater bot ee2413ed33 Localisation updates from https://translatewiki.net.
Change-Id: I4c4228fd55fdb44b06ca65e9da6d2692420a2c02
2014-01-03 20:37:47 +00:00
Translation updater bot 1895ce2760 Localisation updates from https://translatewiki.net.
Change-Id: Ibeabc57b5dd4c67e2af06b00fba0c22bd7be0762
2014-01-02 20:45:38 +00:00
Translation updater bot 9674dd5ec9 Localisation updates from https://translatewiki.net.
Change-Id: Ic176dd3d7e78b1bbd551b8abe260f39427363da8
2014-01-01 19:55:44 +00:00
Translation updater bot b22c5d489b Localisation updates from https://translatewiki.net.
Change-Id: I7bfd87bd8c2c20bf82b585cfdcf82321fadf23a7
2013-12-30 19:56:55 +00:00
Translation updater bot 8bd1a45d28 Localisation updates from https://translatewiki.net.
Change-Id: I2bc0c471b27bd6495033cfeffd2da3ba67e05f53
2013-12-29 19:29:00 +00:00
Translation updater bot 4412f13b1a Localisation updates from https://translatewiki.net.
Change-Id: Ieaf3dd68581946357e77e87316f3e9b734ce8195
2013-12-28 19:27:36 +00:00
Translation updater bot 191c5a80fc Localisation updates from https://translatewiki.net.
Change-Id: Ia9c03f0454dacc023edcbe31cd9c239ecb5eae98
2013-12-27 18:34:16 +00:00
Translation updater bot b64d36bf24 Localisation updates from https://translatewiki.net.
Change-Id: I5ab95b2594f82ddba4530940077864e9fed74fc2
2013-12-25 19:59:48 +00:00
Translation updater bot 1cd6a25679 Localisation updates from https://translatewiki.net.
Change-Id: I7e48327ec801879a7e2224fe7bba99dc54d8a722
2013-12-23 20:46:29 +00:00
Translation updater bot 49832c81c9 Localisation updates from https://translatewiki.net.
Change-Id: I0fa382baef746058e5408eb40110af245b816e5a
2013-12-22 20:29:49 +00:00
Translation updater bot d925f6fbc7 Localisation updates from https://translatewiki.net.
Change-Id: Ifb6c588b8dffeebeb958d9ca0c2dd22265883c84
2013-12-20 20:33:45 +00:00
Translation updater bot b9f2780378 Localisation updates from https://translatewiki.net.
Change-Id: I47a4f3688c840126327c7b5f68ce9e4403e5f09b
2013-12-19 20:51:58 +00:00
tonythomas01 d7014a280e Reworded 'Incorrect or missing confirmation code' CAPTCHA message
The 'Incorrect or missing confirmation code' message was changed to
'Incorrect or missing CAPTCHA' as, its due to a CAPTCHA entered wrong.

Bug: 47689
Change-Id: I871a802c21cdb18a06022f0260cb6f40145bc22e
2013-12-19 10:52:33 +05:30
Translation updater bot 475b3c0a30 Localisation updates from https://translatewiki.net.
Change-Id: I2d37c497170b625215935b34acb017b7287a01d6
2013-12-16 19:45:07 +00:00
Translation updater bot b2d00fed11 Localisation updates from https://translatewiki.net.
Change-Id: I8b5bcada3ef04c2138df3af6017cc7c50f9a12fd
2013-12-15 20:53:26 +00:00
Translation updater bot 955d5d52b2 Localisation updates from https://translatewiki.net.
Change-Id: I70a7d73ff57516b0a0f14bce6a3282ce46c1d2ee
2013-12-14 20:49:28 +00:00
Translation updater bot 5599fc1acd Localisation updates from https://translatewiki.net.
Change-Id: I0178252e7332b95670b51f71772c950bc29f0c02
2013-12-13 20:05:31 +00:00
Translation updater bot 397ce66a9b Localisation updates from https://translatewiki.net.
Change-Id: If3e3e452912ba8b4560b0a9fe38fcbab13fb154f
2013-12-08 20:24:07 +00:00
Translation updater bot 482d8e6f62 Localisation updates from https://translatewiki.net.
Change-Id: I6cc36ce408058f6a09356273ed6f275f18c6c9e5
2013-12-07 01:35:01 +00:00
jenkins-bot 943a17da26 Merge "Allow 'noprotocol' option in captcha-addurl-whitelist" 2013-12-06 17:54:03 +00:00
jenkins-bot a9c4df8baa Merge "Add refresh functionality on fancycaptcha for mobile" 2013-12-02 22:53:19 +00:00
Translation updater bot 3bbca620f8 Localisation updates from https://translatewiki.net.
Change-Id: I2d7c7302b966fcff92a1dfaa4483356010ef4eec
2013-12-02 20:37:28 +00:00
Translation updater bot 6aed546397 Localisation updates from https://translatewiki.net.
Change-Id: I086c5cde5a017eb4271b30b6f8016f1325b3a34b
2013-12-01 19:54:57 +00:00
Translation updater bot 9e12cb03e4 Localisation updates from https://translatewiki.net.
Change-Id: I8830f3b558cd114ce1879318014e12550e9daf1b
2013-11-29 19:28:38 +00:00
tholam 3cb0f3bb62 Add refresh functionality on fancycaptcha for mobile
Created a new module for use in mobilefrontend extension

Dependency: I4c92422428de60d2e11ba891fe44dbf43ad99c43
Bug: 51482
Change-Id: Ieecf289ec5fb7307369ba8b3f1ebbe682b900383
2013-11-27 17:19:36 -08:00
Brad Jorsch 4b7f1eac40 Allow 'noprotocol' option in captcha-addurl-whitelist
ConfirmEdit triggers a captcha when users without the appropriate
userright add new external links. But sometimes there are links that
these users should be able to add without a captcha, e.g. other wikis in
the same farm, so MediaWiki:Captcha-addurl-whitelist allows wiki admins
to whitelist links matching regular expressions.

However, these whitelist entries are automatically prefixed with
"^https?:\/\/+[a-z0-9_\-.]*". While this is usually what is wanted, it
prevents wiki admins from whitelisting other types of links such as tel:
or urn:. Following the example of TitleBlacklist, this change adds
options delimited with <> to the whitelist lines, and adds an option
'noprotocol' that causes that line to be prefixed with only "^" instead.

Bug: 56485
Change-Id: Ia0d484f7a4670df2c7121d1284e4fcf969e818c3
2013-11-23 13:19:13 -05:00
Translation updater bot f74dca7813 Localisation updates from https://translatewiki.net.
Change-Id: I383c4fd8609890da0fcf9fa4dcc8c52a61ebdad4
2013-11-21 20:38:48 +00:00
Yuki Shira 923375ee6f i18n: fix double-space
* double-space
* capitalize CAPTCHA

Change-Id: I7b0449521aa645f55ce835df05bd6c94582048df
2013-11-19 13:30:23 +09:00
Translation updater bot 4d55430214 Localisation updates from http://translatewiki.net.
Change-Id: Id6a0edc8b5c02ff419bce2f10abe12fb0c2d9df6
2013-11-15 20:24:36 +00:00
Translation updater bot 766c7087e5 Localisation updates from http://translatewiki.net.
Change-Id: I2797d9536ca24e24e79dd5e64c98086c1363aad1
2013-11-10 20:27:38 +00:00