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
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
APerson
927bc0c7a9
Bugfix for upload.py
2014-07-30 19:53:27 -04:00
APerson
44280a80ed
Forgot a comma
...
gosh darnit
2014-07-30 19:48:54 -04:00
APerson
27a4bbca48
Fixup so it works on my box
2014-07-30 19:44:57 -04:00
APerson
25f26603e8
{{Afc decline}} has a parameter for the reason now
2014-07-30 19:26:58 -04:00
APerson
8cdec2f84f
Update .gitignore
...
jEdit crud
2014-07-24 19:30:04 -04:00
APerson
59f6e7aa6c
Revert "Argument length checking for the upload script"
...
This reverts commit 8710c6353a5e3eabe45a7fbce3a2c171b21eb3d5.
2014-07-24 19:25:35 -04:00
APerson
8710c6353a
Argument length checking for the upload script
2014-07-24 19:21:04 -04:00
APerson
73d3dc0fa6
Merge pull request #14 from WPAFC/box-shadow-hover
...
Added hover animation with box-shadow; toned down gradient
2014-06-25 12:17:54 -04:00
APerson
8c7e098e69
Tone down gradient on hover/active
...
0.2 changed to 0.1
2014-06-25 12:10:54 -04:00
theopolisme
f939e18241
Work on fixing position of the .open link
...
Apparently WebKit/Chrome was recently updated to behave more like other browsers (and not stupidly move elements around without telling anyone), which means that the -13px hack isn't necessary (and now is rendered, in fact, rather detrimental). Haven't extensively tested this, though. Committing now so I don't forget to push when I get home.
2014-06-14 18:55:30 +01:00
APerson
8cc443e39e
Fix misaligned whitespace
...
Tabs, not spaces!
2014-06-14 12:46:39 -04:00
APerson
0890281796
Further update per code review
...
Merged rules into `.gradient-button` class; differentiated normal and
`:active` states
2014-06-14 12:43:54 -04:00
APerson
b1ef7b51b4
Update per code review
...
removed unnecessary vendor prefix rule; moved :hover and :active inside .afch-button block due to nested rules in LESS
2014-06-13 22:04:45 -04:00
APerson
a6dae1da1a
Added hover animation with box-shadow
...
Now on another branch.
2014-06-13 16:52:01 -04:00
APerson
8ea6a2c192
Revert "Added hover animation with box-shadow"
...
This reverts commit 875c8f1a408ae94c1af05e565203634c6c36df72.
2014-06-13 16:49:52 -04:00
theopolisme
26802c8592
Apparently this is what 886357e was meant to do
...
See comments on that commit.
ALSO: Hey, the GitHub web interface is actually kind of tolerable! *pukes in corner from Sublime withdrawal*
2014-06-13 20:46:37 +01:00
APerson
875c8f1a40
Added hover animation with box-shadow
2014-06-13 15:23:48 -04:00
APerson
5424859da2
Merge pull request #11 from josve05a/patch-1
...
Update submissions.js
2014-06-11 14:03:33 -04:00
josve05a
886357e5eb
Update submissions.js
...
minor fixes
2014-06-11 19:04:25 +02:00
theopolisme
7acd2b6236
you didn't see *anything*...
2014-05-27 11:24:51 -05:00
theopolisme
5c4a739b44
Stable enough, no real need to debug this
2014-05-27 11:24:34 -05:00
theopolisme
8df408b4a9
AFCH.userData: add localStorage layer
...
The reason for this redundancy is because of an obnoxious
little thing called caching. Ideally the script would simply
use mw.user.options, but *apparently* MediaWiki doesn't always provide
the most updated mw.user.options on page load -- in some instances, it
will provide an stale, cached version instead. This is most certainly a
MediaWiki bug, but in the meantime, we circumvent it by adding numerous
layers of redundancy to the whole getup. In this manner, hopefully by
the time we have to rely on mw.user.options, the cache will have been
invalidated and the world won't explode. *sighs repeatedly*
2014-05-26 23:06:55 -05:00
theopolisme
50249c894e
Allow logging of multiple items
2014-05-26 21:18:25 -05:00
theopolisme
413aefc7a5
Show user agent on preferences screen
...
This will help with debugging. (“From the main AFCH panel, open your
preferences. Can you tell me what your user-agent is?”)
2014-05-26 19:07:11 -05:00
theopolisme
f3c9a25786
Wider, to avoid depressing wrapping
2014-05-26 18:08:27 -05:00
theopolisme
fd0a267d19
Only autoload if viewing or editing the current revision of the page
...
Also add AFCH.getParam wrapper for mw.util.getParamValue.
2014-05-24 17:41:49 -05:00
theopolisme
5b3229084e
Add launchLinkPosition preference for "Review (AFCH)" link location
2014-05-24 10:53:14 -05:00
theopolisme
434fb1fac2
Prefs: add lines between preferences, don't explode when new prefs added, manually set value of <select> elements based on pref
2014-05-24 10:53:03 -05:00
theopolisme
7e853c20af
Regressions kill unicorns
2014-05-23 19:04:53 -05:00
theopolisme
ddca95df3a
Don't autoOpen in userspace -- too many false positives
2014-05-23 18:55:15 -05:00
theopolisme
b3bb3c7411
createAFCHInstance: get rid of old click handler before adding new one
...
When the panel was closed via the “X” and then reopened via the
dropdown menu, it was possible for duplicate warnings to appear because
the old click handler which ran setupReviewPanel() was never removed.
This commit resolves that issue.
2014-05-23 18:36:00 -05:00
theopolisme
29f68565a1
Add preferences interface!
...
Lots going on here, I contemplated summarizing it, but…
To be continued. This implements the interface and adds a couple of
prefs, more still need to be decided and added.
2014-05-23 18:13:54 -05:00
theopolisme
083985e592
Run setupAjaxStopHandler() in prepareForProcessing(), to ensure it still runs in non-form-based modes
2014-05-22 17:39:35 -05:00
theopolisme
be57536803
Don't update the timestamp of existing template
...
Timestamps are the date at which `x` template was first added to the
page, and as such they shouldn’t be updated when merely the status is
changed.
2014-05-22 15:47:05 -05:00
theopolisme
94d4d58741
reviewerts -> reviewts..."oops?"
2014-05-22 15:46:02 -05:00
theopolisme
13062c108a
Attach the ajaxStop handler *after* making ajax requests in fn()
...
Also now broken out into separate setupAjaxStopHandler() function.
2014-05-22 06:18:49 -05:00
theopolisme
5e760a5266
Add small=yes contextually to old decline templates
2014-05-21 17:29:12 -05:00
theopolisme
9d48bf01fe
Remove some placeholder fluff
2014-05-20 16:50:08 -05:00
theopolisme
f890725d1f
Stop publicizing internal version name (tooltips are fun, though)
2014-05-20 16:49:46 -05:00
theopolisme
55c20a0169
getName makes more sense here
2014-05-20 16:49:07 -05:00
theopolisme
fb8a2b53c2
such refactor
2014-05-20 16:48:51 -05:00
theopolisme
f44b4cab5c
Remove onload since it doesn't always fire; remove warning that's probably more obnoxious than helpful
2014-05-19 18:10:00 -05:00
theopolisme
9a383b651d
type=text to prevent wacky checkboxes in old versions of firefox
2014-05-19 16:20:28 -05:00
theopolisme
1199ba4906
update readme
2014-05-19 16:14:42 -05:00