[00:05:26] it happened again 💀 [01:31:13] Special:DataDump can generate these, though a steward has to initiate the image backup [02:14:55] Just saw this translation RfC [02:15:15] Fundamentally, the entire extension causes more headaches than uses and should be deleted. [03:05:27] Certainly [03:08:14] Labster channeling his inner Jonny Swift and getting those Modest Proposals out the door [03:21:17] what did i missed [03:48:04] I'm actively using Wikibase [04:14:21] So my miraheze site requires me to use a country infobox, but I'm not sure how to get those into my wiki. Can someone help me and also let me know how to get other infobox templates for the future? [04:14:39] [[Special:Import]] [04:14:39] https://meta.miraheze.org/wiki/Special:Import [04:14:42] [04:16:45] And how do I get the country infobox file? [04:20:01] those icons or the infobox? [04:20:29] It says I need to upload an XML file but I'm not sure how to acquire it in the first place [04:21:06] look down and theres a menu to import from another wiki [04:21:25] and firstly, ¿do you have infoboxes in your wiki? [04:21:37] like just infoboxes, not country infoboxes [04:21:48] That's what I'm trying to do and I'm starting with the country infobox [04:21:56] ohh [04:23:01] [1/2] import from dev.miraheze.org and never wikipedia, theres the infoboxes [04:23:02] [2/2] [[dev:Template:Infobox]] or if you want it simple [[dev:Template:SimpleInfobox]] [04:23:02] https://meta.miraheze.org/wiki/dev:Template:Infobox https://meta.miraheze.org/wiki/dev:Template:SimpleInfobox [04:23:03] [1/2] [04:23:03] [2/2] [04:23:12] Thanks so much [04:23:46] the first one needs also to import a module [04:26:44] I imported that one, but do I import the infoboxes themselves from wikipedia or miraheze? [04:32:05] https://cdn.discordapp.com/attachments/407537962553966603/1268788387867922503/Captura_de_Pantalla_2024-08-01_a_las_10.28.24_p.m..png?ex=66adb2c4&is=66ac6144&hm=a2bc9cf78fd0f40a38081292bfd7bbe1217c7264935525fae124fd6877d897c7& [04:33:41] you also might need to check [[Infoboxes]] to get at least an idea how they work [04:33:41] https://meta.miraheze.org/wiki/Infoboxes [04:33:42] [04:34:02] and any admin need to understand concept of templates [04:34:27] Alright [04:35:28] I was on the Sagan 4 Alpha wiki a lot earlier yesterday, and when doing anything that would send me to a different page sometimes I'd get a "something went wrong" error, probably close to 10 of them before I got off. [04:36:42] And does importing Template:Infobox and Module:Infobox also import the country infobox? Because when I save an edit to the page, the infobox is still red and says "Template:Infobox country" [04:37:10] No, is just the infobox, let me do a xml file for you :) [04:37:15] Alright, thanks [04:37:36] [1/2] Someone else seems to have been getting a similar error around the same time too [04:37:36] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1268789775545008220/image-51.png?ex=66adb40f&is=66ac628f&hm=36ee88a728497d37ab4f369b1c230973dd6a434970e28afac9b5e9bc3fd3faae& [04:40:30] tech folks seem to be aware of problems [04:41:51] how many data do you want in the infobox? if is like the wikipedia one I could not have time for it because in my country right now is like 10 pm [04:42:51] [1/2] I found the dev template and imported it, but it has no borders and its above all of the text as opposed to being off to the side. Any way to fix this? [04:42:51] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1268791093458374686/image.png?ex=66adb549&is=66ac63c9&hm=267bc2e722e42f43ecd58a1cf866d9e55787d51b0985ec3d28d763790a0076d4& [04:45:09] [1/11] the border thing I really idk but for the off side thing you need to put this in you MediaWiki:Common.css [04:45:10] [2/11] `.floatright { [04:45:10] [3/11] margin: 0 0 0.5em 0.5em; [04:45:10] [4/11] clear: right; [04:45:11] [5/11] float: right; [04:45:11] [6/11] } [04:45:11] [7/11] .floatleft { [04:45:12] [8/11] margin: 0 0.5em 0.5em 0; [04:45:12] [9/11] float: left; [04:45:12] [10/11] clear: left; [04:45:12] [11/11] }` [04:45:30] Alright, thanks [04:46:50] can you give me the url of the wiki page to make it easier to me to copy the values? [04:51:57] https://tyrillianencyclopedia.miraheze.org/wiki/Kingdom_of_Tyrillym [05:01:06] How do i edit my portable Infobox without the builder i mean thru the file i want to edit it [05:01:33] nvm [05:01:48] click on edit of Template: page, you'll see the code [05:02:16] What the hell [05:02:20] i cant edit it [05:02:23] but i am owner [05:03:40] nvm [05:22:41] [1/36] @stemow this is that what I made [05:22:42] [2/36] `{{Infobox [05:22:42] [3/36] |title={{{conventional_long_name}}} [05:22:42] https://meta.miraheze.org/wiki/Template:%7bconventional_long_name [05:22:42] [4/36] |subheader={{{native_name}}} [05:22:42] https://meta.miraheze.org/wiki/Template:%7bnative_name [05:22:43] [5/36] |subheader2={{{image_map}}} [05:22:43] https://meta.miraheze.org/wiki/Template:%7bimage_map [05:22:43] [6/36] |image= {{{flag}}} [05:22:43] https://meta.miraheze.org/wiki/Template:%7bflag [05:22:43] [7/36] |label1= Common name [05:22:43] [8/36] |data1= {{{common_name}}} [05:22:43] https://meta.miraheze.org/wiki/Template:%7bcommon_name [05:22:44] [9/36] |label2= Symbol type [05:22:44] [10/36] |data2= {{{symbol_type}}} [05:22:44] https://meta.miraheze.org/wiki/Template:%7bsymbol_type [05:22:44] [11/36] |label3= Motto [05:22:45] [12/36] |data3= {{{national_motto}}} [05:22:45] https://meta.miraheze.org/wiki/Template:%7bnational_motto [05:22:45] [13/36] |label4= English Motto [05:22:46] [14/36] |data4= {{{english_motto}}} [05:22:46] https://meta.miraheze.org/wiki/Template:%7benglish_motto [05:22:46] [15/36] |label5= Anthem [05:22:47] [16/36] |data5= {{{national_anthem}}} [05:22:47] https://meta.miraheze.org/wiki/Template:%7bnational_anthem [05:22:47] [17/36] |label6= Capital [05:22:48] [18/36] |data6= {{{capital}}} [05:22:48] https://meta.miraheze.org/wiki/Template:%7bcapital [05:22:48] [19/36] |label7= Largest City [05:22:49] [20/36] |data7= {{{largest_city}}} [05:22:49] https://meta.miraheze.org/wiki/Template:%7blargest_city [05:22:49] [21/36] |label8= Largest settlement type [05:22:50] [22/36] |data8= {{{largest_settlement_type}}} [05:22:50] https://meta.miraheze.org/wiki/Template:%7blargest_settlement_type [05:22:50] [23/36] |label9= Largest settlement [05:22:51] [24/36] |data9= {{{largest_settlement}}} [05:22:51] https://meta.miraheze.org/wiki/Template:%7blargest_settlement [05:22:51] [25/36] |label10= Official languages [05:22:52] [26/36] |data10= {{{official_languages}}} [05:22:52] https://meta.miraheze.org/wiki/Template:%7bofficial_languages [05:22:52] [27/36] |label11= National languages [05:22:53] [28/36] |data11= {{{national_languages}}} [05:22:53] https://meta.miraheze.org/wiki/Template:%7bnational_languages [05:22:53] [29/36] |label12= Demonym [05:22:54] [30/36] |data12= {{{demonym}}} [05:22:54] https://meta.miraheze.org/wiki/Template:%7bdemonym [05:22:54] [31/36] |label13= Religion [05:22:55] [32/36] |data13= {{{religion}}} [05:22:55] https://meta.miraheze.org/wiki/Template:%7breligion [05:22:55] [33/36] |label14= Religion year [05:22:56] [34/36] |data14= {{{religion_year}}} [05:22:56] https://meta.miraheze.org/wiki/Template:%7breligion_year [05:22:56] [35/36] }}` [05:22:57] [36/36] Already is 11 pm so, add the rest  typing it pretty ashamed  [05:40:42] Thank you sm! [06:39:51] is it just me, or is miraheze a bit slow, even if the wiki i'm on is on a custom domain? [06:40:12] currently doing a mass replace using JWB, and sometimes requests can take as long as 1.5 seconds [06:49:16] yeah been slow for me around 12 hours ago and other people here later [06:50:01] also a high amount of 502s [06:50:24] yup [07:14:19] Just experienced a Bad Gateway error [07:35:58] [1/2] yeah, been happening for a while [07:35:58] [2/2] also hey man [07:49:22] Hey bro my visa iterview is schedule in September [07:49:26] So I just need to wait [07:50:05] [1/2] yoo [07:50:05] [2/2] fingers crossed [07:50:23] Or to expedite the wait I plan to submit a complaint to the diplomatic department if I receive no email, the visa process for that country is well known to be long [07:50:30] Yess [07:51:08] I heard news saying Russian users have issues accessing YouTube starting in August [07:51:18] You have any problems accessing it? [08:07:18] it's been slow for me for a long time but as of recent it's been really slow [08:07:35] takes a real long time to load a single page [08:08:53] a single edit i made took 13 seconds to process >_> [08:27:35] mine's really slow too - did something happen? There's been so many errors and it's all so slow [08:29:30] also, I made a big mistake. Changed a template and that accidentally got rid of some text on every page that used that template. I undid the edit, but the pages didn't change [08:29:38] anyone know how to fix it? [08:30:02] cache moment, purge the pages or wait until it fixes itself [08:30:25] also just curious whats the page u tried to masseditregex that gave the error? [08:30:32] I did though [08:30:55] From earlier? I was putting in all the categories to remove the ehadings, like you told me to last week [08:31:22] hmmm [08:32:20] yeah all i know is masseditregex only knows how to give one error, if it thinks the regex is invalid suddenly for mysterious reasons it gives the same error as if it cant find any pages [08:33:38] looks like a lot of stuff is having errors. I thought giving it a few hours would help, but it looks like no ): [08:35:31] purges are failing now ): [08:38:01] and the text still isn't back [08:38:15] wha? purges are specifically failing? [08:38:24] i think it's just mh wikis as a whole [08:39:59] I keep getting a "purge failed" error, yeah [08:40:07] oh [08:40:10] i bet that's just 502 [08:40:23] what happens when you append ?action=purge to the url and click ok [08:40:29] I keep gettin g a502 error too [08:40:33] U'll try that [08:41:29] https://grafana.wikitide.net/d/GtxbP1Xnk/mediawiki?orgId=1&viewPanel=24; poor servers [08:42:45] It worked, thank you! [08:43:12] oh okay ^_^ [08:43:18] lawd whats happening [08:43:40] servers in pain :( [08:43:56] the job queue also looks like it's having fun [08:53:57] how do I remove all lvl2 headings from pages when the headings are part of a template? Is there a way to remove those on mass? [08:54:28] ? do u have a specific example [08:54:43] ye - https://decapedia.miraheze.org/wiki/Koschei [08:56:52] Also, can I change the nam eof a template parameter without removing the content in the parameter on pages that use that template? [08:59:13] kind of? u can do `{{{ old parameter | {{{new parameter}}} }}}` so it can do either old parameter= or new parameter= [08:59:13] https://meta.miraheze.org/wiki/Template:%7b_old_parameter_ [08:59:45] Do I put that onto the template page? [08:59:57] yea [09:00:02] thanks! I'll do that! [09:08:06] [1/3] `/(\{\{Character\|.=)==[^=]+==[\n ]((.|\n)*)/` replace with `$1\n$2` [09:08:06] [2/3] this should get the first level 2 header thats in the character template? [09:08:06] [3/3] like itll get `{{Character|anything here===Header==` [09:08:19] honestly ur character pages could use a infobox lmao [09:08:35] thank you so much!! [09:09:37] yeah, probably, but I'm not sure how to make those work and idk if I can put those in en masse even if I did [09:11:56] i could try to make u one, and make it need as little change on the actual articles as possible [09:15:48] It's okay - I'd like to try and figure it out myself honestly, because otherwise I won't learn, but thank you so much for the offer! Is there a way to, say, insert an infobox on the template page using the pre-existing parameters, so that I don't have to go to every individual page and add all the info? [09:16:36] [1/6] sure, like for example [09:16:36] [2/6] ``` [09:16:36] [3/6] {{Infobox [09:16:37] [4/6] Full name = {{{Full name}}} [09:16:37] https://meta.miraheze.org/wiki/Template:%7bFull_name [09:16:37] [5/6] ``` [09:16:37] [6/6] on ur character page template [09:17:16] Awesome! I'll work on that once I've got the headings stuff done! [09:40:41] didn't work ): [09:53:24] ooh, I figured out how to do it from template pages! [09:53:42] I don't have so many layout templates that it'll be a problem to change them all individually, so, yayyY!!! [09:54:54] apart from for characters, where I stupidly did not separate 'lead' and 'pagename', because I didn't mean to put the pagename in the same param as the lead 😭 [11:17:10] [1/2] Just started sponsoring for the Github org! [11:17:10] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1268890331341127764/image.png?ex=66ae11b5&is=66acc035&hm=9f7ee16a0d5c15cc516f490815542b8fd9c6c9ebd888d9cf9a6e355026989fcb& [11:17:55] yay \o/ [11:20:51] Others getting 502's and slow loading? [11:21:07] yep [11:25:43] From what I can gather there's been an update to the servers config yesterday, maybe it's getting some hiccups [11:27:10] Nah, the loading has been slow for days [11:42:58] yeah it's been real slow for me as well [11:43:46] mw171 not looking too good [11:44:26] at least it's not this levels of bad: https://files.catbox.moe/fskv4p.png [11:49:11] how I can add more languages [11:49:16] Yeah not even the graph is looking good either, I get networkerrors [11:49:17] on my wiki [11:54:03] [1/8] hii it's been a while! does anyone know if there's a module or something to get the PageImage of a given page? [11:54:04] [2/8] I'm trying to make dynamic galleries with DynamicPageList inside categories, to somewhat imitate how Fandom's category pages do [11:54:04] [3/8] I've found that the extension MyVariables has the {{pageimage}} variable, but used as is, it points to the current page's. I've been trying to add things like {{pageimage:Test}} or {{pageimage:[[Test]]}} but nothing works- either i'm doing it wrong, or MyVariables doens't have the option and I should look for / make a module to search for it [11:54:04] https://meta.miraheze.org/wiki/Template:pageimage https://meta.miraheze.org/wiki/Testhttps://meta.miraheze.org/wiki/Test [11:54:04] [4/8] ```{{#dpl: [11:54:05] [5/8] |category = Active characters [11:54:05] [6/8] |includesubpages = false [11:54:05] [7/8] |format = «gallery», {{pageimage:%PAGE%}},\n,«/gallery» [11:54:05] https://meta.miraheze.org/wiki/pageimage:Template:%25PAGE%25 [11:54:05] [8/8] }}``` [11:54:06] [1/2] [11:54:06] [2/2] [11:54:06] [11:54:25] oop i didnt mean to trigger those links [11:54:26] bad bot [11:59:04] lol [12:01:50] melissenpai: i've never used dpl, but i can try my hand; does using in {{#dpl}} work? (by that i mean does it show the image--i know that {{pageimage}} currently doesn't appear to resolve to other pages) [12:01:50] https://meta.miraheze.org/wiki/Template:%23dpl [12:03:01] does `{{pageimage:Test}}` by itself give the image for that page? [12:03:01] https://meta.miraheze.org/wiki/pageimage:Template:Test [12:03:49] you can react on bot messages w/ 🗑️ to delete them [12:04:00] huh neat [12:04:21] yeah but only user who triggered the bot can do this lol [12:05:15] anyway, Eclair, re Club Penguin Fanon, this is not the first time I see project namespace getting borked, but I can't remember details of that case [12:05:25] [1/2] yes it does! if i give it a regular image or just the {{pageimage}}, it renders just fine, but it's always the same picture and not per-article [12:05:25] https://meta.miraheze.org/wiki/Template:pageimage [12:05:25] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1268902472618082366/image.png?ex=66ae1d04&is=66accb84&hm=abe8f9ad36a5c6a7cd42e6993b1e97cc4eb7faf2947b10f4032d279bde82e463& [12:05:26] [12:06:08] alright, thank you, i'll dig into if {{pageimage}} supports other pages or not [12:06:08] https://meta.miraheze.org/wiki/Template:pageimage [12:06:28] [1/9] because technically its just doing [12:06:29] [2/9] ``` [12:06:29] [3/9] [12:06:29] [4/9] {{pageimage}} [12:06:29] https://meta.miraheze.org/wiki/Template:pageimage [12:06:29] [5/9] {{pageimage}} [12:06:29] https://meta.miraheze.org/wiki/Template:pageimage [12:06:30] [6/9] {{pageimage}} [12:06:30] https://meta.miraheze.org/wiki/Template:pageimage [12:06:30] [7/9] {{pageimage}} [12:06:30] https://meta.miraheze.org/wiki/Template:pageimage [12:06:30] [8/9] /gallery [12:06:31] [9/9] ``` [12:06:43] [1/2] nope, it thinks it's a template..... myVariables has some variables that do support pointing at other pages like [12:06:43] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1268902800700604456/image.png?ex=66ae1d52&is=66accbd2&hm=74402dadbb4e961629ade3dc50619f8ad5c3809eb26910e4011d84e248750b6d& [12:07:30] yeah! so the gallery itself works just fine, i just need to find the way to get the page image for each article.. [12:07:50] do the pages have some weird structure that getting a image out of a template like a infobox isnt possible [12:08:30] the pages already have a working pageimage, they do show up in their page information [12:08:54] looks like MyVariables currently doesn't support getting other pages' info, at least when skimming through the source code [12:09:01] if you want i could propose and/or add it as a feature [12:09:15] provided by page images or forced by wikiseo? [12:09:28] honestly it would super make sense as a feature [12:10:00] owww that'd be great! i was planning on making myself a module if it wasn't implemented yet [12:10:58] by pageimage itself! but as long as it's registered as the page image, i dont think it'd be any different [12:12:16] but yep, i just wanted to ask before reinventing the wheel.... but if it can be added to MyVariables itself so everyone has the feature, that's even better! [12:13:55] why does the public test wiki not have MyVariables enabled >_> [12:14:06] it's probably easier for me to try on miraheze's test cluster [12:14:27] lol yep it is [12:22:48] melissenpai: feature request created: https://phabricator.wikimedia.org/T371691 [12:23:17] (if i remember) i'll notify you when it's created and when the extension is updated on miraheze [12:46:11] wooo that was fast!! [12:46:15] thank you so much~ [12:46:21] don't worry, I'll keep an eye on it [12:46:31] you're welcome 💜 [13:02:15] :StrongestSupportMH: [13:05:55] hey everyone [13:06:03] hope you guys are having a good day [13:06:07] i was just wondering about [13:06:14] any restrictions you guys pose on your site [13:06:40] like controversial (not illegal) stuff [13:06:48] see [[Content Policy]] and other policies [13:06:48] https://meta.miraheze.org/wiki/Content_Policy [13:06:49] [13:06:53] thank you [14:07:04] things were loading way more quickly so I thought it was all fixe dbut then I got another damn 502 bad gateway error 😭 [14:25:27] q: How many headings need to be on a page before a toc is summoned? [14:26:58] > A table of contents, or TOC, is automatically generated when a page contains four or more headings. [14:28:19] Ah, thanks! [15:08:33] I use a template to collapse code sections on pages. Recently I noticed that the collapsed section are truncated after about 100 lines when they are expanded. Any idea idea why this is and how to fix it? Heres the templated code [15:08:59] [1/37] ``` [15:08:59] [2/37] [15:08:59] [3/37] {{Collapse-mobile [15:09:00] [4/37] | class = new-collapse [15:09:00] [5/37] | barBorder = none [15:09:00] [6/37] | boxBackground = none [15:09:00] [7/37] | boxBorder = {{#ifeq: {{{boxBorder}}} | none | none | 1px solid #a2a9b1}} [15:09:01] https://meta.miraheze.org/wiki/%23ifeq:Template:_%7b%7b%7bboxBorder [15:09:01] [8/37] | barBorderBottom = none [15:09:01] [9/37] | barFontSize = 1.125em [15:09:01] [10/37] | boxBorderTop = 1px solid #a2a9b1 [15:09:02] [11/37] | boxFontSize = 1em [15:09:02] [12/37] | toggletext =   [15:09:03] [13/37] | Headline = {{{headline|Headline!}}} [15:09:03] https://meta.miraheze.org/wiki/Template:%7bheadline [15:09:03] [14/37] | Content = [15:09:04] [15/37] {{{content|Content!}}} [15:09:04] https://meta.miraheze.org/wiki/Template:%7bcontent [15:09:04] [16/37] | collapsed = {{{collapsed|yes}}} [15:09:04] https://meta.miraheze.org/wiki/Template:%7bcollapsed [15:09:05] [17/37] }} [15:09:05] [18/37] { [15:09:06] [19/37] "params": { [15:09:06] [20/37] "boxBorder": {}, [15:09:07] [21/37] "headline": { [15:09:07] [22/37] "label": "Collapse headline", [15:09:08] [23/37] "description": "Used for showing a collapsed section's name, not included in ToC.", [15:09:08] [24/37] "type": "string", [15:09:09] [25/37] "required": true [15:09:09] [26/37] }, [15:09:10] [27/37] "content": { [15:09:10] [28/37] "label": "Collapse content", [15:09:11] [29/37] "description": "Wikitext hidden behind the curtain.", [15:09:11] [30/37] "type": "content" [15:09:12] [31/37] } [15:09:12] [32/37] }, [15:09:13] [33/37] "description": "Add an collapsible section, usually used for FAQs.", [15:09:13] [34/37] "format": "block" [15:09:14] [35/37] } [15:09:14] [36/37] /templatedata/noinclude [15:09:15] [37/37] ``` [15:11:22] this code doesn't tell much tbh, we don't know what is collapse-mobile template (and did you took from Wikipedia?) [15:13:30] Is it normal for custom domains to direct to the Miraheze website? I submitted a request but I don't have access for the status for it [15:17:26] [1/2] https://cdn.discordapp.com/attachments/407537962553966603/1268950795521626132/image.png?ex=66ae4a05&is=66acf885&hm=9d031a02e0bb47e05989d51e9615093710380bcb3f3a69d4bdb865ce780bb65d& [15:17:26] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1268950795945115688/image.png?ex=66ae4a05&is=66acf885&hm=641acf4dfe37b8d34f2095a5a434d9d8f6446819c31eca8312d1397157010f2f& [15:17:40] We have an trouble with the For template [15:17:49] the article doesn't hover [15:18:50] There's a way to fix? [15:18:58] any extension or...? [15:20:04] there's a way? [15:20:44] it's been a couple of years since i made the template, but yes, i think it is from wikipedia (https://en.wikipedia.org/wiki/Template:Collapse-mobile) [15:23:44] nvm [15:38:24] I'd take a look at the CSS referenced in that styles.css page -- does it define a max/min height or width? [15:42:38] https://cdn.discordapp.com/attachments/407537962553966603/1268957139871727617/message.txt?ex=66ae4fee&is=66acfe6e&hm=f86b374dc2d28ea1bc07e4523df332bd7f5e635fbaceb6e7cd2f4eba291c27b2& [15:43:00] that's what i thought, but i don't see anything [16:36:01] any way for an image to be unclickable? [16:51:05] `|link=|` [16:51:08] just like that [16:55:41] wow that was simple [16:57:31] [1/2] … getting Error 502 Bad Gateway. [16:57:31] [2/2] Did something happen or is it just on my end? [16:58:08] everyone experience it for a while now [16:58:25] something w/ servers and perhaps from cf's side [17:16:19] Yup [17:24:17] Can a meta admin update the events on the main page [17:24:21] The survey has closed [17:27:24] How do I edit my own miraheze site without being in the source editor? [17:27:49] You need to enable visual editor in ManageWiki extension [17:28:11] I forgor, it's not default? [17:28:11] How do I get to ManageWiki extentions? [17:28:17] Not for me [17:28:24] admin sidebar, extensions [17:28:29] [[Special:ManageWiki/extensions]] [17:28:29] https://meta.miraheze.org/wiki/Special:ManageWiki/extensions [17:28:29] make sure are logged in [17:28:30] [17:28:32] Your wiki [17:28:41] Got it [17:29:02] also if you are on mobile sidebar is nerfed on default mobile skin [17:29:13] also templates are always in source mode [17:30:33] Whenever I hit edit, it still puts me in the source editor and when I try to switch to the visual editor option, It just puts me back in "read" mode [17:31:07] What wiki [17:31:17] https://tyrillianencyclopedia.miraheze.org/wiki/Main_Page [17:32:46] [1/2] Works for me [17:32:47] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1268984855299883140/image0.jpg?ex=66ae69be&is=66ad183e&hm=bf16605cc88dedf046aab0b60dc9ff5a911b5dd29687cd20beb905b78b37ebca& [17:32:59] oh [17:33:10] i was trying to edit the main page, is there a reason it doesn't work? [17:40:46] Under Special:Preferences#mw-prefsection-editing, check if "Enable the visual editor" is checked [17:44:22] https://cdn.discordapp.com/attachments/407537962553966603/1268987774036611102/image.png?ex=66ae6c75&is=66ad1af5&hm=ef20df4e87964ba5fbc648bf2490bd58dd12e2d699f83fe1de5c721e882e2010& [17:44:30] new section added [17:44:41] the lists [17:44:49] but how I could do it? [17:45:47] any help? [18:36:10] As an update since you seem to have been caught between the on and off-wiki help, I've generated all datadumps on your behalf on the Special:DataDump page for your wiki [18:46:19] last pipe is not needed iirc [18:50:19] I was a bad user, I'm sorry [18:51:25] who even are you? [18:56:24] I'm Luca ciaramella [18:56:48] [1/2] i love file redundancies. youre so right i totally will need this file [18:56:48] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1269006003509133484/image.png?ex=66ae7d70&is=66ad2bf0&hm=9ac3b9b6c7360ad95aaa57b78975aca4b743c74b660091d0dd4563ee8202d08a& [18:57:56] Ok [18:58:06] https://cdn.discordapp.com/attachments/407537962553966603/1269006329532387551/image.png?ex=66ae7dbd&is=66ad2c3d&hm=b484a3f78d9b2ab958d57703bd341d6b94ba70faa4501f5bb9f28dc563ff81b3& [18:58:12] the fall of the servers came again back [18:58:34] disable Wikimedia Commons if you don't need their files [18:59:01] i cant do that bc what if i do some day /silly [19:00:02] Then reenable it [19:00:19] https://tenor.com/view/mask-dream-why-gif-23221130 [19:00:24] https://tenor.com/view/drake-yachty-censored-not-drake-tech-support-gif-8658410013845332703 [19:01:05] Keep getting frequent 502 Bad Gateway errors for about 48 hours now [19:01:13] anyone knows what's up? [19:01:23] [1/3] mkay [19:01:24] [2/3] https://cdn.discordapp.com/attachments/407537962553966603/1269007156481363978/image.png?ex=66ae7e83&is=66ad2d03&hm=a7819cfe9b518e383ef2ab4ac8ece1d2b9e1999f2524e702aba5e2f44f06d653& [19:01:24] [3/3] https://cdn.discordapp.com/attachments/407537962553966603/1269007156745867284/SPOILER_image.png?ex=66ae7e83&is=66ad2d03&hm=4dd7c1b1a37fa050dd58ec5618f1848f42894535e1ff362d989a8dbae5079897& [19:01:49] something about cloudflare [19:02:05] damn [19:02:06] something is getting done, it seems #tech [19:02:07] [1/2] Currently trying to duplicate these infobox things but I'm not sure how to make the second as long as the first [19:02:07] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1269007340426756178/image.png?ex=66ae7eae&is=66ad2d2e&hm=8ab62005009d3af00887cd220448fa0fff1dc79780cc24adcf984641e7e5d5e2& [19:02:32] doesn't look like infobox [19:02:37] er [19:02:38] what's the example? [19:02:38] whatever it is [19:02:57] it looks like the irl wikipedia? [19:03:22] If those are separate templates, look and compare the code? [19:03:34] they're the exact same [19:03:39] i dont know why they are different [19:04:04] miraheze is down because cloudflare threw up /silly [19:04:12] https://cdn.discordapp.com/attachments/407537962553966603/1269007863750066206/image.png?ex=66ae7f2b&is=66ad2dab&hm=c6862899cff88165aed7e52980af65d6a896756aecd77f5c1d7a5af95ecf53d2& [19:04:24] I mean, yeah [19:04:38] this sounds like my explanation of DDOS lol [19:06:23] is there any form of like... css snippet sharing location? if that makes sense, im used to seeing them in places like toyhouse so i was curiosu if theres any mh equivalent [19:07:22] we are kinda working on that on Dev Wiki [19:07:33] Canada made several snippets for Cosmos, for example [19:07:59] My wiki is looking a bit weird [19:08:25] well this is +1 vote to continue that venture, i think it would be super helpful (: [19:09:38] If you make some yourself feel free to add as well [19:15:45] Hi. Is Miraheze specially stressed today on servers? Or is just a typical day? [19:16:10] yep [19:16:41] yeah something's up [19:18:06] something has been up for a while now tbh [19:18:49] Our tech team is plugging away at the mix of root causes. [19:21:58] we had worse tbh lol [19:22:04] hopefully fixed soon [19:24:54] I've just whacked a few badly behaving scrapers with a mix of rate limits, a UA ban and an ASN challenge. [19:25:07] i suspect the ASN is TikTok AI [19:25:26] Boooooo [19:25:41] AI just out here breaking our internet [19:25:43] huh [19:26:07] should block another about thousand requests a minute [19:26:52] TL;DR: Site scrapers are slamming us with aggressive levels of requests-per-minute, which is part of the problem. [19:27:06] which is 20% of requests that hit our backends [19:28:12] (only about 15% of traffic actually hits mw*) [19:28:24] epyc [19:28:55] ugh [19:29:04] have there ever been any cases of malicious actors scraping a miraheze wiki and republishing it on fandom or some other ad-friendly website? [19:29:26] nope [19:29:47] That's a different kind of 'scraping' problem, but I have a different answer than RhinosF1 on this. [19:29:48] many scrapers are aggressive though [19:30:59] oic [19:31:19] I’m not sure what’s worse the AI part or the tiktok part [19:31:42] The way to think about scrapers is like if someone asked you for a list of your friends and then started immedately screaming back demands for lists of the friends' friends before you could even finish the first list. [19:31:49] Sort of. [19:34:05] :cathreelLurk: Can I get a list of your available spoons, and before you answer I'll want to hear about your teaspoons as well [19:34:07] also please set a user agent [19:34:18] so if your bot is being an idiot, i know who to shout at [19:34:24] https://furrnations.miraheze.org/wiki/Category:Articles_without_Wikidata_item [19:34:29] oh uh [20:00:52] Wikiteam3 just gives a random user agent [20:01:22] Are you being blocked? [20:04:10] If you know what the UA is, let me know [20:04:21] If you don't, pm me the ip and I'll look [20:04:46] no I'm not blocked [20:07:00] you'll be fine then [20:07:13] Spared [20:07:53] I'm just saying that with wt3 the ua can't be set [20:08:54] nor easily identified [20:10:56] @robkam if you know an ip being used for wikiteam3, i can check what the UA is [20:13:42] it'll be one of those in https://github.com/saveweb/wikiteam3/blob/v4-main/wikiteam3/utils/user_agent.py [20:15:12] i can only id my ip but i'm not scraping [20:15:24] right now, maybe later [20:19:19] I wish they didn't do that [20:19:28] But that won't get banned for being a generic UA [20:25:14] @yzqzss [20:25:53] [1/5] criessss some of my redirects got messed up and i have no idea why ;;;; [20:25:53] [2/5] I had the plain clan pages redirect to `species (clan)` , and the plain names were useful to make simple links and such- but now linking to the redirect pages automatically parses as the end point page! Even if I try to force a link text onto it [20:25:54] [3/5] if I check the "all pages" page i can see it also renders the full name... but the link and title are the same as always, is this just a parsing/display issue? [20:25:54] [4/5] https://cdn.discordapp.com/attachments/407537962553966603/1269028421091197081/image.png?ex=66ae9250&is=66ad40d0&hm=0b4da8fa78c8d178efbe790328d1af2476aec5afb58dbab20282e28a2b881030& [20:25:54] [5/5] https://cdn.discordapp.com/attachments/407537962553966603/1269028421338665010/image.png?ex=66ae9251&is=66ad40d1&hm=a548239b722c6ba26a458e69de35038a19ae04bbbdede73882c12b9609e3fdf2& [20:30:13] No, we don't do that. [20:30:50] `get_UserAgents()` is a hideen feature [20:31:24] @yzqzss are you a WikiTeam developer ? [20:31:45] Ah ye you are [20:31:46] https://github.com/saveweb/wikiteam3/blob/1cdbd9c952ce8cf9f157087dbf2031e344b43709/wikiteam3/dumpgenerator/cli/cli.py#L78 [20:32:18] Ye that's exactly what I'd expect [20:35:21] What I have issue with is UAs that come from default packages that various languages use or worse no User-Agent [20:43:12] What are they downloading? [20:44:01] Random scraping [20:44:18] But at stupidly high levels [20:44:41] We don't generally go into specifics of anti abuse measures or why they are in place [20:44:51] To avoid people bypassing them [20:46:04] If you're struggling to access us because of a challenge or block, please do let us know though and we'll try and help. [20:47:05] That's alright then, my mistake. [20:47:08] We will always tell you why you're blocked and if there's anything you need to do [20:48:07] So basically like a DDoS attack? [20:48:30] that reminds me, what user agent does pywikibot use by default? I never configured any UA-specific settings for BeeBot [20:48:55] Pywikibot/version I think [20:49:10] Dos [20:49:27] Scrapers aren't normally distributed that much [20:50:00] You really should be setting one although most of our internal infra is exempt [20:51:10] Yeah I was expecting it to be the case [20:51:10] bast*, prom151 are definitely exempt [20:51:49] yeah I'll do that [20:53:08] I really wish internal services didn't hit cf though [20:53:14] That would be better [21:28:07] Well, despite the fact we're still redlining on a few MW servers if grafana is accurate, things are certainly feeling a lot speedier [21:28:23] can confirm [21:28:39] as I was editing in the past hour [21:28:51] now I gotta sleep ... [21:30:16] [1/6] `
[21:30:17] [2/6]

Guides/b/p [21:30:17] [3/6]

GUIDE1 GUIDE2 GUIDE3 GUIDE4/p [21:30:17] [4/6] /div [21:30:17] [5/6] ` [21:30:18] [6/6] tried to make a "navigation box" type thing, how would i go about making space between the guide1 things?... i was hoping i could do it without the common css [21:37:16] You can always do it literally in a pinch, e.g. separate it with spaces and asterisks [21:38:01] We're not sure how accurate Grafana is at the moment — since it seems to have some missing data in places. [21:38:04] nvm actually, might need to make it a easy to edit template so i can reuse it [21:38:12] Either the data wasn't sent or it was sent and Grafana didn't record it for some reason. [21:40:45] [1/3] So I've been messing with this feature to try to change the logo, but it fits on the manage page but not on the main one, how do I fix this? [21:40:45] [2/3] https://cdn.discordapp.com/attachments/407537962553966603/1269047260411465781/image.png?ex=66aea3dc&is=66ad525c&hm=9dd6c12541ffcb2fb367c802ecbb29ed635ade640b315f3f89ae087aad809585& [21:40:45] [3/3] https://cdn.discordapp.com/attachments/407537962553966603/1269047260696547338/image.png?ex=66aea3dc&is=66ad525c&hm=0b58fdf59fc16ad5f39b9f2cafec481a94fbdf0bc6b3f7d742b41386d53cdb73& [21:41:07] Oh [21:41:12] Nevermind it just went through and fixed itself [21:48:40] [1/2] One more thing, how do I get this gradient on my page? [21:48:40] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1269049254387908720/image.png?ex=66aea5b8&is=66ad5438&hm=1c3b3cffa54e2139de91ad96e8dc70210e4c1fc2f9e82ef38d11b43f3fbe275e& [21:52:15] You have two options: [21:55:14] [1/2] A) Make the gradient in a large image, upload that to your wiki, and set it as a background image in the CSS of the skin (MediaWiki:Vector.css page) [21:55:14] [2/2] B) Use CSS linear-gradients in a clever way to achieve that look [21:55:27] got it, thanks! [21:56:32] [1/2] wait, so for the first option how would i go about uploading a file to this, just upload it on the page or is there something more? [21:56:33] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1269051235982508112/image.png?ex=66aea790&is=66ad5610&hm=36fac0d57f262b8a4dd339f2e272db1ab31c75a33436c83eb957a107445fa136& [21:57:13] first you upload the file, then get its raw file URL, then use that URL in the code [21:57:21] 👍 [21:57:34] and how do i get the raw file url... [21:57:57] open in full size or something, the URL starts w/ "static." [21:58:31] 👍 [21:59:19] [1/2] Or in the page for the image file, right click on the highlighted link here and select Copy URL/link [21:59:20] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1269051936552915035/image.png?ex=66aea837&is=66ad56b7&hm=19c95480345579738cdd34efe9abd2f8a5be82e0b54e50856a151f38c402766a& [22:03:32] [1/2] What does this mean? [22:03:32] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1269052996377903114/image.png?ex=66aea934&is=66ad57b4&hm=b141692e04347f3ac4b1e4a7accf6ea1ebdfa64c5ecc94e7b7d899e6fe431070& [22:04:50] You need to put CSS code to tell the page to use that image as background [22:05:04] [1/10] You could try something like this: [22:05:04] [2/10] ```css [22:05:04] [3/10] html { [22:05:04] [4/10] background-image: url(""); [22:05:05] [5/10] background-repeat: no-repeat; [22:05:05] [6/10] } [22:05:05] [7/10] body, #mw-page-base { [22:05:06] [8/10] background: none; [22:05:06] [9/10] } [22:05:06] [10/10] ``` [22:05:12] 👍 [22:05:49] [1/2] so this? [22:05:49] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1269053571056406619/image.png?ex=66aea9bd&is=66ad583d&hm=7635b7db70c9aa20e58088d0481292da2d291c4f40c7568cd923bb7d4c1bbe2d& [22:06:31] Yeah, you can click on the preview button to see if it works [22:17:10] welcome to the bright world of css coding, please remember that things change w/ screen size lol [22:28:38] To be fair a fair amount of the skins available in Miraheze are pretty dated and don't have any of the modern CSS features that make styling waaaay easier [22:29:50] Heck Vector predates flexbox [22:52:20] [1/7] [22:52:20] [2/7] File:{{{image1}}}|[{{{link1}}} {{{desc1}}}] [22:52:20] https://meta.miraheze.org/wiki/Template:%7bimage1 [22:52:21] [3/7] File:{{{image2}}}|[{{{link2}}} {{{desc2}}}] [22:52:21] https://meta.miraheze.org/wiki/Template:%7bimage2 [22:52:21] [4/7] File:{{{image3}}}|[{{{link3}}} {{{desc3}}}] [22:52:21] https://meta.miraheze.org/wiki/Template:%7bimage3 [22:52:21] [5/7] /gallery [22:52:21] [6/7] shouldent this work as a template? [22:52:22] [7/7] nothing shows up, even tho i fill in the sections [23:03:17] You can [23:03:38] one sec [23:05:22] [1/8] You'll want to do [23:05:22] [2/8] ``` [23:05:22] [3/8] {{#tag:gallery| [23:05:23] [4/8] {{{image1}}}{{!}}[{{{link1}}} {{{desc1}}}] [23:05:23] https://meta.miraheze.org/wiki/Template:%7bimage1 [23:05:23] [5/8] {{{image2}}}{{!}}[{{{link2}}} {{{desc2}}}] [23:05:23] https://meta.miraheze.org/wiki/Template:%7bimage2 [23:05:23] [6/8] {{{image3}}}{{!}}[{{{link3}}} {{{desc3}}}] [23:05:23] https://meta.miraheze.org/wiki/Template:%7bimage3 [23:05:24] [7/8] }} [23:05:24] [8/8] ``` [23:07:09] I'm also not sure if that's valid gallery syntax; I think each image should be formatted more like `[Filename.png]|[caption]|link=[link]` [23:11:01] oh thanks!