User:NOUG4AT/JWB.js: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "/** <nowiki> * Install this script by pasting the following in your personal JavaScript file: mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load...")
 
m (Blanked the page)
Tag: Blanking
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
/** <nowiki>
* Install this script by pasting the following in your personal JavaScript file:


mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript');
* Or for users on en.wikipedia.org:
{{subst:lusc|User:Joeytje50/JWB.js/load.js}}
* Note that this script will only run on the 'Project:AutoWikiBrowser/Script' page.
* This script is based on the downloadable AutoWikiBrowser.
*
* @licence
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
* @version 4.4.2
* @author Joeytje50
* </nowiki>
*/
window.JWBdeadman = false; // ADMINS: in case of fire, set this variable to true to disable this entire tool for all users
//TODO: more advanced pagelist-generating options
//TODO: generate page list based on images on a page
//TODO: Add feature to perform general cleanup (<table> to {|, fullurl-links to wikilinks, removing underscores from wikilinks)
//TODO: Add report button to AJAX error alert box
//TODO: Re-add errored pages to the page list
//TODO: Automatically generate full list of protection levels
//TODO: Add 'Ignore quotes' alongside 'Ignore unparsed content'; for example: Ignore [] Unparsed content [] Quotes
//TODO: Read Wikipedia:AutoWikiBrowser/Config for when not to apply typo fixes
//TODO: RETF disable any \b and some other cases
//TODO: Fix deletedrevs deprecated API
//Cleanup / modernize:
// .indexOf('') != -1 -> .includes()
// mw for requests, instead of ajax
// Optional?.chaining?.properties

Latest revision as of 23:51, 25 January 2024