Commit graph

206 commits

Author SHA1 Message Date
Sam Wilson 8a10910992 Fix various docblock formatting
This fixes some errors in docblock formatting to bring things into
line with MediaWiki coding standards (not all of which are yet
caught by phpcs).

Change-Id: I06b7fc3a9fe09e412b3200b597ce01ef7e7d5ae3
2017-03-25 00:56:01 +00:00
Translation updater bot 0d8536341c Localisation updates from https://translatewiki.net.
Change-Id: Ie9c223a4773af808fe786266be63313dfa9ac286
2017-03-24 22:48:28 +01:00
MusikAnimal 0a4cd510e4 Complete documentation of config variables
Bug: T160094
Change-Id: Icf312685419fb314943ef7b978caf6707724e838
2017-03-24 17:48:20 +00:00
Translation updater bot 3224fe0e8c Localisation updates from https://translatewiki.net.
Change-Id: I8dfcea672064494e3d1b0f9535deebdfb5f23ce1
2017-03-23 22:48:54 +01:00
MusikAnimal 4d4e09ccb8 Simplify messages in login notification, still having two
separate messages so wikis can configure them as desired.

Use UserAvatar image instead of padlock in notification

Add link to Special:ChangePassword

Bug: T160031
Change-Id: I3ce1f40993eb82c843823eb62e160a03041eb799
2017-03-23 09:47:16 -07:00
jenkins-bot 565effb3af Merge "Add README" 2017-03-09 22:39:44 +00:00
niharika29 4fae81abed Update AddNewAccount->LocalUserCreated hook for LoginNotify
Bug: T135270
Change-Id: I0efbacac13807d802e5cc6e4d226d75050f01d2d
2017-02-23 17:47:03 +00:00
Florian Schmidt 3a1a488b23 Use ExtensionRegistry to check, if Echo is installed
Instead of checking, if an internal class exists, it's more
accurate to require an extension and Extensionregistry will
check, if the requirements are fulfilled. If not, it will throw
and exception.

Depends-On: I2bde10ed08048bc0164446dd59d0d4575870fa54
Change-Id: I85a84988c75290d7df63dec27b69b250e305c896
2017-02-05 11:03:19 +00:00
Umherirrender 57bc309d83 Make LoginNotifyHooks::onUserSaveOptions static
call_user_func_array() expects parameter 1 to be a valid callback,
non-static method LoginNotifyHooks::onUserSaveOptions() should not be
called statically

Change-Id: If1242ff69c65fc4ae48fba990a14b02723867dbd
2017-02-05 11:55:55 +01:00
jenkins-bot 0424755035 Merge "Remove EchoBasicFormatter - no longer in use" 2017-02-01 03:37:08 +00:00
niharika29 03839f7d96 Remove EchoBasicFormatter - no longer in use
Cleanup LoginNotify

Bug: T151414
Change-Id: Idc8913ebd80418dc40fb97d0a92fb51de5b07abf
2017-02-01 03:34:42 +00:00
Translation updater bot fb5b92c09e Localisation updates from https://translatewiki.net.
Change-Id: I5a2d9af2f85eb21b7b31c7fb3d8ab69d74d7d0bd
2017-01-31 22:40:51 +01:00
Umherirrender 0682e17314 Add grunt-jsonlint and grunt-banana-checker
jsonlint and banana-checker will test for valid i18n files

Bug: T94547
Change-Id: I68f76b69bf6a3d466ca87c83f0ab86998ef8ef74
2017-01-09 16:37:01 +01:00
Umherirrender 637cd2da5f Avoid duplicate @doc in extension.json
External JSON reader can have problems with duplicate keys in json.

Change-Id: I80c18a77ceafef681708f7656db465fb3717e0c0
2016-12-17 00:48:15 +01:00
niharika29 92016270b2 Add README
Change-Id: I11a0592eeb59a8c4876ac1e01f421fb1aa8decde
2016-12-15 07:40:09 +00:00
Translation updater bot 9f8ecda205 Localisation updates from https://translatewiki.net.
Change-Id: If1585dcafe68966fbb729d4a3d923aeb839445f9
2016-11-29 22:22:37 +01:00
Translation updater bot 9cd6b33be1 Localisation updates from https://translatewiki.net.
Change-Id: I59f77a53da97eccc34b5d98dd2fe8353bd3ceda5
2016-11-25 22:51:34 +01:00
Translation updater bot c330dfc953 Localisation updates from https://translatewiki.net.
Change-Id: Iac91e3f041f79ce259286a31d95a515e828f7ba1
2016-11-24 22:20:33 +01:00
Kunal Mehta 028031bd5e Don't use deprecated wfBaseConvert()
Change-Id: I23eb0a393b2a0f2da32f5f869a22efab92c4069d
2016-11-22 14:48:50 -08:00
Kunal Mehta 9ee40956b0 Fix undefined $cookie variable
Change-Id: I48c9afd2437c8f98ea4ef85e40bccae8fdd1cd0b
2016-11-22 14:47:45 -08:00
Kunal Mehta e691c29829 Improve exception message
So a totally unexpected exception is still debuggable.

Change-Id: I958479252777f9672627e645e5b1f048c2e7dafd
2016-11-22 14:46:34 -08:00
Kunal Mehta 7c1c193f96 DatabaseBase -> Database
Change-Id: Ia37affaccc7818aecee347ee8c10336ee038f110
2016-11-22 14:46:12 -08:00
Translation updater bot fa93b542d6 Localisation updates from https://translatewiki.net.
Change-Id: Ie4d299794ffa2d464a534605011645be29e2805d
2016-11-11 22:57:12 +01:00
Translation updater bot dfb70678d5 Localisation updates from https://translatewiki.net.
Change-Id: Ia7786843cb20c33f86b40fd5a48e271231c61cfc
2016-11-06 22:39:37 +01:00
Translation updater bot f2baa1b94f Localisation updates from https://translatewiki.net.
Change-Id: Id94235dffeaabc7c91786175b64cbbf7e73ee861
2016-11-05 22:55:23 +01:00
jenkins-bot 781dd53a90 Merge "Fix string concatenation" 2016-11-05 05:32:48 +00:00
addshore c1791bf772 Fix string concatenation
Change-Id: I471f04c16be8fc443eb3822f1a317260285bd859
2016-11-05 05:31:04 +00:00
Chad Horohoe 4ae89bbe62 Whoops, track not trace
Change-Id: Ieebc52691a7a96711fad4d2f79d6e6aecb0b9c7a
2016-10-24 17:02:52 -07:00
Chad Horohoe 7e004528f4 Swapping defaultbranch for trace
The former is a maintenance nightmare when branching.

Bug:T146293
Change-Id: I6355c201358e948a92900cf5b0055fbd49af3b5e
2016-10-24 16:37:48 -07:00
Translation updater bot 6310397ad5 Localisation updates from https://translatewiki.net.
Change-Id: Icec6aaa73758bd5ffeba3e08b1adaa29c62d0a1b
2016-10-18 22:37:40 +02:00
addshore a35502916d Fix typos
Change-Id: I49e7e28de3efcb5836e2d99faa357b9f368573b6
2016-09-12 13:37:31 +02:00
Kunal Mehta f58cec3a69 Move tests to tests/phpunit/ and remove hook
The UnitTestsList hook is no longer needed as tests are now
autodiscovered.

Bug: T142120
Change-Id: Ie4abce0cac28c408ed9ba5f4327912a3ca0c2925
2016-08-06 01:30:11 -07:00
Brian Wolff 143d7caa44 Update LoginNotify for AuthManager.
I left the old hook in place for back-compatibility

Bug: T135270
Change-Id: I5800c7de902718958cd4a8edb33cbffd93dd827d
2016-07-07 15:02:11 -04:00
Kunal Mehta 21432dd25f build: Updating mediawiki/mediawiki-codesniffer to 0.7.2
Change-Id: Iacad04f6f7668d0a60707761b5ee5589ed702d80
2016-05-27 18:21:24 -07:00
jenkins-bot d76905a0b3 Merge "Follow-up fea1a38d - respond to Legoktm's comments" 2016-05-16 05:03:42 +00:00
Kunal Mehta ce54143406 build: Updating mediawiki/mediawiki-codesniffer to 0.7.1
Change-Id: Iac9bbf00498490288da0055f02075f1d6ff954ec
2016-05-09 16:52:54 -07:00
Translation updater bot d948e7accf Localisation updates from https://translatewiki.net.
Change-Id: I818728ac5899253f23eef088e050e9d352cecf89
2016-05-07 10:55:34 +02:00
Translation updater bot f3e14bbe44 Localisation updates from https://translatewiki.net.
Change-Id: I70d257e28bcdc04114253bd6db58a0f11428ec26
2016-05-01 23:17:58 +02:00
Brian Wolff 8fa1401235 Follow-up fea1a38d - respond to Legoktm's comments
Also make a minor change to the default config options.

Change-Id: Icf295c50b6f834ec004c73213935679e409b65c5
2016-04-26 12:53:38 -04:00
Brian Wolff 78de4c6aa2 Fix phpcs warnings
Change-Id: Ice5ff0bd25c5e2af522965bf8229e64bce70b593
2016-04-26 12:48:00 -04:00
Brian Wolff 289f5bc285 Merge "Attempt to enable tests" 2016-04-25 20:24:03 +00:00
Brian Wolff 7a6a8aa36d Attempt to enable tests
Copied from BoilerPlate extension...

Change-Id: Ie8bd646dd2bffb57350c3e3fc2c802ee86959e3e
2016-04-25 16:18:22 -04:00
Translation updater bot 48d9b80718 Localisation updates from https://translatewiki.net.
Change-Id: I1815230c0bdd3bfb630a0deb6311ae4511167536
2016-04-24 22:35:11 +02:00
Translation updater bot 35ecc4cf51 Localisation updates from https://translatewiki.net.
Change-Id: I2cc22e4cbd3b4aecba367316ded7c183bd01bf61
2016-04-18 22:20:31 +02:00
Translation updater bot 3250d1150b Localisation updates from https://translatewiki.net.
Change-Id: I3710ce5b289c7955a535e37d792415a571309e9d
2016-04-13 22:20:01 +02:00
Translation updater bot 3802df2234 Localisation updates from https://translatewiki.net.
Change-Id: Ibf0b83ee47b2289a43b3a905750a79523e801e93
2016-04-12 22:53:12 +02:00
Translation updater bot d1e692771c Localisation updates from https://translatewiki.net.
Change-Id: I22fb303289d08c9efcbd37638dd9c66d66c579fe
2016-04-10 20:03:21 +02:00
Translation updater bot 1a72fa824f Localisation updates from https://translatewiki.net.
Change-Id: If3104df1a18ab46cfc9005733fa4761d799b2348
2016-04-07 23:02:22 +02:00
Translation updater bot 0da1662c07 Localisation updates from https://translatewiki.net.
Change-Id: Ibfdc281ffe842bd4bf4eaea6869430c73c5fe68a
2016-04-06 23:13:21 +02:00
Translation updater bot 00dfe305cc Localisation updates from https://translatewiki.net.
Change-Id: I6d80ef0c090d781ff616ec52467db743d46f0d7a
2016-04-05 22:57:22 +02:00