410 Commits

Author SHA1 Message Date
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
Bardi Harborow
8b2a3906ff Rename misc/ to contrib/. 2018-04-05 02:16:41 -04:00
Daniel Glus
6cfd0b84d3 Limit edit summary length 2018-03-03 03:42:45 -05:00
Daniel Glus
4304280000 Invalidate Wikiproj cache 2018-03-03 03:33:53 -05:00
Daniel Glus
ed79c8c2c6 Fix previews 2018-01-13 17:22:02 -05:00
Daniel Glus
e02dd490c1 Add declining with multiple (two) reasons 2018-01-13 17:22:02 -05:00
Bardi Harborow
d71c55f28b Cleanup Gruntfile.js. 2018-01-13 17:05:33 -05:00
Bardi Harborow
14c09eb7e9 Remove 'global' tags that cause jshint to fail. 2018-01-13 17:05:33 -05:00
Bardi Harborow
bfd127651d Remove redundant versions and directives from .travis.yml. 2018-01-13 17:05:33 -05:00
Bardi Harborow
a99e180f0b Update devDependencies. 2018-01-13 17:05:33 -05:00
Bardi Harborow
0b54d9ff8e Cleanup package.json. 2018-01-13 17:05:33 -05:00
Daniel Glus
f182203063 Fix handling of long categories in accept 2018-01-06 21:46:22 -05:00
Daniel Glus
b3700f18fa Further fixes for the flickering issue 2018-01-06 21:41:56 -05:00
Daniel Glus
cecd694a8e Fix category suggestions 2018-01-06 18:02:14 -05:00
Daniel Glus
783cfcf4d3 No cache on getText 2017-12-08 18:23:04 -05:00
Daniel Glus
237755ee6a Remove "Blank the submission" checkbox
It's difficult to view the older, problematic revision when we've
cleared it. If we might put a CSD template on it anyway, and drafts are
already indexed, we don't need this option anymore.
2017-10-27 22:48:23 -04:00
Daniel Glus
19ac92b6d8 Update 'very old' cat name 2017-10-15 22:07:56 -04:00