Jayden Bailey
2a9a65a59a
Properly handle UserIdentity objects in createUserLinks and ensure CIDR blocks appear on blocked messages
...
Fixes #47
2023-05-19 01:52:40 +01:00
Jayden
2a560d9acc
Update extension.json
2022-12-19 03:42:48 +00:00
Jayden
0b91e8edc8
Update extension.json
2022-05-25 21:48:40 +01:00
Jayden Bailey
96070a6538
Update to support MediaWiki 1.38. Use UserFactory for creating User objects from UserIdentity.
2022-05-23 15:04:36 +01:00
Jayden Bailey
80f28e5920
Do not parse any Discord mentions in webhook messages
...
Resolves #42 , closes #41
2022-04-18 21:08:32 +01:00
Jayden Bailey
27d39a9d4a
Add support for the Renameuser extension
2021-11-29 19:18:49 +00:00
Jayden
e5b1669d53
Merge pull request #39 from TehKittyCat/fixes
...
Fix Diff Links
2021-11-22 11:56:40 +00:00
TehKittyCat
d3c49f1123
Fix broken diff link.
2021-11-22 02:43:27 -05:00
TehKittyCat
5ea635fd9a
Remove unneeded 'use WikiPage', fixes PHP notice.
2021-11-22 01:47:51 -05:00
Jayden Bailey
4304818bdb
Fix another deprecation warning
2021-11-21 18:46:34 +00:00
Jayden Bailey
3fb4b609d4
Update README to indicate new minimum MW requirement
2021-11-17 13:09:37 +00:00
Jayden Bailey
83deddd7ee
Merge branch 'TehKittyCat-deprecation-fixes'
2021-11-17 13:08:40 +00:00
Jayden Bailey
160a512d67
Fix removed function call in createRevisionText (1.36+)
...
This commit raises the requirement of the extension to MediaWiki 1.36.
2021-11-17 13:06:16 +00:00
TehKittyCat
f4dc6960bb
Replace remaining usage of Revision with RevisionRecord to eliminate MediaWiki 1.36 deprecations and to fix MediaWiki 1.37 compatibility, where it has been removed.
2021-11-17 00:45:17 -05:00
TehKittyCat
c24fee7a66
Replace usage of deprecated hooks. PageContentSaveComplete is replaced with PageSaveComplete and TitleMoveComplete is replaced with PageMoveComplete. This extension now requires MediaWiki 1.35 or higher.
2021-11-17 00:21:12 -05:00
TehKittyCat
1e962c55fb
Fix "Title::get{Canonical,Full,Link,Local,Internal}URL method called with a second parameter is deprecated since MediaWiki 1.19. Add your parameter to an array passed as the first parameter.", fix function call casing, and use the canonical protocol.
2021-11-16 16:11:31 -05:00
Jayden Bailey
0a6992b13b
Update README
2021-10-19 14:20:41 +01:00
Jayden Bailey
95567934b0
Remove composer.json. I don't use unit tests here.
2021-10-19 14:06:10 +01:00
Jayden
5e04b3afda
Merge pull request #36 from dodocodes/patch-2
...
Update README.md
2021-09-14 02:55:52 +01:00
Jayden
91610c72fd
Update README.md
2021-09-14 02:55:40 +01:00
Jayden
f1cae6b097
Merge pull request #35 from DesignerThan95/patch-1
...
Update extension.json - added missing colon
2021-09-14 02:55:08 +01:00
DodoCodes.com
1a9cbbf48f
Update README.md
...
Added instructions for installing missing dependencies.
2021-09-12 18:16:38 -07:00
DesignerThan
df0b14017b
Update extension.json - added missing colon
2021-08-17 23:38:05 +02:00
Jayden Bailey
ffc78324ff
Fix bug with preg_replace for username truncating and change truncation to be configurable
2021-05-04 17:27:34 +01:00
Jayden Bailey
5a303252e3
Merge branch 'master' of github.com:jaydenkieran/mw-discord
2021-05-04 17:02:24 +01:00
Jayden Bailey
4ec63619f5
Change emojis to be configurable ( resolves #25 )
2021-05-04 17:00:55 +01:00
Jayden Bailey
572d9e3d87
Sanitise summary/reason text input ( closes #13 )
2021-05-04 17:00:47 +01:00
Jayden Bailey
3eb34310ef
Merge pull request #33 from Joeytje50/patch-1
...
Abbreviate anyone with a name longer than 25 chars
2021-05-04 16:08:34 +01:00
Joeytje50
7c20f06902
Abbreviate anyone with a name longer than 25 chars
...
Any username of 25 or more characters will be abbreviated to the first 20 characters, then `...`, and then the last three. This is especially helpful for RC stalkers with discord taking up only half their screen.
Different ways to abbreviate names would be possible by changing the regex pattern's numbers, or the resulting string.
2021-04-23 17:13:11 +02:00
Jayden Bailey
144499a248
Update README with branch/install info
2020-09-18 14:58:28 +01:00
Jayden Bailey
079e688ee9
Fix fatal error when blocking users
...
Fixes #27 , closes #29
2020-09-18 14:51:07 +01:00
Jayden Bailey
fb6e0f7755
Update README file
1.0.12
2020-06-12 16:02:35 +01:00
Jayden Bailey
4e17d17de6
Add emojis config option
2020-06-12 16:00:01 +01:00
Jayden Bailey
f3b2531380
Support Approved Revs hooks
...
Closes #24
2020-06-12 15:36:15 +01:00
Jayden Bailey
536a4afe13
Support ArticleMergeComplete hook
...
Closes #16
2020-06-12 14:22:16 +01:00
Jayden Bailey
b3648a462c
Use RequestContext instead of wgUser
...
Closes #9
1.0.11
2019-11-23 11:48:21 +00:00
Jayden Bailey
bbff717a24
Add extra debug log message
1.0.10
2019-11-23 09:55:16 +00:00
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