User talk:Dank/Scripts/trop1.js

Description
This isn't just some code to help automate copyediting for WP:TROP's A-class articles ... it's also an experiment to see if introducing automation actually helps, and if it avoids various downsides: time lost when good writers struggle with the automation, or worry about new copyediting rules, or feel left out because they're not as interested in A-class and FAC as others. We'll see.

This script uses a function built into the Mediawiki software, highlightText, to make selected words appear in bold (for the user only, no changes are made to the actual page). Copyeditors like to draw attention to words that are often used redundantly, words that are often misused or confused for other words, etc. When you hover over the bolded words, you get a popup with a quick description of the potential problem.

highlightText is currently very limited (reported to bugzilla here): it can only search for and bold single words. When it can do more, I'll be able to put a lot more in this script. After you copy this to your User:(Name)/vector.js or monobook.js file, feel free to add and delete words and edit the popup messages, if you like. Enjoy. - Dank (push to talk) 12:24, 10 July 2014 (UTC)

Multi-word triggers
This section is for triggers that I can't use until the bug with highlightText is fixed:
 * "Following this,": if B comes after A in the narrative text, your readers will generally assume that B happened after A.
 * "to feature no" (somethings).
 * "severe impacts" (assuming impacts means "effects" and not "forceful strikes"): usually, adding a plural -s to abstract nouns looks wrong to some readers and jargony to others.
 * ", at which time": substitute "when", or join the two things happening at the same time with "and".
 * "in the region": usually redundant.
 * "At this time," (not in the present): substitute "then" before the main verb, or join the two things happening at the same time with "and".
 * - Dank (push to talk) 15:45, 13 July 2014 (UTC)

Articles
Articles where the changes in trop1.js, because1.js or above were made during copyediting:
 * 1935 Jérémie hurricane: damages, in the region
 * Cyclone Forrest: subsequently, At this time, situated,  at which time, Additionally
 * Hurricane Iris: Consequently,
 * - Dank (push to talk) 03:16, 14 July 2014 (UTC)