Community Central
Community Central
Tags: Source edit Help
mNo edit summary
Tag: Help
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<div style="font-size: 20px; color:#3A3A3A; line-height: 160%; width: 100%; padding: 7px 20px 10px; margin-bottom: 5px; box-sizing: border-box; background: #fef8f9">
 
<div style="float: left; width: 55px; padding-top: 8px;text-align:center;">
 
<span style="font-size:40px;">ℹ️️</span>
 
</div>
 
<div style="padding-left: 75px;">'''Current issues'''
 
<div style="font-size: 14px; margin-top: 20px; line-height: 160%">
 
If you are unable to sign in when using AWB, ensure you are on the [https://sourceforge.net/projects/autowikibrowser/files/autowikibrowser/AutoWikiBrowser6101/ latest update] of AWB ('''as of September 17, 2019: 6.1.0.1 or higher'''). This update cannot be downloaded through the auto-updater and would have to be downloaded manually and overwrite your files in the AWB directory.
 
 
Since all wikis have been migrated to either fandom.com or wikia.org, you will have to use a "custom" domain rather than "wikia" in the project area (see [[#Choosing a community]]). Ensure that the HTTP/HTTPS drop-down is set to HTTPS and fully write out the domain, e.g. '''fandubbing.fandom.com'''.
 
 
If you have any other issues, please [[Special:Contact|contact staff]].
 
</div></div>
 
</div>
 
 
 
This tutorial will lead you through the process of creating a [[Help:Bots|bot]] using the '''AutoWikiBrowser''' program through the example of changing a word on pages of the Fandubbing Wiki.
 
This tutorial will lead you through the process of creating a [[Help:Bots|bot]] using the '''AutoWikiBrowser''' program through the example of changing a word on pages of the Fandubbing Wiki.
   
A more in-depth user manual is available on [[wikipedia:WP:AWB/UM|Wikipedia]].
+
A more in-depth user manual is available on [[wikipedia:Wikipedia:AutoWikiBrowser/User manual|Wikipedia]].
   
 
== Step 1: Create your bot account ==
 
== Step 1: Create your bot account ==
Line 23: Line 9:
   
 
Tips for your bot account:
 
Tips for your bot account:
* Most bot account names have "bot" in them to signify they're a bot.
+
* Most bot account names have "bot" in them to signify they're a bot
 
* On the bot account's userpage, you should include who owns the account and mention that it is a bot. See [[Help:Bots#Important notes|here]] for more details.
 
* On the bot account's userpage, you should include who owns the account and mention that it is a bot. See [[Help:Bots#Important notes|here]] for more details.
* If you're planning on doing a lot of edits, or editing really quickly, consider discussing with your community if the account should be [[Help:Bots#Bot flags|flagged as a bot]]. This allows the account's edits to be hidden from the [[Help:Recent changes|Recent Changes]] by default. If your community agrees, {{contact}} requesting the flag, including the bot account name.
+
* If you're planning on doing a lot of edits, or editing really quickly, consider discussing with your community if the account should be [[Help:Bots#Bot flags|flagged as a bot]]. This allows the account's edits to be hidden from the [[Help:Recent changes|Recent Changes]] by default. If your community agrees, {{contact}} to request the flag. Make sure you include the bot account name in your request.
   
 
== Step 2: Get the program ==
 
== Step 2: Get the program ==
Line 52: Line 38:
 
# Launch AutoWikiBrowser.
 
# Launch AutoWikiBrowser.
 
# Go to '''Options → Preferences → Site'''
 
# Go to '''Options → Preferences → Site'''
# From the drop-down list choose "<code>Fandom</code>" and then type the first part of the URL of your community. For example, "<code>fandubbing</code>" should be entered for the "<code>fandubbing.fandom.com</code>" community.
+
# From the drop-down list choose "<code>Fandom</code>" and then type the first part of the URL of your community. For example, "<code>fandubbing</code>" should be entered for the "<code>fandubbing.fandom.com</code>" community
# Even if the HTTP/HTTPS drop-down is set to HTTP, it will correct itself to HTTPS after the next step.
+
# Even if the HTTP/HTTPS drop-down is set to HTTP, it will correct itself to HTTPS after the next step
# When you are done, save changes with the "OK" button.
+
# When you are done, save changes with the "OK" button
   
 
Your program may freeze for a few seconds. After this on the bottom bar you will see that program is synchronized with the given community:
 
Your program may freeze for a few seconds. After this on the bottom bar you will see that program is synchronized with the given community:
Line 68: Line 54:
   
 
* Go to''' File → Log in/Profiles...'''
 
* Go to''' File → Log in/Profiles...'''
* Enter the bot's username and password.
+
* Enter the bot's username and password
** You will need to log in with a special name and password generated through [[Special:BotPasswords]]. See [[Help:Bots#Using Special:BotPasswords]] for more information on this process.
+
** You will need to log in with a special name and password generated through [[Special:BotPasswords]]. See [[Help:Bots#Using Special:BotPasswords]] for more information on this process
* Press "Login".
+
* Press "Login"
   
 
Your bottom bar will now show that you are fully logged in:
 
Your bottom bar will now show that you are fully logged in:
Line 78: Line 64:
 
Now the bot is set and ready to work!
 
Now the bot is set and ready to work!
   
'''Note:''' Some wikis use a [[Help:Bots#Check page|check page]] that may limit the program to specific users as well as restrict who can edit automatically.
+
'''Note:''' Some wikis use a [[Help:Bots#Checkpage|checkpage]] that may limit the program to specific users as well as restrict who can edit automatically.
   
 
=== Choosing edit options ===
 
=== Choosing edit options ===
Line 121: Line 107:
 
[[fr:Aide:AutoWikiBrowser]]
 
[[fr:Aide:AutoWikiBrowser]]
 
[[ja:ヘルプ:AutoWikiBrowserの利用]]
 
[[ja:ヘルプ:AutoWikiBrowserの利用]]
  +
[[pl:Pomoc:Boty/AutoWikiBrowser]]
 
[[pt:Ajuda:Como usar o AutoWikiBrowser]]
 
[[pt:Ajuda:Como usar o AutoWikiBrowser]]
 
[[ru:Справка:Боты/AutoWikiBrowser]]
 
[[ru:Справка:Боты/AutoWikiBrowser]]
Line 126: Line 113:
 
[[uk:Довідка:Боти/AutoWikiBrowser]]
 
[[uk:Довідка:Боти/AutoWikiBrowser]]
 
[[zh:Help:使用自動維基瀏覽器]]
 
[[zh:Help:使用自動維基瀏覽器]]
  +
 
[[Category:Help]]
 
[[Category:Help]]

Revision as of 08:08, 27 April 2021

This tutorial will lead you through the process of creating a bot using the AutoWikiBrowser program through the example of changing a word on pages of the Fandubbing Wiki.

A more in-depth user manual is available on Wikipedia.

Step 1: Create your bot account

Note: If you already have a bot account, skip this step.

While you can run AWB on your primary account, if you are going to be making large amounts of edits it would be worthwhile to create a separate bot account to keep automated edits separate.

Tips for your bot account:

  • Most bot account names have "bot" in them to signify they're a bot
  • On the bot account's userpage, you should include who owns the account and mention that it is a bot. See here for more details.
  • If you're planning on doing a lot of edits, or editing really quickly, consider discussing with your community if the account should be flagged as a bot. This allows the account's edits to be hidden from the Recent Changes by default. If your community agrees, contact Fandom Staff to request the flag. Make sure you include the bot account name in your request.

Step 2: Get the program

Bots Tutorial 1

Download AutoWikiBrowser to your computer. The basic operation of the software is:

  1. Launch AutoWikiBrowser
  2. Log in to the bot account using AutoWikiBrowser
  3. Specify what pages the bot should edit
  4. Specify what the bot is to do


Note that AutoWikiBrowser can be run in either fully automatic or in a semi-automatic mode. In semi-automatic mode, you must check each edit and manually save it. This takes out a lot of the risk when trying to edit many pages.

Step 3: Learn how to use the program

Bots Tutorial 2 with marks

In this example, we will set up our bot and then use it to correct a misspelled artist name on many pages of our wiki.

Choosing a community

  1. Launch AutoWikiBrowser.
  2. Go to Options → Preferences → Site
  3. From the drop-down list choose "Fandom" and then type the first part of the URL of your community. For example, "fandubbing" should be entered for the "fandubbing.fandom.com" community
  4. Even if the HTTP/HTTPS drop-down is set to HTTP, it will correct itself to HTTPS after the next step
  5. When you are done, save changes with the "OK" button

Your program may freeze for a few seconds. After this on the bottom bar you will see that program is synchronized with the given community:

Bots Tutorial 3 with marks

Logging in

Bots Tutorial 4

Once you have chosen a wiki, you must log into your bot account.

Your bottom bar will now show that you are fully logged in:

Bots Tutorial 5

Now the bot is set and ready to work!

Note: Some wikis use a checkpage that may limit the program to specific users as well as restrict who can edit automatically.

Choosing edit options

In this example, we will correct misspelled artist names.

First off, we will need to get a list of pages to edit. AutoWikiBrowser has many different list generators to use. In the "Make list" panel, browse the "Source" drop-down and select an appropriate option. If all the pages you're interested in are in the same category, use the "Category" option. If you're more interested in pages that use a certain template, use the "What transcludes page (all NS)" option.

TIP: To make a list of all pages in the main namespace, in the "Make List" panel choose "Special Page" as the source. When you press "Make List" an additional window should appear. Choose "All Pages", select namespace "Main:" and press "OK".

Bots Tutorial 6 with marks

Now that we have our list of pages to check, we need to tell the bot what we want to do. Next to the "Make list" panel is the main editing options section. In order to tell the bot to fix the artist's name, we'll use the "Find and replace" options. Be sure to check the checkbox to enable it, then click "Normal settings". Enter the misspelled name in the "Find" box and the correct spelling in the "Replace with" box. For this example, you can leave the other options alone, though feel free to play around with the settings. Hit "OK" to close the box and set your settings.

TIP: If you're not sure what a certain setting or toggle does, check out the user manual.

Starting the edits

Bots Tutorial 7 with marks

When you are ready to begin, go to the "Start" tab from the middle section.

  1. Enter the "Default Summary". This is the base of your edit summary for each edit. Depending on the options selected, it may be added to.
  2. Press "Start".

The program will start searching through the list of pages. When it finds the phrase it is looking for, it will apply all the appropriate changes and display the changes in the main box.

If the changes aren't quite what you had planned on, you can still edit the page using the edit box in the bottom right.

When you are done press "Save" to save changes. If the page doesn't need to be edited, press "Skip" to leave the page unchanged.

TIP: On the "Skip" tab, check the option "Skip if no changes are made". This will cause AutoWikiBrowser to automatically skip pages that won't have any changes.

Fully automatic bot

The example above shows how you can edit semi-automatically. It is quite fast and safe, as you can control each change being made. However, if you wish you can go to "Bots" tab and check the "Auto save" option.

AutoWikiBrowser will now save each change automatically, without any confirmation. Use this option with care, running a few semi-automatic test edits before turning auto save on to test if the bot is functioning properly is strongly recommended.

Further help and feedback