More actions
AutoWikiBrowser is a tool to fast-track and partly automate edits to mediawikis. It is helpful when you need to make the same or similar edit to many pages. It allows for things like regular expression pattern replacements. It also allows eg editing every page in a category. It pre-loads the next page for editing, reducing the amount of time otherwise spend on page loads. For the right tasks it can run entirely automated. Even in its facilitated mode it can hugely speed up the process. Its ability to facilitate rather than automate is probably the most powerful feature because it deals with the ambiguity of messy free text by allowing a human to supervise and vet as it steps through the tasks.
Installing
- download at https://sourceforge.net/projects/autowikibrowser/
- extract to a folder
- run AutoWikiBrowser.exe (will need to give permission)
- go to options, preferences, site tab
- Project: Custom
- enter address of the wiki
- probably click 'Suppress "Usig AWB"'
- go to File, Login, Profiles, and log in
- save your user info with "Add..." if you want
- or enter credentials at quick login
Example use case
Scenario: You need to edit the call to template:tool on each page in Category:Tool because you are adding a new parameter "lockout procedure" to the template and need to populate it.
Steps:
- get all the pages in category tool on the Make List in the bottom left corner
- leave "source" as "category"
- type "Tool" into the Category box
- click "Make list"
- decide how exactly you will insert the new content
- consider where you want to add the new field. You need to find something that every tool page would have and replace it with what you want. Have a look at a tool page using "Edit Source". Be reasonably sure that you understand the patterns and how common things are. Know that templates don't care about the order in which parameters show up, so you don't need to put this in the spot where you added it in the template, you just need to add the named parameter.
- Pretty much all tool templates have a |other details= on them. We can stick the new parameter before this. Before because we don't know what the end of "other details" looks like.
- so we will replace
- |other details=
- with
- |lockout=<some text we will type interactively>
- |other details=
- set up AWB to do this:
- Look at the "options" tab on the bottom mid-left
- check the "find and replace" checkbox
- click the "Advanced settings" button