103 Commits

Author SHA1 Message Date
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
theopolisme
6519f1782b FIXME completed; make comments make sense 2014-03-03 01:02:21 -06:00
theopolisme
ff5fec7aba generalize <a> link to page generation 2014-03-03 01:01:05 -06:00
theopolisme
f83eb10496 Fix positioning and centering of initial header 2014-03-03 00:59:33 -06:00
theopolisme
d0e1ae9a27 v0.2 2014-02-27 19:44:52 -06:00
theopolisme
5484158e5c Add title validity check and bump to version 0.2 2014-02-27 19:27:53 -06:00
theopolisme
74b6b2027a Reorder options, random fixes 2014-02-27 19:27:01 -06:00
theopolisme
3b2d7d9a5d IMPLEMENT "ACCEPT"
Add design, html, and javascript for accept (wikiprojects, assessment,
biography details, and more!). Add supporting functions
AFCH.actions.movePage(), AFCH.Page.getTalkPage() to core.
2014-02-26 21:46:31 -06:00
theopolisme
29d0d0abfa Add isOrphan (currently unused, but we'll see...) as well as jquery.spinner dependency 2014-02-26 21:44:25 -06:00
theopolisme
c57cac2868 Add reload link; center menus; remove custom "done" text option due to potential error handling headaches 2014-02-26 21:43:49 -06:00
theopolisme
2ce77e9ff5 Show a spinner while loading individual panels 2014-02-26 21:41:41 -06:00
theopolisme
5d588b9923 Die if reviewing a nonexistent page 2014-02-26 21:40:44 -06:00
theopolisme
c856667023 AFCH.Text improvements (more cleanup replacements as well as better newline removal) 2014-02-26 21:40:31 -06:00
theopolisme
d9fb9b4ee4 spacing 2014-02-26 21:39:37 -06:00
theopolisme
ba8490a079 Include version in feedback 2014-02-26 21:38:32 -06:00
theopolisme
fa355c16aa Enable for Draft namespace; simplify into load() and setup() functions rather than beforeLoad/load/afterLoad silliness 2014-02-26 21:37:17 -06:00
theopolisme
66823ebd5b Tweaks, code style, clearer apis, various fixes 2014-02-26 21:35:40 -06:00
theopolisme
826ac1a4e1 o_O NOW YOU CAN DECLINE SUBMISSIONS o_O
jquery.chosen for a slick menu, lots of options, custom rationales, and
so much more. YAY!
2014-02-22 18:21:08 -06:00
theopolisme
a80fd80684 fixes 2014-02-22 18:19:25 -06:00
theopolisme
f10132d860 submit: allow selecting different submitters; various fixes for messages 2014-02-22 18:18:33 -06:00
theopolisme
9955c02d64 loadView: support callback functions for when view has been loaded 2014-02-22 18:17:39 -06:00
theopolisme
3ce77da282 AFCH.Submission.makeWikicode(): sexy positional parameters 2014-02-22 18:16:45 -06:00