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
theopolisme
ea26f1ce1a
Prevent bullets from appearing outside of panel in firefox
2014-03-11 03:42:03 -04:00
theopolisme
de00642cdd
tweaks
2014-03-10 01:07:51 -04:00
theopolisme
94bff1e898
Show a warning if the submission is currently under review
...
Also add mwTimestampToDate to core, which converts a UTC-based
MediaWiki internal YYYYMMDDHHMMSS timestamp to a date object (the YYYY…
format is the format outputted by {{REVISIONTIMESTAMP}} and the like).
2014-03-10 01:02:40 -04:00
theopolisme
1bf0da31ad
Submission cleanup: comment removal, external link to wikilink correction, reference fixes
...
@Technical-13, please let me know if you spot any comments that I’ve
missed which should also be removed.
*uses some regexes originally by @wikipedia-mabdul in WPAFC/afch repo
2014-03-08 23:58:32 -05:00
theopolisme
6aaf634a42
Compatibility fixes for afchExtra
...
Apparently table-cells aren’t *supposed* to have display: relative
applied to them…and Firefox, unlike other browsers, sticks to this
standard.
2014-03-08 23:40:57 -05:00
theopolisme
ca9d4213da
Add afchExtra slide-out panel for additional actions; add cleanup and mark/unmark as reviewing functionality
...
Try it out, it’s kind of nifty :) Cleanup and the mark/unmark functions
are hidden beneath a little chevron on the righthand side of the action
buttons.
2014-03-05 21:17:47 -06:00
theopolisme
ef852967ca
allow "removing" parameters from a template by setting them to false
2014-03-05 21:15:59 -06:00
theopolisme
a2415ceaf1
Add jscs code style tests
2014-03-05 02:44:56 -06:00
theopolisme
912b6858fa
Add dynamic category addition with parsing and suggestions
...
Add parseCategories to core; new dependency on mediawiki.api.category
for dynamic category suggestions. We’re still using jquery.chosen for
the category menu, but offering dynamic suggestions required some
sneakish behavior, which I’ve added more notes about inline.
2014-03-05 01:14:33 -06:00
theopolisme
25bb4e1ba7
Various fixes: return AFCH.Page, improve edit summary, return empty arrays for empty multiple selects
2014-03-05 01:11:40 -06:00
theopolisme
7e9538848f
Offer AFCH.consts.mockItUp for mocking requests, useful for development
2014-03-05 01:07:52 -06:00
theopolisme
be2da65d1e
Better logging of objects
2014-03-05 01:06:31 -06:00
theopolisme
0b5a29c1d5
space after header
2014-03-04 00:08:27 -06:00
theopolisme
c061fc920e
When showing the warnings div, use slideDown()
2014-03-03 23:15:16 -06:00
theopolisme
7ec4d61210
use a post request to avoid long urls dying with a 414 error
2014-03-03 23:14:22 -06:00
theopolisme
9a35291cb5
Show an error for create-protected titles
2014-03-03 16:13:05 -06:00
theopolisme
1b32ad02fb
+fixme
2014-03-03 16:06:13 -06:00
theopolisme
af4d95d7c2
blank/csd: improvements based on available functionality, fix typo, support cv
2014-03-03 16:05:58 -06:00
theopolisme
3bb5cf4fe2
comment: generalize signature addition
2014-03-03 16:05:08 -06:00
theopolisme
166df1f08e
makeLinkElementToPage: support displayTitles, open in new tab
2014-03-03 16:04:28 -06:00
theopolisme
391eaeb79d
+jQueryToHtml for converting to raw html
2014-03-03 16:03:40 -06:00
theopolisme
e0450f95ab
Add warnings for bad references and previously deleted pages to submissions main view
...
This commit also adds new functions convertWikilinksToHTML() and
relativeTimeSince() to core.
2014-03-03 01:13:00 -06:00
theopolisme
5f31a3d745
+CSD and blanking in decline; +logCSD in core
2014-03-03 01:03:37 -06:00