User:Lwarrenwiki/Cheatsheet

 Ye olde Lwarrenwiki cheat sheet ( Edit cheatsheet )

Request for page protection (WP:RFPP), Hamiltrash sample
Sample page protection request, for use at WP:RFPP. See User:Lwarrenwiki/sandbox for more variations. {{Block indent|{{small| === Angelica Hamilton === Indefinite semi-protected: Semi-protection requested due to moderate but highly persistent level of long-term WP:SPA and IP vandalism related to Hamilton (musical), conforming to long-standing #Hamiltrash pattern of vandalism. ~
 * {{pagelinks|Angelica Hamilton}}

Hamilton-related vandalism pattern
Indefinite pending changes protection: Persistent WP:SPA and IP vandalism related to Hamilton (musical), conforming to long-standing #Hamiltrash pattern of vandalism. Outbreaks have continued sporadically over a long term, about three years. ~ }} }}

Talk page vandalism warnings
Automated warnings can be generated by Twinkle, when pulled down on the editor's User page or User Talk page. This proved easier and more versatile than my sidebar hack at User:Lwarrenwiki/hamiltrash.js and my previous manual template (both detailed in the collapsed section below). Sample comments:


 * Hamiltrash.js gets called from User:Lwarrenwiki/vector.js (since May 2018) to rewrite the left sidebar during user talk page edits.
 * See WP:WARN (Template messages/User talk namespace) for a full list and documentation of user warning templates.
 * From my previous template, variations on the warning text:

Reporting a vandalism-only account
Report a VOA at the AIV noticeboard (edit page here):

Reporting edit warring (3RR)
On the editor's User page or User Talk page, pull down the Twinkle menu. Select AIV and AN3 to generate a report with automatic diffs at the WP:AN3 (aka WP:3RRV) administrators' noticeboard.

Responding to edit requests


Template:Edit semi-protected produces a small box on the right, e.g., for deactivating a request for an edit to a semi-protected page.

Template:ESp includes a long list of templates for adding a detailed response when deactivating a request for an edit to a semi-protected page.


 * produces graphic before a further message:
 * Yes check.svg Done


 * produces graphic before a further message:
 * Yellow check.svg Partly done:


 * produces graphic before a further message:
 * Red information icon with gradient background.svg Not done:


 * produces graphic before a further message:
 * Pictogram voting comment.svg Note:


 * produces and a clarity rejection, before a further message:
 * Red question icon with gradient background.svg Not done: it's not clear what changes you want to be made. Please mention the specific changes in a "change X to Y" format and provide a reliable source if appropriate.

For more graphic checkmarks, see the long list of variations at Template:Done/See also. These include:

Page diffs
For an inline wikilink to a single-edit diff, only the ID of the page (oldid) is needed: Likely to be piped and parenthesized on talk pages, as  – produces. See also Help:Special page.
 * gives diff between versions and, which need not be in the same article
 * gives diff between versions and, which need not be in the same article
 * gives diff between versions and, which need not be in the same article

Format title (italics, quotes)
The fti template (short for "format title: italic") italicizes the non-parenthetical portion of a page title, and links to the given page.
 * Example —  becomes Hex (Hex album)

The ftq template (short for "format title: quotes") puts the non-parenthetical portion of a page title in double quotes, and links to the given page.
 * Example —  becomes "24" (Game Theory song)

These are intended for formatting article titles on disambiguation pages, and should always be subst-ed.

Template links
Use (short for template link) for a link to a template page. Use (template link expanded) for a link to a template page with parameters. To suppress execution when wikilinking to a template, add a colon at the beginning, e.g.,.
 * Output — Name
 * Output —
 * Within the parameters, requires  instead of

White space templates to replace HTML code
To replace &nbsp; and
 * , or redirect from
 * type=em, fig, en, thin, hair. If not specified, non-breaking spaces  are produced.
 * A non-breaking space has the same width as a standard space, whose width is between the width of en and thin.
 * A non-breaking space has the same width as a standard space, whose width is between the width of en and thin.


 * for line breaks
 * for things that aren't in lists, or where a colon doesn't work

Fixing dated statements

 * hour=−5 (−5 for EST, −4 for EDT, omit for UTC)
 * hour=−5 (−5 for EST, −4 for EDT, omit for UTC)


 * df=US, lc=y, since=y, alt=alternate text, pre=insertion (e.g., the first week of)
 * df=US, lc=y, since=y, alt=alternate text, pre=insertion (e.g., the first week of)

Fixing someone else's unsigned talk page post



 * Some experimentation yielded the good news that the time/date parameter may actually be free-form. At the least, I learned that UTC (or any time zone) is not actually required. — 14:04, 16 June 2021 (UTC)

Example:
 * Typing  will yield:

Column breaks
Automatic

Use and  templates for automatically-balanced columns. ) }} Manual
 * specifies spacing between columns
 * specifies CSS styling to apply to the columns
 * and are redirects to these templates

The col-begin, col-break and col-end templates control columns of text on a page:


 * starts a table, and must be immediately followed by col-break for the first column
 * triggers the start of each column
 * ends the multi-column table


 * , where, replaces each occurrence of col-break, with  remaining constant. It sets column width for each of  columns, with align=, valign=
 * The width, align, or valign of columns can be overridden:.

Message boxes
7 metatemplates in the Module:Message box family:

Closely related metatemplates:

Collapsing a talk page discussion
[ ... ]

Refactored this section by collapsing the lengthy discussion. Added notice box text to summarize. ~

Refactored this section by collapsing the lengthy discussion. Added notice box text to summarize. ~

Pinned posts (&#128204; pinned post)
The above is done with:

Commons image cleanup requests
To submit a cleanup request, see commons:Media for cleanup.
 * Template:Cleanup image allows a reason to be specified:
 * If a transparent background is desired, add instead to Category:Images where background should be removed.

Commons image crop request (or documenting)
To submit a crop request, see commons:Template:Crop for Wikidata.
 * E.g.:

Rcats for redirects
Rcats are maintenance templates used to categorize redirect pages (e.g., R from..., R to...)
 * WP:RE/SG – Redirect style guide
 * WP:TMR – discussion and list of rcat templates
 * alphabetical listing of rcat templates


 * – navigation box summary

Research tools for editors
Requests and renewals at Wikipedia Library Card Platform: https://wikipedialibrary.wmflabs.org/users/
 * Newspapers.com – see WP:Newspapers.com (owned by Ancestry.com)
 * NewspaperARCHIVE.com – see WP:Newspaperarchive.com (owned by Heritage Microfilm)
 * Fold3 – documents and images from American and British military history; see WP:Fold3 (owned by Ancestry.com)
 * HighBeam Research – see WP:HighBeam – no longer offered

Blocked page moves
Use Wikipedia:Requested moves/Technical requests for uncontroversial technical requests.

Toolbar scripts and customizations

 * User:Lwarrenwiki/common.js – now contains only scripts for adding things to toolbars or menus
 * User:Lwarrenwiki/vector.js – now contains only scripts for other page rewrites
 * User:Lwarrenwiki/vector.css – now contains only code for turning redirects green
 * For custom signature code, see the first page of Special:Preferences, and my signature tests

Userspace and sandbox
Contents of my personal namespace:
 * All pages under User:Lwarrenwiki (includes css, js, userboxes, templates)
 * All pages under User talk:Lwarrenwiki (user talk archives)
 * All pages under User:Lwarrenwiki/sandbox (draft articles)
 * This cheatsheet is at User:Lwarrenwiki/Cheatsheet
 * New sandbox – at User:Lwarrenwiki/New sandbox, which includes the former contents of User:Lwarrenwiki/sandbox
 * Old sandbox – transcludes the cheatsheet, so it can be accessed from the top menu "Sandbox" link