[00:04:24] oh i see [01:10:46] what if I said I'm unironically (trying) to make a wiki webapp <:SnorlaxFlushed:1000315120926335047> [01:11:23] probably gonna flop but it's a good study on data and error-prone services [01:12:55] New js framework to add to the pool [01:16:33] oh lol, ha [01:16:37] i'm actually doing it on Golang [02:46:25] [1/2] So I'm trying to set up SMW as a replacement for Cargo now and I'm trying to install the RegexFunctions extension to make it work without changing the format of every page. It looks like it's installed on managewiki/extensions, but it doesn't show up on Special:Version and the functions of the extension don't actually work. Is there something else that needs to be done on th [02:46:25] [2/2] e backend to enable the extension, or do I just need to wait for something to process? [02:51:52] Wiki [02:53:09] met my wife on Miraheze discord [03:04:35] hm what [03:05:24] +1 on that. I mean, kudos if you did [03:31:05] hi [03:32:01] i want to do a free mediawiki farm like to use extension:createwiki this extension how can i do? [03:32:18] Hard no. [03:32:27] what no?? [03:32:59] i can not use this extension [03:33:01] ? [03:36:30] or i can use extension:farm? [03:41:04] you can use it [03:41:13] we just aren't able to assist in helping set it up here [03:41:19] as this is a Miraheze support forum [05:36:27] I mean, if you can set it up, congrats, it's just pretty difficult from what I hear [05:37:55] Sorry, to clarify, it's what bukkit said: it's wicked hard to establish [05:38:22] RegexFunctions is disabled for security and performance issues as well. It was disabled months ago. [05:38:26] Not specifcally for the actual setup, but management of depenencies [06:16:35] it's not difficult at all, and there's tons of ways to run a farm [06:16:51] it's only difficult if you make it complex on purpose [06:17:12] I think he's talking about setting up CreateWiki [06:17:17] It's borderline impossible sometimes [06:17:49] what's a createwiki [06:18:00] The extension Miraheze uses to create wikis [06:18:11] oh [06:18:51] why'd you want to make a farm on Miraheze lol [06:19:22] Some users want to create their own farms and they try to use our extension, CreateWiki, to do so [06:19:42] It's quite hard to get it to properly work. It's not impossible but it definitely requires some time to get it working if you've never worked with it before [06:20:09] farm on a farm [06:20:10] Once you've installed it before and know what to do, everything works smoothly [06:21:41] only reason I use Miraheze is I think I have PTSD from running my own webserver that people kept threatening to sue me or blackmail me to take down [06:22:32] it's rough out there :/ [06:32:07] hey guys, so im trying to make a wiki for a fictional country, with all the appropriate subpages etc. Does anyone know if theres a template, or wiki i could copy the source from so i can have a proper main page? [06:32:30] i tried importing the country infobox but im getting so many errord [06:38:07] https://lolpasta.miraheze.org how come this Wiki was closed [06:43:04] I started making an easier infobox for country and an official over dev wiki but I had to put it on pause for now [06:44:17] you can try to make your on w/ PortableInfobox extension, either w/ its visual builder (very basic) or coding by yourself (guides in pinned here) @Silvagni [06:44:43] oh alr [06:44:55] but, theres no way to just add the template? [06:45:19] by default wikis on Miraheze have nothing, things had to be imported or created [06:45:27] yeah alr [06:45:45] Wikipedia templates are infamous for being very complicated and bringing loads of error [06:45:45] but in theory i could import all the templates used in country pages if i do it right? [06:45:50] bruh [06:47:19] you might try to check other Miraheze wikis who managed to do that clean but idk [06:48:08] If you are going the wp route you should definitely be familiar with Lua [06:48:42] the thing that makes stuff complicated lol [06:48:49] Even if you find a wiki that has successfully imported a template from wp, if you find another one to import there might not be another wiki to be as an example [06:48:58] lol i just wanna make a wikipedia for my fictional country <:wojackcry:1087458880189120522> [06:49:07] it's possible man [06:49:20] you'll just have to put some effort one way or another [06:49:25] true [06:49:47] i assume miraheze is the only possible method? like i cant make an unlisted wikipedia article or anything right? [06:49:59] I recommend learning PI over chasing Lua errors from WP [06:50:12] wdym? [06:50:12] true [06:50:46] there’s no easy automatic way [06:51:21] If you are familiar with lua it’s not bad, so long as you are willing to remove things you don’t need [06:51:31] [1/2] PIs visual builder at max [06:51:31] [2/2] once I'll finish my planned templates on dev wiki tho, people can import them w/o fear of errors and shit [06:52:03] If you are familiar with html then PI shouldn’t have a steep learning curve [06:52:11] Oh I didn’t even know there’s a visual thing lol [06:52:18] bonus point if CA will implement, or Agent will add as CSS, Wikipedia stylimg [06:53:20] PortableInfobox is a method ported from FANDOM, it's like HTML tags yeah [06:53:34] much easier than table coding [06:53:46] or Lua [06:54:16] Table coding isn’t bad since you’re using wikitext [06:54:28] But the more parser functions you add the more hell it becomes [06:54:29] well yeaaah but - parser functions [06:54:38] lol [06:55:09] It all is dependent on what you want or need [06:55:17] bruh i mod for some games but idk how to code properly [06:55:18] lmao [06:55:42] idea: publish a book, add my country to here https://en.wikipedia.org/wiki/Listoffictional_countries [06:56:48] Wait I’m confused [06:57:02] What does this have to do with making your own Wikipedia [06:57:19] lmao [06:57:32] then i have a reason to make a wikipedia page for it [06:57:40] fuck man [06:57:44] this shouldnt be so hard lmao [06:58:58] dude [06:59:05] that's not how Wikipedia works [06:59:25] their standards are very tight [06:59:33] i was mostly joking tbh [06:59:44] there is not even article for Miraheze for that reason lol [07:00:13] I thought you meant a different wiki hosting [07:00:28] bruh huh [07:00:42] as far as I know FANDOM now doesn't allows anything "original"? [07:01:21] wdym, there’s fanfic sites in fandom [07:01:21] but there are plenty of fictional/worldbuilding wikis on Miraheze [07:01:35] really? I thought they banished all fanon wikis [07:01:36] true [07:01:52] fanon is different isnt it? [07:02:00] like im talking about someone made from scratch [07:02:17] yeah, they are already based on something [07:02:30] Well I have no clue on their policy but I know of one that still exists [07:02:30] I meant original as your own thing [07:02:33] yeah [07:08:30] can it end up being identical? [07:08:46] Does FANDOM allow original content [07:10:25] Visually? Depends [07:15:38] is there a way to make the document a pdf or something or html, so its offline but will be displayed on chrome [07:15:50] with a wiki of course [07:16:17] so then, i can simply preview a wikipedia page ive made, save as html or whatever and send to people who need it? [07:34:49] Both chrome and edge can export pages as pdf by standard [10:58:22] does it? 🧐 [12:45:25] [1/2] wait [12:45:25] [2/2] What's this Cargo extension thing? [12:46:48] Very serious security vulnerabilites were discovered in Cargo, which led to it being disabled her [12:46:54] *here [12:48:33] But what did Cargo get used for? 😕 [12:49:02] https://www.mediawiki.org/wiki/Extension:Cargo [14:19:43] This looks like a rather interesting way to pull wikibase data 🤔 https://www.mediawiki.org/wiki/Extension:Semantic_Wikibase [15:29:16] Is Lua available by default on a Miraheze wiki? [16:20:20] default [16:46:54] guys [16:47:00] how's my wiki page going [16:47:08] [[mh:backrooms:Level Fun]] [16:47:08] https://mh.wikipedia.org/wiki/backrooms:Level_Fun [16:47:08] [17:39:41] [1/3] about custom namespaces : my wiki is focused on fictional characters, however I'd like to also make some pages about real-life actors and authors. on other wikis it always trips me up when they just put actor pages in the main namespace next to fictional content—would custom namespaces be an appropriate way to separate such content (like with an Author: and Actor: namespace), or are [17:39:41] [2/3] there better ways to go about that? [17:39:42] [3/3] (asking because I'm the only person working on this wiki so there's nobody to stop me from making bad decisions lmao) [17:44:02] Personally instead of namespaces I'd make it more akin to disambiguated page names, e.g. "John Doe (Actor)" [17:48:11] oh that's an idea! that does seem much easier ^_^ [17:50:40] (I do love making things difficult for myself, hehe) [18:32:04] Does anyone know how Wikidata makes maps appear for geographical coordinates on item pages? [18:32:33] I am trying to make one appear here: https://snapdata.miraheze.org/wiki/Q26 [18:33:52] This is what I want: https://www.wikidata.org/wiki/Q4888786 [19:21:23] hi miraheze! do you guys have any updates about the state of fixing cargo vulnerabilities (whether it be by the extension authors or otherwise)? if not, or there aren't any news, no big deal, was just curious [19:29:14] There aren't any updates yet [20:28:49] https://lionking.miraheze.org/wiki/Main_Page [20:29:06] the only mod on this wiki deleted their account [20:29:09] should it be deleted? [20:33:25] Don't see any reason to [20:33:43] We can just let the Dormancy Policy handle it [20:33:43] unless someone will try to adopt it, it's gonna be deleted per dormancy policy [20:34:00] i don't see any reason why someone would create a wiki and then delete their account [20:34:51] things happen [20:35:18] https://tenor.com/view/facepalm-panda-gif-24776030 [20:59:57] many more create a wiki and then do little or nothing with it [21:09:45] I very specifically told them it was a bad idea and what would happen, but shrug [21:12:00] late but, what the fuck? [21:17:44] 'nyway I moved my request for smw on sagan4alpha and sagan4beta to the stewards' noticeboard bc apparently I'm not supposed to do that on phab [21:41:43] interesting, I'm searching my name as I do and noticed two article creations of mine were flagged as possible copyvio. I wonder what triggered that [21:43:02] also really wishing I could exclude #global-wiki-feed when searching lol... [21:50:10] I think it's just a word match, which isn't very accurate [21:50:33] I searched deeper and I think it flagged like half of all new articles made on sagan 4 wikis [21:52:14] It is based on the character count on initial page creation. Nothing to worry about. [21:52:20] ah [21:52:52] yeah our articles tend to be Quite Large on creation bc of the submission process lol [21:53:49] I'll probably work on improving it a bit later. [21:54:09] record is over 30k [21:55:01] It is basically just based on the same way the WMF's CVNBot works, as originally a highly modified version of that to just support other wiki farms. So I didn't change much of the algorithms on them, but they could so with same changes, and I'll try and work on that later hopefully. [21:55:44] can't wait to see what completely random stuff gets flagged after improvements lol [21:56:01] I find algorithms going wrong to be funny [21:56:55] You're just more thorough than most on first article creation heheh [21:57:58] our wiki records species entries written by a single person which are typically posted on the forum before making it to the wiki [21:58:06] so usually, all the writing is done [21:58:58] taxonomy and group overviews better resemble typical wiki page creation [21:59:52] I'd show examples but half the wiki is mega crunchy rn because the switch to smw still has not happened yet [22:00:08] and so much depends on cargo [22:04:48] Are you using cargo a lot? Or just for a few things? [22:05:23] If it was for smaller things (not a ton of pages and/or result outputs) we tend to use DPL3. [22:06:02] dpl3 is not sufficient for grabbing data from pages [22:06:52] we kinda use a mix of dpl3 and cargo to get smw-like results [22:07:10] Yeah, like anything, it depends on your setup and how involved you need. [22:07:28] the wiki is readable without cargo but nearly every page has something broken on it [22:08:01] We have had some pretty significant data tables with it (DPL3), with lots of formatting and variables, but for heavier stuff it lags behind Cargo. [22:08:37] Definitely pros and cons to each. [22:09:12] We find DPL3 so flexible for a quick result set, it's super nice that way. We have LOTS of maintenance templates made with it. [22:09:42] And, we made a bit of an on-wiki task manager with it, of all things heheheh. [22:09:49] we use the dpl3/cargo frankenstein for everything from extinction date estimations (which we will be phasing out once every extinction date has been accounted for) to recommending random species for newcomers to be inspired by [22:10:04] the randomness however is far more smw-suited [22:10:14] Or task tracker rather. [22:10:33] We have a `{{review|7.8|status=InProgress|notes=Review note here}}` [22:10:33] https://meta.miraheze.org/wiki/Template:review [22:10:46] Then those are fed to DPL3 and give us a live list of where pages are at. [22:10:58] And what their comments are, without displaying them on-page. [22:11:55] That way, when a game update drops, we can quickly flag stuff we know is going to need changes, and the team can claim what they want with `user=Username`. And we know who is going to work on what, and what state it's in. [22:12:31] And it only shows on "workboard" 😆 [22:13:02] as far as I can figure out there's no way to pull data from pages using dpl3 on its own [22:13:13] What do you mean? [22:13:49] like a specific image from the page, the scientific name and meaning, the creature's size, stuff we store in the infobox [22:14:27] [1/5] Plus, our game update pages are auto-populated with regexp based on [22:14:27] [2/5] ```* {{update|7.8|Introduced x [22:14:27] [3/5]  Removed y [22:14:28] [4/5] }}``` [22:14:28] [5/5] And a regexp gets notes from all pages where update=7.8 [22:15:08] We populate whole data tables with infobox parameter values using DPL3. [22:15:25] I think DPL3's use is just poorly understood due to the state of the old manual, frankly. [22:15:50] And a lack of easy to understand examples that aren't from the manual itself (which makes them ultra confusing to users). [22:16:10] That's why I volunteered to get a new one going a bit for CA. [22:16:12] basically the way our dpl3/cargo frankenstein templates look is, dpl3 does the page selection, choosing a random one in most cases common use is to show an example species in a broad taxonomy page), then cargo gets information about it [22:16:45] Huh, cargo should be able to do what you want as well, it just does it differently as there's no category selection. [22:17:42] the number of possible categories is enough that it would be unwieldy to try to store them in the cargo table and I find cargo to be excessively confusing to work with anyway it never does what I want it to [22:17:47] People seem to think that DPL3 requires categories, it doesn't, it's just easier to use it that way. [22:17:56] + cargo doesn't allow random selection by default [22:18:12] Is there anything common to the pages in the result set? [22:18:27] oh when calculating extinction dates dpl3 does the "linksfrom" and "linksto" stuff a lot [22:19:10] Yeah, no linksfrom/linksto equivalent in Cargo aside from searching full text. Have asked for an equivalent be added, the ability to search links. [22:19:34] That way, no need to search for specific [[ characters which is silly. [22:20:27] Also, Cargo needs to provide a debug mode similar to DPL3 that can output wikitext. There's times where you want the results of the query, but it doesn't ever need to change again, so doesn't need a Cargo db table. [22:20:53] I don't think it works in expand templates funciton either [22:21:08] (sagan 4 didn't used to have extinction dates recorded, so there were just over 3000 species with no known extinction date, and we wanted to fix that so that Sagan 4 history would be easier to understand and record. so to divide up the work we use dpl3 to detect when a species vanished from the ecosystem pages so we could narrow down causes more easily) [22:21:34] What do you mean by "random selection by default"? [22:21:41] RAND [22:21:56] you can't sort randomly [22:22:04] unless you enable a setting [22:22:06] Ah, okay, for some reason I still had DPL3 in my brain lol [22:23:02] Yeah, we had to request extra cargo fields be enabled to get some comparable DPL3 functionality in Cargo. [22:23:34] meanwhile smw can do everything cargo does that we actually use and a bunch of things dpl3 can do too [22:23:49] One thing we also do, is to make whatever we make in DPL3, in Cargo, in case one or the other gets disabled, but I could see the odd situation where it isn't possible. [22:24:12] Or where the result set would be too slow/limited otherwise. [22:24:44] Yeah, though SMW is in experimental status on MH with no guarantee it will stay. [22:25:57] On our independent, we have Cargo running on a separate DB, so it doesn't have the same level of security issues. [22:26:08] It's bricked off from user data. [22:26:55] We've considered SMW on the independent but to get the same functions as Cargo it requires a load of extensions which is a bit of a pain when upgrade time comes. [22:27:38] The matching extensions are not always updated at the same time as SMW, we've noticed. [22:27:52] <𝕮𝖍𝖆𝖗𝖑𝖎e#1132> Hello Miraheze! [22:28:04] Vanilla SMW is pretty powerful though [22:28:08] honestly I'm cool with using smw on its own [22:28:22] <𝕮𝖍𝖆𝖗𝖑𝖎e#1132> Just thought I should check up on you guys. [22:28:33] We've had it enabled on our MH wiki for testing before we'll consider adding it to our prod site. [22:28:37] sole annoyance is that there's no gallery format for results [22:28:53] We want to know how many extensions our particular functionality would demand, as we're lazy lol. [22:29:21] Or rather, I'm lazy. I don't want to have to deal with 20 added extensions if I don't have to. So testing it first is good. [22:30:01] Good practice anyway in case an extension borks the site [22:30:01] As I'm the one who'd end up having to fetch and test the new versions, do the upgrade, etc. [22:30:11] apart from trying to display data in galleries, which hate existence, if you just need to grab data and show it somewhere smw is really good completely on its own [22:30:18] Yeah, we test everything on a dev site clone. [22:30:24] Or if lazy in MH heheheehh. [22:30:38] Always dev site before prod. [22:30:42] Regardless. / [22:31:14] Haven't had a single upgrade without at least 2 broken extensions. [22:31:39] /gallery <-- worst enemy [22:32:30] We do those in DPL3 sometimes when lazy 😆 [22:33:21] I got unlazy enough to get RAND enabled because dpl3 didn't like gallery tags and I didn't know how to fix it [22:33:42] <-- how to fix it [22:34:50] though galleries are ugly anyway and I'm too lazy to style them to be less ugly [22:34:56] The main complaint I had with the old manual, is it primarily used tag syntax (the severely limited syntax), instead of writing it in parser function syntax (by far the most powerful syntax). [22:35:15] And then wondered why people had trouble getting stuff to work. [22:35:43] (couldn't use magic words, parser tags, parser functions, escaping etc). [22:36:57] Then, it referred to the most powerful (parser function syntax) but didn't show examples of how to work in it, so folks would copy/paste from tag syntax, which of course doesn't work, because many of the characters must be escaped for it to work. Users had to basically rewrite all the examples, even though the escaped characters also work in tag syntax (backward compatible). [22:38:16] So, am slooooowly rewriting in parser function syntax (which hopefully works for CA), as it's the ideal syntax anyhow, and backwards compatible. [22:42:02] Was a good way to learn how to use almost all the functions, even though I'd used it already for years. Some stuff never made sense until rewritten to parser function syntax, and other stuff just plain never worked from long before CA took over the extension, and has been fixing a lot of it. [22:42:44] My next task is to evaluate SMWs core functions to see how many add-on extensions we'd need, but I'm dragging my feet on it. [22:52:05] I hear you, we overrode the styles on ours to prevent users from adding the ugly gallery syntaxes heheh. [22:52:26] They can add them, but they won't look any different 😉 [23:08:51] Kinda curious about how properties are name in SMW [23:09:19] Is there any tangible benefit to go by their recommendation with using verbs [23:32:10] I didn't even know that was a recommendation [23:32:16] ok [23:32:23] is this the best thing i've ever written [23:32:29] [[mh:backrooms:Level Fun]] [23:32:29] https://mh.wikipedia.org/wiki/backrooms:Level_Fun [23:32:30] [23:35:32] what am I looking at [23:38:04] https://www.semantic-mediawiki.org/wiki/Help:Property_naming [23:38:10] Yeah from here [23:39:24] At some point I realized that it doesn’t make sense to make everything start with a verb [23:46:48] Unless you're storing a shit fuck of granular data, nouns aren't likely to be ambiguous [23:49:47] Especially if you choose ones that are not ambiguous terms.. [23:50:50] I also don't like the space in property names given as examples. It makes it look like there's operators involved when there isn't. This isn't something that needs to look fancy like a category, CamelCase is good enough for me? [23:51:05] careful, language [23:52:51] (Feat. random vandalism) [23:55:26] we do a little swearing [23:55:28] Probably best to only include general and the like in that search for a more representative usage [23:55:51] I can only search one channel at a time [23:56:37] but only including this channel yes perhaps it is less [23:57:09] Anyhow I don’t find swearing all that bad so long as it isn’t targeted toward another person [23:57:44] works for me [23:57:48] huh. [23:57:59] so you can search more than one channel [23:58:09] didn't know until I tried it myself [23:58:09] This is generally how I view it as well, if not directed AT someone, nor meant to be derogatory, should be okay. [23:58:10] but you can't do -globalwikifeed