dev

AutomatedEdit is a script that allows users to set up buttons that make one-time automated edits. It was designed specifically with to-do lists in mind, so you can simply click a button to mark a specific task as completed.

Installation

Configuration

This script requires two templates. Simply copy {{Replace}} and {{Replace/b}} to your wiki. The title matters and is case sensitive; the only exception is Replace/b could also be named With if you would like.

Usage

The script is relatively simple to use and can be used as many times as you'd like on a single page, so long as each instance has a unique ID. Add {{Replace|Display text (i.e., "Uncomplete")|Text that will be displayed after button is clicked (i.e., "Complete")|id=unique identifier}} where you want the text to be displayed and {{Replace/b|Display text (or emoji/unicode) for the button|id=unique identifier}} where you want the button to trigger the edit to be.

Example


{| class="wikitable" style="width:50%; text-align:left;"
! Task
! Status
! Complete
|-
| Write introduction
| {{Replace|Not complete|Complete|id=task-intro-1}}
| {{Replace/b|✓|id=task-intro-1}}
|-
| Add references
| {{Replace|Not complete|Complete|id=task-refs-1}}
| {{Replace/b|✓|id=task-refs-1}}
|-
| Format images
| {{Replace|Not complete|Complete|id=task-images-1}}
| {{Replace/b|✓|id=task-images-1}}
|}

Changelog

Current version
1.0.1 No known bugs
1.0.1
PATCH: Checking in any order now works.
1.0.0
MAJOR: Initial version, working with minor bugs.

Planned Updates

Text above can be found here (edit)