426 Commits

Author SHA1 Message Date
94rain
d4533756c5
update README 2021-02-17 12:50:54 +08:00
94rain
d921622032
Fix WikiProject prefix and a typo 2021-01-31 13:33:38 +08:00
94rain
f9d46b2c38
add tool: AFCH param 2020-11-22 22:05:36 +08:00
94rain
35c21d681b
remove unnecessary directories 2020-06-24 20:57:58 +08:00
94rain
004196cd67
reformat core.js; add support for flow (#3)
updated deprecated modules
2020-06-12 22:56:45 +08:00
94rain
1b90410ada
fix titleblacklist, suggested by sunny00217 2019-12-24 14:14:01 +08:00
94rain
f61dbcf064
merged changes suggested by sunny00217
251fd1f9ac (diff-cf218c77d9e9867ebc9dbb7262e1364c)
fix typo, should be sunny20017
2019-12-22 23:22:47 +08:00
94rain
dda3206c93
merged changes suggested by sunny00217
251fd1f9ac (diff-cf218c77d9e9867ebc9dbb7262e1364c)
2019-12-22 23:14:32 +08:00
94rain
52816b326d
+ support for zh-hant variants 2019-11-20 15:32:48 +08:00
94rain
4f7af68177
bug fixes: mix of zh-hans/zh-hant
some extra translations
2019-10-30 22:14:49 +08:00
94rain
156f1935b7
Update submissions.js 2019-10-30 16:56:01 +08:00
94rain
5af84540f0
commentsToRemove: +draft copyvio 2019-10-22 21:57:17 +08:00
94rain
a56405ba80
translating, replace G13 with O7
translated UA, helper in pref
2019-10-22 21:03:29 +08:00
94rain
7971d828c5
fix typo and remove div style color 2019-10-22 17:14:10 +08:00
94rain
ec30bae36e
added viewDecline/RejectReasons, fix patrollink 2019-10-22 16:48:26 +08:00
94rain
260640eae2
fix Teahouse category 2019-10-22 15:42:48 +08:00
94rain
f7adbcc3b6
addedd Chinese placeholder for decline selectbox 2019-10-22 15:29:29 +08:00
94rain
aa98d026b2
fix some reverted changes 2019-10-22 13:52:01 +08:00
94rain
5311acb1b5
temporarily revert some changes
comments? isdecline?

Modify script configurations
2019-10-20 12:48:16 +08:00
94rain
5c51977500
Adopted and translated to zh
Custom decline reasons for zhwp,
do not leave a redirect by default when moving to mainspace
2019-10-19 16:40:55 +08:00
Daniel Glus
f467521e96
nasty hack to fix comment cleanup 2019-07-27 01:29:54 -07:00
Daniel Glus
8ace85c131
add missing module 2019-07-27 00:42:45 -07:00
Daniel Glus
9f1b6c5546
stop adding extra comments 2019-07-25 23:10:35 -07:00
Amory Meltzer
4317136296
core.js: Remove unnecessary api submodule imports
All api submodules were merged into `mediawiki.api` in 1.33-wmf.16; avoids a console warning
2019-04-15 16:09:48 -04:00
94rain
1ddb8cf9f5
Update README.md
cleanup
2019-07-24 12:11:30 +08:00
Daniel Glus
79099fc009 Ignore package-lock.json 2018-12-29 01:49:51 -05:00
Daniel Glus
76bafec93d Change link labelled 'GFOO' to 'zero-day-old' 2018-12-29 01:29:46 -05:00
Daniel Glus
b9a9f5335b Fix lint error 2018-12-07 17:31:42 +00:00
Daniel Glus
a6f9ad227e [release.py] Minor style fix 2018-12-05 18:59:58 +00:00
Daniel Glus
47d0f097ef v0.9.1 2018-12-05 18:45:54 +00:00
Daniel Glus
ee9cb83bfc [release.py] Minor fixes 2018-12-05 18:45:26 +00:00
Daniel Glus
f9c5e729b4 Fixes regarding rejection 2018-12-05 18:36:32 +00:00
Daniel Glus
589e63072b Further fixes
Tweak decline button in main menu, tweak portlet
activation link to read "Review (AFCH beta)"
2018-12-05 18:36:32 +00:00
Daniel Glus
f5f05fc11c Progress on rejects
Fix templates, get multiple rejects working
2018-12-05 18:36:32 +00:00
Daniel Glus
8cbdeb5ce5 Update .gitignore 2018-12-05 18:36:32 +00:00
Daniel Glus
57175f0f4d [WIP] Reject work 2018-12-05 18:36:32 +00:00
Daniel Glus
a0ca7cb280 Fix lint error 2018-08-19 02:02:55 -04:00
Daniel Glus
fa3f69e236 Fix case where category does not exist 2018-08-19 01:57:44 -04:00
Daniel Glus
507931dd99 Don't check for AFC/R, since the gadget does it
The MediaWiki-space JS page that loads this gadget has been
updated onwiki to not load on AFC/R.
2018-07-31 20:43:16 -04:00
Daniel Glus
0a97f1e432 [upload_pwb.py] Fix bug 2018-07-28 16:01:32 -04:00
Daniel Glus
05e244d7be Don't enable AFCH on WP:AFC/R
That is, disable AFCH on Wikipedia:Articles for creation/Redirects
2018-07-28 12:56:20 -04:00
Daniel Glus
5f977b2653 Shuffle upload scripts around 2018-07-28 12:44:12 -04:00
Daniel Glus
33d2176754 Fix security bug with whitelist
Username wasn't sanitized before being used in the regex to check
the whitelist with, so a user named ... (literally three periods)
would be allowed to use the script as long as any user on the list
had a name three characters long. Thanks to MusikAnimal for pointing
this out.
2018-07-23 23:56:57 -04:00
Daniel Glus
b9f3b76eee Replace literal sigs with string concatenations
i.e. no literal "~~~~", instead "~~"+"~~". Otherwise, there is the
potential for a bug if someone uploads the code by copying from the
source, and then their signature will get inserted
2018-07-23 23:51:54 -04:00
Daniel Glus
5ddb49f0d1 Fix typo in comment 2018-07-23 23:50:14 -04:00
Daniel Glus
8b0a19a617 Fix bugs introduced in previous fix 2018-07-10 13:57:36 -04:00
Daniel Glus
2a8780369d Fix bug in whitelist checking, fix #96
Because we used indexOf to check if a user is on the whitelist, users
whose usernames are substrings of usernames already on the list are
also allowed.
2018-07-09 23:11:01 -04:00
Bardi Harborow
837efdb386 Apply lint rules to codebase. 2018-04-05 02:16:41 -04:00
Bardi Harborow
076f31793e Replace dependencies/ with NPM packages. 2018-04-05 02:16:41 -04:00
Bardi Harborow
8c65b22244 Remove JSHint and JSCS and install ESLint. 2018-04-05 02:16:41 -04:00