MediaWiki talk:Licenses

Latest comment: 1 month ago by Andrybak in topic Crazy idea that might just work
WikiProject iconImages and Media (inactive)
WikiProject iconThis article is within the scope of WikiProject Images and Media, a project which is currently considered to be inactive.
WikiProject iconFair use (inactive)
WikiProject iconThis article is within the scope of WikiProject Fair use, a project which is currently considered to be inactive.
WikiProject iconDeletion (defunct)
WikiProject iconThis article is within the scope of WikiProject Deletion, a project which is currently considered to be defunct.

Edit request 2024-03-18 edit

Please update "First published in the United States before January 1, 1928" to "First published in the United States before January 1, 1929" on the {{PD-US-expired}} line. ⟲ Three Sixty! Talk? Work. 03:46, 18 March 2024 (UTC)Reply

  Done — Martin (MSGJ · talk) 15:13, 18 March 2024 (UTC)Reply

Crazy idea that might just work edit

In the last four years, the update for {{PD-US-expired}} was done "on time" once:

what if the template {{Show by date}} was used to produce a "forever" edit request? It could be something like this:

==Forever edit request==
{{Show by date|2024<!-- please update the year when answering the "Forever edit request" -->|1|1|4=
{{Edit fully-protected|MediaWiki:Licenses|answered=yes}}<!-- please don't edit this line -->
Thank you for keeping [[MediaWiki:Licenses]] up-to-date. Till the next [[Public Domain Day]].
|5={{Edit fully-protected|MediaWiki:Licenses}}<!-- please don't edit this line -->
🥳 Happy [[Public Domain Day]]! Please update the line

<code>*** PD-US-expired{{!}}First published in the United States before January 1, {{#expr:{{Not-PD-US-expired-min-year}}-1}}</code>

to

<code>*** PD-US-expired{{!}}First published in the United States before January 1, {{Not-PD-US-expired-min-year}}</code>

and on ''this talk page'' please change the year in the template {{tl|Show by date}} in the section "Forever edit request" to {{#expr:{{CURRENTYEAR}}+1}}.
}}

What do you think? Pinging involved editors: Three Sixty, The Earwig, Grendelkhan, JJMC89, Dylsss. —⁠andrybak (talk) 08:44, 18 March 2024 (UTC)Reply

Alternatively, {{str find}} could be used to check the text of MediaWiki:Licenses for the presence of expected line:

previous year = {{Str find|{{MediaWiki:Licenses}}|First published in the United States before January 1, {{#expr:{{Not-PD-US-expired-min-year}}-1}}}}, current year = {{Str find|{{MediaWiki:Licenses}}|First published in the United States before January 1, {{Not-PD-US-expired-min-year}}}}

produces: "previous year = 1554, current year = -1". —⁠andrybak (talk) 09:15, 18 March 2024 (UTC)Reply

MSGJ, please undo your last edit. See Special:Upload where the template is not displaying correctly. ⟲ Three Sixty! Talk? Work. 16:02, 18 March 2024 (UTC)Reply
Implemented using the {{str find}} in the section #Automatic edit request below. —⁠andrybak (talk) 12:17, 23 March 2024 (UTC)Reply

Second edit request 2024-03-18 edit

Would someone please undo MSGJ's last change? This message does not support wikitext/templates, and the license dropdown on Special:Upload is not displaying correctly. Thanks. ⟲ Three Sixty! Talk? Work. 16:10, 18 March 2024 (UTC)Reply

  Already doneThree Sixty! Talk? Work. 16:12, 18 March 2024 (UTC)Reply

Automatic edit request edit

Thank you for keeping MediaWiki:Licenses up to date, User:MSGJ! Till the next Public Domain Day.