User talk:RoySmith: Difference between revisions

 

Line 234: Line 234:

:::</code>

:::</code>

:::The first page it returns is [[Template:Did you know nominations/1931 Salvadoran presidential election]] which is 9 days old. If I run what appears to be [https://en.wikipedia.org/w/index.php?sort=create_timestamp_desc&search=subpageof%3A%22Did+you+know+nominations%22&title=Special%3ASearch&profile=advanced&fulltext=1&advancedSearch-current=%7B%22fields%22%3A%7B%22subpageof%22%3A%22Did+you+know+nominations%22%7D%7D&ns10=1&searchToken=5n82hiyw0wuva8v6awf19xxuc the same search via the web interface], the first page I get is [[Template:Did you know nominations/Field propulsion]], which was indeed created today. So why does my pywikibot search not get me that? [[User:RoySmith|RoySmith]] [[User Talk:RoySmith|(talk)]] 17:30, 18 September 2025 (UTC)

:::The first page it returns is [[Template:Did you know nominations/1931 Salvadoran presidential election]] which is 9 days old. If I run what appears to be [https://en.wikipedia.org/w/index.php?sort=create_timestamp_desc&search=subpageof%3A%22Did+you+know+nominations%22&title=Special%3ASearch&profile=advanced&fulltext=1&advancedSearch-current=%7B%22fields%22%3A%7B%22subpageof%22%3A%22Did+you+know+nominations%22%7D%7D&ns10=1&searchToken=5n82hiyw0wuva8v6awf19xxuc the same search via the web interface], the first page I get is [[Template:Did you know nominations/Field propulsion]], which was indeed created today. So why does my pywikibot search not get me that? [[User:RoySmith|RoySmith]] [[User Talk:RoySmith|(talk)]] 17:30, 18 September 2025 (UTC)

::::I’m not sure why it isn’t sorting properly, seems like a bug in how it handles sorting because I also got [[Template:Did you know nominations/1931 Salvadoran presidential election]] and when I did it without the sorting parameter it was [[Template:Did you know nominations/1630 Crete earthquake]], so its not sorting properly with <var>create_timestamp_desc</var>. [[User: Tenshi Hinanawi|Tenshi!]] ([[User talk: Tenshi Hinanawi|Talk page]]) 20:54, 18 September 2025 (UTC)

Environment of New York City Task Force

RoySmith (talk) 00:03, 4 September 2025 (UTC)[reply]

September 10: Annual Election & Members Meeting

You are invited to join the Wikimedia NYC community for our Annual Election & Members Meeting, in-person at Prime Produce in Hell’s Kitchen, Manhattan and also via Zoom.

The Members’ Meeting is similar to other WikiWednesday meetups, except that its primary function is to elect new members to the Board of Directors. We will elect three board seats – half of the elected seats on the board – and the elected board can appoint up to five more board members. As part of the Members Meeting, we will also focus on the Wikimedia NYC Programs Plan for the coming year, our Financial Report, and Annual and Monthly event teams for the coming year.

Election info:

  • To run for election or to vote, you must be a dues-paying member of Wikimedia New York City, having renewed in the past 12 months.
  • Voting will be both online, via emailed ballots from the ElectionBuddy service, and in-person.
  • The poll will be open for the 48 hours between 8pm EDT on September 8 and 8pm EDT on September 10.
  • For additional information, please consult the Election FAQ.

Meeting info:

All attendees are subject to Wikimedia NYC’s Code of Conduct and Photography Policy.

P.S. Next event, September 19 — NYC 400 Edit-A-Thon: Nueva Yol

(You can subscribe/unsubscribe from future notifications for NYC-area events by adding or removing your name from this list.)

Wikimedia New York City Team via MediaWiki message delivery (talk) 01:47, 5 September 2025 (UTC)[reply]

News and updates for administrators from the past month (August 2025).

Guideline and policy news

  • An RfC is open on whether use of emojis with no encyclopedic value in mainspace and draftspace (e.g., at the start of paragraphs or in place of bullet points) should be added as a criterion under G15.

Technical news

Arbitration

  • The arbitration case Article titles and capitalisation 2 has been closed.
  • An RfC is in progress to amend the structure, rules, and procedures of the Arbitration Committee election and resolve any issues not covered by existing rules.

UK Online Safety Act remains undefeated.

Plus Wiki rules, Wiki Spin, and physicists get street cred!

The price of Liberty is eternal vigilance.

And other new research findings.

Tis true: there’s magic in the web of it.

With the usual mix of war, death, super heroes, a belt, and Wednesday.

It’s an easy one.

MediaWiki message delivery 01:11, 9 September 2025 (UTC)[reply]

Hey! Reaching out because you were the one who initially reviewed my article on the Crystal Springs Dam back in January. I know it’s been a while (I’ve been busy with high school) but I’ve just renominated the article and would truly appreciate any further feedback. Thanks! 3602kiva (talk) 18:32, 9 September 2025 (UTC)[reply]

I’m taking a look now. I pinged you on a WP:RSN discussion about one of your sources. RoySmith (talk) 20:31, 15 September 2025 (UTC)[reply]
The Premium Reviewer Barnstar
By the authority vested in me by myself it gives me great pleasure to present you with this barnstar in recognition of the vast number of thorough, detailed and actionable reviews you have carried out. This work is very much appreciated. Gog the Mild (talk) 16:49, 15 September 2025 (UTC)[reply]

MediaWiki message delivery 17:03, 15 September 2025 (UTC)[reply]

(You can subscribe/unsubscribe from future notifications for NYC-area events by adding or removing your name from this list.)

Wikimedia New York City Team via MediaWiki message delivery (talk) 16:52, 17 September 2025 (UTC)[reply]

Yes, you can use site.search() for it. site.search(r'intitle:/^Did you know nominations\/.*/', namespaces=[10]) would work. As far as I know it only works with CirrusSearch queries. — Tenshi! (Talk page) 16:02, 18 September 2025 (UTC)[reply]

Thanks, but your answer makes it sound like that might not be the best way? RoySmith (talk) 16:09, 18 September 2025 (UTC)[reply]

There’s probably better ways of doing it, but beyond querying the API with the same thing, I don’t know of any others. The concern that I have is that on my end is that the query stops at 10,000 pages. Tenshi! (Talk page) 16:18, 18 September 2025 (UTC)[reply]

When I execute:

dyk_noms = site.search(
r"intitle:/^Did you know nominations\/.*/",
namespaces="Template",
sort="create_timestamp_desc",
)

The first page it returns is Template:Did you know nominations/1931 Salvadoran presidential election which is 9 days old. If I run what appears to be the same search via the web interface, the first page I get is Template:Did you know nominations/Field propulsion, which was indeed created today. So why does my pywikibot search not get me that? RoySmith (talk) 17:30, 18 September 2025 (UTC)[reply]

I’m not sure why it isn’t sorting properly, seems like a bug in how it handles sorting because I also got Template:Did you know nominations/1931 Salvadoran presidential election and when I did it without the sorting parameter it was Template:Did you know nominations/1630 Crete earthquake, so its not sorting properly with create_timestamp_desc. Tenshi! (Talk page) 20:54, 18 September 2025 (UTC)[reply]

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top