Jump to content

User talk:Ahecht: Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Content deleted Content added
 
(39 intermediate revisions by 12 users not shown)
Line 13: Line 13:
__TOC__<!-- PLEASE POST NEW COMMENTS AT THE BOTTOM OF THE PAGE. THANK YOU. -->
__TOC__<!-- PLEASE POST NEW COMMENTS AT THE BOTTOM OF THE PAGE. THANK YOU. -->


== New pages patrol September 2024 Backlog drive ==
== refresh.js purge mode issues ==


{| style="border: 5px solid #ABCDEF ; background-color: #FFF; color: #000; padding:10px 15px 0"
Hello, [[User:Ahecht/Scripts/refresh.js]] doesn't seem to work when the purge link is pressed. An error is raised because <code>postFail</code> is not defined and for the API request that goes through, it complains that the <code>title</code> parameters should be <code>titles</code>. Also, using a static tag for the call to <code>mw.notify</code> so a single popup is updated rather than generating a new one each time would be nice. Otherwise, the null edit mode seems to be working really well. Thanks, <span class="nowrap">– [[User:BrandonXLF|<span style="color:blue;">Brandon</span><span style="color:green;">XLF</span>]] ([[User talk:BrandonXLF|talk]])</span> 22:22, 27 July 2024 (UTC)
|style="padding: 0; vertical-align: middle; height: 1.1em; font-size:130%" |'''[[Wikipedia:New pages patrol|New pages patrol]] |''' <span style="font-size:85%">[[Wikipedia:New pages patrol/Backlog drives/September 2024|September 2024 Backlog Drive]]</span>
|rowspan=3|[[File:NPP Barnstar.png|right|80px]]
|-
|
* On 1 September 2024, a one-month backlog drive for new pages patrol will begin.
* Barnstars will be awarded based on the number of articles and redirects patrolled.
* Barnstars will also be granted for re-reviewing articles previously reviewed by other patrollers during the drive.
* Each article review will earn 1 point, and each redirect review will earn 0.2 points.
* Interested in taking part? '''[[Wikipedia:New pages patrol/Backlog drives/September 2024/Participants|Sign up here]]'''.
|-
|colspan=2 style="font-size:85%; padding-top:15px;"|You're receiving this message because you are a new page patroller. To opt-out of future mailings, please remove yourself [[Wikipedia:New pages patrol/Reviewers/Newsletter list|here.]]
|}
[[User:MediaWiki message delivery|MediaWiki message delivery]] ([[User talk:MediaWiki message delivery|talk]]) 17:09, 26 August 2024 (UTC)
<!-- Message sent by User:DreamRimmer@enwiki using the list at https://en.wikipedia.org/w/index.php?title=Wikipedia:New_pages_patrol/Reviewers/Newsletter_list&oldid=1242377836 -->


== [[Module:English Heritage listed building]] ==
:@[[User:BrandonXLF|BrandonXLF]] Thanks for letting me know. This is a combination of two things -- I did some modifications to the purge function a year ago to try to avoid the API timing out but it causes the title/titles error, and I recently did some updates to the null edit feature which seems to have broken the error message. I did a quick fix so both work now, although the purge function will be fairly slow since I'm purging one at a time (the API allows 50 at a time, but it times out when I try to actually do that many, so I still need to find out where the "sweet spot" is).
:As for re-using the bubbles, having them stack was intentional, but you can put <syntaxhighlight lang="javascript" inline>var refreshReuseBubble = true;</syntaxhighlight> in your common.js above the call to refresh.js to change this behavior. <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 03:07, 28 July 2024 (UTC)
::Thanks for the quick fixes and the new config variable! As for the timeout issue, does it still occur if you use forcelinkupdate instead? <span class="nowrap">– [[User:BrandonXLF|<span style="color:blue;">Brandon</span><span style="color:green;">XLF</span>]] ([[User talk:BrandonXLF|talk]])</span> 03:39, 28 July 2024 (UTC)
:::@[[User:BrandonXLF|BrandonXLF]] A non-recursive link update doesn't seem to make much of a difference. I have a version in the [[User:Ahecht/sandbox/Scripts/refresh.js|sandbox]] that sets the number of pages to purge at a time to the minimum required to make the ratelimit on par with that for null editing (so 3 at a time for normal users, 1 at a time for admins since they don't have a purge rate limit), but I'll have to test it more before making it live. <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 04:49, 28 July 2024 (UTC)


Hi, the edit history indicates that you implemented this module in June. There's something wrong with the way the notes column is handled. On articles with notes, such as [[Grade I listed buildings in Maidstone]] and [[Grade I listed buildings in Derbyshire]], the notes are appearing in the Grid ref. Geo-coordinates column with the intended contents of the subsequent columns pulled into the previous columns - so that Entry Number appears in the Notes column, etc.. Would you see if you can fix the placement. [[User:DavidCane|DavidCane]] ([[User talk:DavidCane|talk]]) 13:23, 27 August 2024 (UTC)
== randomincategory not working at least for fa-wikipedia ==


:@[[User:DavidCane|DavidCane]] Thanks for the heads up. Should be fixed now. <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 13:36, 27 August 2024 (UTC)
Hi.
::Thanks. Looks good now. [[User:DavidCane|DavidCane]] ([[User talk:DavidCane|talk]]) 13:52, 27 August 2024 (UTC)
Thank you for creating [https://randomincategory.toolforge.org/ Random page in category tool]. This is awesome and I've been using it for a long time.


== Thanks ==
I was trying to open a random page from [[:fa:رده:حذف زمان‌دار منقضی شده|this category]] on fa-wikipedia and noticed that the tool is not working and returns an error saying "There are no pages in the رده:حذف زمان‌دار منقضی شده category on fa.wikipedia.org." [https://randomincategory.toolforge.org/%D8%AD%D8%B0%D9%81_%D8%B2%D9%85%D8%A7%D9%86%E2%80%8C%D8%AF%D8%A7%D8%B1_%D9%85%D9%86%D9%82%D8%B6%DB%8C_%D8%B4%D8%AF%D9%87?server=fa.wikipedia.org This link] is the one I used and encountered the error. The tool is fine when you set the server on enwiki.


Hey, I just wanted to say thanks for performing the move of [[Sonja Sigurðardóttir]]. Cheers! [[Special:Contributions/2003:D5:AF2E:E600:9102:9FAF:E0C3:E661|2003:D5:AF2E:E600:9102:9FAF:E0C3:E661]] ([[User talk:2003:D5:AF2E:E600:9102:9FAF:E0C3:E661|talk]]) 07:35, 31 August 2024 (UTC)
Can you please take a look at the issue? Thanks. [[User:Jeeputer|<span style="color:#E34234; font-weight:bold">Jeeputer</span>]] [[User talk:Jeeputer|<sup style="font-weight:bold; color:#006B3C"><i>Talk</i></sup>]] 16:50, 10 August 2024 (UTC)


== pageswap tag ==
:@[[User:Jeeputer|Jeeputer]] I can't read Farsi, but are you including the equivalent of "Category:" in the URL (for example, https://randomincategory.toolforge.org/Category:Fish instead of https://randomincategory.toolforge.org/Fish)? It may not be filtering that out correctly due to it being a right-to-left language. <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 00:32, 11 August 2024 (UTC)
::Yes. I've tried both forms with and without namespace prefix and it does not work in either way. The tool used to work a few months ago. The page's title has a [[Zero-width non-joiner]] character, if it can help to debug. I can see that character is encoded into the URL I provided above: "حذف_زمان%E2%80%8Cدار_منقضی_شده". Maybe decoding URI components can help. [[User:Jeeputer|<span style="color:#E34234; font-weight:bold">Jeeputer</span>]] [[User talk:Jeeputer|<sup style="font-weight:bold; color:#006B3C"><i>Talk</i></sup>]] 00:39, 11 August 2024 (UTC)
:::@[[User:Jeeputer|Jeeputer]] Thanks for the update. The only change that was made in the last few months was adding a maximum size limit for categories, but something in that new code must be breaking on Farsi titles. I did a partial rollback which fixed the issue, but I'll have to put a more permanent fix into place at some point in the future. <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 15:47, 12 August 2024 (UTC)


Hey Ahecht. I really appreciate your pageswap script, and I like that it now includes a link back to the script. As I'm sure you've run into, there are occasionally some rather long move summaries in which the end gets cut off. E.g., [[Special:Diff/1243892388|this diff]] or [https://en.m.wikipedia.org/w/index.php?title=Special:Log&logid=164249494 this log entry] for two recent technical requests.
== Tech barnstar ==


To save on characters in move summaries, rather than using "(using [[User:Ahecht/Scripts/pageswap|pageswap GUI]])", you could ask an admin to create a tag for the script via [[Special:Tags]].
{| style="border: 1px solid #00FF00; background-color: #122317;"
|rowspan="2" style="vertical-align:middle;" | [[File:Barnstar - technical works.svg|200px]]


The only change you would need to make to the script to add the tag to all its edits is to replace the three instance in [[User:Ahecht/Scripts/pageswap-core.js]] of
|rowspan="2" |
:<code>watchlist: params.watch</code>
|style="font-size: x-large; padding: 0; vertical-align: middle; height: 1.1em; color: #00FF00;" | '''The Technical Barnstar'''
with
|-
:<code>watchlist: params.watch, tags: 'pageswap'</code>
|style="vertical-align: middle; border-top: 1px solid #00FF00; color: #00FF00;" | '''Thanks for creating [[Module:Flag|<span style="color:#4FFFFF;">Module:Flag</span>]] and [[Module:English Heritage listed building|<span style="color:#4FFFFF;">Module:English Heritage listed building</span>]], which&nbsp;&nbsp;&nbsp;<br>[[User talk:Wbm1058/Archive 12#List of shipwrecks in April 1917|<span style="color:#4FFFFF;">cleared two items from my talk</span>]]! – [[User:Wbm1058|<span style="color:#4FFFFF;">wbm1058</span>]] ([[User talk:Wbm1058|<span style="color:#4FFFFF;">talk</span>]]) 16:15, 14 August 2024 (UTC)'''
|}<!-- Template:The Technical Barnstar -->
:You're welcome! <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 16:20, 14 August 2024 (UTC)


And a wikilink can be added to the tag via [[MediaWiki:Tag-pageswap]] – such as <syntaxhighlight inline lang="text">[[User:Ahecht/Scripts/pageswap|pageswap GUI]]</syntaxhighlight>. [[User:SilverLocust|SilverLocust]]&nbsp;[[User talk:SilverLocust|💬]] 02:19, 4 September 2024 (UTC)
== RandomInCategory example is broken ==
{{Admin help|answered=yes}}
:If any admin is willing to create the tag, I'd be happy to add it to the pageswap code. <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 03:02, 8 September 2024 (UTC)


::Simple process for admin:
One of the examples on [[toolforge:randomincategory/README.html]] no longer works, since {{cat|All WikiProject Medicine articles}} [[Special:Redirect/logid/162881862|was moved]] to {{cat|All WikiProject Medicine pages}}. On the bright side, now that the category contains pages from multiple namespaces, there's another chance to show off the namespace filtering option! [[User:Jlwoodwa|jlwoodwa]] ([[User talk:Jlwoodwa|talk]]) 06:21, 18 August 2024 (UTC)
::# [https://en.wikipedia.org/w/index.php?title=Special:Tags&wpTag=pageswap&wpReason={{urlencode:For [[User:Ahecht/Scripts/pageswap]], requested at [[User talk:Ahecht#pageswap tag]] ([[Special:Permalink/1244614460#pageswap tag|permalink]])}} Click here] and click "Create".
::# [https://en.wikipedia.org/wiki/MediaWiki:Tag-pageswap?action=edit&preload=User:PrimeHunter/$1&preloadparams%5b%5d={{urlencode:[[User:Ahecht/Scripts/pageswap|pageswap GUI]]}}&summary={{urlencode:For [[User:Ahecht/Scripts/pageswap]], requested at [[User talk:Ahecht#pageswap tag]] ([[Special:Permalink/1244614460#pageswap tag|permalink]])}} Click here] and click "Publish page".
::[[User:SilverLocust|SilverLocust]]&nbsp;[[User talk:SilverLocust|💬]] 07:12, 8 September 2024 (UTC)
:::Thanks; I've created both now. [[User:Elli|Elli]] ([[User_talk:Elli|talk]] &#124; [[Special:Contributions/Elli|contribs]]) 19:17, 11 September 2024 (UTC)
::::@[[User:Elli|Elli]], [[User:SilverLocust|SilverLocust]]: Thanks. I've updated the [[User:Ahecht/sandbox/Scripts/pageswap.js|sandbox version]] and will copy it over to the main script after a bit of testing. <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 20:42, 11 September 2024 (UTC)
:::::Just lemme know if you need anything else done in mediawiki-space. [[User:Elli|Elli]] ([[User_talk:Elli|talk]] &#124; [[Special:Contributions/Elli|contribs]]) 22:04, 11 September 2024 (UTC)


== [[Module:Navbox]] and [[WP:PEIS]] ==
:{{ping|Jlwoodwa}} Thanks! <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 15:05, 18 August 2024 (UTC)


Cound we integrate {{tl|Navbox with columns}} and {{tl|Navbox with collapsible groups}} into [[Module:Navbox]], just like [[:zh:Module:NavboxV2]]? For example, instead of
== ''[[Rhinerrhizopsis]]'' ==
{{collapse top}}<syntaxhighlight lang="wikitext">
{{Navbox with collapsible groups
| name = {{subst:PAGENAME}}
| title = Title
| state = expanded
| selected = all
| group1 = Group1
| abbr1 = all
| list1 = List1
| group2 = Group2
| abbr2 = all
| list2 = {{Navbox with columns|child
| col1width = 33%
| col2width = 17%
| col3width = 33%
| col4width = 17%
| col1header = Col1Header
| col2header = Col2Header
| col3header = Col3Header
| col4header = Col4Header
| col1 = {{Navbox with columns|child
| colwidth = 50%
| colstyle = text-align:center;
| col1header = Col1.1Header
| col1 = Col1.1
| col1footer = Col1.1Footer
| col1footercolspan = 2
| col2header = Col1.2Header
| col2 = Col1.2
}}
| col2 = Col2
| col3 = {{Navbox with columns|child
| colwidth = 33%
| colstyle = text-align:center;
| col1header = Col3.1Header
| col1 = Col3.1
| col2header = Col3.2Header
| col2 = Col3.2
| col3header = Col3.3Header
| col3 = Col3.3
}}
| col4 = Col4
}}
| group3 = Group3
| abbr3 = all
| list3 = {{Navbox|child
| group1 = Group3.1
| list1 = List3.1
| group2 = Group3.2
| list2 = List3.2
}}
}}
</syntaxhighlight>
{{collapse bottom}}
You could do
{{collapse top}}<syntaxhighlight lang="wikitext">
{{Navbox
| name = {{subst:PAGENAME}}
| type = vertical_collapsible<!-- Navbox with collapsible groups -->
| title = Title
| state = expanded
| selected = all
| group1 = Group1
| abbr1 = all
| list1 = List1
| group2 = Group2
| abbr2 = all
| list2 = child
| 2_type = horizontal<!-- Navbox with columns -->
| 2_col1width = 33%
| 2_col2width = 17%
| 2_col3width = 33%
| 2_col4width = 17%
| 2_col1header = Col1Header
| 2_col2header = Col2Header
| 2_col3header = Col3Header
| 2_col4header = Col4Header
| 2_col1 = child
| 2_1_type = horizontal
| 2_1_colwidth = 50%
| 2_1_colstyle = text-align:center;
| 2_1_col1header = Col1.1Header
| 2_1_col1 = Col1.1
| 2_1_col1footer = Col1.1Footer
| 2_1_col1footercolspan = 2
| 2_1_col2header = Col1.2Header
| 2_1_col2 = Col1.2
| 2_col2 = Col2
| 2_col3 = child
| 2_3_type = horizontal
| 2_3_colwidth = 33%
| 2_3_colstyle = text-align:center;
| 2_3_col1header = Col3.1Header
| 2_3_col1 = Col3.1
| 2_3_col2header = Col3.2Header
| 2_3_col2 = Col3.2
| 2_3_col3header = Col3.3Header
| 2_3_col3 = Col3.3
| 2_col4 = Col4
| group3 = Group3
| abbr3 = all
| list3 = child
| 3_type = vertical<!-- Default sets to vertical -->
| 3_group1 = Group3.1
| 3_list1 = List3.1
| 3_group2 = Group3.2
| 3_list2 = List3.2
}}
</syntaxhighlight>
{{collapse bottom}} [[User:Dabao qian|Dabao qian]] ([[User talk:Dabao qian|talk]]) 15:22, 8 September 2024 (UTC)
:@[[User:Dabao qian|Dabao qian]] That's a great idea, and it was certainly on my to-do list until I looked deeper into those templates and realized just how much work would be involved in integrating them. "Collapsible groups" can already be replaced by using a child groups, swapping {{para|groupN}} for {{para|N_title}}, swapping {{para|groupstyle}} for {{para|N_titlestyle}}, and swapping {{para|abbrN|ABBREVIATION}} for <syntaxhighlight lang="wikitext" inline>N_state = {{#ifeq:{{{selected|}}|ABBREVIATION|uncollapsed|{{{stateN|collapsed}}}}}</syntaxhighlight>. For example, the first group in [[Template:Navbox_with_collapsible_groups#Basic_example]] could be replaced with a normal navbox that used
:<syntaxhighlight lang="wikitext">
|list1 = subgroup
|1_title = [[University of Michigan#Academic profile|<span style="color:#00008B;">Academics</span>]]
|1_titlestyle=background:#FFD700;color:#00008B;
|1_state = {{#ifeq:{{{selected|}}|academics|uncollapsed|{{{state1|collapsed}}}}}
|1_list1 =
* [[University of Michigan College of Engineering|College of Engineering]]
* [[University of Michigan College of Literature, Science, and the Arts|College of Literature, Science and the Arts]]
* [[Gerald R. Ford School of Public Policy]]
* [[University of Michigan Law School|Law School]]
* [[University of Michigan Health System|Medical School]]
* [[Ross School of Business]]
* [[University of Michigan School of Education|School of Education]]
* [[University of Michigan School of Information|School of Information]]
* [[University of Michigan School of Music, Theatre & Dance|School of Music, Theatre & Dance]]
* [[University of Michigan School of Natural Resources and Environment|School of Natural Resources and Environment]]
* [[University of Michigan School of Public Health|School of Public Health]]
* [[Taubman College of Architecture and Urban Planning]]</syntaxhighlight>
:<span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 17:24, 8 September 2024 (UTC)
::And also needs to add {{para|N_navbar|plain}} to avoid the v/d/e link. For "Columns", how to distinguish <code>listN</code> or <code>colN</code>? In [[:zh:Module:NavboxV2]], we use <code>listN/colN</code> prefix and the <code>-</code> notation (like <code>listx-listy</code> or <code>colx-coly</code>). But for <code>childN_/subgroupN_</code> prefix or only numeric prefix, it will be hard to distinguish <code>listN</code> or <code>colN</code>. [[User:Dabao qian|Dabao qian]] ([[User talk:Dabao qian|talk]]) 19:02, 8 September 2024 (UTC)
:::@[[User:Dabao qian|Dabao qian]] {{para|N_navbar|plain}} is automatic when using the <code>N_</code> notation so it isn't needed. Doing columns would require a more intensive re-write of the module than I have time for at the moment. <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 19:50, 8 September 2024 (UTC)


== Administrator Elections: Updates & Schedule ==
Hello Ahecht, and thank you for your work.
The genus of orchids called ''[[Rhinerrhizopsis]]'' is now a synonym of ''[[Bogoria (plant)|Bogoria]]'' according to [[Plants of the World Online]].[https://powo.science.kew.org/taxon/urn:lsid:ipni.org:names:28849-1#synonyms]https://powo.science.kew.org/taxon/urn:lsid:ipni.org:names:28849-1#synonyms As I understand it, I can't move the Rhinerrhizopsis article to Bogoria, because there is already an article with that name. I am not confident enough to do a "swap". Can you help please? [[User:Gderrin|Gderrin]] ([[User talk:Gderrin|talk]]) 21:12, 19 August 2024 (UTC)


{| style="border: 5px solid #ABCDEF ; background-color: #FFF; padding:10px 15px 0"
:@[[User:Gderrin|Gderrin]] I flagged it for an administrator, since this should be done as a merge and not a swap. <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 21:18, 19 August 2024 (UTC)
|style="padding: 0; vertical-align: middle; height: 1.1em; font-size:130%" |'''[[Wikipedia:Administrator elections|Administrator Elections]] |''' <span style="font-size:85%">Updates & Schedule</span>
|rowspan=3|[[File:Ballot box icon color.svg|right|80px]]
|-
|
* Administrator elections are in the WMF Trust & Safety SecurePoll calendar and are all set to proceed.
* We plan to use the following schedule:
** Oct 8 – Oct 14: Candidate sign-up
** Oct 22 – Oct 24: Discussion phase
** Oct 25 – Oct 31: SecurePoll voting phase
* If you have any questions, concerns, or thoughts before we get started, please post at [[Wikipedia talk:Administrator elections]].
* If you are interested in helping out, please post at {{slink|Wikipedia talk:Administrator elections#Ways to help}}. There are many redlinked subpages that can be created.
|-
|colspan=2 style="font-size:85%; padding-top:15px;"|You're receiving this message because you signed up for the mailing list. To opt-out of future mailings, please [[Wikipedia:Administrator elections/Newsletter list|remove yourself from the list]].
|}<!-- Written by Novem Linguae on 2024-09-06 -->


::That's great. Thank you. [[User:Gderrin|Gderrin]] ([[User talk:Gderrin|talk]]) 21:20, 19 August 2024 (UTC)
[[User:MediaWiki message delivery|MediaWiki message delivery]] ([[User talk:MediaWiki message delivery|talk]]) 01:18, 10 September 2024 (UTC)
<!-- Message sent by User:TechnoSquirrel69@enwiki using the list at https://en.wikipedia.org/w/index.php?title=Wikipedia:Administrator_elections/Newsletter_list&oldid=1244575880 -->
:::@[[User:Gderrin|Gderrin]] I replied at [[WP:RM/TR]] as well, but I moved the request to the contested section since there was already a failed merge proposal at [[Talk:Bogoria (plant)#Merger proposal]] from 2021. It was closed as "not at this time", so it may be worth opening a new merger discussion, but that would happen at that talk page, not the move requests page. <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 23:51, 19 August 2024 (UTC)
== Nomination for deletion of [[:Module:Inflation]] ==
::::Thanks again for your work on this. I've done a "merger proposal" ([[Talk:Rhinerrhizopsis#Merger_proposal]]) and will get back to you in about a month, if that's okay. [[User:Gderrin|Gderrin]] ([[User talk:Gderrin|talk]]) 04:59, 20 August 2024 (UTC)
[[File:Ambox warning blue.svg|30px|link=]][[:Module:Inflation]] has been [[Wikipedia:Templates for discussion|nominated for deletion]]. You are invited to comment on the discussion at [[Wikipedia:Templates for discussion/Log/2024 September 10#Module:Inflation|'''the entry on the Templates for discussion page''']].<!--Template:Tfdnotice--> [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 17:13, 10 September 2024 (UTC)


== Requested moves ==
== Something bad happened here ==


... [https://en.wikipedia.org/w/index.php?title=Draft_talk:Shore_Capital_Partners&diff=prev&oldid=1245241633] &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 21:29, 11 September 2024 (UTC)
Hello Ahecht,
I'm new to working requests, I noticed [[Special:Diff/1241211330|this edit]], is there no bot archiving? Do we remove the request when done working it? Hoping you can help a rookie. Cheers, - <span style="font-family:Trebuchet MS">[[User:FlightTime|<span style="color:#800000">'''FlightTime'''</span>]] <small>([[User talk:FlightTime|<span style="color:#1C0978">'''open channel'''</span>]])</small></span> 01:08, 20 August 2024 (UTC)


:@[[User:FlightTime|FlightTime]] Nope, no bot. There was a discussion about making one a month or so ago, but I don't think anyone's taken the initiative. Requests are cleared immediately when completed, contested requests are removed 72 hours after the last comment. <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 01:14, 20 August 2024 (UTC)
:@[[User:MSGJ|MSGJ]] Oops, thanks for the heads up. I'll have to take a look at the script. <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 21:33, 11 September 2024 (UTC)
::<span class="nowrap">[[File:Yes check.svg|18px|link=|alt=]]'''&nbsp;Done'''</span><!--template:done-->: [[Special:Diff/1245362491]]. <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 15:57, 12 September 2024 (UTC)
:::Thanks. How hard is it to write a script? I would like to have a go at writing one which would help clean out [[:Category:Articles with conflicting quality ratings]]. There would be three actions to choose for each page ("Remove conflicting class", "Use conflicting class" or "Skip") &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 16:01, 12 September 2024 (UTC)
::::@[[User:MSGJ|MSGJ]] It really depends on how much you're familiar with Javascript. Most of my script writing has been based on taking other people's logic and adding features, fixing bugs, or improving the UI (the draft sorter script was based on [[User:Enterprisey/draft-sorter]], my pageswap script was based on [[User:Andy M. Wang/pageswap]], my templatesearch script was based on [[User:SiBr4/TemplateSearch.js]], etc.), so my suggestion would be to find a script that's close enough to what you want to do and dry to decode it. For what you're doing, draftsorter would be a good place to start, but you could strip out all the code related to jquery.chosen and dealing with predictions . <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 16:13, 12 September 2024 (UTC)
:::::Thanks. I'm not familiar with Javascript at all, so it's probably going to take me a long time. But if I have a go, do you mind helping me? (Might not be for a while ...) &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 21:16, 12 September 2024 (UTC)
::::::Sure, feel free to reach out when the time comes. <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 21:30, 12 September 2024 (UTC)


== Use a colon instead of a period ==
::Got it, thank you for your time. Cheers, - <span style="font-family:Trebuchet MS">[[User:FlightTime|<span style="color:#800000">'''FlightTime'''</span>]] <small>([[User talk:FlightTime|<span style="color:#1C0978">'''open channel'''</span>]])</small></span> 01:21, 20 August 2024 (UTC)


Could [[User:Ahecht/Scripts/pageswap-core.js]] please be updated so that when one of the common move reasons at the "Swap" form is selected, it will be followed by a colon instead of a period in the [[Special:Log/move|move log entries]] (like at [[Special:Redirect/logid/164530745]], for example)? The behavior is currently inconsistent with the one at [[Special:MovePage]], where a colon (not a period) would appear in the move log entries, e.g., at [[Special:Redirect/logid/164552365]]. [[User:GTrang|GTrang]] ([[User talk:GTrang|talk]]) 00:59, 19 September 2024 (UTC)
== New pages patrol September 2024 Backlog drive ==


:@[[User:GTrang|GTrang]] I've implemented that in the [[User:Ahecht/sandbox/Scripts/pageswap.js|sandbox version]]. Feel free to try it out. It will get copied over to the main script the next time I am making revisions. <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 16:37, 19 September 2024 (UTC)
{| style="border: 5px solid #ABCDEF ; background-color: #FFF; color: #000; padding:10px 15px 0"
|style="padding: 0; vertical-align: middle; height: 1.1em; font-size:130%" |'''[[Wikipedia:New pages patrol|New pages patrol]] |''' <span style="font-size:85%">[[Wikipedia:New pages patrol/Backlog drives/September 2024|September 2024 Backlog Drive]]</span>
|rowspan=3|[[File:NPP Barnstar.png|right|80px]]
|-
|
* On 1 September 2024, a one-month backlog drive for new pages patrol will begin.
* Barnstars will be awarded based on the number of articles and redirects patrolled.
* Barnstars will also be granted for re-reviewing articles previously reviewed by other patrollers during the drive.
* Each article review will earn 1 point, and each redirect review will earn 0.2 points.
* Interested in taking part? '''[[Wikipedia:New pages patrol/Backlog drives/September 2024/Participants|Sign up here]]'''.
|-
|colspan=2 style="font-size:85%; padding-top:15px;"|You're receiving this message because you are a new page patroller. To opt-out of future mailings, please remove yourself [[Wikipedia:New pages patrol/Reviewers/Newsletter list|here.]]
|}
[[User:MediaWiki message delivery|MediaWiki message delivery]] ([[User talk:MediaWiki message delivery|talk]]) 17:09, 26 August 2024 (UTC)
<!-- Message sent by User:DreamRimmer@enwiki using the list at https://en.wikipedia.org/w/index.php?title=Wikipedia:New_pages_patrol/Reviewers/Newsletter_list&oldid=1242377836 -->


== mapframe directly so it doesn't count as Lua time ==
== [[Module:English Heritage listed building]] ==


That looks like an interesting trick. May prevent so much use of cache purging to clean up pages as more than about 5 seconds usual Lua time use can break pages badly after an edit if the back end server infrastructure has problems. I will see how it works on a heavily edited page by vandals perhaps best after you have pointed me towards the <nowiki>#tag</nowiki> documentation and then roll out to the other pages that I know call big raw geojson templates [[User:ChaseKiwi|ChaseKiwi]] ([[User talk:ChaseKiwi|talk]]) 23:35, 20 September 2024 (UTC)
Hi, the edit history indicates that you implemented this module in June. There's something wrong with the way the notes column is handled. On articles with notes, such as [[Grade I listed buildings in Maidstone]] and [[Grade I listed buildings in Derbyshire]], the notes are appearing in the Grid ref. Geo-coordinates column with the intended contents of the subsequent columns pulled into the previous columns - so that Entry Number appears in the Notes column, etc.. Would you see if you can fix the placement. [[User:DavidCane|DavidCane]] ([[User talk:DavidCane|talk]]) 13:23, 27 August 2024 (UTC)


:@[[User:DavidCane|DavidCane]] Thanks for the heads up. Should be fixed now. <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 13:36, 27 August 2024 (UTC)
:@[[User:ChaseKiwi|ChaseKiwi]] It wasn't my idea -- it's documented in the first bullet point under "Note:" at the top of [[Template:Maplink/doc]]. You can thank {{noping|Jackmcbarn}} for that. <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 00:27, 21 September 2024 (UTC)
::Thanks. Looks good now. [[User:DavidCane|DavidCane]] ([[User talk:DavidCane|talk]]) 13:52, 27 August 2024 (UTC)
::ta - I must have glanced over that point one day early on in my use of mapframe functionality. [[User:ChaseKiwi|ChaseKiwi]] ([[User talk:ChaseKiwi|talk]]) 01:28, 21 September 2024 (UTC)

== Scripts/refresh ==

Hi :) I noticed that the script does not allow null editing in the links here of a category, would it be possible to enable that? --[[User:GryffindorD|GryffindorD]] ([[User talk:GryffindorD|talk]]) 20:08, 22 September 2024 (UTC)

:@[[User:GryffindorD|GryffindorD]] I've modified the sandbox version at [[User:Ahecht/sandbox/Scripts/refresh.js]] so that it works from pages such as [[Special:WhatLinksHere/Category:X]] or [[Special:WhatLinksHere/Template:X]] to null edit linking pages instead of transcluding pages (for templates) or category members. Please try it out and let me know if it works as expected, and I'll copy it over to the main script. <span class="nowrap">--[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</b>]])</span> 23:23, 22 September 2024 (UTC)
::Works! Thank you very much :D [[User:GryffindorD|GryffindorD]] ([[User talk:GryffindorD|talk]]) 03:56, 23 September 2024 (UTC)

Latest revision as of 03:56, 23 September 2024

New pages patrol September 2024 Backlog drive

[edit]
New pages patrol | September 2024 Backlog Drive
  • On 1 September 2024, a one-month backlog drive for new pages patrol will begin.
  • Barnstars will be awarded based on the number of articles and redirects patrolled.
  • Barnstars will also be granted for re-reviewing articles previously reviewed by other patrollers during the drive.
  • Each article review will earn 1 point, and each redirect review will earn 0.2 points.
  • Interested in taking part? Sign up here.
You're receiving this message because you are a new page patroller. To opt-out of future mailings, please remove yourself here.

MediaWiki message delivery (talk) 17:09, 26 August 2024 (UTC)[reply]

Hi, the edit history indicates that you implemented this module in June. There's something wrong with the way the notes column is handled. On articles with notes, such as Grade I listed buildings in Maidstone and Grade I listed buildings in Derbyshire, the notes are appearing in the Grid ref. Geo-coordinates column with the intended contents of the subsequent columns pulled into the previous columns - so that Entry Number appears in the Notes column, etc.. Would you see if you can fix the placement. DavidCane (talk) 13:23, 27 August 2024 (UTC)[reply]

@DavidCane Thanks for the heads up. Should be fixed now. --Ahecht (TALK
PAGE
)
13:36, 27 August 2024 (UTC)[reply]
Thanks. Looks good now. DavidCane (talk) 13:52, 27 August 2024 (UTC)[reply]

Thanks

[edit]

Hey, I just wanted to say thanks for performing the move of Sonja Sigurðardóttir. Cheers! 2003:D5:AF2E:E600:9102:9FAF:E0C3:E661 (talk) 07:35, 31 August 2024 (UTC)[reply]

pageswap tag

[edit]

Hey Ahecht. I really appreciate your pageswap script, and I like that it now includes a link back to the script. As I'm sure you've run into, there are occasionally some rather long move summaries in which the end gets cut off. E.g., this diff or this log entry for two recent technical requests.

To save on characters in move summaries, rather than using "(using pageswap GUI)", you could ask an admin to create a tag for the script via Special:Tags.

The only change you would need to make to the script to add the tag to all its edits is to replace the three instance in User:Ahecht/Scripts/pageswap-core.js of

watchlist: params.watch

with

watchlist: params.watch, tags: 'pageswap'

And a wikilink can be added to the tag via MediaWiki:Tag-pageswap – such as [[User:Ahecht/Scripts/pageswap|pageswap GUI]]. SilverLocust 💬 02:19, 4 September 2024 (UTC)[reply]

If any admin is willing to create the tag, I'd be happy to add it to the pageswap code. --Ahecht (TALK
PAGE
)
03:02, 8 September 2024 (UTC)[reply]
Simple process for admin:
  1. Click here and click "Create".
  2. Click here and click "Publish page".
SilverLocust 💬 07:12, 8 September 2024 (UTC)[reply]
Thanks; I've created both now. Elli (talk | contribs) 19:17, 11 September 2024 (UTC)[reply]
@Elli, SilverLocust: Thanks. I've updated the sandbox version and will copy it over to the main script after a bit of testing. --Ahecht (TALK
PAGE
)
20:42, 11 September 2024 (UTC)[reply]
Just lemme know if you need anything else done in mediawiki-space. Elli (talk | contribs) 22:04, 11 September 2024 (UTC)[reply]

Cound we integrate {{Navbox with columns}} and {{Navbox with collapsible groups}} into Module:Navbox, just like zh:Module:NavboxV2? For example, instead of

Extended content
{{Navbox with collapsible groups
| name = {{subst:PAGENAME}}
| title = Title
| state = expanded
| selected = all
| group1 = Group1
| abbr1  = all
| list1  = List1
| group2 = Group2
| abbr2  = all
| list2  = {{Navbox with columns|child
  | col1width  = 33%
  | col2width  = 17%
  | col3width  = 33%
  | col4width  = 17%
  | col1header = Col1Header
  | col2header = Col2Header
  | col3header = Col3Header
  | col4header = Col4Header
  | col1       = {{Navbox with columns|child
    | colwidth = 50%
    | colstyle = text-align:center;
    | col1header = Col1.1Header
    | col1 = Col1.1
    | col1footer = Col1.1Footer
    | col1footercolspan = 2
    | col2header = Col1.2Header
    | col2 = Col1.2
    }}
  | col2       = Col2
  | col3       = {{Navbox with columns|child
    | colwidth = 33%
    | colstyle = text-align:center;
    | col1header = Col3.1Header
    | col1 = Col3.1
    | col2header = Col3.2Header
    | col2 = Col3.2
    | col3header = Col3.3Header
    | col3 = Col3.3
    }}
  | col4       = Col4
  }}
| group3 = Group3
| abbr3  = all
| list3  = {{Navbox|child
  | group1 = Group3.1
  | list1  = List3.1
  | group2 = Group3.2
  | list2  = List3.2
  }}
}}

You could do

Extended content
{{Navbox
| name = {{subst:PAGENAME}}
| type = vertical_collapsible<!-- Navbox with collapsible groups -->
| title = Title
| state = expanded
| selected = all
| group1 = Group1
| abbr1  = all
| list1  = List1
| group2 = Group2
| abbr2  = all
| list2  = child
  | 2_type = horizontal<!-- Navbox with columns -->
  | 2_col1width  = 33%
  | 2_col2width  = 17%
  | 2_col3width  = 33%
  | 2_col4width  = 17%
  | 2_col1header = Col1Header
  | 2_col2header = Col2Header
  | 2_col3header = Col3Header
  | 2_col4header = Col4Header
  | 2_col1       = child
    | 2_1_type = horizontal
    | 2_1_colwidth = 50%
    | 2_1_colstyle = text-align:center;
    | 2_1_col1header = Col1.1Header
    | 2_1_col1 = Col1.1
    | 2_1_col1footer = Col1.1Footer
    | 2_1_col1footercolspan = 2
    | 2_1_col2header = Col1.2Header
    | 2_1_col2 = Col1.2
  | 2_col2       = Col2
  | 2_col3       = child
    | 2_3_type = horizontal
    | 2_3_colwidth = 33%
    | 2_3_colstyle = text-align:center;
    | 2_3_col1header = Col3.1Header
    | 2_3_col1 = Col3.1
    | 2_3_col2header = Col3.2Header
    | 2_3_col2 = Col3.2
    | 2_3_col3header = Col3.3Header
    | 2_3_col3 = Col3.3
  | 2_col4       = Col4
| group3 = Group3
| abbr3  = all
| list3  = child
  | 3_type = vertical<!-- Default sets to vertical -->
  | 3_group1 = Group3.1
  | 3_list1  = List3.1
  | 3_group2 = Group3.2
  | 3_list2  = List3.2
}}

Dabao qian (talk) 15:22, 8 September 2024 (UTC)[reply]

@Dabao qian That's a great idea, and it was certainly on my to-do list until I looked deeper into those templates and realized just how much work would be involved in integrating them. "Collapsible groups" can already be replaced by using a child groups, swapping |groupN= for |N_title=, swapping |groupstyle= for |N_titlestyle=, and swapping |abbrN=ABBREVIATION for N_state = {{#ifeq:{{{selected|}}|ABBREVIATION|uncollapsed|{{{stateN|collapsed}}}}}. For example, the first group in Template:Navbox_with_collapsible_groups#Basic_example could be replaced with a normal navbox that used
  |list1 = subgroup
  |1_title = [[University of Michigan#Academic profile|<span style="color:#00008B;">Academics</span>]]
  |1_titlestyle=background:#FFD700;color:#00008B;
  |1_state = {{#ifeq:{{{selected|}}|academics|uncollapsed|{{{state1|collapsed}}}}}
  |1_list1 =
* [[University of Michigan College of Engineering|College of Engineering]]
* [[University of Michigan College of Literature, Science, and the Arts|College of Literature, Science and the Arts]]
* [[Gerald R. Ford School of Public Policy]]
* [[University of Michigan Law School|Law School]]
* [[University of Michigan Health System|Medical School]]
* [[Ross School of Business]]
* [[University of Michigan School of Education|School of Education]]
* [[University of Michigan School of Information|School of Information]]
* [[University of Michigan School of Music, Theatre & Dance|School of Music, Theatre & Dance]]
* [[University of Michigan School of Natural Resources and Environment|School of Natural Resources and Environment]]
* [[University of Michigan School of Public Health|School of Public Health]]
* [[Taubman College of Architecture and Urban Planning]]
--Ahecht (TALK
PAGE
)
17:24, 8 September 2024 (UTC)[reply]
And also needs to add |N_navbar=plain to avoid the v/d/e link. For "Columns", how to distinguish listN or colN? In zh:Module:NavboxV2, we use listN/colN prefix and the - notation (like listx-listy or colx-coly). But for childN_/subgroupN_ prefix or only numeric prefix, it will be hard to distinguish listN or colN. Dabao qian (talk) 19:02, 8 September 2024 (UTC)[reply]
@Dabao qian |N_navbar=plain is automatic when using the N_ notation so it isn't needed. Doing columns would require a more intensive re-write of the module than I have time for at the moment. --Ahecht (TALK
PAGE
)
19:50, 8 September 2024 (UTC)[reply]

Administrator Elections: Updates & Schedule

[edit]
Administrator Elections | Updates & Schedule
  • Administrator elections are in the WMF Trust & Safety SecurePoll calendar and are all set to proceed.
  • We plan to use the following schedule:
    • Oct 8 – Oct 14: Candidate sign-up
    • Oct 22 – Oct 24: Discussion phase
    • Oct 25 – Oct 31: SecurePoll voting phase
  • If you have any questions, concerns, or thoughts before we get started, please post at Wikipedia talk:Administrator elections.
  • If you are interested in helping out, please post at Wikipedia talk:Administrator elections § Ways to help. There are many redlinked subpages that can be created.
You're receiving this message because you signed up for the mailing list. To opt-out of future mailings, please remove yourself from the list.

MediaWiki message delivery (talk) 01:18, 10 September 2024 (UTC)[reply]

Nomination for deletion of Module:Inflation

[edit]

Module:Inflation has been nominated for deletion. You are invited to comment on the discussion at the entry on the Templates for discussion page. Gonnym (talk) 17:13, 10 September 2024 (UTC)[reply]

Something bad happened here

[edit]

... [1] — Martin (MSGJ · talk) 21:29, 11 September 2024 (UTC)[reply]

@MSGJ Oops, thanks for the heads up. I'll have to take a look at the script. --Ahecht (TALK
PAGE
)
21:33, 11 September 2024 (UTC)[reply]
 Done: Special:Diff/1245362491. --Ahecht (TALK
PAGE
)
15:57, 12 September 2024 (UTC)[reply]
Thanks. How hard is it to write a script? I would like to have a go at writing one which would help clean out Category:Articles with conflicting quality ratings. There would be three actions to choose for each page ("Remove conflicting class", "Use conflicting class" or "Skip") — Martin (MSGJ · talk) 16:01, 12 September 2024 (UTC)[reply]
@MSGJ It really depends on how much you're familiar with Javascript. Most of my script writing has been based on taking other people's logic and adding features, fixing bugs, or improving the UI (the draft sorter script was based on User:Enterprisey/draft-sorter, my pageswap script was based on User:Andy M. Wang/pageswap, my templatesearch script was based on User:SiBr4/TemplateSearch.js, etc.), so my suggestion would be to find a script that's close enough to what you want to do and dry to decode it. For what you're doing, draftsorter would be a good place to start, but you could strip out all the code related to jquery.chosen and dealing with predictions . --Ahecht (TALK
PAGE
)
16:13, 12 September 2024 (UTC)[reply]
Thanks. I'm not familiar with Javascript at all, so it's probably going to take me a long time. But if I have a go, do you mind helping me? (Might not be for a while ...) — Martin (MSGJ · talk) 21:16, 12 September 2024 (UTC)[reply]
Sure, feel free to reach out when the time comes. --Ahecht (TALK
PAGE
)
21:30, 12 September 2024 (UTC)[reply]

Use a colon instead of a period

[edit]

Could User:Ahecht/Scripts/pageswap-core.js please be updated so that when one of the common move reasons at the "Swap" form is selected, it will be followed by a colon instead of a period in the move log entries (like at Special:Redirect/logid/164530745, for example)? The behavior is currently inconsistent with the one at Special:MovePage, where a colon (not a period) would appear in the move log entries, e.g., at Special:Redirect/logid/164552365. GTrang (talk) 00:59, 19 September 2024 (UTC)[reply]

@GTrang I've implemented that in the sandbox version. Feel free to try it out. It will get copied over to the main script the next time I am making revisions. --Ahecht (TALK
PAGE
)
16:37, 19 September 2024 (UTC)[reply]

mapframe directly so it doesn't count as Lua time

[edit]

That looks like an interesting trick. May prevent so much use of cache purging to clean up pages as more than about 5 seconds usual Lua time use can break pages badly after an edit if the back end server infrastructure has problems. I will see how it works on a heavily edited page by vandals perhaps best after you have pointed me towards the #tag documentation and then roll out to the other pages that I know call big raw geojson templates ChaseKiwi (talk) 23:35, 20 September 2024 (UTC)[reply]

@ChaseKiwi It wasn't my idea -- it's documented in the first bullet point under "Note:" at the top of Template:Maplink/doc. You can thank Jackmcbarn for that. --Ahecht (TALK
PAGE
)
00:27, 21 September 2024 (UTC)[reply]
ta - I must have glanced over that point one day early on in my use of mapframe functionality. ChaseKiwi (talk) 01:28, 21 September 2024 (UTC)[reply]

Scripts/refresh

[edit]

Hi :) I noticed that the script does not allow null editing in the links here of a category, would it be possible to enable that? --GryffindorD (talk) 20:08, 22 September 2024 (UTC)[reply]

@GryffindorD I've modified the sandbox version at User:Ahecht/sandbox/Scripts/refresh.js so that it works from pages such as Special:WhatLinksHere/Category:X or Special:WhatLinksHere/Template:X to null edit linking pages instead of transcluding pages (for templates) or category members. Please try it out and let me know if it works as expected, and I'll copy it over to the main script. --Ahecht (TALK
PAGE
)
23:23, 22 September 2024 (UTC)[reply]
Works! Thank you very much :D GryffindorD (talk) 03:56, 23 September 2024 (UTC)[reply]