[00:02:57] [1/2] guys I think the job queue might be slow…. [00:02:57] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1228495604234321920/IMG_4312.png?ex=662c40b0&is=6619cbb0&hm=6f870487af2e9b19464f5e840e50571fa298324adbc815d0ebc97fa6744b4a16& [00:03:17] nice [00:06:51] interesting to hear him [00:07:09] it would be nice to get some of the regular crew in a chat sometime [00:19:19] kek [00:19:27] wdym [00:19:46] heh 9 days late [00:19:51] one big or maybe not so big group chat of some stewards and whomever else [00:20:06] dash of board and other interested people [00:21:48] @Stewards Can someone delete my last WikiTide wiki before the shut down https://sixflagsjazzland.wikitide.org/wiki/Main_Page Thanks 🙏 [00:21:50] volunteer channel you mean, in a sense [00:22:01] or a podcast? [00:22:39] Miraheze volunteer VC would be interesting [00:22:44] anyone up for a game night? [00:23:38] Minecraft minigames [00:38:21] probably just a one off vc round tbh [00:40:41] For any purposes or just funs [00:42:42] probably just funs [00:44:20] Ever play gartic phone? [00:44:32] nope [00:45:39] https://tenor.com/view/troll-troll-face-gif-25116980 [01:19:32] I spent like several hours writing wiki articles and even uploading pictures, a total of six hours of nonstop typing and editing, which is a bit impressive @brandon.wm, but I'm only pinging this time because I decided to create most of the files for the iNext Fanon wiki myself. [01:20:13] So I basically spent like 6-8 hours doing these things in one sitting. [02:04:02] I’m still unsure why I was pinged [02:14:55] <.labster, replying to agentisai> Yaron also contacted me, I didn't notice until last month though, but it was back in July. [06:18:14] i've always wondered what the point of the <@&870164202868846602> role is if the last time it was used was january 31st... https://discord.com/channels/407504499280707585/407504500136607745/1202280277062455366 [06:19:25] it's also an announcements classified channel but none of the annoucements are ever published (meaning servers that follow the channel don't get any notifications) [06:20:09] a lot of the announcements are published [06:20:15] the latest one was [06:20:30] i have the channel followed but none of them are sent 🤔 [06:20:35] odd [06:20:51] try removing and readding the announcement feed [06:21:39] oh now i see why [06:22:08] an announcement channel can't get announcements from a different server apparently [06:28:17] Upon seeing this message I just assume if there's a piece of Agent's voice memo got revealed😂 [06:45:03] Erm why aren't I eligble @agentisai [06:45:28] Have you made 60 edits in the past year? [06:46:14] The criteria doesn't say that [06:46:27] Have been registered for 60 days - yes [06:46:40] Have made at least 10 edits or actions - yes [06:46:57] Not currently subject to a global ban - yes [06:47:02] interesting [06:47:20] 10 log actions then, huh [06:47:37] yeah, SecurePoll is terrible [06:48:05] I'll have to re-edit the global edit list script and recreate the editcount table on all wikis [06:48:27] @cosmicalpha @reception123 can you handle perhaps? I won't be able to at all for the next month [06:48:35] It seems you've put that in the global notice too [06:48:39] Which is incorrect [06:48:54] So that global notice needs to be withdrawn and very clearly replaced [06:48:56] indeed but I guess it's technically correct for now because it won't let anyone without that requirement vote [06:49:16] Well yes once the error is fixed [06:49:23] I'm off to sleep, I'm sure someone will be able to fix [06:49:44] But very clear notice should be given to anyone who may have attempted to vote and been unable to do so [06:50:21] And I suggest extending the deadline to vote to replace the time lost [06:50:27] @MediaWiki Engineers [06:50:48] Well, there's a whole month left [06:52:36] That still doesn't mean the vote wasn't truly open to I'll guess a fair number of eligible people [06:52:55] 60 edits in the last year v 10 edits or actions ever are wildly different criteria [06:56:29] only the people who are likely to notice the vote in the first place will vote then \:P [07:14:38] I'm not impressed with that sentence in the slightest [07:16:14] If I'm not happy with the response during the election and I don't think all voters who were eligible had fair opportunity to vote based on the community RfC, I will create one to have the vote struck as null and void. [07:58:35] [1/3] @brandon.wm [07:58:36] [2/3] pls grant flooder to Agent [07:58:36] [3/3] Agent is probably trying to block a very large number of ranges, and its current IP is 45., so a week or so would be appropriate [08:08:48] MacFan4000, @brandon.wm: https://meta.miraheze.org/wiki/Meta:Requests_for_permissions#Waki285-Bot_%28Bot%29 [08:29:26] [1/2] block logs go brrrr [08:29:26] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1228623066574094378/image.png?ex=662cb765&is=661a4265&hm=ef36840e135dd194e2c66273707f67ddb3b99d9a23e921a47a1e1967c63e91fa& [08:32:22] Aeibl: do you know your request number [08:32:42] No not sure...Where can I find it? [08:33:23] Aeibl: what's your username [08:33:29] Aeibl [08:34:48] It should be handled in the next day or 2 [08:35:07] It looks fine to me [08:35:43] Aeibl: I assume all your students are over 13 based on the description [08:36:02] Cc @Wiki Creators [08:36:26] Yes, of course [08:36:34] Thanks for the information! :) [08:44:07] What can I do for you? [08:46:45] I'm the only one who goes 'eh' seeing the volume it seems [08:46:51] re agent blocking [08:49:43] Have a nice day all of you :) [08:50:21] you too [08:51:59] [1/2] why specifically before feb 11? :ThinkerMH: [08:51:59] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1228628741056626769/image.png?ex=662cbcae&is=661a47ae&hm=61259cdc16dd5e8f248ac142e3a344a7d57cfb2e1a2401ed37d7476298084aa9& [08:53:07] account age to establish stake presumably [08:53:24] I'm sure it makes sense somehow paired with the timeline ie how 7 days would be used elsewhere [09:50:04] that is one day later than my birthday lol.... [10:10:00] Hello I wanted to advance permission on the test wiki but it denies requests from Tor exit nodes anyone who can help me with it? [10:13:23] you'll have to get an exception for Tor [10:14:39] How to do it [10:24:07] What's your username [10:24:09] I can do that [10:24:14] What do you want [10:24:23] Liaochina and Liao [10:24:35] I need to enable tests on testing pages [10:24:50] And allowing to test extensions and admin rights [10:24:55] Ok [10:24:59] I'll add admin [10:24:59] Thanks [10:25:04] Thank you [10:26:49] @li.ao have you logged into to testwiki with Liao yet? [10:26:58] No [10:27:18] Please do so [10:27:19] Sorry I forgot I don't have a profile for this user [10:27:25] Then I can press the magic buttons [10:27:32] I did Liaochina [10:27:44] Yes it sounds like magic so let me log in with that user first [10:33:26] I tried signing in. Can you see it now? [10:34:31] All done @li.ao [10:34:40] Thanks a lot! [10:36:02] No problem, happy testing! [10:36:35] what exactly happened here? [10:37:41] Someone setup SecurePoll's eligibility list wrong [10:37:46] So it needs redoing [10:37:54] So people who should be allowed to vote can [10:38:06] you can't vote? [10:38:33] Nope [10:38:53] Cause someone setup the eligibility list as over 60 edits in the last year [10:38:58] Instead of 10 ever [10:39:54] [1/2] "Must have an account age of at least six months from the first day of voting and made at least 60 edits or log actions globally by time of nomination" [10:39:54] [2/2] Looks like it should be 60 edits OR log actions ever [10:40:13] according to https://meta.miraheze.org/wiki/Community_Directors/Elections [10:40:14] That's candidate [10:40:18] Read the voter bit [10:40:21] oops [10:40:33] yep ten ever [10:40:52] That needs fixing asap [10:41:05] agree [10:41:20] Can you? [10:41:41] Cause if someone doesn't fairly soon I will move to have the whole thing nullified [10:45:03] technically I can, of course [10:45:37] but I don't think I should touch that election tbh [10:47:16] @orduin is likely better suited than me for that as a dual SRE/Steward involved in running the election [11:01:38] I wanna import the Template:Infobox officeholder but it pops up error [11:01:51] https://cdn.discordapp.com/attachments/407537962553966603/1228661422939181137/image.png?ex=662cdb1e&is=661a661e&hm=1ab5094b4913511347d7b3b631eae4ee33fc730e29d5f1f93895d390b79b4267& [11:09:45] How can we avoid line jumps when editing? [11:09:59] https://cdn.discordapp.com/attachments/407537962553966603/1228663472011612170/Screenshot_2024-04-13_at_13.09.54.png?ex=662cdd07&is=661a6807&hm=b996879ff6c8accc7b22f46fe9657ef12334e807c7dd5be86b3f0b83f16c6c7a& [11:14:48] > Please note that if the file is a bit large (~ >2MB) you will need to [request an import](https://meta.miraheze.org/wiki/Special:RequestImport) as this cannot be done here due to technical limitations. [11:15:06] i'm assuming it is a somewhat large file based on the timeout [11:23:04] Ok [11:33:09] 28 votes already! [11:46:44] https://cdn.discordapp.com/attachments/407537962553966603/1228672720875687987/image.png?ex=662ce5a4&is=661a70a4&hm=d1128c0543913c1fb5a3644cee45c80b0059f946f2c77f36a40271ea2eb0ab46& [11:47:06] there's a way to replace the incumbent thing to the wikipedia article [12:27:44] [1/2] supported all three candidates [12:27:44] [2/2] though i noticed that that the support and oppose were switched on NotAracham's ballot [12:27:53] Why is support at different place that's tricky as hell [12:27:57] https://cdn.discordapp.com/attachments/407537962553966603/1228683092638695454/Screenshot_2024-04-13-14-27-15-287_org.mozilla.firefox-edit.jpg?ex=662cef4d&is=661a7a4d&hm=c7cf232b6771ede87dc8f0f993c11ae9102c37eddcc67cca476fd395ff136371& [12:28:58] i agree, it's irregular [12:30:25] NA is just a little mischievous [13:00:21] The election commitee has been notified [13:00:27] This too [13:02:07] Who is that committee ? [13:05:11] just woke up, what’s going on? [13:05:35] Read it [13:05:42] You reverted some edits [13:05:51] It's my opinion on the situation [13:08:32] I think MacFan4000's block should be overturned and replaced with the bot's soft stop tbh [13:09:03] and bot refused until it's appropriate for it to work without oversight [13:10:26] Hmmm [13:11:08] cc Meta sysops: this is exactly where a communal channel for discussion would be nice. [13:11:50] Also @agentisai in the future, please do add flooder when mass-blocking as it does tend to stuff RC and there have been 2 requests for it now to be added. [13:14:31] Why does there need to be a sysop channel [13:14:43] Why can't that discussion happen here or on wiki [13:14:56] It should be all on wiki tbh [13:15:04] Maybe just a Miraheze meta Channel, I’ve encountered use for it here before [13:16:48] Not to discuss the RfP but to further understand why the block occurred, what the thought processes were [13:16:59] Similar to why CVT and WC channels exist [13:17:50] Probably not much thought tbh [13:58:36] As for blocking, MacFan explains "please be aware that I have blocked your bot, as it is necessary to request a bot flag and have approval for whatever use cases you have in mind, before you start running it." However, I did not think that a flag was always required to run a bot, and it does not seem easy to find such a statement in [[Meta:Bots]]. [13:58:36] https://meta.miraheze.org/wiki/Meta:Bots [13:58:37] [13:59:56] It's been unblocked - I personally approved it [14:00:12] When I granted confirmed to the bot [14:01:05] confirmed was necessary. without it, OAuth cannot be proposed + captcha is required, and the bot cannot be operated even temporarily [14:02:49] Yeah, it's fine. Just make sure if something happens to the bot, that you ping Meta sysops here immediately to block [14:03:11] Once the issues with the bot that still exist are resolved, follow up on the open request and we'll look into granting the permanent flag. [14:08:46] I have started the Bot again and there does not appear to be a problem in all tasks. I will see how it goes for the next 3 days. If it looks like there is a problem, change the status to false or block it. [14:09:06] Will do. Also, quick question, isn't the list of https://meta.miraheze.org/wiki/MediaWiki:Gadget-MarkAdmins-data.json supposed to be alphabetical? [14:09:16] It is mainly but at the bottom, a few are out of place [14:10:23] I never stopped flooding the RC, it's just that people have been removing or adding it to me temporarily [14:11:30] 🤔 I've added it for 7 days [14:11:44] I meant before that [14:11:50] Ah [14:11:53] Is it all done now? [14:12:03] No, it's just that my computer keeps falling asleep [14:12:13] Ahh okay [14:12:14] this is due to the fact that the MA Updater acquires in the order of local group -> global group -> trustandsafety [14:12:27] -_- got it, makes sense [14:12:54] Yeah I dunno why people are adding and removing constantly but hopefully that's mitigated in the future [14:58:35] Do you prefer Vector 2022 or Timeless? [15:00:42] Timeless but twinkle don’t like it [15:01:49] Timeless is alright [15:02:01] I feel Vector 2022 looks good wit no styles but Timeless can look amazing if tat is what those Wiki.gg wikis are using with the added CSS [15:02:53] Wiki.gg uses vector [15:03:14] Imo, the perfect use of a wiki skin is minecraft.wiki hands down [15:03:53] Does it really use vector? I hope this keyboard works better [15:04:18] The other keyboard had a dead "h" key making a lot of words a pain to type [15:04:29] [1/2] Dunno if it is vector 2010 or 2022, but it has the width of 2010 and the fixed toc [15:04:30] [2/2] And the design/css is high quality, like plain old vector is alright, but colorful vector wikis are beautiful [15:05:02] I wish I could have such lovly CSS as well [15:06:15] I do like how Vector 2022 has those hide away TOC/Sidebar and the full screen toggle [15:07:10] Also, I like how the TOC scrolls with where you are on the wiki page [15:07:37] wiki.gg def uses old vector [15:07:48] they just slap a lot of CSS + JS over it [15:07:59] espeiallt to achieve mobile adaptivness [15:08:40] they don't offer any other skins [15:08:40] How do they do the pretty image boarders? [15:08:48] `image-border` [15:08:55] all CSS [15:09:20] [1/2] we did this too here [15:09:20] [2/2] [15:09:41] although not the sophisticated kind of borders [15:09:59] What is the code>? [15:10:05] but it is `border-image` [15:10:10] Oh [15:10:32] I assume they had to do that for each box and each side of each box [15:10:48] there are classes [15:11:17] sidebar elements share them, and in most cases you have one rule for several classes [15:11:22] https://cdn.discordapp.com/attachments/407537962553966603/1228724218972344421/2024-04-13_18_10_39.png?ex=662d159a&is=661aa09a&hm=c12d4352fe7bce6be7e93e4b6df7267c756d9529fc15f9f855f681441fd44e18& [15:11:31] [1/2] Is there a way to add new links to the sidebar on the left? [15:11:31] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1228724255391219862/image.png?ex=662d15a3&is=661aa0a3&hm=ff1f0058059923f553ba0ec1e9a4e4f89f98d11d1b1596fe9efa774c5ed3bde1& [15:11:42] `MediaWiki:Sidebar` [15:11:54] Thank you! ❤️ [15:28:50] Harej and every steward that is not a candidate [15:54:30] ElectCom is aware of SecurePoll shuffling the answers but there's nothing they can do [15:54:37] It's an extension bug [15:54:42] ah [16:06:14] [1/2] does anybody know any plugin to get to be able to change the colour of table boxes without going into source [16:06:14] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1228738024674951179/image.png?ex=662d2275&is=661aad75&hm=8189f8e7457eba96b5ebcee4288f74d8bd9b13f98c994976e4f5713fb8d35833& [16:08:17] VisualEditor? [16:08:58] Yeah I'm in VisualEditor [16:09:13] I have to switch to source every time I want to change the colour of a box in table [16:10:14] id just say switch to se [16:10:24] lame [16:10:39] is it not possible to directly change the color in VE? [16:10:44] i thought i did that once [16:10:52] is visualeditor open source [16:11:03] i can try and work on a plugin for it/suggest an update that does so [16:11:11] yes [16:11:13] Yeah [16:11:18] visualeditor is buggy on top of being very limited [16:11:24] I think all extensions are [16:11:27] alright [16:11:38] They aren’t compiled [16:11:44] make a template lol [16:11:48] so to provide extensions is to provide source [16:11:58] the licensing may not be open source [16:12:05] but at least its source available [16:12:18] but MW is AGPL so most are op [16:12:44] if that was true Fandom's MW fork and extensions would be open source [16:12:55] unfortunately it is regular GPL [16:13:32] I thought it moved to AGPL hence why fandom dont update [16:14:01] nope [16:14:03] fuck [16:14:14] https://m.mediawiki.org/wiki/Manual:What_is_MediaWiki%3F [16:14:25] no it uses GPLv2 or higher [16:14:31] Hindsight is 2024 [16:14:40] :/ [16:14:49] well we work with what we uave [16:15:00] (dang Hamilton music slaps so hardH [16:17:20] Hi, got a question regarding infoboxes. How can you make there that two pictures are next to each other in one line? [16:18:25] gallerys? [16:18:44] I meaan like in wikipedia where flag is next to coat of arms [16:19:19] navigation tag [16:19:27] inside it you can use wikitext [16:19:29] [1/6] ```xml [16:19:29] [2/6] [16:19:29] [3/6] Image1.png|Caption [16:19:30] [4/6] File2.jpg|Other text [16:19:30] [5/6] [6/6] >``` for portable Infobox [16:19:34] not that [16:19:38] that's another [16:19:50] but that would make an tabber or wont it? [16:20:22] that's a tabber yes [16:20:52] for what you want you need make code in `.../navigation` [16:21:00] w/ files [16:21:41] [1/2] foe example [16:21:42] [2/2] `[[File:{{{flag|}}}|left|120px]] [[File:{{{coat|}}}|right|120px]]` [16:21:42] https://meta.miraheze.org/wiki/Template:%7bflag https://meta.miraheze.org/wiki/File:%7b%7b%7bcoathttps://meta.miraheze.org/wiki/File:%7b%7b%7bflag https://meta.miraheze.org/wiki/File:%7b%7b%7bcoat [16:22:57] [1/2] The current infobax has a flag and a coa statement. But it results in it displaying it under one each other. How can I change it to left and right [16:22:58] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1228742232899715103/image.png?ex=662d2661&is=661ab161&hm=9bc66e0dcf3d9f355005d71a3978db9ca400d454e52b01cffaacfd50205ea543& [16:23:55] 🇧🇷 [16:24:03] https://tno.wiki/wiki/Template:Infobox_country [16:24:07] The more you know [16:25:32] ah hell [16:25:59] that's completely different thing, it's goddamn LUA [16:26:10] I'm no helper here [16:26:40] just noticed that as well xd [16:26:49] does somebody here now Lua? [16:38:05] hey guys I'm so back [16:43:33] I went too far [16:45:56] There's a File type I want to convert but I can't find anything that can do so [16:46:40] what’s the file type [16:46:47] dontasktoask [16:47:26] .sample [16:47:50] never heard of it [16:48:04] sure that’s the actual file extension [16:48:10] It's used in software built using godot [16:48:14] it may be to showna file is a sample [16:48:21] like config.toml.sample [16:49:00] A bit [16:49:07] Depends what you need [16:49:31] The original files are mp3, but the software converts it to a .sample [16:49:34] I hate when I want to use a Wikipedia template and it uses Lua [16:50:03] Enwiki moment [16:50:12] dev wiki has some stuff [16:50:13] I want that flag and coat of arms are next to each other like in wikipedia [16:50:32] Seems more like a CSS issue tho [16:50:40] Depends of Ur setup [16:50:44] and if you make a non lua version of enwiki templates feel free to add it to [[mh:dev:]] [16:50:44] https://mh.wikipedia.org/wiki/dev: [16:50:46] [16:50:54] no since the infoboxes are generated per module https://tno.wiki/wiki/Template:Infobox_country [16:51:14] Oh tno has a wiki on MH ? [16:51:33] yes its the community ran wiki, (the og) [16:51:50] all the cool kids are on Miraheze [16:51:51] before the devs went jelouse copied us [16:52:18] what is tnowiki [16:53:20] a new reception wiki? [16:53:56] what would possibly make you say that [16:54:59] joke [16:55:40] oh is a wiki for a videogame [16:55:43] if you all are interested on the history of our wiki and why the tno devs becaause of us opened their own wiki on wki gg i cana tell you in #offtopic but letts stay on the issue xdd [16:56:03] Well this lua seems to be out of my knowledge [16:56:07] And I'm on my phone [16:56:18] smh wiki gg. Silly devs /silly [16:56:45] But mediawiki server may have more ppl that has knowledge in Lua [16:57:14] mediawiki server? [16:57:19] I only use Lua when like I make sometimes Roblox games [16:57:19] Yeah [16:57:25] Link at https://discord.com/channels/407504499280707585/1225146368012718230/1225148461440303144 [16:57:26] link? [16:57:49] ty [16:58:08] #server-invites [17:06:43] nobody knows of a way to make AWB support custom protection levels, do they? [17:12:29] nah it was made for enwiki [17:12:34] maybe pywikibot? [17:13:23] oh i do know a little bit of python [17:16:52] I’ve done python stuff with mw before and would be happy to help if you need [17:17:22] that would be wonderful, lemme see if i can work it out myself and if not ill ping you! thank you ❤️ [17:17:34] <3 my pleasure [17:17:47] I have a few examples that use the API on my GitHub [17:17:50] they suck but work [17:18:18] They don’t edit though and depending onthe library aren’t applicable but they show the process a bit [17:18:27] What exactly are you trying to do [17:19:04] i am trying to mass apply our custom protection level to a list of pages [17:19:19] i can do it by hand but i mostly wanna see if its possible to do automate it [17:27:22] ok apparently i am very stumped bc i cant even figure how to access a miraheze wiki [17:33:06] @pixldev hi, ive managed to find the generate user files script, how could i access my wiki? its not immediately obvious to me ^^;; [17:45:16] On Miraheze you do not have CLI acess, you can ask one of the people who do though (I do not remember who) SRE I think [17:46:20] oh i see [17:46:45] im confused how i would be able to use AWB but not pywikibot then [17:47:29] no, wait [17:47:46] you need to pick custom url in dropdown or something [17:48:23] go to options -> preferences [17:48:27] oh no no sorry [17:48:30] im trying to setup pywikibot [17:48:32] AWB is fine [17:48:47] im just confused why the permissions would be different [18:00:24] pywikibot? [18:00:51] yeah [18:01:06] i apologize i got very stumped LOL the docs didnt help much and theres not a lot of info out there [18:01:17] if its a custom level may need raw API. Im out rn but once i get home ill give the docs a good read [18:01:32] no youre all good! [18:01:41] ill do this the manual way for now and see if i can work it out later for other stuff [18:03:01] getting overwhelmed with too much API and technical things, idk but talk in #tech [18:03:18] so looks likes its possible via the api [18:03:25] can i have you wiki link? [18:03:50] http://phighting.wiki [18:04:21] for a few examples of scripts check out the GitHub attached to my discord [18:04:42] And this https://replit.com/@pixDeVl/Stonework-Wiki-Utilites?v=1 [18:04:52] battery on 2% [18:04:53] lmao [18:05:03] omg dont worry about me LMAO [18:05:14] eh waiting in line [18:05:21] costco moment [18:06:02] what format is your list of pages in [18:06:51] i have it in literal text format if that works [18:09:43] txt one name per line? [18:09:46] yes [18:09:49] p e r f e c t [18:10:31] https://cdn.discordapp.com/attachments/407537962553966603/1228769300979122267/PhighterProtection.txt?ex=662d3f96&is=661aca96&hm=1ea7bfff72d6782f114b752b585be5430f04af905dc96be6e647eaa77514373e& [18:10:41] im uhh trying to protect them for the edittrusteduserprotection level [18:10:43] you have a bot password already? [18:10:48] i have a bot acc [18:11:01] i think it has a bot password i actually forgot [18:11:19] ok yeah it does [18:12:02] I think PyWikiBoit runs on your computer right but it like logs into the wiki? [18:12:14] yeah, im just struggling with that part [18:12:20] i have pywikibot installed tho [18:12:38] https://help.fandom.com/wiki/Pywikibot#:~:text=record%20it%20elsewhere.-,Using%20Pywikibot,pwb.py%20scriptname%20%2Dhelp%20. [18:12:43] Would that help? [18:14:11] I’m gonna try raw api first Cuase simple enough and custom protection level idk if they work [18:14:26] i cant log back into my wiki LMFAO [18:14:41] o no [18:15:00] Hm, never thought that custom protions would not work on pywikibot [18:15:01] im getting the real bad captchas and the session hijacking error 😭 [18:16:11] I think I had to clear my cookies, and refesh a few times when that happened to me [18:16:28] for me its usually bc of autofill but idk whats going on here [18:16:39] Or did I wait a while before trying again? [18:17:33] protect api is POST not GET so i cant ask ya to test in the browser [18:18:04] heya [18:18:10] me [18:18:55] cool [18:19:04] ok finally got into my bot acc LOL [18:21:47] ty clearing cookies worked [18:26:42] ima be home in a sec I’ll write a test script for you to try [18:27:18] you good with pip installing a package or two? [18:34:34] im all good with that [19:21:21] mind trying this out? [19:21:22] heh, someone in this Discord server sent sre@ an interesting proposal 😉 [19:21:25] [1/55] ```py#!/usr/bin/python3 [19:21:25] [2/55] """ [19:21:26] [3/55] protectcustom.py [19:21:26] [4/55] Based of protect.py from MediaWiki API Demos [19:21:26] [5/55] Demo of `Protect` module: Demo to change the edit protection to a custom(edittrusteduserprotected) [19:21:27] [6/55] level of a given page. [19:21:27] [7/55] MIT License [19:21:27] [8/55] """ [19:21:28] [9/55] import requests [19:21:28] [10/55] page = input("Page: ") [19:21:28] [11/55] S = requests.Session() [19:21:29] [12/55] URL = "https://phighting.wiki/w/api.php" [19:21:29] [13/55] # Step 1: Retrieve a login token [19:21:30] [14/55] PARAMS_1 = { [19:21:30] [15/55] "action": "query", [19:21:31] [16/55] "meta": "tokens", [19:21:31] [17/55] "type": "login", [19:21:32] [18/55] "format": "json" [19:21:32] [19/55] } [19:21:33] [20/55] R = S.get(url=URL, params=PARAMS_1) [19:21:33] [21/55] DATA = R.json() [19:21:34] [22/55] LOGIN_TOKEN = DATA['query']['tokens']['logintoken'] [19:21:34] [23/55] # Step 2: Send a post request to login. Use of main account for login [19:21:35] [24/55] # is not supported. Obtain credentials via Special:BotPasswords [19:21:35] [25/55] # (https://www.mediawiki.org/wiki/Special:BotPasswords) for lgname & [19:21:36] [26/55] # lgpassword [19:21:36] [27/55] PARAMS_2 = { [19:21:37] [28/55] "action": "login", [19:21:37] [29/55] "lgname": input("Username: "), [19:21:38] [30/55] "lgpassword": input("Password: "), [19:21:38] [31/55] "lgtoken": LOGIN_TOKEN, [19:21:39] [32/55] "format": "json" [19:21:39] [33/55] } [19:21:40] [34/55] R = S.post(URL, data=PARAMS_2) [19:21:40] [35/55] # Step 3: While logged in, retrieve a CSRF token [19:21:41] [36/55] PARAMS_3 = { [19:21:41] [37/55] "action": "query", [19:21:42] [38/55] "meta": "tokens", [19:21:42] [39/55] "type": "csrf", [19:21:43] [40/55] "format": "json" [19:21:43] [41/55] } [19:21:44] [42/55] R = S.get(url=URL, params=PARAMS_3) [19:21:44] [43/55] DATA = R.json() [19:21:45] [44/55] CSRF_TOKEN = DATA["query"]["tokens"]["csrftoken"] [19:21:45] [45/55] # Step 4: Send a post request to change edit protection level of a page [19:21:46] [46/55] PARAMS_4 = { [19:21:46] [47/55] "title": page, [19:21:47] [48/55] "protections": "edit=edittrusteduserprotected|move=edittrusteduserprotected", [19:21:47] [49/55] "expiry": "infinite", [19:21:48] [50/55] "token": CSRF_TOKEN, [19:21:48] [51/55] "action": "protect", [19:21:49] [52/55] "format": "json" [19:21:49] [53/55] } [19:21:50] [54/55] R = S.post(URL, data=PARAMS_4) [19:21:50] [55/55] print(R.text)``` [19:21:51] oh~ [19:21:51] do tell please [19:21:52] does it invole monies [19:21:53] If they're looking here, do know we've seen it \:P [19:22:26] I'm assuming whatever it is it's a very good thing? [19:22:39] could be [19:22:57] basically, we're going to sell our discord server to Fandom [19:22:59] (joke) [19:23:03] Something we'll hear about if it happens? [19:23:15] No comas ansias [19:23:21] I actually felt my heart contract in my chest when I read this [19:23:38] sfnregfipeahfr fine [19:25:59] pls get techy stuff in #tech idk, getting overwhelmed [19:26:57] You don't need to read this. This is not all that techy, and it's in response to solving a support question. #general is perfectly appropriate. [19:27:31] ok... [19:28:01] yeah this is just a python script pix has kindly written for me to solve a support problem [19:28:10] (gimme one sec also) [19:28:38] I was trying to get it to work with mwapi but suhsafisgbfoehifhnwerf token nonsense [19:28:50] So i copied the script from https://www.mediawiki.org/wiki/API:Protect [19:29:10] I think I understand how the protection levels work [19:29:16] If not I'll ask around [19:34:11] @pixldev which login format does it support? [19:34:15] the new or old bot password format [19:34:28] Mine was new "PixDeVl@scripttest" [19:35:12] okay i can get it to input but it seems to give me a message before closing itself [19:35:53] how so [19:36:11] lemme try in an IDE maybe then i can actually read what it syas LOL [19:36:22] yeah i added input calls [19:36:29] just strings should work [19:36:46] yeah i tried just literally opening it as a .py file and the inputs work but then it closes itself [19:37:14] oh [19:37:20] call it from the cli [19:37:20] oh okay i got it [19:37:33] [1/2] ```{"error":{"code":"protect-invalidlevel","info":"Invalid protection level \"edittrusteduserprotected\".","*":"See https://phighting.wiki/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes."},"servedb [19:37:33] [2/2] y":"mw151"}``` [19:37:45] mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm [19:38:41] let me check mw-config [19:38:55] the protection levels are named odd things arent they [19:38:59] I tried one time to make a bot and always told me that in the SSH (i was using replit) [19:39:16] not exactly the same thing, but well [19:39:25] https://github.com/miraheze/mw-config/commit/cfb36c7ac088ea5628502bf02429d2ec16c197ca [19:39:26] hm [19:39:29] thats the name [19:39:34] oh huh so it is [19:40:53] lemme see on irc [19:41:24] ty ty youre amazing [19:49:33] asked [19:49:39] and now wait [19:52:35] 🙏 [20:09:00] [1/2] Question. [20:09:00] [2/2] Who is well versed in {{#switch: ? [20:10:54] MediaWiki.org 😉 [20:10:56] lol [20:11:01] whats the usecasw [20:11:05] @pixIdev stop spamming mmmm's!! [20:14:13] Can't put it in here - I'll DM [20:17:46] Emiliano: please don't be a pain [20:18:15] why? [20:18:23] \@rodejong [20:18:35] Emiliano: because otherwise I'll be asking someone to make your stay fairly short [20:18:59] oh [20:36:46] You'll be watched at every corner until you prove that you have changed mate. That's what happens when you try to push boundaries 😉 [20:39:15] What are the pros and cons of Vector 2022 vs Timeless? [20:39:42] timeless isn't ugly [20:39:45] lol [20:39:51] lol [20:40:21] Personally I find it pretty handy to have the Tools on the right side. [20:40:25] I often use them [20:40:27] @tedkalashnikov hey i had an idea if you want to try(am once again away from my computer so can’t do it myself for a spell) [20:40:41] I thought both had the tools on the right side [20:40:50] tools are why i use OG vector (I think) on meta [20:40:55] i will try anything [20:41:08] v22 borked entirely and timeless too far to scroll [20:41:35] https://jwmeeting.miraheze.org/ No. All on the left side [20:41:41] There’s a fine line between dedication and desperation. The farther beyond it you are. The better. [20:41:42] I rather liked both timeless and Vector.2022? [20:41:44] \joke [20:41:48] anyways [20:41:52] hahaha [20:41:56] look on mediawiki.org [20:42:07] Is this timeless or Vector. 2022 ? [20:42:15] Timeless [20:42:21] See if you can find the API call to view a pages protection level [20:42:29] check if its the same [20:42:32] Did you use any custom CSS to move any elements? [20:42:38] When logged in, I use the skin Vector-2022 [20:42:49] erm... [20:42:56] Now you say that [20:43:01] I might have 😄 [20:43:08] uhh ok hang on [20:43:09] Hang on [20:43:29] looks identical to me [20:43:33] [20:43:49] hm [20:43:57] Yeah, I apparently did and forgot about it [20:44:00] when you use it on a trusted protected page? [20:44:04] lol [20:44:15] Alternatively, use the network tab under inspect element and try to view the post request sent when you protect a page and look at the parameters [20:44:29] oh like on the live wiki? let me see [20:45:51] I mean, what pros is there to Vector-2022? [20:46:29] To me it is the cleanlyness. All white, no distractions [20:46:51] [1/2] @pixldev [20:46:52] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1228808646029480036/image.png?ex=662d643b&is=661aef3b&hm=cc6697d7fdfe7ab32f048338df818ce9ef48dd45e4271e9f8a407dd8af4c3c98& [20:46:54] When I edit [20:47:14] The payload won't help you [20:47:48] i assume pix wanted to find out what the name of the protection level is [20:58:38] ja [20:58:46] seems that’s not the issue then [20:58:55] unless i made a typo:/ [20:59:18] the code looks correct to me [20:59:36] [1/10] ```py [20:59:36] [2/10] PARAMS_4 = { [20:59:36] [3/10] "title": page, [20:59:37] [4/10] "protections": "edit=edittrusteduserprotected|move=edittrusteduserprotected", [20:59:37] [5/10] "expiry": "infinite", [20:59:37] [6/10] "token": CSRF_TOKEN, [20:59:37] [7/10] "action": "protect", [20:59:38] [8/10] "format": "json" [20:59:38] [9/10] } [20:59:38] [10/10] ``` [21:01:42] [1/2] `"Invalid protection level \"edittrusteduserprotected\".` [21:01:42] [2/2] is the error supposed to return the backslashes like that? [21:26:58] yes [21:27:03] to escape quotes [21:27:39] ahh okay [21:54:09] i uploaded an mp4 video to my wiki but when i try to put it on a page its 0x0 px [22:19:58] how do i promote a user to administrator on my wiki [22:20:54] Special:UserRights/[username] [22:22:13] thx [22:49:13] [1/3] Is this correct? It's been a few minutes and the logo doesn't show up, but the favicon does [22:49:14] [2/3] https://cdn.discordapp.com/attachments/407537962553966603/1228839440206659604/image.png?ex=662d80e9&is=661b0be9&hm=33f7532ca464ef52df8876a508868e2eafdb56715a333f096751439ed22b3ff7& [22:49:14] [3/3] https://cdn.discordapp.com/attachments/407537962553966603/1228839440471035954/image.png?ex=662d80e9&is=661b0be9&hm=0c7eb2647451dc245c7d13e44837d08f3a8cb8d58056526ea984aa76385dbac4& [22:49:28] Sorry - complete noob hehe [22:50:55] your favicon must be an .ico [22:51:45] also for vector-2022 I think you're looking for `$wgWordmark` which is further down that page [22:51:53] iirc `$wgLogo` is for vector-2010 [22:52:35] ohh alright, thanks!! [23:12:38] [1/2] icon looks fine but wordmark is stretched out like hell [23:12:39] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1228845334067679252/image.png?ex=662d8666&is=661b1166&hm=6771b212df4f4b58edc13f5e550e9ae4a3d5cbdea4245fcc238155d70c0a1ce4& [23:12:54] i tried png and .ico wordmark, does it need to be .svg or am i missing something [23:13:01] https://cdn.discordapp.com/attachments/407537962553966603/1228845427940655146/image.png?ex=662d867c&is=661b117c&hm=7ee3f60f3740368ccf68eec84099c5df8300e93f793dde4b67601c4c33a7bad7& [23:32:29] `$wgFavicon` must be an .ico [23:32:42] `$wgWordmark` can be whatever you want. [23:42:00] my favicon is a png and it still works 🤔 [23:44:16] worked, cheers!! [23:44:22] https://cdn.discordapp.com/attachments/407537962553966603/1228853319112327189/image.png?ex=662d8dd6&is=661b18d6&hm=69d726ba160f27cd650d15b9d7da0141bc13d15a5920d54a590e91740b3d1e96&