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
theopolisme
346b3017bd
better handling for patch version increments; rm random space
2014-05-19 15:45:11 -05:00
theopolisme
b0ad8a24b6
v0.8
2014-05-18 19:29:32 -05:00
theopolisme
6a66debe5e
*ZOMG* unit tests, finally!
...
Not really any actual tests in here (except for a typeof AFCH ===
‘object’ assertion…gotta start somewhere!), but this is the framework.
2014-05-18 17:10:51 -05:00
theopolisme
e05f067322
When accepting, also move associated talk page of submission if exists
2014-05-18 17:08:26 -05:00
theopolisme
521d542d9d
Under review warning: add fallback, include link to history, open links in new tabs
2014-05-14 17:00:49 -05:00
theopolisme
8c7fe8d094
Show copies of personal most-used declines at top of decline list
2014-05-13 19:41:36 -05:00
theopolisme
4117ef554a
Include section header in accept notification
2014-05-13 17:57:45 -05:00
theopolisme
062b4f037a
Consistency is key
2014-05-13 17:57:34 -05:00
theopolisme
73baabc621
Stop trailing slashes from blowing up the script
2014-05-13 17:50:40 -05:00
theopolisme
187aa12e73
whitespace :P
2014-05-07 21:43:44 -05:00
theopolisme
eb25b45276
Update comment regex for old format
2014-05-07 21:37:07 -05:00
theopolisme
baf4f90834
Simulate cleanUp first so that we don't warn about HTML comments that the script will remove anyway in the future
2014-05-07 21:33:56 -05:00