Jump to content

Wikipedia talk:AutoWikiBrowser

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 84.234.42.68 (talk) at 18:22, 30 July 2008 ("Links on page" only returns 10 links from a template containing many more). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Before you post

Do you want to ... Please use
Report a bug in AWB? Wikipedia talk:AutoWikiBrowser/Bugs
Report an incorrectly fixed typo? Wikipedia talk:AutoWikiBrowser/Typos
Request a feature for the next version of AWB? Wikipedia talk:AutoWikiBrowser/Feature requests
Request approval to use AWB? Wikipedia talk:AutoWikiBrowser/CheckPage
Ask a question about AWB or ask for help? This page

Frequently asked questions

  • When I start it up I get one of the following errors:
    • "The application failed to initialize properly (0xc0000135). Click on OK to terminate the application.", or
    • "To run this application, you must first install one of the following versions of the .NET Framework..."
    This error means your computer does not have the .NET framework version 2 installed properly. You can choose from various versions for download here, or you can run Microsoft Update and select version 2 of the .Net framework from the "Optional Updates" section, if you want the choice made for you.
  • When I try to update to the new version 4.0, the updater freezes halfway through.
    There is a bug in the version 3.9 updater. If you encounter this problem, uninstall AWB, and then re-install the latest version from Sourceforge.
  • Does AWB run on Linux or Mac?
    Not yet.
    • A Wine bug on AWB has been filed
    • AWB does not yet start in Wine with Mono 1.9 or native Microsoft .NET 2.0. (Wine 0.9.59, AWB 4.3.1.0.)
    • Please note that problems with AWB on Wine/Mono or Wine/.NET are not reportable AWB bugs.
    A native version, PyAutoWikiBrowser (screenshots here), based on Python, is being developed for Unix-like systems.
  • Does AWB work on other projects/languages?
    Many WikiMedia projects and languages are supported, see the "User and project preferences" option in the general menu. Other languages will be added on request, though at the moment the interface is always in English. You are also able to use AWB with third-party wikis, if you go to the General menu and select "User and project preferences", you can change the wiki there. The wiki must support the Bot API required by AWB. This means that it should have latest HEAD version of MediaWiki or something close to that.
  • AWB puts stubs after categories, though categories are always renedred the last by MediaWiki?
    According to WP:STUB#Categorizing stubs, By convention this is placed at the end of the article, after the External links section, any navigation templates, and the category tags, so that the stub category will appear last. If your wiki uses other order, please let us know here.
  • I don't like or use Internet Explorer; please use Firefox instead.
    AWB does not use Internet Explorer per se. It does, however, use the same web browser control (MSHTML) as Internet Explorer; the equivalent Firefox component does not provide the needed functionality.
  • How do I open the page in another browser if I can't use the one in AWB?
    Right click on the edit box in the bottom right side of your screen. Select "Open page in browser"
  • How do I edit a page that doesn't exist?
    Uncheck "Ignore non existing pages" in the "Skip articles" box.
  • How do I skip certain articles?
    Use the "Skip if contains" and "Skip if doesn't contain" in the "(2) Set options" tab
  • Can't you leave up a "stable" version, so I don't have to download new versions?
    It is important to keep people up to date with the latest versions, because their use of the software doesn't just affect them, but the whole of Wikipedia. As any bugs that remain will be trivial, hopefully releases won't be too frequent.
  • How can I stop AWB clicking when it changes pages?
    This is a Windows sound theme setting. This page explains how to turn off the clicking sound.
    Alternatively, delete the following key from the Windows registry:
    HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\Navigating\.Current
  • AWB randomly crashes upon page load on my system, and I always use a browser other than Internet Explorer when using Wikipedia.'
    You may have installed custom scripts incompatible with IE. Wrap the contents of your monobook.js into conditional:
               //Detect IE5.5+
               if (navigator.appVersion.indexOf("MSIE")==-1)
               {
                   // Previous contents go here
                   ....
               }
  • I get Just In Time Debugger Messages when loading AWB/loading pages
    In Internet Explorer, go to Tools --> Options --> Advanced. Make sure 'Disable Script Debugging (Internet Explorer)' and 'Disable Script Debugging (Other)' Are both checked. Press apply and close.

Problems with other software

  • Modified versions of monobook.js (e.g. to utilise popups, godmode-light etc.): AWB works, but page loading can be slow. Workaround is to disable Active Scripting in Internet Explorer - see AWB Tips and tricks for more information and workaround.
    • Bugs in monobook.js can cause AWB to crash or be unable to load pages. Use the same workaround, or refer to the answer in the FAQ above. If you've updated monobook.js and are experiencing problems, please verify the bug still occurs with a blank monobook.js before reporting it as an AWB bug.
  • Wikipedia Skins other than monobook: AWB might not work with other skins due to the skins having bugs.
  • NoScript (Firefox extension) or other XSS-related extensions: some features such as "Open text in browser" may not work correctly. Workaround for NoScript: Disable the "Sanitize cross-site suspicious requests" option.

Discussion

This talk page is automatically archived by MiszaBot I. Any sections older than 7 days are automatically archived to Wikipedia talk:AutoWikiBrowser/Archive 19. Sections without timestamps are not archived.

Unicode again

An editor says that the following substition is anti-useful:

please see this change here: http://en.wikipedia.org/enwiki/w/index.php?title=Bulgarian_language&diff=216614260&oldid=216480357

[...]as non-unicode-compatible computers can't read the symbol it substitutes.

I'm too busy to even think about this ATM, just out the door in a second. Comments?

Rich Farmbrough, 13:23 3 June 2008 (GMT).

Spellchecking with AWB

On AutoWikiBrowser Usage Stats I see that people use some interesting plugins - MS Word SpellChecker plugin, spell checker. I try to find this plugins, but can't. Can you help me ? --Movses (talk) 14:15, 18 July 2008 (UTC)[reply]

Please let me know if someone finds the answer. If this exists I need it for better RegExTypoFix development. --mboverload@ 15:46, 21 July 2008 (UTC)[reply]
The nice and widespread usage of AWB means that it might not even be a wikipedian that uses it. I have no idea who/where these are used. Most of the plugins are identifiable, just a couple of them aint. Why do you need it for regextypofix development mb? Reedy 16:01, 21 July 2008 (UTC)[reply]
So I can easily find new misspellings. Right now I copy to MS Word for spelling. --mboverload@ 16:09, 21 July 2008 (UTC)[reply]
[1], and [2] Reedy 18:37, 21 July 2008 (UTC)[reply]

User:213.216.199.6 some months ago suggested that interlanguage links should be “sorted alphabetically according to the name of the language, not according to the [ISO language] code”. I think that is wrong and does not make sense at all, because you cannot sort “فارسی”, “Беларуская”, “日本語”, “ไทย”, and “Deutsch” alphabetically—since there is no alphabet containing all of these letters. Also, a poll held 63 to 54 should be sorted based on the two letter code. Therefor I suggest someone changes the AWB function that re-sorts interlanguage links by local name. ––Bender235 (talk) 14:14, 21 July 2008 (UTC)[reply]

They are sorted by the Latin-alphabet-transliteration of the native name of the language, which isn't "wrong". Tally is 63 losing to 65 when you add in the "Best of both worlds: Two-letter code in source, Alphabetical in view" votes, who want to see it the way that AWB currently sorts it. The poll is also neither a policy nor a guideline. -- JHunterJ (talk) 14:45, 21 July 2008 (UTC)[reply]

Skipping every other article

When I'm using the Kingbot plugin to assess articles from Category:Devon geography stubs it will tell me there are no changes to be made to the article (as normal) then I click preview, assess it, click ignore then it takes me to the talk page where I fill out the assessment then I click save. The next article in the category comes up, but instead of telling me there are no changes to be made, so I can preview it, it skips straight to the article's talk page for me to assess it. The next article will be okay, but then the article after that I won't work again. It appears to do it for every other article, but for no known reason. It didn't use to do this, even with this category. bsrboy (talk) 00:05, 26 July 2008 (UTC)[reply]

Simple regex help please

Hi. I'm having difficulty getting to grips with regex and AWB, so, if some kind guru could demonstrate how to do the following, I'm hoping it'll be instructive. If so, I'll try expanding Wikipedia:AutoWikiBrowser/Regular expression in return!

Task

Replace
{{templatename |parametername=string}}
with
{{templatename |parametername=string word}}
i.e. append " word" to whatever string has been set as parametername's value.

Sardanaphalus (talk) 13:32, 26 July 2008 (UTC)[reply]


Depends on how restrictive you want to make it. Assuming you want a particular template and parametername, but don't care what the original string is, replace
{{templatename\s*\|\s*parametername\s*=\s*([\w\s]+)}}
with
{{templatename|parametername=$1 word}}
In the pattern, \s* is 0 or more whitespace characters, \| is a literal pipe (instead of a regexp alternate marker), \w is a word character (letter or number), so [\w\s]+ is 1 or more letters, numbers, and/or whitespace, and the parentheses around it capture it for use as $1 in the replacement string. This has the (intentional) side-effect of also removing unneeded whitespace in the template code; if you want to preserve the whitespace around the pipe or equals sign, those \s* should be captured as well. -- JHunterJ (talk) 13:50, 26 July 2008 (UTC)[reply]
That an interesting trick, so far I've only been using in the form [^\W\d] to capture alphabetical/non-numeric characters. Both should go into the manual. — Dispenser 16:57, 26 July 2008 (UTC)[reply]
You'll want to "\{\{" and "\}\}" for the braces Reedy 22:02, 26 July 2008 (UTC)[reply]
I tested my strings with AWB; they work without escaping the braces. -- JHunterJ (talk) 02:21, 27 July 2008 (UTC)[reply]
In retrospect, I think you'd want:
{{templatename |parametername=$1 word}}
to include a space before the pipe. -- JHunterJ (talk) 02:39, 27 July 2008 (UTC)h[reply]

Hi again. Just found that AWB only seems able to return 10 links (listed below) from Template:American Civil War, even though it contains many more. Intriguingly (or maybe coincidentally) they all begin with "A". am I missing something obvious? Sardanaphalus (talk) 00:46, 29 July 2008 (UTC)[reply]

A. P. Hill · Abolitionism · Abraham Lincoln · Alabama Claims · Alabama in the American Civil War · Albert Sidney Johnston · Alexander Stephens · Allan Pinkerton · Ambrose Burnside · American Civil War

Nope, there was an api change. You need to grab a SVN snapshot - [3] Reedy 08:14, 29 July 2008 (UTC)[reply]
  • Okay, I've downloaded and installed the update (rev3137) but I'm now finding AWB is giving me a sequence of "MissingMethodException in PluginManager.TestSkipNonExistingPages" problem dialogs, the first appearing while AWB loads and initializes. I also see that my previous default task and program settings aren't loaded or are lost and the same problem dialog reappears whenever I try to load some settings. Is a full "bug" report on the Bugs page required? Sardanaphalus (talk) 18:27, 29 July 2008 (UTC)[reply]
Just realized something. I usually lowercase filenames, as I've done with the rev3137 files, which has always seemed okay with AWB in the past. However, perhaps this is no longer true..? Sardanaphalus (talk) 18:36, 29 July 2008 (UTC)[reply]
Post it here and we shall see Reedy 19:11, 29 July 2008 (UTC)[reply]
  • Here's the initial report:

[skipped]Method not found: 'System.Windows.Forms.CheckBox WikiFunctions.Plugin.IAutoWikiBrowserForm.get_SkipNonExistentPagesCheckBox()'. Call stack: at AutoWikiBrowser.Plugins.Kingbotk.PluginManager.TestSkipNonExistingPages()[skipped] Sardanaphalus (talk) 21:50, 29 July 2008 (UTC)[reply]

Update or delete the Kingbotk plugin. MaxSem(Han shot first!) 22:02, 29 July 2008 (UTC)[reply]
  • Yes, that seems to've fixed things, at least as far as loading and initializing the program. Thanks. (I did need to reconfigure and save the program preferences again.) I guess AWB rev3137 with an updated Kingbotk plugin will be bundled together at some later date. Sardanaphalus (talk) 22:14, 29 July 2008 (UTC)[reply]

AWB stops when mouse is not being moved or AWB window not active

is that intentional? i previously checked all the articles that I want to save and now I must sit and move mouse every serveral saved articles because AWB stops working, the same when I switch to another window and work on another things - AWB is stopped --84.234.42.68 (talk) 18:22, 30 July 2008 (UTC)[reply]