307 Commits

Author SHA1 Message Date
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
theopolisme
1a80f50675 Merge pull request #35 from josve05a/patch-2
Add two additional comments to be removed when cleaning the page.
2014-12-11 18:38:18 -06:00
josve05a
747c55b645 adding 2 comments
adding 2 comments. I may have done something wrong when adding <ref> and [[
\\
2014-12-12 01:32:41 +01:00
theopolisme
c8225f6a97 Merge branch 'master' of https://github.com/WPAFC/afch-rewrite 2014-12-11 17:24:00 -06:00
theopolisme
6c7d3bd93f Merge branch 'master' of https://github.com/WPAFC/afch-rewrite 2014-12-11 17:23:53 -06:00
theopolisme
86f470468f Merge pull request #34 from McIntireEvan/master
Notify User if the talk page exists
2014-12-11 17:20:24 -06:00
Evan McIntire
7b72a4f73f Notify User if the talk page exists
Upon typing a title, the plugin will check for the main page, the talk
page, a draft page in the format 'draft:title' and the talk page for the
draft, in that order of importance

Known issues: The error message flashes a little when the name is being
typed, due to the different namespaces being checked.

Notify User if the talk page exists (fixed)

Reworked the code from the previous commit, removing most of it in favor
of a $.when().fail() block to check for the existence of a talk page when
the actual page does not exist

Fixed Minor Issues

Removed namespace: in favor of 'Talk:' + title
Removed a random ` from a comment

Resolved issues

Use .done() instead of .when().fail()
Move linkToPage declaration to be with the other variables

Minor Fixes

Removed unnecesary return
Fixed indentation
2014-12-11 17:19:56 -06:00
theopolisme
341ce8402c Use simpler "AFCH vX" summary ad 2014-12-11 17:18:54 -06:00
theopolisme
c8e09b2f94 Revert "Suggest current draft title when article exists" 2014-12-11 17:18:54 -06:00
zanhecht
86d479c5b1 Suggest current draft title when article exists
When an article exists, suggest the title of the current draft instead of "chocolate chip cookies". For "Draft:Example", it would suggest "Example", and for "User:Example/Title" or "Wikipedia talk:Articles for creation/Title" it would suggest "Title".
2014-12-11 17:18:53 -06:00
APerson
948b203cd3 Merge pull request #33 from WPAFC/random-submission-link
Added links to random submissions
2014-12-09 23:29:49 -05:00
APerson
593630fedc removed pointless code
i.e. code that was rendered pointless by the new way of displaying "next submission" links
2014-12-09 23:26:27 -05:00
APerson
f242e86948 spelling fix 2014-12-08 19:58:33 -05:00
APerson
be13e0efda Added links to random submissions 2014-12-08 14:46:45 -05:00
theopolisme
d9e02a6156 Use simpler "AFCH vX" summary ad 2014-12-06 15:45:57 -06:00
theopolisme
5059ac05b8 Merge pull request #32 from WPAFC/revert-30-patch-3
Revert "Suggest current draft title when article exists"
2014-12-03 16:52:25 -06:00
theopolisme
c4290034d4 Revert "Suggest current draft title when article exists" 2014-12-03 16:48:46 -06:00
APerson
b24f7f7b31 Merge pull request #30 from zanhecht/patch-3
Suggest current draft title when article exists
2014-12-02 23:40:34 -05:00
APerson
30fc3eb3d1 Fix upload script when there's no password
If there's no password passed in via the command line but `--force` is
used, the script assumes that "`--force`" is the password.
2014-11-27 22:39:39 -05:00
theopolisme
87bfca1b71 Add fallback blank strings for status and timestamp, fix #29 2014-11-27 19:48:10 -06:00
zanhecht
908c98e6d9 Suggest current draft title when article exists
When an article exists, suggest the title of the current draft instead of "chocolate chip cookies". For "Draft:Example", it would suggest "Example", and for "User:Example/Title" or "Wikipedia talk:Articles for creation/Title" it would suggest "Title".
2014-11-25 16:49:33 -05:00
theopolisme
53f80ef75e Revert "It appears that this hack is no longer necessary *crosses fingers*"
This reverts commit c05056ce86b06cff154d21a2fdd3bb0340fb099a.

For future reference, exact details about why this hack IS necessary:

> Very recently I'm having this trouble where as I'm typing in letters
into the Category field, when the dropbox appears for options, it
blanks out my cat field after a second, so I need to add or subtract a
typed letter to be able to see what I'm typing, which is kinda hinky.
—MatthewVanitas
2014-11-21 23:42:11 -06:00
theopolisme
51da282378 Add prefillBiographyDetails which may save some time; hygiene
Currently prefillBiographyDetails prefills the LISTAS/DEFAULTSORT if
the page title is only two words—assumes that word 1 is first name,
word 2 is last name. This won’t be right 100% of the title, but for the
most part might be kinda handy.

In the future, envision also having the pre-existing PERSONDATA
detection here…
2014-11-08 22:48:00 -06:00
theopolisme
9b71f1033e Whitelist checking: Offer a one-click disable link and instructions for #17 2014-11-08 22:12:23 -06:00
theopolisme
39f84b4de4 Add link to "Getting Started" article to the README 2014-11-08 13:43:27 -06:00
theopolisme
ad5eaed0d4 v0.9 2014-11-08 11:41:02 -06:00
theopolisme
c05056ce86 It appears that this hack is no longer necessary *crosses fingers* 2014-11-08 10:44:53 -06:00
theopolisme
73c4ab9dc0 Minor styling tweaks
Make labels a bit more readable; ensure that “Unmark…” stays on one line
2014-11-08 09:44:34 -06:00
theopolisme
ff5f7b0990 Add loader.js script for loading AFCH 2014-11-08 08:11:09 -06:00
theopolisme
1b3e591cdb Appears that @APerson's commit didn't check length of categorymembers first 2014-11-07 16:02:38 -06:00
theopolisme
0bcddeaff8 Switch from using the oddly formed chevron to a guillemet
Apparently this thing has a bit more regular spacing, which should
assist in resolving reported UI spacing issues.
2014-11-07 15:55:49 -06:00
theopolisme
c38c2eac11 Change links to just point to the normal talk page 2014-11-07 15:24:41 -06:00
theopolisme
d31c75652d Merge branch 'next-submission-link' 2014-11-05 21:13:17 -06:00
theopolisme
0e139d9a73 Merge pull request #25 from zanhecht/afch-rewrite
Update submissions.js to support "details" parameter of {{Afc decline}}.
2014-11-04 17:51:57 -06:00
zanhecht
68c3c29e83 Update submissions.js
Support "details" parameter of {{Afc decline}}
2014-11-04 17:44:05 -06:00
theopolisme
e822cf1344 Code hygiene 2014-11-04 17:44:04 -06:00
theopolisme
ef271708b4 Code hygiene 2014-11-01 11:07:22 -05:00
APerson
5abfdcae37 Merge pull request #24 from josve05a/patch-2
Fixing typo
2014-10-18 21:57:35 -04:00
josve05a
cbaac510eb Fixing typo
"Decling submission", not "Declining submission". This will fix that. Thanks to Origamite, https://en.wikipedia.org/wiki/Wikipedia_talk:WikiProject_Articles_for_creation/Helper_script/Rewrite#.5B0.8.5D_Feedback_about_typo
2014-10-18 19:31:05 +02:00
APerson
818c69cdff Letting upload.py force grunt build 2014-08-09 16:02:11 -04:00
APerson
854e084167 UX fixes for upload.py 2014-08-02 20:10:58 -04:00
APerson
15fbb3f416 Fix problems with upload.py
No user interaction required
2014-07-31 18:28:29 -04:00