Nothing Special   »   [go: up one dir, main page]

Jump to content

User talk:Ahecht

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

randomincategory not working at least for fa-wikipedia

[edit]

Hi. Thank you for creating Random page in category tool. This is awesome and I've been using it for a long time.

I was trying to open a random page from 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." This link is the one I used and encountered the error. The tool is fine when you set the server on enwiki.

Can you please take a look at the issue? Thanks. Jeeputer Talk 16:50, 10 August 2024 (UTC)[reply]

@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. --Ahecht (TALK
PAGE
)
00:32, 11 August 2024 (UTC)[reply]
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. Jeeputer Talk 00:39, 11 August 2024 (UTC)[reply]
@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. --Ahecht (TALK
PAGE
)
15:47, 12 August 2024 (UTC)[reply]

Tech barnstar

[edit]
The Technical Barnstar
Thanks for creating Module:Flag and Module:English Heritage listed building, which   
cleared two items from my talk! – wbm1058 (talk) 16:15, 14 August 2024 (UTC)
[reply]
You're welcome! --Ahecht (TALK
PAGE
)
16:20, 14 August 2024 (UTC)[reply]

RandomInCategory example is broken

[edit]

One of the examples on toolforge:randomincategory/README.html no longer works, since Category:All WikiProject Medicine articles was moved to Category: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! jlwoodwa (talk) 06:21, 18 August 2024 (UTC)[reply]

@Jlwoodwa: Thanks! --Ahecht (TALK
PAGE
)
15:05, 18 August 2024 (UTC)[reply]

Hello Ahecht, and thank you for your work. The genus of orchids called Rhinerrhizopsis is now a synonym of Bogoria according to Plants of the World Online.[1]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? Gderrin (talk) 21:12, 19 August 2024 (UTC)[reply]

@Gderrin I flagged it for an administrator, since this should be done as a merge and not a swap. --Ahecht (TALK
PAGE
)
21:18, 19 August 2024 (UTC)[reply]
That's great. Thank you. Gderrin (talk) 21:20, 19 August 2024 (UTC)[reply]
@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. --Ahecht (TALK
PAGE
)
23:51, 19 August 2024 (UTC)[reply]
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. Gderrin (talk) 04:59, 20 August 2024 (UTC)[reply]

Requested moves

[edit]

Hello Ahecht, I'm new to working requests, I noticed this edit, is there no bot archiving? Do we remove the request when done working it? Hoping you can help a rookie. Cheers, - FlightTime (open channel) 01:08, 20 August 2024 (UTC)[reply]

@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. --Ahecht (TALK
PAGE
)
01:14, 20 August 2024 (UTC)[reply]
Got it, thank you for your time. Cheers, - FlightTime (open channel) 01:21, 20 August 2024 (UTC)[reply]

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]

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]