Jump to content

User talk:Magioladitis/WikiProjects

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

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]. (tJosve05a (c) 22:46, 1 November 2013 (UTC)[reply]
To duplicate: [encountered while processing page [3] & [4]]
Site URL: en.wikipedia.org
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.) -(tJosve05a (c) 22:46, 1 November 2013 (UTC)[reply]

Oops! I believe that this is a module-bug. I am using the WikiProject-module. -(tJosve05a (c) 22:51, 1 November 2013 (UTC)[reply]

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)[reply]

Please add...

[edit]

...{{PuertoRicoproj}} to the module-list. Thanks! -(tJosve05a (c) 23:24, 2 November 2013 (UTC)[reply]

Orphaned. :) -- Magioladitis (talk)

@Magioladitis: {{WPNASCAR}} is not in the module. Only inclyded in 25 pages. (Just wanted to let you know. -(tJosve05a (c) 15:13, 21 November 2013 (UTC)[reply]

@Josve05a: -  Done - thanks! GoingBatty (talk) 18:27, 21 November 2013 (UTC)[reply]

{{Cell Signaling Project}} is not in the module. Included in 103 pages. -(tJosve05a (c) 13:41, 23 November 2013 (UTC)[reply]

@Josve05a: - {{Cell Signaling Project}} is already in the module - see {{WikiProject Cell Signaling}}. GoingBatty (talk) 23:26, 24 November 2013 (UTC)[reply]
And {{mergedfrom}}. -(t)&{{nbsp;Josve05a (c) 05:33, 24 November 2013 (UTC)[reply]
plus Added {{merged-from}} and its three redirects - thanks! GoingBatty (talk) 23:30, 24 November 2013 (UTC)[reply]
Also added {{merged-to}}. GoingBatty (talk) 00:06, 25 November 2013 (UTC)[reply]

GoingBatty, heres another one... {{VA}}-(tJosve05a (c) 20:58, 25 November 2013 (UTC)[reply]

@Josve05a: - plus Added, but there are no article talk pages that use {{VA}}. GoingBatty (talk) 02:08, 28 November 2013 (UTC)[reply]
Hmmm - looks like Magioladitis was manually changing {{VA}} to {{Vital article}} before I made this change. GoingBatty (talk) 02:30, 28 November 2013 (UTC)[reply]
plus Added, but there are no article talk pages that use this template. GoingBatty (talk) 02:40, 17 April 2014 (UTC)[reply]
@GoingBatty: not anymore. I belive Youbot has "fixed" them. (tJosve05a (c) 02:53, 17 April 2014 (UTC)[reply]

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)[reply]

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)[reply]

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. (tJosve05a (c) 14:51, 14 April 2014 (UTC)[reply]

@Josve05a: I am aware of the situation. -- Magioladitis (talk) 14:58, 14 April 2014 (UTC)[reply]
"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)[reply]
@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". (tJosve05a (c) 16:29, 14 April 2014 (UTC)[reply]
@Fredddie: Your input here is appriciated! (tJosve05a (c) 16:48, 14 April 2014 (UTC)[reply]
{{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)[reply]
@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)[reply]

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}}. (tJosve05a (c) 09:29, 13 May 2014 (UTC)[reply]

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)[reply]

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! TalkWork 16:52, 20 February 2016 (UTC)[reply]

Stevietheman I think GoingBatty fixed that. Did you update the script in your settings file? -- Magioladitis (talk) 20:52, 20 February 2016 (UTC)[reply]

@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)[reply]

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)[reply]

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! TalkWork 23:04, 20 February 2016 (UTC)[reply]

@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)[reply]
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! TalkWork 11:44, 21 February 2016 (UTC)[reply]