User talk:JL-Bot
|
||||||||
This page has archives. Sections older than 14 days may be auto-archived by Lowercase sigmabot III. |
Not sure this is configured correctly
[edit]On this page:
It looks like a couple of topics are repeated, and on (the DYK section) isn't list at all. How can I fix this? --evrik (talk) 16:25, 7 June 2022 (UTC)
- @Evrik: Do you have examples of things that are repeated/not listed? Headbomb {t · c · p · b} 22:30, 7 June 2022 (UTC)
- For the DYK section, there was an extra equals sign on the end of the line. I removed that and re-ran. The DYK section is now present. I'm not seeing any duplicate topics. Let me know what you are questioning and I will take a look at it. -- JLaTondre (talk) 01:06, 8 June 2022 (UTC)
- @JLaTondre:, thank you for the fix. @Headbomb:, "Picture of the day pictures" seems to duplicate "Featured pictures", "Featured lists" mirrors "Main page featured lists" are the two with the most overlap. --evrik (talk) 01:22, 8 June 2022 (UTC)
- That looks good. How would I code that on the page? --evrik (talk) 03:08, 8 June 2022 (UTC)
- The bot currently outputs by category. There is overlap in the categories (for example, I would assume all "Main page featured lists" are "Featured lists"), but they are not the same (not all featured content appears on the main page). So what is the ask here?
- When outputting a featured type (ex. "Featured lists"), provide an option to add a Wikipedia icon if it appeared on the main page?
- It would then be up to specifier to only include the one category type and the option; or
- The bot would only display the larger category if the option is set even if both categories are specified
- Provide an option to consolidate by page type (article, list, picture, sound) where it would show a different icon for each recognized type? So for example, the new section could be "Recognized articles" and you would get a different icon and date (where applicable) for each of "Featured article", "Former featured article", "DYK", etc.
Well, TFAs should be either current or former FAs. So a condensed option would, IMO, required that both FA and FFA are covered. And then the TFAs could be 'merged' into FA/FFA. Likewise for TFLs, which would be merged into both FL and FFL sections. So if you have
|content-featured-articles |content-former-featured-articles |content-mainpage-featured
the output would be as is, but if you had something like
|content-featured-articles |content-former-featured-articles |content-mainpage-featured=condensed (or something equivalent)
then the output would be merged as above (or similar, depending on whether or not icons were desired) Headbomb {t · c · p · b} 12:38, 8 June 2022 (UTC)
- @JLaTondre: if you run the bot on Portal:Scouting/Recognized_content I can do a full mockup. Headbomb {t · c · p · b} 01:55, 12 June 2022 (UTC)
- Done. -- JLaTondre (talk) 15:40, 12 June 2022 (UTC)
- Mockup. POTD icons will be supported once Template_talk:Icon#POTD_support is enacted. Headbomb {t · c · p · b} 16:32, 12 June 2022 (UTC)
- Done. -- JLaTondre (talk) 15:40, 12 June 2022 (UTC)
- @JLaTondre and Headbomb: Thank you both! --evrik (talk) 02:33, 13 June 2022 (UTC)
FM captions
[edit]Is there a reason why the "caption" option actually displays the media's title rather than its caption? The titles are so rarely helpful, while the captions would definitely be! MeegsC (talk) 17:38, 7 August 2022 (UTC)
- Primarily performance, but also the lack of standard formats. Captions are on the pages that use the images and it would be add significant time to go pull them. The task already takes most of a day to run. Images can also appear on multiple pages with significantly different captions. Captions are not always in a standard format which makes pulling them from the page text problematic. -- JLaTondre (talk) 12:00, 9 August 2022 (UTC)
- Could we not use the captions that are in the picture file, and default to the title only if the picture file doesn't have an English caption? Most file captions are better than the title! MeegsC (talk) 13:14, 9 August 2022 (UTC)
- The description field? Yes, that might work. I will look into it. -- JLaTondre (talk) 16:36, 13 August 2022 (UTC)
- Could we not use the captions that are in the picture file, and default to the title only if the picture file doesn't have an English caption? Most file captions are better than the title! MeegsC (talk) 13:14, 9 August 2022 (UTC)
Bug
[edit]In WP:JCW/Multiscript1, there's a latin only entry "Das kulturelle Erbe von Arzach". If you go to the article, you have |journal=Das kulturelle Erbe von Arzach | Արցախի մշակութային ժառանգությունը: Armenische Geschichte und deren Spuren in Berg-Karabach | Հայոց պատմությունը և դրա հետքերը Լեռնային Ղարաբաղում
The bot should be able to recognize {{!}} Headbomb {t · c · p · b} 22:41, 21 September 2025 (UTC)
- If you edit the Multiscript1 page, the full annotated name is: Das kulturelle Erbe von Arzach | Արցախի մշակութային ժառանգությունը: Armenische Geschichte und deren Spuren in Berg-Karabach | Հայոց պատմությունը և դրա հետքերը Լեռնային Ղարաբաղում. It needs the |'s escaped when placed into the template so it doesn't break the template. I will fix that. -- JLaTondre (talk) 01:12, 22 September 2025 (UTC)
- Right, I dug too deep. At least looking silly isn't as dangerous as Durin's Bane. Headbomb {t · c · p · b} 02:22, 22 September 2025 (UTC)
- Fixed. Let me know if you see anything else wrong. -- JLaTondre (talk) 23:09, 22 September 2025 (UTC)
- The only thing I see is a nitpick about brackets sometimes being the wrong color, like in Dragon Ball 大全集 2: Story Guide [Dragon Ball Complete Works 2: Story Guide] or Hōsō Kenkyū to Chōsa [NHK Monthly Report on Broadcast Research] 放送研究と調査 or Lj. Maksimović, M. Ricl, ΤΗ ΠΡΟΣΦΙΛΕΣΤΑΤΗ ΚΑΙ ΠΑΝΤΑ ΑΡΙΣΤΗ ΜΑΚΕΔΟΝΙΑΡΧΙΣΣΗ: Students and Colleagues for Professor Fanoula Papazoglou (International Conference, Belgrade, October 17–18, 2017) . Headbomb {t · c · p · b} 02:07, 23 September 2025 (UTC)
- Punctuation and numbers are valid in multiple scripts. Perl classifies them as Common script. The code is leaving them uncolored if between other scripts and grouping them with a script if between two ranges of the same script. Many times that makes sense, but not always. The other option is to never color them. Should I change it to that? -- JLaTondre (talk) 10:26, 23 September 2025 (UTC)
- Yeah, probably best to leave brackets, numbers, and other 'neutral' marks in black. Headbomb {t · c · p · b} 11:56, 23 September 2025 (UTC)
- Change made & updated results uploaded. -- JLaTondre (talk) 22:22, 24 September 2025 (UTC)
- Yeah, probably best to leave brackets, numbers, and other 'neutral' marks in black. Headbomb {t · c · p · b} 11:56, 23 September 2025 (UTC)
- Punctuation and numbers are valid in multiple scripts. Perl classifies them as Common script. The code is leaving them uncolored if between other scripts and grouping them with a script if between two ranges of the same script. Many times that makes sense, but not always. The other option is to never color them. Should I change it to that? -- JLaTondre (talk) 10:26, 23 September 2025 (UTC)
- The only thing I see is a nitpick about brackets sometimes being the wrong color, like in Dragon Ball 大全集 2: Story Guide [Dragon Ball Complete Works 2: Story Guide] or Hōsō Kenkyū to Chōsa [NHK Monthly Report on Broadcast Research] 放送研究と調査 or Lj. Maksimović, M. Ricl, ΤΗ ΠΡΟΣΦΙΛΕΣΤΑΤΗ ΚΑΙ ΠΑΝΤΑ ΑΡΙΣΤΗ ΜΑΚΕΔΟΝΙΑΡΧΙΣΣΗ: Students and Colleagues for Professor Fanoula Papazoglou (International Conference, Belgrade, October 17–18, 2017) . Headbomb {t · c · p · b} 02:07, 23 September 2025 (UTC)