348 Commits

Author SHA1 Message Date
APerson
ac88992d87 Merge pull request #77 from WPAFC/preview-reason
Preview reason, fix #46
2016-02-18 17:39:52 -05:00
APerson
c61d7bdc4d Remove mention of original creator
Theo isn't *that* active at the moment; best not to redirect people looking for maintenance to him, I guess
2016-02-18 17:22:04 -05:00
APerson
b54ed109ee Add previewing of decline reasons
When the (preview) link next to the decline reason dropdown is clicked, a preview of that reason appears.
2016-02-15 18:03:50 -05:00
APerson
62bbaa6bd0 Update .gitignore again 2016-02-14 22:53:00 -05:00
APerson
dfa789d78f Update .gitignore 2016-02-14 22:52:21 -05:00
Theopolisme
33571bbd95 Disable feedback due to #71 2015-12-17 17:18:16 -06:00
APerson
154f720eeb Add a license
npm was complaining a lot about the lack of a license in package.json
2015-09-26 22:17:40 -04:00
APerson
e0bfe12e8d Add more redirects to reflist, fix #20
I added (mostly) English-language redirects that were being used. Hopefully the list of redirects won't change for a while.
2015-09-26 19:37:36 -04:00
APerson
970e1b3cd6 Fixed default postpone template
Even when we're postponing G13 for the first time, the template should still indicate that with a first unnamed parameter of `1`.
2015-08-09 20:09:10 -04:00
APerson
40c30508b9 Remind user that the script checks for an invite
I never knew that if the script encountered an existing Teahouse invitation on a user talk page, it wouldn't send another one. Only after looking through the source did I discover that there's no need to uncheck the box. Hence, this quick reminder that there's no need to check the user talk page.
2015-07-13 23:43:27 -04:00
Theopolisme
3e3e8a0d89 Travis: Switch to iojs 2015-07-05 15:25:56 -05:00
Theopolisme
53fe792abf Give the new categories input a constant width, #64 2015-07-05 15:20:28 -05:00
Theopolisme
2eef95249b Update Jest to use 0.5.x branch; fix #65
Jest doesn’t work with Node 0.12.x (due to jsdom woes), but the 0.5.x
branch on GitHub has been updated and works with the latest version of
iojs. So, from now on, iojs must be used to build afch-rewrite (a la
nvm, probably). This should be added to the README/wiki…
2015-07-05 15:19:55 -05:00
Theopolisme
d5c64cc83f Add missing parentheses, fix #63 2015-07-05 14:13:57 -05:00
APerson
1b73347a6c [upload.py] better password prompt 2015-06-18 12:03:41 -04:00
APerson
9632e4fdd7 Remove automatic Persondata addition
Per the consensus at the technical Village Pump (http://en.wikipedia.org/w/index.php?title=&oldid=665096913#RfC:_Should_Persondata_template_be_deprecated_and_methodically_removed_from_articles.3F), Persondata is deprecated and should be removed from articles. Hence, we shouldn't be adding it to articles any more.
2015-06-01 21:54:41 -04:00
APerson
d6f9f305ca [upload.py] also don't upload Emacs spam 2015-05-03 21:58:19 -04:00
Theopolisme
bf5232b517 Resolve no categories error, fix #59 2015-05-03 14:11:18 -05:00
APerson
4e7f1d4b5f Merge pull request #57 from zanhecht/patch-1
Support oldid parameter in {{WPAFC/article}}
2015-04-17 14:39:02 -04:00
zanhecht
c2319000a0 Support oldid parameter in {{WPAFC/article}}
There seems to be a growing consensus for this at https://en.wikipedia.org/wiki/Wikipedia_talk:WikiProject_Articles_for_creation#Reviewer_comments_lost_on_creation_of_the_article but approval of this change should probably wait for discussion there to finish.
2015-04-17 14:20:57 -04:00
APerson
46602cdcfe [upload.py] Combined a couple of print statements
Just a minor UX issue; the first print statement was actually inaccurate when using --force.
2015-02-26 20:58:30 -05:00
Theopolisme
bb0fef0f84 jscs updates + compliance 2015-02-24 17:52:59 -06:00
Theopolisme
08f30134da Prefer .text(); ensure button doesn't remain disabled due to invalid username after user changes the <select> option 2015-02-24 17:52:41 -06:00
Theopolisme
945f210277 This is unnecessary 2015-02-24 17:30:36 -06:00
Theopolisme
f3b3ea85ee Improvements to the custom submitter field 2015-02-24 17:29:44 -06:00
Theopolisme
732130d070 If no |u= specified, don't add "undefined" to submitters list 2015-02-24 17:20:45 -06:00
Theopolisme
dbe615f12d Include all dependencies at top of core.js on build, resolves #47
Now we no longer have to request dependency files separately, speeding
up load times as well as resolving the “undefined Hogan” error as
reported in the linked issue.
2015-02-24 17:16:04 -06:00
Theopolisme
735a8da2b4 Add top-level option to unmark as under review if self-review, resolves #48 2015-02-24 17:14:42 -06:00
Theopolisme
b09bbff240 bump version 2015-02-24 17:05:45 -06:00
Theopolisme
a27142afa3 Fix non-mainspace talk page handling, resolves #50 2015-02-24 16:52:55 -06:00
Theopolisme
bdd556d3df Update dependency name 2015-02-24 16:47:46 -06:00
Theopolisme
c4a99f54ae Make categories actually load correctly
I made this fix a few months ago and pushed it to live but for some
reason forgot to commit it until now—whoops!
2015-02-24 16:47:37 -06:00
Theo Patt
973f6a3f97 Merge pull request #49 from zanhecht/zanhecht-revid-patch-1
Include oldid field in {{db-g12}}
2015-02-24 16:37:10 -06:00
APerson
503138bd29 Improve duplicate decline form autofilling
Won't autofill if the name is equal to 'sandbox', and will now autofill for a few more potential reasons.
2015-02-24 12:24:40 -05:00
APerson
9689803b32 Disable cat link when cat empty to fix #52 2015-02-23 12:32:47 -05:00
zanhecht
1cf3052c14 Include oldid field in {{db-g12}}
Per https://github.com/WPAFC/afch-rewrite/pull/28#issuecomment-64842043

I included the ternary operator as well to handle failure to grab the revId a bit more gracefully
2015-02-11 11:47:43 -05:00
zanhecht
bbe82641c2 Fetch revid and store as pg.additionalData.revId 2015-02-11 11:34:06 -05:00
APerson
32fe0521ed remove logging line from random cat link function 2015-02-10 14:59:19 -05:00
APerson
27e7e5d8e5 Preload form w/ declines as duplicate; fixes #43 2015-01-23 16:39:20 -05:00
APerson
647588f4b3 Give the submission username some love
Validation, etc.
2015-01-16 21:45:10 -05:00
APerson
b2b8bd1380 Revert "Changed password prompt for upload.py"
This reverts commit 5a0ddecfd42941cc4356a2f1dbf082e4f001f43b because it broke the script.
2015-01-16 19:48:13 -05:00
APerson
5a0ddecfd4 Changed password prompt for upload.py
Included username and site.
2015-01-14 19:40:17 -05:00
APerson
34abe97304 add textfield class to a textfield
*LESS intensifies*
2015-01-12 12:24:20 -05:00
APerson
c2e0b283a6 fix up outdated comment 2015-01-12 12:02:07 -05:00
APerson
5bac041af4 Merge pull request #40 from Lorwp/master
Change "WindowsError" to "OSError"
2015-01-09 07:42:16 -05:00
lorwp
f017688e06 Fix "OSError" Capitalisation. 2015-01-09 15:08:16 +11:00
lorwp
cd0d4322bd Change "WindowsError" to "OsError"
Changing “WindowsError” To “OsError” due to errors on a Mac
2015-01-09 15:04:56 +11:00
APerson
1c620a5d5c Add draft category counts to "next submission" link to fix #38 2015-01-08 22:09:35 -05:00
APerson
112397b579 Changed button font size per request
It was requested on #wikipedia-en that since Helvetica degrades at large font sizes, the font for the buttons should be changed to Arial.
2015-01-08 21:56:45 -05:00
APerson
3e9262c7fb Next random submissions no longer open in a new tab
Per multiple requests in IRC and on WT:WPAFC. A new, optional parameter was added to AFCH.makeLinkElementToPage which sets `target` for the `<a>` to `'_self'` instead of `'_blank_'`.
2014-12-27 20:15:56 -05:00