[00:04:41] [1/2] so template styles extenders lets me use color-mix() in a variable but won't let me use it directly for background [00:04:41] [2/2] sure man whatever [00:05:23] the day someone makes an actually good version of template styles is the day I die happily [00:42:08] oh yeah this does not work at all in where clauses, only as an alias apparently [00:42:17] so you still gotta do your own logic [01:06:04] i'm gonna need some help with setting up infoboxes โœŒ๏ธ [01:08:23] https://wikiberlandia.miraheze.org/wiki/Main_Page [01:08:37] Can someone help fix the issues on Template:Infobox country โœŒ๐Ÿฝ [01:32:15] [1/2] that is one hell of a template vomit [01:32:15] [2/2] redo this in a module, like seriously [01:32:47] the other people that will come after you will thank you because doing such a large template will result in it falling apart with the slightest error [01:32:52] i've been creating module after module to make this work โœŒ๏ธ [01:33:08] check my contribs if you don't believe me [01:34:20] I see plenty of things handled with if statements that could be easily done in a module/sub modules [01:35:38] you may be also interested in things like ACandy (scribunto branch) [01:35:46] or any other libs that allow HTML building [01:39:15] @shanethemicronationalist the general advice is to not import from wikipedia [[Wikipedia]] [01:39:16] [01:48:43] Would recommend you delete the page and modules you have created and import from MH dev wiki instead, it will be far less bloat [02:03:10] i imported it [03:28:10] I locked myself out of my own wiki, how do i undo it? [03:30:28] [1/2] I wanted to prevent any user except me from editing my wiki, so I took off user permissions for type "user" but now I can't edit my own wiki, i can only delete pages, and make it private [03:30:28] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1531866473499459594/image.png?ex=6a6ac553&is=6a6973d3&hm=69e4b39eaba3c0edc2a5e567a988a64a7a17ecfed6afd9b29b264eb08b90db04& [03:31:34] Can you still edit permissions [03:31:47] Under unassigned permissions [03:33:23] [1/2] okay, I think I got it, maybe [03:33:23] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1531867206856605776/image.png?ex=6a6ac602&is=6a697482&hm=5d540098a8b129b7a3781db85f633fc3882408171a407d90fa82bfbbeacb0934& [03:35:20] okay, I think i fixed it [03:35:28] yeah I fixed it [04:28:53] [1/3] the fun part about checking revisions is getting spoilers [04:28:54] [2/3] but when told like a story, it's hella less spoiling ๐Ÿ™Œ๐Ÿฟ [04:28:54] [3/3] -#context: i've only read volume 1 of The Power Fantasy and plan to keep it that way until i've exhausted my analysis vast edits for it [05:21:10] if you add the edit right to sysop/bureaucrat that would probably work [05:21:38] fwiw a $wgCwPrivate equivalent for locking editing to be for a member group would make sense [05:21:54] Hm? [05:22:12] to avoid people having to fiddle with permissions to make it something on managewiki/core [05:22:15] like clicking private [05:29:53] Ah [05:30:27] That get's harder when there's so many extensions with rights that should be removed with that mentality [05:46:14] just use bucket imo :3 [05:47:08] I think it was blogpage that declined skye's request to make it so creating blogs actually required `edit` and `createpage` [05:52:54] booo [06:14:45] For bucket booleans, is there anyway so that boolean values automatically display as false instead of being "null" if no value is provided [06:16:39] obv ik i can just make all my params that are either 1 or null an if parser that outputs 0 or smth if no value is provided but thats kinda tedious considering ALL of my boolean-type params are like that [06:24:21] realistically for the most part would be just revoke edit/move/create page/upload etc [06:38:31] depends on which way you want to do it [06:38:49] do you want to do it when querying or when storing [06:39:07] storing [06:39:07] oh look, former minion [06:39:24] that way on the bucket page itself its not just a bunch of nulls and trues [06:39:53] then just do `value or false`? [06:40:11] if using bucketput then `|param = {{{param|false}}}` [06:42:16] ok ik this is going to sound really picky, but why not just have the null automatically set as false for boolean types? ig some people would want the option to have true, false, or just nothing if it doesnt apply? [06:44:29] [1/2] eh part of the point of bucket is it doesn't make assumptions like that [06:44:30] [2/2] it's 1 line of code to change if you want to fix that [06:47:32] ic, its fine. main reason i even brought it up is because it means I cant have boolean types in +templateargs as i have to specify a fallback๐Ÿ˜‚ but its better to have that room for even i ever for some reason need that null in the future [06:48:35] you can modify your wiki's bucketput to do that ig [06:49:57] I don't want to update the main one to do something that you can do with a small amount more boilerplate, but if you want to do that I'm not stopping you [06:52:23] Yeah I 100% understand, I knew that if possible it would be smth really simple anyway. but after putting more thought into it its really not smth I need to change, and again maybe in the future Ill need that null there for smth so theres no point in removing that option [08:43:06] May I ask how often CleanupEmptyCategories.php is run? [08:46:58] you might want to ask in the tech channel [08:53:38] [1/2] is it possible to make uploaded ico files previewable on-wiki? instead of a placeholder like this [08:53:38] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1531947800013705246/image.png?ex=6a6b1111&is=6a69bf91&hm=72fd03d8e0d53d3d05b5798213134af2eb41792da1c78c9f5469b5c90e3977d3& [08:55:53] [1/3] oh i found i can do this by replacing its dom. nvm [08:55:53] [2/3] https://cdn.discordapp.com/attachments/407537962553966603/1531948367398309968/image.png?ex=6a6b1199&is=6a69c019&hm=35c170e07251bec68bcfa02b97b0a57bfef7fde010db216afc3939bd4391b8fe& [08:55:54] [3/3] https://cdn.discordapp.com/attachments/407537962553966603/1531948367704490025/image.png?ex=6a6b1199&is=6a69c019&hm=7815a847534ea1dd29453384bc926928942ea46deab2a049c3e02d84838e2bdd& [09:09:20] [1/2] does anyone know if Buckets solved the problem of having quotation marks in pagename/name of the thing you're trying to query? [09:09:21] [2/2] ie `"Something"` or `Something'` has to be escaped otherwise it will explode the query [09:29:27] not that I plan on switching to it for now because it would require rewriting most of the modules and I got my schedule filled up already [09:29:39] just pure curiosity