User talk:Techpriest/Archive3

From RationalWiki
Jump to navigation Jump to search

This is an archive page, last updated 9 July 2021. Please do not make edits to this page.
Archives for this talk page: , (new)(back)


Potential job for inferno bot[edit]

Could you programme inferno bot to create undocumented image categories? I just had to do a bunch manually and although I haven’t made a wiki bot before it seems like the sort of thing you’d be able to do without much trouble. I imagine it would be easier to have it create it on the first of the month every month, as opposed to when the first undocumented file is uploaded. Christopher (talk)

Whilst I’m on the subject of Inferno Bot, File:Criticism is necessary.jpg has been unpatrolled for months now. It’s old enough that it doesn’t show up unless you’re looking for it, but it’s there. Christopher (talk) 11:06, 17 February 2021 (UTC)
What do you mean specifically with "undocumented image categories"? Do you mean new files with no description or something? Techpriest (I am Alpharius! / Pencil.png / Tux icon.png / Shield.png) 11:33, 17 February 2021 (UTC)
I mean categories like these, the categories are populated (but not created) automatically. They’re files that don’t have any copyright info, no explanation as to whether they’re public domain or fair use etc. Click on the link in my first post and you’ll see what I mean, and how simple it would (probably) be to code. Christopher (talk) 11:38, 17 February 2021 (UTC)
Just so that I understand the usecase here properly (because I'm gonna probably have to write a custom module for this):
  • We have categories that appear when no licensing header is used (aka when the template Template:Nolicense is used on a page).
  • These categories don't have pages because it's MediaWiki and those would need to be explicitly created.
  • Inferno should be capable to create pages for these categories.
  • Category content should consist of: the title of the category + the category Category:Undocumented images.
  • This specific script should be able to run as a cron task on the first of every month.
Do I understand the usecase here properly? Techpriest (I am Alpharius! / Pencil.png / Tux icon.png / Shield.png) 11:45, 17 February 2021 (UTC)
Seems like you have everything correct yes. “Because I’m gonna probably have to write a custom module for this” implies to me that it isn’t as easy as I thought it would be, as I said I haven’t ever looked into making a wiki bot. If it would take a while then it’s probably not worth it, it took me about a minute to clear month’s worth of backlog manually, so if it would take you more than 10 minutes then it would take years to see a net gain. Christopher (talk) 11:53, 17 February 2021 (UTC)
No no, it wouldn't be an issue. You underestimate how much programmers in general (me included) are willing to spend hours on something that ultimately pays little dividends. Heh heh heh heh. Also it sounds like a fun challenge. Right now, I'm thinking of scraping over WantedCategories, regex matching the category structure and creating it as needed. That's all not super difficult and it'd give me more experience working with pywikibot. Techpriest (I am Alpharius! / Pencil.png / Tux icon.png / Shield.png) 11:56, 17 February 2021 (UTC)
Aaaand done. Should run on 00:00 UTC on the first of each month. Let me know if the bot borks, but it should work properly. Techpriest (I am Alpharius! / Pencil.png / Tux icon.png / Shield.png) 12:40, 17 February 2021 (UTC)

──────────────────────────────────────────────────────────────────────────────────────────────────── Running at 00:00 UTC on the first of every month doesn’t make much sense if you think about it. It would check to see if the page needs to be created, and then obviously conclude it didn’t as no one will have uploaded a file this month yet. It would create last month’s category, but it seems less than ideal to create March’s category in April.

Maybe run it once a week? It does seem a bit of a waste to do that, as it would find an edit to make at most once a month, you could do it once halfway through the month?

The simplest solution is to just have it automatically create the page, there’s a tiny chance it would lead to an empty category but we haven’t missed a month in the last two years. Seems a shame to scrap the WantedCategories stuff, but if it isn’t needed it isn’t needed.

Sorry for backseat coding, but it’s been bugging me for a while now. Christopher (talk) 22:38, 18 February 2021 (UTC)

I'll bump it up to once every week. Not a fan of automatic page creation, that's kinda spammy. Techpriest (I am Alpharius! / Pencil.png / Tux icon.png / Shield.png) 14:29, 21 February 2021 (UTC)

More suggestions, each more pointless than the last[edit]

These are more just potential ways to practice pywikibot if they turn out to be harder than I imagined like my original suggestion, as I said they’re not really that important. Again, I do feel like I’m backseat coding a bit here, only do these if you’re really bored at some point.

  1. Adding Template:person to talk pages: CarpetBot did this in 2015, here’s an example. Go through Category:Living people, check the corresponding talk pages, add the template where needed (including creating pages like in the example). Someone thought it was worth doing before, so it can’t be a total waste of time.
  2. Go through Special:UncategorizedFiles and add Template:nolicense to all of them, with the right day and month. You might create some demand for the original category-creating programme as previously empty months now have undocumented files. If a file already has Template:CP screenshot on it, you’d instead want to add the correct date to that template. This might then create new conservapedia categories (eg Category:June 2007 Conservapedia screencaps).
This seems like it’s the less useful one. You could make it a bit easier to deal with by just adding Category:Conservapedia screencaps to Template:CP screenshot, but that feels like a bit of a hack solution.

Both of these would be one-off/once-every-few-year jobs if you did decide to waste your time coding them.

Christopher (talk) 22:38, 18 February 2021 (UTC)

At the time of writing, I have no work scheduled this saturday. I should be able to get to both of these then, otherwise it'll be sunday. They sound like fun challenges and not pointless. The wiki right now has a lot of manual maintenance on the shoulders of a lot of dedicated editors. If my coding efforts can help relieve the difficulty of that maintenance a bit, I'll be more than happy to help. Techpriest (I am Alpharius! / Pencil.png / Tux icon.png / Shield.png) 22:42, 18 February 2021 (UTC)
Yeah, yeah, this is all nice and whatever, but when are you going to program me the perfect girlfriend AI? You promised me months ago... - Rairyu75 (Talk) 22:59, 18 February 2021 (UTC)

Could you run the double redirect programme?[edit]

I moved all the annotated Qur’an pages back to wikispace, which created 26 double redirects. Christopher (talk) 17:07, 20 February 2021 (UTC)

It's running. Should be finished within 3 minutes or so. Techpriest (I am Alpharius! / Pencil.png / Tux icon.png / Shield.png) 14:28, 21 February 2021 (UTC)

Help with my userpage[edit]

Hi Sirius. I'm messaging you because I see that you're currently active. I'm trying to create a new section on my user page called "Things I'd like to contribute to", but I can't seem to create this new heading. Does it have something to do with the quoteboxes on my user page? I'd be very grateful if you could help me? LeucippusTalk 13:43, 28 February 2021 (UTC)

@Leucippus Add {{clear}} immediately after the last quotebox, before the new header. Christopher (talk) 13:51, 28 February 2021 (UTC)
@Christopher Thanks a lot, that's solved it. LeucippusTalk 13:55, 28 February 2021 (UTC)
Seems it was resolved ^^. Techpriest (I am Alpharius! / Pencil.png / Tux icon.png / Shield.png) 14:00, 28 February 2021 (UTC)

Here's a Tireless Worker Award[edit]

HardWork.jpg Tireless Worker Award
Thank you Sirius for cleaning up Xenogender.

Initially, I thought you were going to go out like Christopher and Duce and pretend there is nothing wrong with the article while pretending I was the problem. I can't believe this article was allowed to have a Mumsnet ref for so long in the first place. MarioSuperstar77 (talk) 15:51, 4 March 2021 (UTC)

The article is just a bit of a mess. It can be cleaned up and I generally outlined what I see wrong with it on the talkpage. The argument to Autism is from what I can tell the most glaring case of transmedicalist content left that I have an idea on how to reword to something less transmedicalist (the argument that neurodivergent people have a different relationship with genders, therefore xenogenders is bullshit because it relies on a misunderstanding on how ND people process things, speaking here from my experience in how I fail to process things sometimes). Basically, this is what I mean with "use a scalpel, not a nuke". I motivate every removal, every change in the edit summary, even if that sometimes means splitting out multiple edits, so that people who read back the logs have an idea of why I did something, rather than doing everything in one big edit. I wouldn't say you are the problem (editors rarely tend to be), just that the way you went about addressing the problems with the article was a bit of a disaster. Techpriest (I am Alpharius! / Pencil.png / Tux icon.png / Shield.png) 16:00, 4 March 2021 (UTC)

Inferno Bot acting up[edit]

It’s been running inconsistently (seems like that’s just) and an hour early for a while, ran at 22:17 yesterday, and three pages I added templates to haven’t been archived (Talk:Transmedicalism, Talk:Hamas, and Talk:James Damore). Am I missing something obvious with the pages it’s not archiving? Christopher (talk) 23:14, 9 March 2021 (UTC)

Inconsistent running is me running it manually. I have noticed these issues too and am trying to troubleshoot them. Techpriest (I am Alpharius! / Pencil.png / Tux icon.png / Shield.png) 23:25, 9 March 2021 (UTC)
@Christopher Solved it. algo=old(30) can't have a space between old and (30). That's the case with the recent transclusions as well. I had placed the bot in edittools, but assumed that was enough to make it work. I suspect some older bot did support the space, but mine doesn't. You'll have to update those pages to remove the space manually I'm afraid though. Techpriest (I am Alpharius! / Pencil.png / Tux icon.png / Shield.png) 23:33, 9 March 2021 (UTC)
I went through every page which could’ve had a space and removed the ones I found, so that’s fixed. There does appear to be a problem with size; Talk:James Damore/Archive1 is 261,056 bytes, more than twice the limit specified in the template. Other pages archived at the same time (eg Talk:Hamas) don’t have the same issue. Christopher (talk) 17:12, 11 March 2021 (UTC)
The problem with Talk:James Damore/Archive1 is that the final section is gigantically long, so it might just be the bot can't handle unusually long sections. I can't see this being an issue except on very rare occasions. Avida Dollarsher again 17:23, 11 March 2021 (UTC)
This makes complete sense actually. The bot archives on the following logic:
  • Divide talkpage up into threads.
  • Check if threads meet minimum requirements for archiving (age and total threads).
  • Go through the threads in chronological order (old to new); check the counted archive. (1 if none is specified).
  • If the archive is not at max size, then add a new thread. If archive is at max size, then perpare a new archive page.
  • Repeat the previous step until there's only the minimum amount of threads left.
  • Save all changes.
With this logic, it makes perfect sense that if the final archived thread of a page is really long that it will freely exceed the total amount of maximum archive size. Techpriest (I am Alpharius! / Pencil.png / Tux icon.png / Shield.png) 20:42, 11 March 2021 (UTC)

About Ace's coop[edit]

Well, you and Spud did save my ass only two months ago, so I'm in debt with you, but I feel obliged to say that I'm a disappointed with your omission on Ace's Coop. You said more than once that he should lose his mod privileges, but you're not voting because you'll lose by a landslide? What's the problem if you do? Do you think the mob will look down on you because no one else agrees with you on this point? Well, I'm going to be honest, I'm looking down on you now because it's a very coward attitude. A mod shouldn't be afraid of showing his opinions, especially when the community is under stress. Sorry if that was harsh, but trust me, Sirius, no one will even remember that you voted on this coop by Fall.. GeeJayK (talk) 21:21, 12 March 2021 (UTC)

Uh, he did vote on it. Just now.-Flandres (talk) 21:21, 12 March 2021 (UTC)
I voted anyway. The problem I have is that I genuinely don't want to risk making enemies with people I believe can change. I've lost a lot of friends over making enemies with people, and I don't want to risk doing that. I can be rather... impulsive at times, which has led to disasters. I genuinely still think Ace can improve, at least as a person and an editor, which is what makes it difficult; I don't want to risk making him completely mad at me so that there is no opportunity for me anymore to try to get him to improve. Anyway, I did vote in the end. Techpriest (I am Alpharius! / Pencil.png / Tux icon.png / Shield.png) 21:24, 12 March 2021 (UTC)
Ok, good to see. Just don't take my post too seriously. I don't want you to be my enemy, it was a sincere advice with the best intentions possible. GeeJayK (talk) 21:29, 12 March 2021 (UTC)

Oxyaena[edit]

Was your permaban on Oxyaena unilateral or did I miss something? Bongolian (talk) 20:40, 16 March 2021 (UTC)

She asked to be blocked. Christopher (talk) 20:42, 16 March 2021 (UTC)
(EC)From the prattle around the Wiki I gather that she requested it at Discord. I'm obviously of the opinion that what happens in Discord should not affect this Wiki, but personal requests like this should probably be allowed. She always has that particular back channel to appeal. Knight CommanderIn ServiceTo HerGoatness 20:44, 16 March 2021 (UTC)
She didn’t ask for it in either of the RationalWiki discords, which aren’t the secret cabal some people think it is. It was presumably a DM. Christopher (talk) 20:46, 16 March 2021 (UTC)
It was a DM. I honor the request based on that and we still have contact. Furthermore, she isn't banned from the support chat (she is banned from mainline ratcord for different reasons) so should she want to come back while I'm unavailable, another Tech can take it up (Chris for example) and unblock her. To clear up any confusion; the garbage I renamed her account to is easy enough to locate if you lose it: I just threw her username in a hasher and renamed her to the result. Techpriest (I am Alpharius! / Pencil.png / Tux icon.png / Shield.png) 20:51, 16 March 2021 (UTC)
I don't have an objection to Oxy requesting that she be blocked (she could have done it to herself), but I find that there is no actual record of her request to be problematic. Bongolian (talk) 03:53, 18 March 2021 (UTC)