User talk:Magioladitis/WikiProjects
Another blank line problem
[edit]- Moved from Wikipedia talk:AutoWikiBrowser/Bugs by Josve05a.
Status | Not a bug/currently unresolvable |
---|---|
Description | Just as the previous bug report by me, AWB's diff window shows that a blank line has been added at the bottom of the talk page. See screenshots: [1] & [2]. (t) Josve05a (c) 22:46, 1 November 2013 (UTC) |
To duplicate: | [encountered while processing page [3] & [4]] |
Site URL: | wiki.riteme.site |
Operating system | Window 7 Enterprise |
.NET FW Version | |
AWB version | rev 9586 |
Workaround | |
Fixed in version |
(I am sorry for all of these minor "bug"-reports about blank lines.) -(t) Josve05a (c) 22:46, 1 November 2013 (UTC)
- Oops! I believe that this is a module-bug. I am using the WikiProject-module. -(t) Josve05a (c) 22:51, 1 November 2013 (UTC)
Not a bug exactly. Even if you remove the blank line it will reappear. It has to do with Mediawiki anyway. -- Magioladitis (talk) 07:44, 22 November 2013 (UTC)
Please add...
[edit]...{{PuertoRicoproj}} to the module-list. Thanks! -(t) Josve05a (c) 23:24, 2 November 2013 (UTC)
- Orphaned. :) -- Magioladitis (talk)
@Magioladitis: {{WPNASCAR}} is not in the module. Only inclyded in 25 pages. (Just wanted to let you know. -(t) Josve05a (c) 15:13, 21 November 2013 (UTC)
- @Josve05a: - Done - thanks! GoingBatty (talk) 18:27, 21 November 2013 (UTC)
{{Cell Signaling Project}}
is not in the module. Included in 103 pages. -(t) Josve05a (c) 13:41, 23 November 2013 (UTC)
- @Josve05a: - {{Cell Signaling Project}} is already in the module - see {{WikiProject Cell Signaling}}. GoingBatty (talk) 23:26, 24 November 2013 (UTC)
- And
{{mergedfrom}}
. -(t)&{{nbsp;Josve05a (c) 05:33, 24 November 2013 (UTC)- Added {{merged-from}} and its three redirects - thanks! GoingBatty (talk) 23:30, 24 November 2013 (UTC)
- Also added {{merged-to}}. GoingBatty (talk) 00:06, 25 November 2013 (UTC)
GoingBatty, heres another one... {{VA}}
-(t) Josve05a (c) 20:58, 25 November 2013 (UTC)
- @Josve05a: - Added, but there are no article talk pages that use {{VA}}. GoingBatty (talk) 02:08, 28 November 2013 (UTC)
- Hmmm - looks like Magioladitis was manually changing {{VA}} to {{Vital article}} before I made this change. GoingBatty (talk) 02:30, 28 November 2013 (UTC)
- @GoingBatty: -
{{WPROM}}
. (t) Josve05a (c) 14:03, 14 April 2014 (UTC)
- Added, but there are no article talk pages that use this template. GoingBatty (talk) 02:40, 17 April 2014 (UTC)
- @GoingBatty: not anymore. I belive Youbot has "fixed" them. (t) Josve05a (c) 02:53, 17 April 2014 (UTC)
- Added, but there are no article talk pages that use this template. GoingBatty (talk) 02:40, 17 April 2014 (UTC)
Code update suggestion
[edit]Great job with the improvements to the page guys. I just wanted to drop a suggestion that might help you save a few bites on the page. I was working on doing this update when I left but now I leave it to you gents if you want to do it or not.
Before I start I already know you guys are better at this than I am so you probably already know this but if you add (?i) before the {{ then it doesn't care what the casing is and you can drop the ignore case bit at the end. This will also reduce the need for the various upper/lower case switches on the project names. You still need to specify the case in the replace segment though. You can also combine some of the groupings to save some bites. It does make it a little more complicated to code but not that much. I also found its a bit faster on the processing side for what that's worth. I did a couple below as examples.
ArticleText = Regex.Replace(ArticleText, @"(?i){{\s*(wikiproject (?:agriculture|beekeeping)|wp(?:agriculture| agriculture|farm| farm animal|))\s*([\|}{<\n])", "{{WikiProject Agriculture$2"); ArticleText = Regex.Replace(ArticleText, @"(?i){{\s*(wikiproject book(?:s|)|wp(?:book|books| book|)|wbooks)\s*([\|}{<\n])", "{{WikiProject Books$2");
Good luck and happy editing. Kumioko 108.45.104.69 (talk) 03:20, 28 November 2013 (UTC)
Kumioko, GoingBatty, Josve05a please check the code and update if necessary. It may outdated in some cases. -- Magioladitis (talk) 19:14, 18 December 2013 (UTC)
Template:U.S. Roads WikiProject
[edit]@Magioladitis: AWB does not recognize Template:U.S. Roads WikiProject as a WikiProject-banner (due to its name). I tried last year to make them change the name, but they "refused" (U.S. #1, WikiProject's #2, damn patriotic people...) to rename it. (t) Josve05a (c) 14:51, 14 April 2014 (UTC)
- @Josve05a: I am aware of the situation. -- Magioladitis (talk) 14:58, 14 April 2014 (UTC)
- "Make them change" doesn't sound like good faith to me. If you were to present a reasoned argument to WP:USRD that doesn't sound like "all the other project banners do it", you may be surprised by the result. –Fredddie™ 16:19, 14 April 2014 (UTC)
- @Fredddie: My wording might not have been compleatly "correct" but
not this again
was not either... I might bring up this again, but in the meantime, we are in a "stand-still". (t) Josve05a (c) 16:29, 14 April 2014 (UTC)- @Fredddie: Your input here is appriciated! (t) Josve05a (c) 16:48, 14 April 2014 (UTC)
{{USRD}}
does not use{{WPBannerMeta}}
either. There was a mockup of USRD that used the meta template, but I do not know if it was fully functional or not. Could that be why it's not recognized as a banner and not because of the name? –Fredddie™ 22:40, 14 April 2014 (UTC)- @Fredddie: The AWB general fixes will only add {{WikiProjectBannerShell}} if 3 or more WikiProject templates are found, and only with WikiProject templates named "WikiProject foo", not with their redirects or projects with different naming conventions.
- @Josve05a: I don't think the Roads WikiProjects should have to change their names solely because of a limitation in AWB functionality. I set up BattyBot to temporarily change {{Maths rating}} to {{WikiProject BattyBot Maths rating}}, let AWB general fixes add {{WikiProjectBannerShell}}, convert the template back to {{Maths rating}}, and then save. I'm now doing the same with the Canada & U.S. Roads WikiProjects. GoingBatty (talk) 02:57, 17 April 2014 (UTC)
- @Fredddie: Your input here is appriciated! (t) Josve05a (c) 16:48, 14 April 2014 (UTC)
- @Fredddie: My wording might not have been compleatly "correct" but
- "Make them change" doesn't sound like good faith to me. If you were to present a reasoned argument to WP:USRD that doesn't sound like "all the other project banners do it", you may be surprised by the result. –Fredddie™ 16:19, 14 April 2014 (UTC)
I tried...and failed
[edit]AWB tries to change |needs-infobox-cover=yes}}
to |needs-infobox=-cover=yes}}
inside {{WikiProject Books}}
. needs-infobox-cover is a valid parameter within {{WikiProject Books}}
. (t) Josve05a (c) 09:29, 13 May 2014 (UTC)
- Josve05a I commented out the feature that was causing the problem till we find a way to use with without destroying more than we fix. (In fact, until we stop destroying things around). -- Magioladitis (talk) 12:21, 13 May 2014 (UTC)
WikiProject banner shell
[edit]There's something wrong with the change to this rule and I had to comment it out in my AWB run. It keeps moving the "WikiProject banner shell" template past the first included WikiProject template. I'm not sure what is causing this, or else I would have applied a fix myself. Stevie is the man! Talk • Work 16:52, 20 February 2016 (UTC)
Stevietheman I think GoingBatty fixed that. Did you update the script in your settings file? -- Magioladitis (talk) 20:52, 20 February 2016 (UTC)
- @Stevietheman: {{WikiProjectBannerShell}} was recently renamed {{WikiProject banner shell}}. In addition to using the updated version of this module, please make sure you're using AWB SVN 11891 or greater. GoingBatty (talk) 21:08, 20 February 2016 (UTC)
GoingBatty this is an example that show how difficult is to keep up with all these redirects, etc. We are slowly moving to more standard names but the situation is still very difficult to handle. -- Magioladitis (talk) 21:18, 20 February 2016 (UTC)
I have been using the next-to-last version of this page's code and version 5.8.5.1 of AWB, which is at SVN 11887. Does having the latest not-yet-released AWB make this page's code not cause the problem? Stevie is the man! Talk • Work 23:04, 20 February 2016 (UTC)
- @Stevietheman: You might want to try using this version instead (which still uses {{WikiProjectBannerShell}}) until you upgrade AWB. GoingBatty (talk) 02:36, 21 February 2016 (UTC)
- Thanks. I have been running with the line causing the issue commented out, and that is working fine as a workaround at the moment. Stevie is the man! Talk • Work 11:44, 21 February 2016 (UTC)