theopolisme
930828f73c
Semicolon :P
2014-03-23 12:00:30 -05:00
theopolisme
42085204e1
Reveal extra options on *click* rather than hover
...
Apparently hover was causing too much confusion, at least among beta
testers.
2014-03-23 11:57:06 -05:00
theopolisme
bd932ce75b
Include decline rationale in edit summary; misc decline copyedits
2014-03-23 11:56:22 -05:00
theopolisme
5284ad9097
Add support for postpone g13
2014-03-23 11:55:32 -05:00
theopolisme
98356df5be
Attempt to make back link clearer
...
Temporarily removed the “Give feedback!” link to accomplish this.
2014-03-23 11:53:39 -05:00
theopolisme
bf458d9a7c
Use a more personal "You" if the user is the reviewer
2014-03-23 11:45:46 -05:00
theopolisme
ad9027956e
Hide CSD checkbox rather than disable it as the disabled state can be misleading
2014-03-22 20:20:42 -05:00
theopolisme
94c9bebd43
Remove AfC "request review" header
2014-03-22 20:18:55 -05:00
theopolisme
a9fbeb1bbe
Update ns of template when updating
2014-03-22 18:32:34 -05:00
theopolisme
19815cfd91
Design: make back arrow larger, show underline on feedback link hover
2014-03-22 18:32:15 -05:00
theopolisme
5a9e9638e0
Don't show deletion notices for "sandbox"
2014-03-22 17:39:05 -05:00
theopolisme
db4b317923
Bump to v0.5
2014-03-21 21:59:06 -05:00
theopolisme
61a7d5b36d
Trim values and names before using
2014-03-21 21:48:45 -05:00
theopolisme
1d32713b66
Improve malformed ref handling
...
More stable regex with fewer false positives; wrap content of <pre>
tags.
2014-03-21 21:45:28 -05:00
theopolisme
c4f2c9b792
Add G13 functionality :D
...
If a submission is eligible, we show a “Request G13 deletion” button in
the main panel. When clicked, the script will add {{db-g13}} to the
submission and notify the page creator as well as all users who have
submitted the page for review in the past. After notifying, we log the
G13’ing for good measure to the user’s CSD log.
- AFCH.dateToMwTimestamp() function added to core
2014-03-21 21:07:53 -05:00
theopolisme
88c8ab3663
Style: avoid label wrap on accept
2014-03-21 20:55:26 -05:00
theopolisme
08393f3b7b
Remove postpone G13 templates on accept
2014-03-21 20:55:04 -05:00
theopolisme
b72dbbafe8
Show all past submitters in "Submit" dropdown suggestions
...
To do this, we store all submitters in a new afchSubmission.submitters
array generated at parse.
2014-03-21 20:54:23 -05:00
theopolisme
5bb679e418
Generalize summary
...
Now it correctly applies to templates and other types of pages as well.
2014-03-21 19:10:22 -05:00
theopolisme
62c27fce86
Offer a "Click to manually add {{PROJECT}}" option if no WikiProjects matched
2014-03-20 18:19:22 -05:00
theopolisme
c537b89d49
Show "No matching categories found" message if, big surprise, no matching categories found
2014-03-20 18:17:03 -05:00
theopolisme
17bc66e41e
Only add categories if they actually contain text
2014-03-20 18:09:44 -05:00
theopolisme
fe2e04d6b4
Improve template regex a wee bit
...
Pipe is now no longer *required*.
2014-03-18 06:12:13 -05:00
theopolisme
df6a2899ae
Only run script if pageName *begins* with string, not just has string
2014-03-16 14:30:44 -05:00
theopolisme
9847b61806
Bump to v0.4
...
Why not? Pretty big changes under the hood seem worthy of a memory.
2014-03-14 20:17:17 -05:00
theopolisme
eeb7b20dc4
AFCH.Page: move getTemplates() and getCategories() into AFCH.Page; use rvgeneratexml instead of Parsoid for faster parsing; remove unused function
...
Thanks to [[User:Kephir]] for pointing out rvgeneratexml! Now we just
have to make ONE api request before opneing the script, which is great.
[Few other misc fixes as well.]
2014-03-14 20:15:53 -05:00
theopolisme
272b8efd07
There has to actually BE a displayTitle for us to use
2014-03-14 15:50:39 -05:00
theopolisme
d6f468cf93
logCSD: create status element, add closing brackets
2014-03-14 12:12:17 -05:00
theopolisme
cb086ff4e8
Output: ensure space between comments (and db template); add header with decline notification
...
Also update core to properly handle multiple occurances of substitution
key in AFCH.msg.get()
2014-03-14 12:04:49 -05:00
theopolisme
edd4ee7d45
Better error handling when localStorage caching fails
2014-03-14 11:49:00 -05:00
theopolisme
2c8a9fbdf7
Legibility issues
2014-03-14 11:46:11 -05:00
theopolisme
d4f7735952
Don't show review link on userjs/css pages
...
Thanks, @Technical-13 :)
2014-03-13 23:48:43 -05:00
theopolisme
c5c9bdc320
this was getting on my nerves...
2014-03-13 23:48:24 -05:00
theopolisme
fa3f4f2ac3
Add "Do not remove this line!" warning next to AFC templates; reshuffle removals, handle optional data better
2014-03-13 18:45:54 -05:00
theopolisme
31e9c4ab08
Last time I change this, I promise!
2014-03-13 18:20:27 -05:00
theopolisme
8351c3eecb
Still update templates on cleanup; improve afc template regexes (wwhhhyyyy...)
2014-03-13 18:12:19 -05:00
theopolisme
c9d2d850bd
Bugfixes
...
Submission.parse: Ensure we don’t convert a non-number timestamp to a
number before we have a chance to inspect it.
Submission.addNewComment: Fix number of tildes in signature; use the
right variable instead of the wrong one.
2014-03-13 17:37:52 -05:00
theopolisme
954aef1eee
Switch to parsoid-prod.wmflabs for template parsing
...
action=flow-parsoid-utils, which we used previously, was not returning
all elements in some cases…plus I felt bad stealing an API that wasn’t
really ours to begin with. The new service is faster, HTTPS friendly,
and at least a wee bit more ethical.
2014-03-13 17:25:56 -05:00
theopolisme
139ee65672
Prevent upload.py from overwriting this
2014-03-13 17:22:20 -05:00
theopolisme
99470f1b72
Work on css compatibility some more
2014-03-13 17:21:41 -05:00
theopolisme
d0d8e1cb2b
parseTemplates: parse in context, correctly handle transclusions with images
2014-03-13 02:10:19 -05:00
theopolisme
b64e64bfbc
Update hardcoded references when uploading
2014-03-13 01:03:37 -05:00
theopolisme
f9cddf1dcd
Add upload.py for uploading afch-rewrite to a wiki
2014-03-13 00:58:22 -05:00
theopolisme
c20af02ccf
Fix page name
2014-03-13 00:56:45 -05:00
theopolisme
9ecb48c108
v3 tweaks: update STYLEGUIDE, minor code style fix
2014-03-12 02:19:56 -05:00
theopolisme
c3b635f83d
v0.3 Excited Murmur
2014-03-12 02:06:09 -05:00
theopolisme
f2d8ecc9e0
Ensure that we don't make another API request if using cached data
...
…slightly major bug that had serious performance implications, yep…
2014-03-12 02:00:21 -05:00
theopolisme
e59f4122cd
Tweak chevron position
2014-03-12 01:59:39 -05:00
theopolisme
93a3570b7a
Clarify that we are loading the script; comment out not-yet-implemented G13 link
2014-03-12 01:55:08 -05:00
theopolisme
f9b2a23bf5
prevent gigantic title entry field in firefox
2014-03-12 01:35:28 -05:00