< User:Kenny2scratch | Project Guides
kenny2scratch -
Asleep
My talk page | My contributions | My projects | Project Guides | My header | My sandbox | My userspace
子曰:「吾非謂之。」(《論語.尚見》第二十一)Read more...
My talk page | My contributions | My projects | Project Guides | My header | My sandbox | My userspace
9,665 edits since 26/1/2017
1,235 articles since 6/12/2008
Collapse
+
This is a small userscript that I made to replicate Wikipedia's "canned edit summaries" feature on mobile.
Requirements
- Your browser must support HTML5.
Setup
- Add the following line:to your common.js file (create the page if needed)
mw.loader.load('/w/index.php?title=User:Kenny2scratch/cannedsumm.js&action=raw&ctype=text/javascript');
- You may have to do a hard refresh.
- You're done!
Usage
- When editing a page, there will be a spinner below the checkboxes containing your canned edit summaries.
- To insert one, click the spinner, choose a summary, and it will automatically use the summary and then save - so be sure to check "minor" beforehand!
There are also options in the spinner to add a summary or delete all of the summaries. Choose these to do what they say. If you choose to add a summary, a box will pop up asking for an edit summary - type it in, press Enter, and the summary will be added to the spinner, ready to use.
This page contains 1077 bytes.
kenny2scratch Talk Contribs Directory
