Indic-TechCom/Tools/MassMove

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search


Main page

Tools

Requests

Management

Indic Wikimedia Portal

Talk

Main Interface

This UserScript provides an interface to the user to move the pages in mass.

Installation[edit]

Add the following code to your local wiki common.js page.

mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Indic-TechCom/Script/massMover.js&action=raw&ctype=text/javascript');

Usages[edit]

After the installation of MassMover in common.js or global.js there will an option of MassMover in the Tools section of Sidebar.

There is two way to use this script:-

Simple Mass Move

This is the default option. In this option, Script simple find the word in the title and move it with replacing word.

Ex.

Find=Movies and Replace=Movie, Now it will move the pages like Movies in 2019 to Movie in 2019


Ragex based Move

For this option, you need to select on the checkbox Treat search string as a regular expression

Ex.

Find=(\d{4}) and Replace=year $1, Now it will move the pages like Movies in 2019 to Movie in year 2019

TODO[edit]

  • Error Handling