Commit Graph

162 Commits

Author SHA1 Message Date
Jayden Bailey 6d8b2c33cb Add Content-Type header for curl requests 2019-11-23 09:53:09 +00:00
Jayden Bailey 47eef3c35d Small fix for error message 2019-11-23 09:00:24 +00:00
Jayden Bailey 7f51c4f310 Update README 2019-07-24 12:29:13 +01:00
Jayden Bailey ad101a326f Send messages for Special:Import
Fixes #6
1.0.8
2019-07-24 12:26:46 +01:00
Jayden Bailey 687d1abf1f Update project README file 2019-07-19 17:03:26 +01:00
Jayden Bailey 0df5463a87 Bump extension version 1.0.7 2019-07-19 16:59:04 +01:00
Jayden Bailey 10b4db72f7 Link directly to contribs page when user is anonymous
Resolves #12
2019-07-19 16:58:41 +01:00
Jayden Bailey fb9ada8f9c Drop cURL timeout down to 10 seconds incase of Discord downtime 2019-07-19 16:40:20 +01:00
Jayden Bailey 9a7dd03d5c Add option for using file_get_contents
Resolves #14
2019-07-19 16:39:38 +01:00
Jayden Bailey fa9149165d Bump version and update readme 1.0.6 2019-06-16 13:39:56 +01:00
Jayden Bailey ca3a5f8047 Add option to include timestamps on messages
Closes #11
2019-06-16 13:38:15 +01:00
Jayden Bailey 591ef8746e Merge pull request #8 from Dinoguy1000/patch-2
consistently suppress bot actions...
1.0.5
2019-05-13 18:33:47 +01:00
Dinoguy1000 6c2e30deab bump version number too 2019-04-30 19:28:29 -05:00
Dinoguy1000 ce780adf10 Update DiscordHooks.php 2019-04-30 19:22:35 -05:00
Jayden Bailey 680040e823 Merge pull request #3 from Railfail536/patch-1
Add Polish i18n
2019-05-01 01:20:57 +01:00
Jayden Bailey 8fa8dce03d Merge pull request #7 from Dinoguy1000/patch-1
default to revision size for diff size
2019-05-01 01:14:21 +01:00
Dinoguy1000 c3bdbecee5 consistently suppress bot actions...
...when $wgDiscordNoBots is true. This prevents (un)deletions, (un)protections, and file uploads from being reported when performed by a bot. Also did a bit of globals cleanup in one function.
2019-04-29 15:05:53 -05:00
Dinoguy1000 6ccca7b823 default to revision size for diff size
Certain events (primarily page creations) fail to display a diff size because there effectively is no diff (there is no previous revision to diff with); in these cases, just display the size of the current revision.
2019-04-29 14:52:52 -05:00
Jayden Bailey 03d612a3f7 handle potential strings in createUserLinks 2019-04-24 11:11:00 +01:00
Jayden Bailey 9830df7e97 Merge pull request #5 from xunto/xunto-patch-2
Fix unneeded broken curl_exec (Unknown Error with Visual Editor)
2019-01-29 22:16:11 +00:00
Orlov Valentine cecb90dffc Fix unneeded broken curl_exec 2019-01-30 00:44:53 +03:00
Jayden Bailey 9034275470 Update extension.json 1.0.4 2019-01-29 13:33:50 +00:00
Jayden Bailey 3f1e1e784b Add different message for page creations
Closes #4
2019-01-29 13:32:40 +00:00
Rail 78d66e5e31 + pl.json 2019-01-28 12:19:52 +01:00
Jayden Bailey f0cf5a741d fix substitution on remaining hooks 2019-01-24 16:51:05 +00:00
Jayden Bailey c193c24be2 better checks for file namespace 1.0.3 2019-01-22 16:22:26 +00:00
Jayden Bailey 4b46212f49 stop substitution for edit summaries 2019-01-22 16:02:28 +00:00
Jayden Bailey d6d0f22c01 Add wgDiscordDisabledUsers, closes #1 1.0.2 2018-12-30 21:14:07 +00:00
Jayden Bailey 0cf579aa6a Add DiscordMaxChars 1.0.1 2018-12-16 21:12:13 +00:00
Jayden Bailey ac38da8529 remove defunct tests 2018-12-16 20:49:24 +00:00
Jayden Bailey 08edbc98d9 discord instructions 1.0 2018-12-10 18:54:00 +00:00
Jayden Bailey 580ff29cd7 update readme 2018-12-10 18:50:15 +00:00
Jayden Bailey f1df631108 fix readme 2018-12-10 14:50:46 +00:00
Jayden Bailey 6f9dd64dd1 finalise i18n 2018-12-10 14:50:17 +00:00
Jayden Bailey fc87b4c85d update last commit 2018-12-10 01:45:20 +00:00
Jayden Bailey 789f9866db update previous commit 2018-12-10 01:39:22 +00:00
Jayden Bailey ead900bf2a i18n - discord-articledelete 2018-12-10 01:36:05 +00:00
Jayden Bailey 9915584d88 i18n - discord-revisionlinks 2018-12-10 01:19:02 +00:00
Jayden Bailey be4edee059 i18n - userlinks 2018-12-10 00:56:13 +00:00
Jayden Bailey 6755bb5a09 i18n - discord-edit 2018-12-10 00:45:57 +00:00
Jayden Bailey 64190cb3b0 add example image to readme 2018-12-09 23:37:30 +00:00
Jayden Bailey 785a487305 wgDiscordDisabledNS 2018-12-09 23:33:59 +00:00
Jayden Bailey e41c34a7c4 update last commit 2018-12-09 23:06:32 +00:00
Jayden Bailey 398fbea334 update last commit 2018-12-09 23:04:38 +00:00
Jayden Bailey 9049111917 wgDiscordDisabledHooks 2018-12-09 23:03:46 +00:00
Jayden Bailey 07b74b1bd4 wgDiscordSuppressPreviews 2018-12-09 21:24:44 +00:00
Jayden Bailey 400dde09b8 slightly change formatting 2018-12-09 21:13:18 +00:00
Jayden Bailey 4d583c4e89 add a deferredupdate for executing the webhook 2018-12-09 21:11:00 +00:00
Jayden Bailey 166553d0df switch height and width around 2018-12-09 20:55:50 +00:00
Jayden Bailey a263b98b3d update doc comment for onArticleUndelete 2018-12-09 20:48:02 +00:00