Commit graph

2091 commits

Author SHA1 Message Date
Florian Schmidt 800f6cb1b8 Simplify function Captcha::loadText for readability
* Move globals definition to the top of the function
* no else needed, if the if part returns always returns something

I came across this while reading the code in I3a56e4252bbb810c1cf5c632ece9a8edf91c8424

Change-Id: I826a41457667e886b65a07d9d9edc5daec7d1013
2017-02-08 01:50:34 +00:00
Translation updater bot d14201338b Localisation updates from https://translatewiki.net.
Change-Id: Ia5896d2798400ec996c3fb1d5ced6990a77edd6b
2017-02-07 22:41:02 +01:00
Reedy b15d5827d3 Fix class description for maintenance script
Change-Id: I552c9e5e200def239e2894f67183e7e47d202ea4
2017-02-07 15:34:29 +00:00
Translation updater bot 023962f9cb Localisation updates from https://translatewiki.net.
Change-Id: I9da5e1ac089d00a98f4a8107a14bf4b7038b4c69
2017-02-06 22:28:21 +01:00
Translation updater bot a3c6e9dc86 Localisation updates from https://translatewiki.net.
Change-Id: Ibac8bed24c5134834b652adb5dca63d737313752
2017-02-03 22:38:36 +01:00
Reedy 3bf3f53576 Fix inclusion of Maintenance.php
Follows up I9c33c65c913d891739b913d5363abba66c2cd0dd

Change-Id: I6d0bdf25a14f284b0eef71748008cd43b332d7b6
2017-02-01 20:40:06 +00:00
Brad Jorsch 8bfc15c729 Replace use of &$this
Use of &$this doesn't work in PHP 7.1. For callbacks to methods like
array_map() it's completely unnecessary, while for hooks we still need
to pass a reference and so we need to copy $this into a local variable.

Bug: T153505
Change-Id: I065808a2c4dc9bcb80861a79b46cf4b446b70d65
2017-01-31 22:51:00 -05:00
Translation updater bot 8427731a58 Localisation updates from https://translatewiki.net.
Change-Id: Ida96b610226f066b52d334748185a83774fcdef8
2017-01-30 22:26:29 +01:00
jenkins-bot 7125434a44 Merge "Revert "build: Re-use MessageDirs in banana conf"" 2017-01-28 18:30:10 +00:00
Florianschmidtwelzow ae1c290ba7 Revert "build: Re-use MessageDirs in banana conf"
As pointed out by Umherirrender, this does not entirely work
for ConfirmEdit in this way, as there're several subdirectories
which also contain i18n files. I'm not sure why I missed this
in the first place, therefore reverting for now.

This reverts commit 24864a36bd.

Change-Id: Ib83a67650bb5f25eebb66e8701f9bd80b659e573
2017-01-28 18:08:39 +00:00
Translation updater bot 938faa33ee Localisation updates from https://translatewiki.net.
Change-Id: I761fc6ab3b8622e721fc7f894d47294acb8b3baa
2017-01-27 14:33:38 +01:00
Translation updater bot fb8a2711fc Localisation updates from https://translatewiki.net.
Change-Id: I25e3f5e0c70ed2e50c97da78c58b160463f9abfd
2017-01-25 14:23:47 +01:00
Translation updater bot 6d8e49b029 Localisation updates from https://translatewiki.net.
Change-Id: Ie20120d4ccda1ebb46af9d0d799283f0a02c953d
2017-01-23 22:25:52 +01:00
Ed Sanders 24864a36bd build: Re-use MessageDirs in banana conf
Change-Id: I459613ec89ba342a32410061b1a9b04171544cdd
2017-01-23 13:39:21 +00:00
Translation updater bot 1529b4f352 Localisation updates from https://translatewiki.net.
Change-Id: Ifeed1aa3d046939e0a8cda43e443b0daf69e94d2
2017-01-22 22:21:34 +01:00
Translation updater bot 424ddcce0e Localisation updates from https://translatewiki.net.
Change-Id: I3c767fc9a1a320d3c031ad5b70a841df80fb97d1
2017-01-21 22:21:37 +01:00
Translation updater bot 9c341bb7f4 Localisation updates from https://translatewiki.net.
Change-Id: I4b7d67a5b53409b9ee3c58c835cb20c2a250e5f0
2017-01-20 09:22:13 +01:00
Ed Sanders ae85f2ac6b Replace jshint/jscs with eslint and add stylelint
Change-Id: I9c33c65c913d891739b913d5363abba66c2cd0dd
2017-01-18 16:53:09 -08:00
Translation updater bot d0722cfa5e Localisation updates from https://translatewiki.net.
Change-Id: I3e6d262a234116566dfb87065a98cac4891eedc9
2017-01-16 14:23:47 +01:00
Translation updater bot cb187e5227 Localisation updates from https://translatewiki.net.
Change-Id: I68d4dcfe2237085e6615e6919ecc696a02aa90f0
2017-01-11 23:13:26 +01:00
Translation updater bot 0f491d2fc1 Localisation updates from https://translatewiki.net.
Change-Id: I0ace289140af508e173ef4d31c506c4c9b9910fa
2017-01-07 22:11:45 +01:00
Translation updater bot 22fe800eaf Localisation updates from https://translatewiki.net.
Change-Id: I4b94b47330964dc21417eae2dbad129663d9f1d9
2017-01-06 23:07:51 +01:00
Translation updater bot 949ea2f5f6 Localisation updates from https://translatewiki.net.
Change-Id: Ibbeaefda8c92b6f2d3c2a09ec1ccdffdc76c3d92
2017-01-04 22:30:46 +01:00
divadsn 2dc4472e04 Update Maintenance scripts to use $this->requireExtension()
Bug: T152139
Change-Id: I987c75233c8c1d02b240c1f2644aacd43dfff252
2017-01-01 17:34:33 +00:00
Translation updater bot 771f2aca8d Localisation updates from https://translatewiki.net.
Change-Id: I2e62e1424b14b5ecf95e8a494c13b37d8199f82b
2017-01-01 09:53:40 +01:00
Translation updater bot d652e46e22 Localisation updates from https://translatewiki.net.
Change-Id: Id9ffa53a32135352863a054be7389ba9baf2514b
2016-12-26 22:36:43 +01:00
Translation updater bot 57902a7f5d Localisation updates from https://translatewiki.net.
Change-Id: Ifb8d69576fc84ce69155e8cb14ec2d1676c5e1de
2016-12-25 22:16:29 +01:00
Translation updater bot 5689a0313d Localisation updates from https://translatewiki.net.
Change-Id: I948f92473609c22c39f44336ffb2b6843ec5527f
2016-12-24 22:36:01 +01:00
Translation updater bot b106cf90b3 Localisation updates from https://translatewiki.net.
Change-Id: Iaf5680386af2fc3bf6b7d49fbbe506be19ea2601
2016-12-22 22:50:58 +01:00
Translation updater bot 55c6aea80d Localisation updates from https://translatewiki.net.
Change-Id: I817e7710d4b25c37420bb05e0a7f8d9ded5b4f41
2016-12-19 22:42:45 +01:00
Translation updater bot 2fb4477dde Localisation updates from https://translatewiki.net.
Change-Id: Ieda5d65701f85ca43579513e42d1fd5b58f6ef7c
2016-12-17 22:20:31 +01:00
Translation updater bot d844359c3e Localisation updates from https://translatewiki.net.
Change-Id: I60c33e9013bf11f0b82dc3a6b62a11c8609e7e89
2016-12-15 23:14:08 +01:00
Roan Kattouw 28b5e66162 Follow-up 54b4d1e345: fix fatal when $rev is null
Found by ETonkovidova on the Hebrew beta labs wiki.

Bug: T151973
Change-Id: I3a56e4252bbb810c1cf5c632ece9a8edf91c8424
2016-12-12 16:21:25 -08:00
Translation updater bot bb7a370311 Localisation updates from https://translatewiki.net.
Change-Id: Ia68778025967c92abf4c8b084109f8b7bb7e8f3a
2016-12-12 22:22:53 +01:00
rlot 54b4d1e345 Replaced "Revision::getText()" depracated in MediaWiki 1.21
"Revision::getText()" is deprecated in MediaWiki 1.21. Replaced usage

Bug: T151973
Change-Id: I91f93341ac642327657f888ebda7ff9d33f428bf
2016-12-12 20:50:03 +01:00
Translation updater bot 33263f32e6 Localisation updates from https://translatewiki.net.
Change-Id: I918389a32d4c540ca92154e0adc037ff8adc6871
2016-12-06 22:41:55 +01:00
Translation updater bot 89eaef986d Localisation updates from https://translatewiki.net.
Change-Id: I490b80cb4e6125f69c73fd81b7c9b94cdd2ce3b9
2016-12-05 22:46:40 +01:00
Translation updater bot 0817552afc Localisation updates from https://translatewiki.net.
Change-Id: I5a5e0d31fb670362b3c6dc4eca872496befdbf30
2016-12-04 22:36:17 +01:00
jenkins-bot 29fa1339ad Merge "Update for API error i18n" 2016-12-03 22:06:40 +00:00
divadsn b932aeaea1 Simplify system messages to fit for other CAPTCHA modules
The previous system messages referred to a CAPTCHA to be calculated.
With the change to 'following task' this should also fit for other CAPTCHA modules.
Also, the following system messages were also too CAPTCHA module specific:
* MediaWiki:Captcha-edit
* MediaWiki:Captcha-create

Bug: T151216
Change-Id: I5704e01663b21a1bc1baaf33823fc13bb28cba8c
2016-12-02 22:26:29 +00:00
Translation updater bot 80a062ab1a Localisation updates from https://translatewiki.net.
Change-Id: Iad83689bdacdb4848ead2c0e463525a99368bbf9
2016-12-02 22:15:40 +01:00
Translation updater bot 5f64821385 Localisation updates from https://translatewiki.net.
Change-Id: I0b5a2f5f8da0fa794be82a806d5ac809f4359d54
2016-11-28 22:26:09 +01:00
Gergő Tisza bbc318fb51 Rename 'type' field of authevents channel to 'eventType'
'type' is problematic as it conflicts with a default field name
in logstash.

Bug: T145133
Change-Id: Idb73ba3e431ef2bd25b14c8562d1b3f212b4e072
Depends-On: Iab1eb47a6b6c98f3c84b4f8e2d16cbe2cdbf515b
2016-11-26 01:12:58 +00:00
Translation updater bot f1197a7070 Localisation updates from https://translatewiki.net.
Change-Id: I71d949bad4b49045b20c31a29d305e4c1bcdc911
2016-11-25 22:49:02 +01:00
Translation updater bot f04985bb99 Localisation updates from https://translatewiki.net.
Change-Id: I1bfa43c5ea12cee53d19212b3e2858582a9a4000
2016-11-23 22:34:37 +01:00
Translation updater bot 56401b0afc Localisation updates from https://translatewiki.net.
Change-Id: I05aa609b6fc603590595cf22d95c66c5ebce9f16
2016-11-22 23:22:38 +01:00
jenkins-bot 761634716f Merge "Add --delete to GenerateFancyCaptchas" 2016-11-21 21:55:47 +00:00
Translation updater bot f8c1262644 Localisation updates from https://translatewiki.net.
Change-Id: Id055433ef6b84ddd07543cd6ffbac9c9a68b1a84
2016-11-21 22:39:25 +01:00
Reedy 18849474b9 Add --delete to GenerateFancyCaptchas
Bug: T151244
Change-Id: I722b507dc76da4d7f0970e40bb777137b1c0b327
2016-11-21 20:57:57 +00:00
Translation updater bot 53db284886 Localisation updates from https://translatewiki.net.
Change-Id: Idd11f71a0292a2a949b1b5c6988d430d37c55ee2
2016-11-20 22:13:52 +01:00