Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding in recent changes #1

Open
wants to merge 289 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
289 commits
Select commit Hold shift + click to select a range
299e11a
Localisation updates from https://translatewiki.net.
translatewiki Jul 8, 2021
ca3a2ef
Localisation updates from https://translatewiki.net.
translatewiki Jul 12, 2021
5555f98
build: Updating mediawiki/mediawiki-codesniffer to 37.0.0
Jul 22, 2021
f0481e4
Localisation updates from https://translatewiki.net.
translatewiki Jul 23, 2021
8cc79d7
Localisation updates from https://translatewiki.net.
translatewiki Jul 26, 2021
6fee8ab
Localisation updates from https://translatewiki.net.
translatewiki Jul 30, 2021
9311a50
Localisation updates from https://translatewiki.net.
translatewiki Aug 9, 2021
2f9ff9c
build: Updating path-parse to 1.0.7
Aug 11, 2021
d496622
Localisation updates from https://translatewiki.net.
translatewiki Aug 19, 2021
51f9ce8
Alter use of deprecated methods to ones called 'Primary'
jdforrester Sep 7, 2021
2e57f90
Localisation updates from https://translatewiki.net.
translatewiki Sep 29, 2021
913ca7c
Localisation updates from https://translatewiki.net.
translatewiki Oct 4, 2021
8f15979
build: Updating dependencies
Oct 4, 2021
3326f61
Localisation updates from https://translatewiki.net.
translatewiki Oct 5, 2021
60455d8
Localisation updates from https://translatewiki.net.
translatewiki Oct 6, 2021
5aa7b62
Localisation updates from https://translatewiki.net.
translatewiki Oct 7, 2021
d9688f9
Localisation updates from https://translatewiki.net.
translatewiki Oct 18, 2021
0927fb2
build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Oct 23, 2021
581b910
Localisation updates from https://translatewiki.net.
translatewiki Oct 27, 2021
096ba57
Localisation updates from https://translatewiki.net.
translatewiki Nov 1, 2021
6a019be
Localisation updates from https://translatewiki.net.
translatewiki Nov 8, 2021
bbe1058
Localisation updates from https://translatewiki.net.
translatewiki Nov 17, 2021
c428b78
Localisation updates from https://translatewiki.net.
translatewiki Nov 26, 2021
4400956
Localisation updates from https://translatewiki.net.
translatewiki Nov 30, 2021
4b35487
Remove PHP entry point
umherirrender Dec 4, 2021
906f666
Localisation updates from https://translatewiki.net.
translatewiki Dec 6, 2021
6c7e03a
Merge "Avoid using User group methods"
Dec 6, 2021
dbfd58d
Localisation updates from https://translatewiki.net.
translatewiki Dec 13, 2021
97bc830
Localisation updates from https://translatewiki.net.
translatewiki Dec 16, 2021
00921b1
Replace usages of deprecated wfWikiID()
Dec 21, 2021
fdad86a
Localisation updates from https://translatewiki.net.
translatewiki Dec 27, 2021
62b8066
Localisation updates from https://translatewiki.net.
translatewiki Jan 6, 2022
f962fd2
Localisation updates from https://translatewiki.net.
translatewiki Jan 14, 2022
8549ed2
Localisation updates from https://translatewiki.net.
translatewiki Jan 17, 2022
ac2566d
Localisation updates from https://translatewiki.net.
translatewiki Jan 18, 2022
b902767
Localisation updates from https://translatewiki.net.
translatewiki Jan 24, 2022
66822d5
Localisation updates from https://translatewiki.net.
translatewiki Jan 25, 2022
ec583ba
Replace deprecated User::newFromConfirmationCode with UserFactory
umherirrender Dec 19, 2021
548174d
Replace deprecated wfReadOnly()
umherirrender Feb 3, 2022
c572114
build: Updating npm dependencies
Feb 6, 2022
9ebdc80
Localisation updates from https://translatewiki.net.
translatewiki Feb 25, 2022
640ecd8
Localisation updates from https://translatewiki.net.
translatewiki Feb 28, 2022
6708463
Localisation updates from https://translatewiki.net.
translatewiki Mar 3, 2022
5cfeccd
Localisation updates from https://translatewiki.net.
translatewiki Mar 4, 2022
ac212d9
Localisation updates from https://translatewiki.net.
translatewiki Mar 9, 2022
97e9e83
Localisation updates from https://translatewiki.net.
translatewiki Mar 11, 2022
d108c9f
Use cancelAtomic() instead of rollbackPrimaryChanges() to avoid side-…
AaronSchulz Mar 15, 2022
22110e0
Localisation updates from https://translatewiki.net.
translatewiki Mar 16, 2022
e284dbc
Merge "Use cancelAtomic() instead of rollbackPrimaryChanges() to avoi…
Mar 16, 2022
07e9109
Localisation updates from https://translatewiki.net.
translatewiki Mar 21, 2022
fd53a5a
Localisation updates from https://translatewiki.net.
translatewiki Mar 22, 2022
2b890f9
Localisation updates from https://translatewiki.net.
translatewiki Mar 24, 2022
1dc4868
Localisation updates from https://translatewiki.net.
translatewiki Mar 28, 2022
48d25f7
Localisation updates from https://translatewiki.net.
translatewiki Mar 30, 2022
19f3ee6
Localisation updates from https://translatewiki.net.
translatewiki Mar 31, 2022
6e34113
Localisation updates from https://translatewiki.net.
translatewiki Apr 1, 2022
2b6c9ed
Localisation updates from https://translatewiki.net.
translatewiki Apr 6, 2022
93b45bd
Localisation updates from https://translatewiki.net.
translatewiki Apr 8, 2022
759546d
Localisation updates from https://translatewiki.net.
translatewiki Apr 11, 2022
0483028
Localisation updates from https://translatewiki.net.
translatewiki Apr 12, 2022
71c3465
build: Updating npm dependencies
Apr 14, 2022
131d7e9
Localisation updates from https://translatewiki.net.
translatewiki Apr 15, 2022
8117b73
Localisation updates from https://translatewiki.net.
translatewiki Apr 18, 2022
f261833
Localisation updates from https://translatewiki.net.
translatewiki Apr 25, 2022
7a19cf7
Localisation updates from https://translatewiki.net.
translatewiki Apr 26, 2022
b17dcd6
build: Updating grunt to 1.5.2
Apr 27, 2022
ac4ba36
Localisation updates from https://translatewiki.net.
translatewiki Apr 28, 2022
babdf86
Localisation updates from https://translatewiki.net.
translatewiki May 2, 2022
693ec79
Localisation updates from https://translatewiki.net.
translatewiki May 16, 2022
da43bbb
Localisation updates from https://translatewiki.net.
translatewiki May 20, 2022
6740ae6
build: Updating dependencies
May 20, 2022
8dd2111
Localisation updates from https://translatewiki.net.
translatewiki May 23, 2022
e2003e2
Use WikiPage::doUserEditContent() instead of ::doEditContent()
DannyS712 May 26, 2022
e82e171
build: Updating grunt to 1.5.3
May 26, 2022
77a0a6e
Localisation updates from https://translatewiki.net.
translatewiki Jun 6, 2022
a4dee4b
Remove use of deprecated Database::nextSequenceValue() method
AaronSchulz Jun 8, 2022
e617fb0
Localisation updates from https://translatewiki.net.
translatewiki Jun 20, 2022
a53d070
Use WikiPageFactory to create WikiPage object
umherirrender Jun 25, 2022
249e9db
Localisation updates from https://translatewiki.net.
translatewiki Jul 1, 2022
cf557fe
Localisation updates from https://translatewiki.net.
translatewiki Jul 5, 2022
eeffb66
Localisation updates from https://translatewiki.net.
translatewiki Jul 12, 2022
fda9257
Localisation updates from https://translatewiki.net.
translatewiki Jul 15, 2022
c696985
Localisation updates from https://translatewiki.net.
translatewiki Jul 18, 2022
8aa813d
Localisation updates from https://translatewiki.net.
translatewiki Jul 25, 2022
7c8a60c
Localisation updates from https://translatewiki.net.
translatewiki Aug 8, 2022
f7e947e
Localisation updates from https://translatewiki.net.
translatewiki Aug 11, 2022
b23ace4
Use UserOptionsLookup::getOption instead of deprecated User::getOption
Aug 21, 2022
7a50d0b
Localisation updates from https://translatewiki.net.
translatewiki Aug 22, 2022
f57ba4a
Localisation updates from https://translatewiki.net.
translatewiki Aug 23, 2022
c4cb860
Localisation updates from https://translatewiki.net.
translatewiki Aug 25, 2022
e8fcd77
Merge "Use UserOptionsLookup::getOption instead of deprecated User::g…
Aug 25, 2022
0716d35
Localisation updates from https://translatewiki.net.
translatewiki Aug 29, 2022
a544c9e
Localisation updates from https://translatewiki.net.
translatewiki Aug 30, 2022
9b6e91a
Do verify the captcha
Seb35 Sep 9, 2022
2121409
Replace deprecated hook PersonalUrls
Seb35 Sep 9, 2022
2366987
Merge "Do verify the captcha"
Sep 21, 2022
c9f515d
Localisation updates from https://translatewiki.net.
translatewiki Sep 26, 2022
6b833dc
build: Updating grunt-banana-checker to 0.10.0
Oct 6, 2022
c23409d
Localisation updates from https://translatewiki.net.
translatewiki Oct 10, 2022
bdab16a
Localisation updates from https://translatewiki.net.
translatewiki Oct 13, 2022
bdfc30e
Localisation updates from https://translatewiki.net.
translatewiki Oct 17, 2022
a906952
Localisation updates from https://translatewiki.net.
translatewiki Oct 19, 2022
d80c2f5
build: Updating minimatch to 3.0.8
Oct 21, 2022
73e14ac
Localisation updates from https://translatewiki.net.
translatewiki Oct 28, 2022
5ce3825
Localisation updates from https://translatewiki.net.
translatewiki Nov 1, 2022
7aca2d0
Localisation updates from https://translatewiki.net.
translatewiki Nov 2, 2022
1a62eef
Localisation updates from https://translatewiki.net.
translatewiki Nov 4, 2022
a228101
Localisation updates from https://translatewiki.net.
translatewiki Nov 10, 2022
a3082df
build: Updating mediawiki/mediawiki-codesniffer to 40.0.1
Nov 16, 2022
3b5ff28
Localisation updates from https://translatewiki.net.
translatewiki Nov 18, 2022
d2e2e55
Localisation updates from https://translatewiki.net.
translatewiki Nov 21, 2022
5998849
Localisation updates from https://translatewiki.net.
translatewiki Nov 22, 2022
95af4c5
Replace deprecated User::getGroupsWithPermission
umherirrender Nov 13, 2022
9a1baf8
Localisation updates from https://translatewiki.net.
translatewiki Dec 14, 2022
4c5ff7f
Localisation updates from https://translatewiki.net.
translatewiki Dec 15, 2022
a1db7cf
Localisation updates from https://translatewiki.net.
translatewiki Dec 20, 2022
2249425
Localisation updates from https://translatewiki.net.
translatewiki Dec 21, 2022
bd447a3
Replace deprecated User::idFromName
umherirrender Dec 21, 2022
397b933
Localisation updates from https://translatewiki.net.
translatewiki Dec 26, 2022
90217e8
Localisation updates from https://translatewiki.net.
translatewiki Jan 2, 2023
4ead195
schema/postgres: remove fkey to "mwuser" table
markspolakovs Jan 5, 2023
df7d7f4
Merge "schema/postgres: remove fkey to "mwuser" table"
Jan 6, 2023
a78c4de
Localisation updates from https://translatewiki.net.
translatewiki Jan 9, 2023
5547e83
Localisation updates from https://translatewiki.net.
translatewiki Jan 12, 2023
d607b50
Localisation updates from https://translatewiki.net.
translatewiki Jan 13, 2023
de409ae
Localisation updates from https://translatewiki.net.
translatewiki Jan 23, 2023
7fcf2f3
Localisation updates from https://translatewiki.net.
translatewiki Feb 6, 2023
aa7f760
Localisation updates from https://translatewiki.net.
translatewiki Feb 22, 2023
e5d4668
Localisation updates from https://translatewiki.net.
translatewiki Mar 2, 2023
27c1453
Localisation updates from https://translatewiki.net.
translatewiki Mar 6, 2023
0bb394e
Localisation updates from https://translatewiki.net.
translatewiki Mar 7, 2023
d088f74
build: Updating mediawiki/mediawiki-codesniffer to 41.0.0
Mar 11, 2023
0c499a6
build: Updating npm dependencies
Mar 14, 2023
6d326da
Localisation updates from https://translatewiki.net.
translatewiki Mar 23, 2023
e9cca09
Localisation updates from https://translatewiki.net.
translatewiki Apr 3, 2023
9a3686d
Localisation updates from https://translatewiki.net.
translatewiki Apr 10, 2023
e0953d7
Localisation updates from https://translatewiki.net.
translatewiki Apr 14, 2023
242418c
Localisation updates from https://translatewiki.net.
translatewiki Apr 25, 2023
06490a5
Localisation updates from https://translatewiki.net.
translatewiki May 1, 2023
45d2302
build: Updating npm dependencies
May 3, 2023
bd26758
Replace deprecated Hooks::run
umherirrender May 6, 2023
5d890a2
Localisation updates from https://translatewiki.net.
translatewiki May 9, 2023
eafb4df
Localisation updates from https://translatewiki.net.
translatewiki May 25, 2023
788c887
Localisation updates from https://translatewiki.net.
translatewiki May 31, 2023
5ef1999
build: Updating grunt-banana-checker to 0.11.0
Jun 1, 2023
9d00149
Localisation updates from https://translatewiki.net.
translatewiki Jun 1, 2023
e44e469
Localisation updates from https://translatewiki.net.
translatewiki Jun 8, 2023
82ce618
Localisation updates from https://translatewiki.net.
translatewiki Jun 9, 2023
57f4b9b
Localisation updates from https://translatewiki.net.
translatewiki Jun 19, 2023
ea63f99
Localisation updates from https://translatewiki.net.
translatewiki Jul 10, 2023
dc46e7e
Localisation updates from https://translatewiki.net.
translatewiki Jul 12, 2023
4b4bfac
Localisation updates from https://translatewiki.net.
translatewiki Jul 14, 2023
009bb8d
Localisation updates from https://translatewiki.net.
translatewiki Jul 20, 2023
449b420
Localisation updates from https://translatewiki.net.
translatewiki Jul 24, 2023
2a5c2d5
Localisation updates from https://translatewiki.net.
translatewiki Jul 31, 2023
f55ddc3
Localisation updates from https://translatewiki.net.
translatewiki Aug 2, 2023
83a25e7
Localisation updates from https://translatewiki.net.
translatewiki Aug 7, 2023
b1b0d54
Localisation updates from https://translatewiki.net.
translatewiki Aug 9, 2023
878db43
Localisation updates from https://translatewiki.net.
translatewiki Aug 11, 2023
ddc6aba
Localisation updates from https://translatewiki.net.
translatewiki Aug 21, 2023
44a5e5c
Localisation updates from https://translatewiki.net.
translatewiki Aug 22, 2023
f2069df
Localisation updates from https://translatewiki.net.
translatewiki Aug 24, 2023
8b3b00c
Localisation updates from https://translatewiki.net.
translatewiki Sep 11, 2023
a777d7a
Localisation updates from https://translatewiki.net.
translatewiki Sep 12, 2023
e2856b4
Localisation updates from https://translatewiki.net.
translatewiki Sep 13, 2023
9a0c757
Localisation updates from https://translatewiki.net.
translatewiki Sep 21, 2023
55d0f72
Localisation updates from https://translatewiki.net.
translatewiki Oct 2, 2023
7eb94cf
Localisation updates from https://translatewiki.net.
translatewiki Oct 4, 2023
5b29db2
Localisation updates from https://translatewiki.net.
translatewiki Oct 6, 2023
29a8012
Remove LEFT-TO-RIGHT MARK (U+200E) from comments
Oct 13, 2023
2898f13
Localisation updates from https://translatewiki.net.
translatewiki Oct 24, 2023
f94da9d
Localisation updates from https://translatewiki.net.
translatewiki Oct 26, 2023
fe49e79
Localisation updates from https://translatewiki.net.
translatewiki Nov 17, 2023
38cdbe1
Localisation updates from https://translatewiki.net.
translatewiki Dec 1, 2023
ab57b67
Localisation updates from https://translatewiki.net.
translatewiki Dec 4, 2023
3ec3436
Localisation updates from https://translatewiki.net.
translatewiki Dec 6, 2023
275595c
Localisation updates from https://translatewiki.net.
translatewiki Dec 13, 2023
98ed77b
Localisation updates from https://translatewiki.net.
translatewiki Dec 21, 2023
57457c4
Localisation updates from https://translatewiki.net.
translatewiki Dec 22, 2023
5d238a5
Localisation updates from https://translatewiki.net.
translatewiki Jan 2, 2024
feeb4ff
Localisation updates from https://translatewiki.net.
translatewiki Jan 11, 2024
7108918
build: Updating npm dependencies
Feb 3, 2024
f3bba83
build: Updating eslint-config-wikimedia to 0.25.1
Feb 4, 2024
27de00f
build: Updating npm dependencies
Feb 8, 2024
de915db
build: Updating grunt-banana-checker to 0.11.1
Feb 9, 2024
24ec9cf
Localisation updates from https://translatewiki.net.
translatewiki Feb 15, 2024
8829993
Localisation updates from https://translatewiki.net.
translatewiki Feb 19, 2024
d244474
Localisation updates from https://translatewiki.net.
translatewiki Feb 26, 2024
a876672
Localisation updates from https://translatewiki.net.
translatewiki Feb 27, 2024
dd12226
Localisation updates from https://translatewiki.net.
translatewiki Mar 8, 2024
a4a15cf
build: Updating mediawiki/mediawiki-codesniffer to 43.0.0
Mar 17, 2024
28d3e47
Localisation updates from https://translatewiki.net.
translatewiki Mar 25, 2024
3b8b605
Localisation updates from https://translatewiki.net.
translatewiki Mar 26, 2024
3fcf353
Localisation updates from https://translatewiki.net.
translatewiki Mar 27, 2024
450677a
Localisation updates from https://translatewiki.net.
translatewiki Apr 11, 2024
d129fbd
build: Updating eslint-config-wikimedia to 0.27.0
Apr 16, 2024
c4be8a5
Localisation updates from https://translatewiki.net.
translatewiki Apr 18, 2024
2729b0e
Localisation updates from https://translatewiki.net.
translatewiki May 14, 2024
af3bbab
Localisation updates from https://translatewiki.net.
translatewiki May 20, 2024
67a932f
Localisation updates from https://translatewiki.net.
translatewiki May 27, 2024
667b96e
Localisation updates from https://translatewiki.net.
translatewiki Jun 3, 2024
838a7aa
Localisation updates from https://translatewiki.net.
translatewiki Jun 4, 2024
f7d77a2
Localisation updates from https://translatewiki.net.
translatewiki Jun 5, 2024
5764cc5
Localisation updates from https://translatewiki.net.
translatewiki Jun 11, 2024
b0cafbc
Localisation updates from https://translatewiki.net.
translatewiki Jun 12, 2024
420f68c
Localisation updates from https://translatewiki.net.
translatewiki Jun 17, 2024
f962660
Replace removed User::isBlockedFromCreateAccount
umherirrender Jun 29, 2024
9fcdbfd
Replace User::whoIs with UserFactory::newFromId
umherirrender Jun 29, 2024
054b3ee
Localisation updates from https://translatewiki.net.
translatewiki Jul 1, 2024
61b42dd
Localisation updates from https://translatewiki.net.
translatewiki Jul 3, 2024
aa5f839
Merge "Replace removed User::isBlockedFromCreateAccount"
Jul 7, 2024
8b65d98
Merge "Replace User::whoIs with UserFactory::newFromId"
Jul 7, 2024
975c0e4
build: Updating dependencies
Jul 22, 2024
05534da
Localisation updates from https://translatewiki.net.
translatewiki Jul 22, 2024
f4af7b6
Localisation updates from https://translatewiki.net.
translatewiki Jul 26, 2024
55dd5e0
Localisation updates from https://translatewiki.net.
translatewiki Aug 9, 2024
b2c2e1f
build: Updating mediawiki/mediawiki-codesniffer to 44.0.0
Aug 11, 2024
16bcd60
Remove indirect calls to IDBAccessObject::READ_* constants
umherirrender Aug 18, 2024
e7f998b
build: Updating micromatch to 4.0.8
Aug 24, 2024
2921af2
Localisation updates from https://translatewiki.net.
translatewiki Sep 2, 2024
44c3890
Localisation updates from https://translatewiki.net.
translatewiki Sep 5, 2024
6ebba01
Localisation updates from https://translatewiki.net.
translatewiki Sep 10, 2024
b2b0ce3
Replace deprecated wfGetDB
umherirrender Sep 21, 2024
c9831d6
Inject services to special pages
Sep 29, 2024
290fb03
Use HookHandlers and implements hook interfaces
Sep 29, 2024
357fd55
Remove ConfirmAccountUIHooks::addRequestLoginText
Sep 29, 2024
780bdf6
Add explicit parentheses around mixed boolean operator
umherirrender Oct 4, 2024
3b70ca1
Localisation updates from https://translatewiki.net.
translatewiki Oct 10, 2024
fbd13fa
Localisation updates from https://translatewiki.net.
translatewiki Oct 14, 2024
cd11c54
Merge "Inject services to special pages"
Oct 19, 2024
4d86da4
Localisation updates from https://translatewiki.net.
translatewiki Oct 21, 2024
8457ab2
Localisation updates from https://translatewiki.net.
translatewiki Oct 25, 2024
4211bea
Localisation updates from https://translatewiki.net.
translatewiki Nov 1, 2024
77e3ccf
build: Updating mediawiki/mediawiki-codesniffer to 45.0.0
Nov 2, 2024
4ee1636
Localisation updates from https://translatewiki.net.
translatewiki Nov 7, 2024
5a2cd44
Localisation updates from https://translatewiki.net.
translatewiki Nov 18, 2024
bfda40f
build: Updating cross-spawn to 7.0.6
Nov 19, 2024
f45ba01
Localisation updates from https://translatewiki.net.
translatewiki Nov 20, 2024
24d38dd
Localisation updates from https://translatewiki.net.
translatewiki Dec 6, 2024
24392b2
Merge "Use HookHandlers and implements hook interfaces"
Dec 9, 2024
1c32760
Merge "Remove ConfirmAccountUIHooks::addRequestLoginText"
Dec 9, 2024
13cf1cd
Localisation updates from https://translatewiki.net.
translatewiki Dec 16, 2024
8dbf1b3
Localisation updates from https://translatewiki.net.
translatewiki Dec 30, 2024
56db7bc
Localisation updates from https://translatewiki.net.
translatewiki Jan 2, 2025
ce519d1
Localisation updates from https://translatewiki.net.
translatewiki Jan 8, 2025
3570b07
Localisation updates from https://translatewiki.net.
translatewiki Jan 9, 2025
34bc0a1
Localisation updates from https://translatewiki.net.
translatewiki Jan 13, 2025
c4af607
Localisation updates from https://translatewiki.net.
translatewiki Jan 14, 2025
6efc92b
Add hook to ConfirmAccount to filter out requests
hexmode Nov 28, 2024
a624423
Merge "Add hook to ConfirmAccount to filter out requests"
Jan 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
root = true

[*]
indent_style = tab
indent_size = tab
tab_width = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

# Ensure text editors don't turn leading spaces into tabs,
# e.g. in multi-line bullet list items
[*.md]
indent_style = space
indent_size = 2

[.git/**]
indent_style = space
indent_size = 2
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"root": true,
"extends": [
"wikimedia/client",
"wikimedia/client-es5",
"wikimedia/jquery",
"wikimedia/mediawiki"
]
Expand Down
3 changes: 1 addition & 2 deletions .phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic" />
<exclude name="MediaWiki.Commenting.PropertyDocumentation.WrongStyle" />
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
<exclude name="MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgContLang" />
<exclude name="MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage" />
<exclude name="MediaWiki.Usage.ExtendClassUsage.FunctionVarUsage" />
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
Expand All @@ -19,6 +18,6 @@
<exclude-pattern>ConfirmAccount\.*alias\.php</exclude-pattern>
</rule>
<file>.</file>
<arg name="extensions" value="php,php5,inc"/>
<arg name="extensions" value="php"/>
<arg name="encoding" value="UTF-8"/>
</ruleset>
4 changes: 2 additions & 2 deletions ConfirmAccount.alias.php
Original file line number Diff line number Diff line change
Expand Up @@ -474,14 +474,14 @@
'RequestAccount' => [ 'בעטן_קאנטע' ],
];

/** Simplified Chinese (中文(简体)) */
/** Simplified Chinese (中文(简体)) */
$specialPageAliases['zh-hans'] = [
'RequestAccount' => [ '申请账户' ],
'ConfirmAccounts' => [ '确认账户' ],
'UserCredentials' => [ '用户凭据' ],
];

/** Traditional Chinese (中文(繁體)) */
/** Traditional Chinese (中文(繁體)) */
$specialPageAliases['zh-hant'] = [
'RequestAccount' => [ '請求帳號' ],
'ConfirmAccounts' => [ '確認帳號' ],
Expand Down
38 changes: 0 additions & 38 deletions ConfirmAccount.php

This file was deleted.

18 changes: 12 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
{
"require-dev": {
"mediawiki/mediawiki-codesniffer": "35.0.0",
"mediawiki/minus-x": "1.1.1",
"php-parallel-lint/php-console-highlighter": "0.5.0",
"php-parallel-lint/php-parallel-lint": "1.2.0"
"mediawiki/mediawiki-codesniffer": "45.0.0",
"mediawiki/minus-x": "1.1.3",
"php-parallel-lint/php-console-highlighter": "1.0.0",
"php-parallel-lint/php-parallel-lint": "1.4.0"
},
"scripts": {
"test": [
"parallel-lint . --exclude vendor --exclude node_modules",
"phpcs -p -s",
"@phpcs",
"minus-x check ."
],
"fix": [
"minus-x fix .",
"phpcbf"
]
],
"phpcs": "phpcs -sp --cache"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}
58 changes: 47 additions & 11 deletions extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,38 @@
"type": "specialpage",
"license-name": "GPL-2.0-or-later",
"requires": {
"MediaWiki": ">= 1.35.0"
"MediaWiki": ">= 1.37.0"
},
"suggests": {
"extensions": {
"ConfirmEdit": "*"
}
},
"ExtensionFunctions": [
"ConfirmAccountHooks::onExtensionFunctions"
],
"SpecialPages": {
"RequestAccount": "RequestAccountPage",
"ConfirmAccounts": "ConfirmAccountsPage",
"UserCredentials": "UserCredentialsPage"
"RequestAccount": {
"class": "RequestAccountPage",
"services": [
"UserFactory"
]
},
"ConfirmAccounts": {
"class": "ConfirmAccountsPage",
"services": [
"UserFactory",
"MainWANObjectCache"
]
},
"UserCredentials": {
"class": "UserCredentialsPage",
"services": [
"DBLoadBalancer",
"UserGroupManager",
"UserIdentityLookup"
]
}
},
"MessagesDirs": {
"ConfirmAccount": [
Expand All @@ -34,6 +57,9 @@
"ExtensionMessagesFiles": {
"ConfirmAccountAliases": "ConfirmAccount.alias.php"
},
"AutoloadNamespaces": {
"MediaWiki\\Extension\\ConfirmAccount\\": "src/"
},
"AutoloadClasses": {
"ConfirmAccountHooks": "includes/ConfirmAccountHooks.php",
"ConfirmAccountUIHooks": "includes/frontend/ConfirmAccountUI.hooks.php",
Expand Down Expand Up @@ -65,14 +91,24 @@
"localBasePath": "",
"remoteExtPath": "ConfirmAccount"
},
"HookHandlers": {
"main": {
"class": "ConfirmAccountUIHooks"
},
"schema": {
"class": "ConfirmAccountUpdaterHooks"
},
"special": {
"class": "ConfirmAccountHooks"
}
},
"Hooks": {
"PersonalUrls": "ConfirmAccountUIHooks::setRequestLoginLinks",
"UserCreateForm": "ConfirmAccountUIHooks::addRequestLoginText",
"UserLoginForm": "ConfirmAccountUIHooks::addRequestLoginText",
"BeforePageDisplay": "ConfirmAccountUIHooks::confirmAccountsNotice",
"AdminLinks": "ConfirmAccountUIHooks::confirmAccountAdminLinks",
"AuthChangeFormFields": "ConfirmAccountUIHooks::onAuthChangeFormFields",
"LoadExtensionSchemaUpdates": "ConfirmAccountUpdaterHooks::addSchemaUpdates"
"SkinTemplateNavigation::Universal": "main",
"BeforePageDisplay": "main",
"AdminLinks": "main",
"AuthChangeFormFields": "main",
"LoadExtensionSchemaUpdates": "schema",
"SpecialPageBeforeExecute": "special"
},
"AvailableRights": [
"confirmaccount",
Expand Down
8 changes: 8 additions & 0 deletions i18n/confirmaccount/ary.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"@metadata": {
"authors": [
"Ideophagous"
]
},
"confirmaccount-name": "سمية د لخدايمي"
}
33 changes: 17 additions & 16 deletions i18n/confirmaccount/ba.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,37 @@
"authors": [
"Sagan",
"Айсар",
"З. ӘЙЛЕ",
"Ләйсән"
]
},
"confirmaccounts": "Иҫәп яҙмаһы һорауын раҫлау",
"confirmaccount-desc": "Бюрократтарға иҫәп яҙмаһын раҫларға мөмкинлек бирә",
"confirmaccount-maintext": "'''Был бит иҫәп яҙмаларынаа ғаризаларҙы раҫлау өсөн ҡулланыла«{{SITENAME}}»'''.\n\nҒаризалар сираты өс өлөштән тора: ғаризаны асыу; администраторҙар тарафынан кисектерелгән ғаризалар; кире ҡағылған ғаризалар.\n\nҒариза асҡан ваҡытта иғтибар менән ҡарағыҙ, йөкмәткеһен тикшерегеҙ. Һеҙҙең ғәмәл журналға яҙыла. Ғаризаны ҡарау, һеҙҙең нимә менән шөғөлләнгәнгә ҡарамай, башҡарыласаҡ.",
"confirmaccount-list": "Түбәндә сират көтөүсе иҫәп яҙмаһын булдырырға бирелгән ғаризалар исемлеге бирелгән. Ғариза раҫланғас, яңы иҫәп яҙмаһы булдырыла, ғариза был исемлектән юйыла. Кире ҡағылғын ғыризалар исемлектән юйыла.",
"confirmaccount-list2": "Түбәндә күптән түгел кире ҡағылғын ғаризалар исемлеге бирелгән, бер аҙҙан ғаризалар исемлектән автомитик юйыласаҡ. Ғаризағыҙҙы кире ҡаҡҡан администратор менән килешкәс, һеҙ исемлектәге ғаризағаҙҙы раҫлай алаһығыҙ.",
"confirmaccount-showopen": "асыҡ һорауҙар",
"confirmaccount-showrej": "ҡабул ителмәгән һорауҙар",
"confirmaccount-showexp": "иҫке һорауҙар",
"confirmaccount-review": "ҡарап сығырға",
"confirmaccounts": "Иҫәп яҙмалары үтенесен раҫлау",
"confirmaccount-desc": "Бюрократтарға иҫәп яҙмалары үтенесен раҫлау мөмкинлеге бирә",
"confirmaccount-maintext": "'''Был бит «{{SITENAME}}» проектының иҫәп яҙмаларына үтенестәрҙе раҫлау өсөн ҡулланыла'''.\n\nҮтенес сираты өс өлөштән тора: үтенесте асыу; хакимдар тарафынан кисектерелгән үтенестәр; кире ҡағылған үтенестәр.\n\nҮтенесте асҡас, уны иғтибар менән ҡарағыҙ, йөкмәткеһен тикшерегеҙ. Һеҙҙең ғәмәл журналға яҙыла. Үтенесте ҡарау, һеҙҙең нимә менән шөғөлләнеүегеҙгә ҡарамай, башҡарыласаҡ.",
"confirmaccount-list": "Түбәндә иҫәп яҙмаһын булдырырға теләүселәрҙең үтенестәр сираты исемлеге бирелгән. Үтенес раҫланһа йә кире ҡағылһа, ул исемлектән юйыла.",
"confirmaccount-list2": "Түбәндә күптән түгел кире ҡағылғын үтенестәр исемлеге бирелә, бер аҙҙан улар автоматик рәүештә юйыласаҡ. Шулай ҙа һеҙ исемлектәге үтенесегеҙҙе раҫлай алаһығыҙ, әммә бының өсөн тәүҙә уны кире ҡаҡҡан хаким менән һөйләшергә кәрәк.",
"confirmaccount-showopen": "асыҡ үтенестәр",
"confirmaccount-showrej": "кире ҡағылған үтенестәр",
"confirmaccount-showexp": "иҫкергән үтенестәр",
"confirmaccount-review": "Ҡарап сығырға",
"confirmaccount-all": "(бөтә сираттарҙы күрһәтергә)",
"confirmaccount-type": "Һайланған сират:",
"confirmaccount-type-1": "буласаҡ мөхәррирҙәр",
"confirmaccount-q-open": "асыҡ һорауҙар",
"confirmaccount-q-held": "кисектерелгән һорауҙар",
"confirmaccount-q-stale": "иҫке һорауҙар",
"confirmaccount-q-open": "асыҡ үтенестәр",
"confirmaccount-q-held": "кисектерелгән үтенестәр",
"confirmaccount-q-stale": "иҫкергән үтенестәр",
"confirmaccount-leg-user": "Иҫәп яҙмаһы",
"confirmaccount-leg-person": "Шәхси мәғлүмәттәр",
"confirmaccount-leg-other": "Башҡа мәғлүмәт",
"confirmaccount-name": "Ҡатнашыусы исеме",
"confirmaccount-real": "Исем:",
"confirmaccount-reqtype": "Вазифа",
"confirmaccount-pos-0": "Автор",
"confirmaccount-reqtype": "Вазифа:",
"confirmaccount-pos-0": "автор",
"confirmaccount-pos-1": "мөхәррир",
"confirmaccount-bio": "Биография",
"confirmaccount-bio": "Биография:",
"confirmaccount-none-p": "(күрһәтелмәгән)",
"confirmaccount-econf": "(раҫланған)",
"confirmaccount-noreason": "(юҡ)",
"confirmaccount-hold": "Ҡалдырып торорға",
"confirmaccount-rej": "Иҫәп яҙмаһын һорау кире ҡағылды."
"confirmaccount-rej": "Иҫәп яҙмаһын булдырыу үтенесе кире ҡағылды."
}
8 changes: 8 additions & 0 deletions i18n/confirmaccount/ban.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"@metadata": {
"authors": [
"Chinamoonroll"
]
},
"confirmaccount-wsum": "Rahajeng rauh!"
}
3 changes: 2 additions & 1 deletion i18n/confirmaccount/be-tarask.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"EugeneZelenko",
"Jim-by",
"Red Winged Duck",
"Renessaince",
"Wizardist",
"Zedlik"
]
Expand Down Expand Up @@ -62,7 +63,7 @@
"confirmaccount-autorej": "(гэты запыт быў аўтаматычна адхілены з-за неактыўнасьці)",
"confirmaccount-held": "({{GENDER:$1|адклаў|адклала}} [[User:$1|$1]] $3 у $4)",
"confirmaccount-blockip": "Заблякаваць IP-адрас",
"confirmaccount-create": "Зацьвердзіць (стварыць рахунак)",
"confirmaccount-create": "Зацьвердзіць (стварыць уліковы запіс)",
"confirmaccount-deny": "Адхіліць (выдаліць са сьпісу)",
"confirmaccount-hold": "Адкласьці",
"confirmaccount-spam": "Спам (не дасылаць лісты па электроннай пошце)",
Expand Down
2 changes: 2 additions & 0 deletions i18n/confirmaccount/be.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
"@metadata": {
"authors": [
"Artsiom91",
"ZlyiLev",
"Тест"
]
},
"confirmaccount-showexp": "састарэлыя запыты",
"confirmaccount-name": "Імя ўдзельніка",
"confirmaccount-pos-0": "аўтар",
"confirmaccount-submit": "Пацвердзіць",
Expand Down
8 changes: 8 additions & 0 deletions i18n/confirmaccount/bnn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"@metadata": {
"authors": [
"Akamycoco"
]
},
"confirmaccount-ip": "ip tu katdan:"
}
5 changes: 3 additions & 2 deletions i18n/confirmaccount/br.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"authors": [
"Fohanno",
"Fulup",
"Huñvreüs",
"Y-M D"
]
},
Expand Down Expand Up @@ -71,9 +72,9 @@
"confirmaccount-submit": "Kadarnaat",
"confirmaccount-needreason": "Ret eo deoc'h pourchas un abeg er voest amañ dindan.",
"confirmaccount-canthold": "Ar reked-mañ a zo pe kemeret e kont dija, pe dilamet.",
"confirmaccount-acc": "Kardarnaet eo bet ar goulenn kont ;\nkrouet eo bet ar gont implijer nevez [[User:$1|$1]].",
"confirmaccount-acc": "Kardarnaet eo bet ar goulenn kont ;\n\tkrouet eo bet ar gont implijer nevez [[User:$1|$1]].",
"confirmaccount-rej": "Distaolet eo bet ar goulenn kont.",
"confirmaccount-viewing": "(gwelet gant [[User:$1|$1]] evit bremañ)",
"confirmaccount-viewing": "(o vezañ gwelet gant {{GENDER:$1|}}[[User:$1|$1]])",
"confirmaccount-summary": "O krouiñ pajenn implijer un implijer nevez.",
"confirmaccount-welc": "'''Degemer mat e ''{{SITENAME}}''!'''\nSpi hon eus e kemerot perzh da vat ha mat.\nMarteze hoc'h eus c'hoant da lenn ar [{{MediaWiki:Helppage}} pajennoù skoazell].\nAdarre, degemer mat ha plijadur deoc'h !",
"confirmaccount-wsum": "Degemer mat !",
Expand Down
2 changes: 1 addition & 1 deletion i18n/confirmaccount/bs.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"confirmaccount-create": "Prihvati (napravi račun)",
"confirmaccount-deny": "Odbij (skini sa spiska)",
"confirmaccount-reason": "Komentar (bit će uključen u e-porukama za odbijanje i na čekanju):",
"confirmaccount-ip": "IP adresa:",
"confirmaccount-ip": "IP-adresa:",
"confirmaccount-legend": "Potvrdi/odbij ovaj račun",
"confirmaccount-submit": "Potvrdi",
"confirmaccount-summary": "Stvaranje korisničke stranice za novog korisnika.",
Expand Down
12 changes: 6 additions & 6 deletions i18n/confirmaccount/ce.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"confirmaccount-email-q": "Электронан пошт",
"confirmaccount-bio-q": "Биографи",
"confirmaccount-showopen": "делина дехарш",
"confirmaccount-showrej": "юхадаьхна дехарш",
"confirmaccount-showrej": "йухадаьхна дехарш",
"confirmaccount-showexp": "шира делла дехарш",
"confirmaccount-review": "Хьажар",
"confirmaccount-all": "(гайта ерриге рогӀехь)",
"confirmaccount-all": "(гайта йерриге рогӀехь)",
"confirmaccount-type": "Хаьржина рогӀе:",
"confirmaccount-type-0": "хира болу автораш",
"confirmaccount-type-1": "хира болу автораш",
"confirmaccount-type-0": "хира болу авторш",
"confirmaccount-type-1": "хира болу авторш",
"confirmaccount-q-open": "делина дехарш",
"confirmaccount-name": "Декъашхочун цӀе",
"confirmaccount-real": "ЦӀе:",
Expand All @@ -23,8 +23,8 @@
"confirmaccount-pos-0": "автор",
"confirmaccount-pos-1": "редактор",
"confirmaccount-withcv": "(цуьнах лацар билгалдош далош ду)",
"confirmaccount-noreason": "(яц)",
"confirmaccount-noreason": "(хӀан-хӀа)",
"confirmaccount-submit": "Бакъдан",
"confirmaccount-wsum": "Марша догӀийла!",
"confirmaccount-email-subj": "{{SITENAME}} дӀаяздар дехар"
"confirmaccount-email-subj": "{{SITENAME}} аккаунт йехар"
}
1 change: 0 additions & 1 deletion i18n/confirmaccount/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
]
},
"confirmaccounts": "Benutzerkontenanträge bestätigen",
"confirmaccount-extensionname": "Confirm User Accounts",
"confirmaccount-desc": "Ermöglicht es Benutzerkontenanträge zu bestätigen",
"confirmaccount-maintext": "'''Diese Seite dient dazu, wartende Benutzerkontenanträge für ''{{SITENAME}}'' zu bearbeiten.'''\n\nJede Benutzerkontenwarteschlange besteht aus drei Unterwarteschlangen. Eine für offene Anfrage, eine für Anträge im „abwarten“-Status und eine für kürzlich abgelehnte Anfragen.\n\nWenn du auf einen Antrag antwortest, überprüfe die Informationen sorgfältig und bestätige die enthaltenen Informationen.\nDeine Aktionen werden nichtöffentlich protokolliert. Es wird auch von dir erwartet, die Aktionen anderer zu überprüfen.",
"confirmaccount-list": "Unten findest du eine Liste von noch zu bearbeitenden Benutzerkontoanträgen.\nSobald ein Antrag bestätigt oder zurückgewiesen wurde, wird er aus der Liste entfernt.",
Expand Down
Loading