This page is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
{{DEFAULTSORT:...}}
keywords.
[2]Changes later this week
__NEWSECTIONLINK__
magic word. If you notice any issues, please
share them with the team on Phabricator.Future changes
Events
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 23:48, 4 December 2023 (UTC)
Hi, Kunal!
It was great to meet you over the weekend at WikiConference North America! As I mentioned in the bookshop I'm involved with the Peeragogy in Action podcast and I would like for you to be a guest on our next episode to talk about MassMessage and the Wikimedia movement. Are you interested? You can feel free to respond here or email contact@mr.danoff.org
-- Charles Jeffrey Danoff ( talk) 14:50, 15 November 2023 (UTC)
Hi Lego :) I'm looking to interview people here, feel free to pass if you're not interested. Clovermoss🍀 (talk) 21:16, 2 December 2023 (UTC)
Hello, Legoktm. This is a bot-delivered message letting you know that Draft:Christine Lemmer-Webber, a page you created, has not been edited in at least 5 months. Drafts that have not been edited for six months may be deleted, so if you wish to retain the page, please edit it again or request that it be moved to your userspace.
If the page has already been deleted, you can request it be undeleted so you can continue working on it.
Thank you for your submission to Wikipedia. FireflyBot ( talk) 19:05, 6 December 2023 (UTC)
News and updates for administrators from the past month (November 2023).
Notifying you that Legobot keeps breaking small tags on Wikipedia:Requests for comment/Wikipedia policies and guidelines, and did not comply and fully removed the {{bots|deny=Legobot}} placed by Anomalocaris to kick the bot off the page for a while to allow this issue to be sorted out. Zinnober9 ( talk) 09:02, 10 December 2023 (UTC)
Hey.
Last year you applied a pull request from Enterprisey to Legobot, so that it would stop matching on {{ rfc top}} and {{ rfc bottom}}. Earlier I noticed an edit on my watchlist, where Redrose64 had to fix an RfC closure because Legobot had matched on {{ rfctop}}.
I think I've found the problem with the regex in step 2 that's causing this. Unfortunately I don't have git installed on any of my devices right now to make a pull request, so I hope you'll forgive me for putting a possible solution here. On rfcbot.php line 163, if you change the regex pattern:
/\{{2}\s?Rfc(tag)?(?!\s+(top|bottom))\s?[^}]*\}{2}/i
to instead be
\{{2}\s?Rfc(tag)?[\s]?+(?!(top|bottom))\s?[^}]*\}{2}
I think it resolves the issue. The change here is that it takes the whitespace character match \s+
out of the negative lookahead, and then makes it an optional positive match. The negative lookahead then works the same as before, matching on the presence of either top or bottom. In my testing, this means it only matches on {{
rfc}} and {{
rfctag}}, while ignoring {{
rfc top}}, {{
rfc bottom}}, {{
rfctop}}, {{
rfc bottom}}, {{
closed rfc top}}, and {{
closed rfc bottom}}. This seems to be the desired behaviour. The problem with the current pattern is that it's only doing the negative lookahead capture on text with a whitespace like rfc top
resulting in it still capturing text without one like rfctop
.
I'm not sure if you need to also replicate these changes in the other regexs that use the same negative lookahead capture, like on lines 180, 185, 200, etc. If you do, then replacing ?(?!\s+(top|bottom))
with ?[\s]?+(?!(top|bottom))
should have the desired effect. But I've not tested this fix for all of the matches, so you'll probably want to test this first. I've only tested it with the match used at the start of step 2 (line 163).
Hope this helps. Sideswipe9th ( talk) 01:35, 11 December 2023 (UTC)
Hello, Legoktm,
It looks like HaleBot is taking an extended nap. Just alerting you. Thanks for the alternative way to find empty categories, that's been very helpful during this time. Liz Read! Talk! 01:29, 5 December 2023 (UTC)
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
Problems
Changes later this week
Future changes
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 02:10, 12 December 2023 (UTC)
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Tech News
Changes later this week
Future changes
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 16:16, 18 December 2023 (UTC)
Hello! Your submission of Frank Fiscalini at the Did You Know nominations page has been reviewed, and some issues with it may need to be clarified. Please review the comment(s) at your nomination's entry and respond there at your earliest convenience. Thank you for contributing to Did You Know! Narutolovehinata5 ( talk · contributions) 02:14, 23 December 2023 (UTC)
{{u| Sdkb}} talk 06:44, 24 December 2023 (UTC)
This page is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
{{DEFAULTSORT:...}}
keywords.
[2]Changes later this week
__NEWSECTIONLINK__
magic word. If you notice any issues, please
share them with the team on Phabricator.Future changes
Events
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 23:48, 4 December 2023 (UTC)
Hi, Kunal!
It was great to meet you over the weekend at WikiConference North America! As I mentioned in the bookshop I'm involved with the Peeragogy in Action podcast and I would like for you to be a guest on our next episode to talk about MassMessage and the Wikimedia movement. Are you interested? You can feel free to respond here or email contact@mr.danoff.org
-- Charles Jeffrey Danoff ( talk) 14:50, 15 November 2023 (UTC)
Hi Lego :) I'm looking to interview people here, feel free to pass if you're not interested. Clovermoss🍀 (talk) 21:16, 2 December 2023 (UTC)
Hello, Legoktm. This is a bot-delivered message letting you know that Draft:Christine Lemmer-Webber, a page you created, has not been edited in at least 5 months. Drafts that have not been edited for six months may be deleted, so if you wish to retain the page, please edit it again or request that it be moved to your userspace.
If the page has already been deleted, you can request it be undeleted so you can continue working on it.
Thank you for your submission to Wikipedia. FireflyBot ( talk) 19:05, 6 December 2023 (UTC)
News and updates for administrators from the past month (November 2023).
Notifying you that Legobot keeps breaking small tags on Wikipedia:Requests for comment/Wikipedia policies and guidelines, and did not comply and fully removed the {{bots|deny=Legobot}} placed by Anomalocaris to kick the bot off the page for a while to allow this issue to be sorted out. Zinnober9 ( talk) 09:02, 10 December 2023 (UTC)
Hey.
Last year you applied a pull request from Enterprisey to Legobot, so that it would stop matching on {{ rfc top}} and {{ rfc bottom}}. Earlier I noticed an edit on my watchlist, where Redrose64 had to fix an RfC closure because Legobot had matched on {{ rfctop}}.
I think I've found the problem with the regex in step 2 that's causing this. Unfortunately I don't have git installed on any of my devices right now to make a pull request, so I hope you'll forgive me for putting a possible solution here. On rfcbot.php line 163, if you change the regex pattern:
/\{{2}\s?Rfc(tag)?(?!\s+(top|bottom))\s?[^}]*\}{2}/i
to instead be
\{{2}\s?Rfc(tag)?[\s]?+(?!(top|bottom))\s?[^}]*\}{2}
I think it resolves the issue. The change here is that it takes the whitespace character match \s+
out of the negative lookahead, and then makes it an optional positive match. The negative lookahead then works the same as before, matching on the presence of either top or bottom. In my testing, this means it only matches on {{
rfc}} and {{
rfctag}}, while ignoring {{
rfc top}}, {{
rfc bottom}}, {{
rfctop}}, {{
rfc bottom}}, {{
closed rfc top}}, and {{
closed rfc bottom}}. This seems to be the desired behaviour. The problem with the current pattern is that it's only doing the negative lookahead capture on text with a whitespace like rfc top
resulting in it still capturing text without one like rfctop
.
I'm not sure if you need to also replicate these changes in the other regexs that use the same negative lookahead capture, like on lines 180, 185, 200, etc. If you do, then replacing ?(?!\s+(top|bottom))
with ?[\s]?+(?!(top|bottom))
should have the desired effect. But I've not tested this fix for all of the matches, so you'll probably want to test this first. I've only tested it with the match used at the start of step 2 (line 163).
Hope this helps. Sideswipe9th ( talk) 01:35, 11 December 2023 (UTC)
Hello, Legoktm,
It looks like HaleBot is taking an extended nap. Just alerting you. Thanks for the alternative way to find empty categories, that's been very helpful during this time. Liz Read! Talk! 01:29, 5 December 2023 (UTC)
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
Problems
Changes later this week
Future changes
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 02:10, 12 December 2023 (UTC)
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Tech News
Changes later this week
Future changes
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 16:16, 18 December 2023 (UTC)
Hello! Your submission of Frank Fiscalini at the Did You Know nominations page has been reviewed, and some issues with it may need to be clarified. Please review the comment(s) at your nomination's entry and respond there at your earliest convenience. Thank you for contributing to Did You Know! Narutolovehinata5 ( talk · contributions) 02:14, 23 December 2023 (UTC)
{{u| Sdkb}} talk 06:44, 24 December 2023 (UTC)