Wikipedia talk:AutoWikiBrowser
- Home
Introduction and rules - User manual
How to use AWB - Discussion
Discuss AWB, report errors, and request features - User tasks
Request or help with AWB-able tasks - Technical
Technical documentation
Index 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 |
This page has archives. Sections older than 7 days may be automatically archived by Lowercase sigmabot III. |
This is the discussion page for the AWB project. It is also the place to discuss using the AWB program itself (if you need help, or have a question about AWB, etc.). Where to make specific types of reports or requests is explained in the Before you post section below. Before asking questions, please read the Frequently asked questions below.
Please click here to start a new discussion. |
Before you post
Do you want to ... | Please use |
---|---|
Report a bug in AWB? | Wikipedia talk:AutoWikiBrowser/Bugs (but see instructions for Pharbricator there) |
Report an incorrectly fixed typo? | Wikipedia talk:AutoWikiBrowser/Typos |
Request a feature for a future version of AWB? | Wikipedia talk:AutoWikiBrowser/Feature requests |
Request approval to use AWB? | Wikipedia:Requests for permissions/AutoWikiBrowser |
Ask a question about AWB or ask for help? | This page |
Frequently asked questions
Frequently asked questions
|
---|
//Detect IE5.5+ if (navigator.appVersion.indexOf("MSIE")==-1) { // Previous contents go here .... }
|
Discussion
Old/multingual wikisource
How to use AWB on http://wikisource.org , the old/multilingual/incubator wikisource? There is no language prefix and apparently it's not possible not to select a language nor to use the custom mode (error 403). If there is no solution, here is an idea : use mul as language prefix (which is done in some other cases).
Cdlt, VIGNERON * discut. 14:33, 1 August 2017 (UTC)
- User:VIGNERON. Yah you can do it by just choise the Project "custom" and select "http://" then simply give url "wikisource.org/w/".-- Jay ❯❯❯ Talk 07:15, 12 November 2017 (UTC)
- @Jayprakash12345: you could try and tell me if it really works? As I said before, I've got a HTTP 403 error for some reason :/ Cdlt, VIGNERON * discut. 17:27, 19 December 2017 (UTC)
- User:VIGNERON. Yah you can do it by just choise the Project "custom" and select "http://" then simply give url "wikisource.org/w/".-- Jay ❯❯❯ Talk 07:15, 12 November 2017 (UTC)
- User:VIGNERON, Sorry Please use "https://" instead of "http://". And Login is working fine for me. [1] [2]-- Jay ❯❯❯ Talk 17:38, 19 December 2017 (UTC)
Line Breaks
Hey guys,
I was wondering if anyone knew how to handle removing line breaks for infoboxes? For example,
{{Infobox |random = John Cena |stupid = Cat flying to Haiti.png |variables = 3 |removethis = variable |example = Yes |overkill = Definitely }}
How would I go about removing the "removethis" variable along with the line that it's on, with the data that's in it's infobox, including if different pages had different data? Thanks for any help guys. 2001:5B0:2968:9128:FD35:C390:7505:C7F4 (talk) 03:07, 11 December 2017 (UTC)
\|\s*removethis\s*=\s*variable\s*
for specific text (the\s
group contains all whitespace characters, including the CRLF characters\r\n
), or\|\s*removethis\s*=[^\|\}\r\n]*[\r\n]+
for any parameter value on the same line (change[\r\n]+
to[\r\n]*
if you expect to find infoboxes with parameters not separated by a new line). ~ Tom.Reding (talk ⋅dgaf) 03:23, 11 December 2017 (UTC)- Works perfectly. That is absolutely amazing. Thank you! 2001:5B0:2968:9128:2C57:1121:946C:EAA2 (talk) 03:38, 11 December 2017 (UTC)
Regex for this?
Hi guy I was wondering if anyone could help with how to get regex for this:
{{ImageImprove|Image needs to be set at a 3:5 ratio.|Category}}
The enter below it also needs to get removed. Any ideas? The first variable covers any random message and the second one overs various categories. Thanks in advance 2001:5B0:2969:4108:551E:C08F:9EF9:39AF (talk) 23:54, 21 December 2017 (UTC)
\{\{\s*ImageImprove\s*\|([^\|\}]*)\|([^\}]*)\}\} *[\r\n]
. Message is in$1
and category is in$2
. ~ Tom.Reding (talk ⋅dgaf) 00:01, 22 December 2017 (UTC)
The underlying connection was closed; An unexpected error occurred on a send
Until several weeks ago, I could run AWB 5.9.0.0 on my system without problems. I did not change my system, but when I open AWB now, during the opening process I receive the message "The underlying connection was closed; An unexpected error occurred on a send." and I can no longer login or open a preferences file. While trying to open previously stored preferences, I receive the error message "Received an unexpected EOF or 0 bytes from the transport stream." As I did not alter my system, I suspect something changed on the server side. I'm still using Windows XP, but according to the project page, that operating system should be supported. Is this a known problem and, more important, is there a work around? Wikiklaas 13:26, 27 December 2017 (UTC)
- Given the timeframe, it's probably because of phab:T147199. I would guess there is no workaround. @Reedy and BBlack (WMF): take a look? --Izno (talk) 13:33, 27 December 2017 (UTC)
- I've stripped out the mention of XP in the guide, so that should mitigate some of these queries. Primefac (talk) 18:08, 27 December 2017 (UTC)
- OK, but let's be clear. AWB still runs on XP, but the MediaWiki wikis are rolling out stricter security requirements, which Microsoft have not provided support for in XP, so we – those maintaining AWB – can't do anything about. However, if you use AWB on another wiki without the stricter security requirements, AWB would still be working fine. So I'll put in the documentation that XP is working where it meets the wiki's security level requirements. Rjwilmsi 08:58, 28 December 2017 (UTC)
- I've stripped out the mention of XP in the guide, so that should mitigate some of these queries. Primefac (talk) 18:08, 27 December 2017 (UTC)