User talk:BattyBot/CS1 errors-dates

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

Better late, than never[edit]

Is it okey if I use this module-code for when I'm running AWB? Will there be any problem with your bot if I do it? -(tJosve05a (c) 14:29, 4 January 2014 (UTC)[reply]

@Josve05a: It's fine by me. This is just a copy of the code, so you making a copy for your installation of AWB won't impact my bot at all. Thanks! GoingBatty (talk) 14:43, 4 January 2014 (UTC)[reply]

Spaces[edit]

While using this module, the AWB suggest to change
| date = November 25, 1998 with
| date =November 25, 1998, wich is removing the space between the '=' and November. To duplicate run AWB on Head transplant. (tJosve05a (c) 16:16, 18 January 2014 (UTC)[reply]

@Josve05a: Are you referring to <ref name = "NYT">? It's not happening for me. I've just uploaded a new version of User:BattyBot/CS1 errors-dates, so please give it another try. Thanks! GoingBatty (talk) 21:43, 18 January 2014 (UTC)[reply]
@GoingBatty: I still get the same result in <ref name = "NYT">.

I have the following things on:

  • Auto tag
  • Apply general fixes
  • Unicodify whole page
  • RegEx typo fixing
  • skip if
    • regex: {{(Af[Dd]|Prod blp/dated|db-|speedy deletion-significance|Proposed deletion|Article for deletion)|PBB |speedy deletion-advertising |speedy deletion-no content
    • page is in use
    • no change are made
    • only whitespace is changed
    • only minor changes
  • In options:
    • Restrict orphan tag
    • Sort interwiki
    • Replace reference tags

I don't know why this is showing only for me, but I will copy everything to my sandbox #7 and run AWB. (tJosve05a (c) 21:53, 18 January 2014 (UTC)[reply]

As you can see with this edit it changed a few dates. And if I turn of the modeule, it does not change it. (tJosve05a (c) 21:56, 18 January 2014 (UTC)[reply]
@Josve05a: Sorry - still doesn't happen for me in your sandbox. There were two almost identical references in Head transplant, so I combined them. Is it still happening in Head transplant? GoingBatty (talk) 22:04, 18 January 2014 (UTC)[reply]
GoingBatty, Yes if I turn of the skip if only witespece. Just as curiosity, how do you add the module to AWB? I do it by pressing Tools > Make module > Press: Enabled, fixed with font > Choose C#2.0 > Paste the code > Make module > Close. Do you do the same? (tJosve05a (c) 22:11, 18 January 2014 (UTC)[reply]
@Josve05a: Yes, that's how I load the module, and I still can't reproduce your issue. GoingBatty (talk) 00:18, 19 January 2014 (UTC)[reply]
This is odd. Wich rev of AWB are you using? I'm using the latest. -(tJosve05a (c) 00:22, 19 January 2014 (UTC)[reply]
@Josve05a: Just upgraded to SVN 9873, and it's not suggesting any changes when I run the module against Head transplant. Could you try commenting out the lines of the module (i.e. adding "//" in front) until you find the specific rule that's making the change? Thanks! GoingBatty (talk) 04:25, 19 January 2014 (UTC)[reply]

@GoingBatty:, Everything is

ArticleText = Regex.Replace(ArticleText, @"{{(\s*[Cc]it(?:e|ation))([^}]+)(\s*\|\s*(?:entry)?date\s*=\s*)(?: | )(January|February|March|April|May|June|July|August|September|October|November|December)(?: | |\s*)(\d{1,2}),?(?: | |\s*)(\d{4}\s*[\|}<])", "{{$1$2$3$4 $5, $6");

's fault! (tJosve05a (c) 04:50, 19 January 2014 (UTC)[reply]

@Josve05a: Those rules are supposed to look for the Unicode character U+00A0, but when I copy/paste the rules here it's changing them to regular spaces. Don't know how to fix that. GoingBatty (talk) 05:15, 19 January 2014 (UTC)[reply]
It is still happening to me, and I can'tfind this string in the code anymore...could you help me to get this module, with that string/bug. (tJosve05a (c) 20:08, 21 October 2014 (UTC)[reply]
@Josve05a: I think you're looking for the section that says "no, that's not a normal space". I just pasted a new version of the rules. Maybe User:Magioladitis can help us understand how I can share the module with you without messing up these spaces. GoingBatty (talk) 02:26, 22 October 2014 (UTC)[reply]