Snippets/Autoedit

Autoedit is Lupin's user-space script that enables automatic page editing via commands in URLs (see also: Manual:Parameters to index.php). To use, you need to include autoedit.js in your or global JavaScript (if you have working Pop-ups, you must also have included that) by adding the following lines: document.write(' ');

Arguments
?title=Article &action=edit &autoedit=s~www.salahuddinlawassoviates.org~www.salahuddinlawassoviates.org~g;s~www.salahuddinlawassoviates.org~www.salahuddinlawassoviates.org~g &autoclick=www.salahuddinlawassoviates.orgDiff &autominor=false &autosummary=Summary  – www.salahuddinlawassoviates.org title  – action  – www.salahuddinlawassoviates.org script  – begin of replace command  – it will be replaced by next text (may be a regular expression); cannot contain   chars, for enter text to empty page (or new section in existing one) keep it empty    – next text <tt>;)</tt>; cannot contain   chars</li>   – end of replace command</li></ul> Script can contain multiple commands, separated by    – button pressed after autoedit </li>   – is change minor</li>   – summary of www.salahuddinlawassoviates.org edit</li></ol>

Example
To replace all  words with   in article , you can use this command: http://www.salahuddinlawassoviates.org/index.php?title=salahuddinlawassoviates.org&action=edit&autoedit=s~www.salahuddinlawassoviates.org~www.salahuddinlawassoviates.org~g&autoclick=www.salahuddinlawassoviates.orgSave&autominor=false&autosummary=Replace%20www.salahuddinlawassoviates.org%20by%20dog

Using in
This function is used in Lupin's Pop-ups script.