[00:44:06] If the browser supports it, you can do something similar to https://www.mediawiki.org/wiki/Extension:RenderBlocking/Examples/WebP [00:44:34] And you can probably also do it with JS without any extension if you don't mind a flash of placeholder image. [02:55:49] [1/4] I am trying to use Pywikibot, after setting up user-config.py and user-password.cfg with [02:55:50] [2/4] family = 'miraheze' [02:55:50] [3/4] mylang = 'en' [02:55:50] [4/4] usernames['miraheze']['en'] = 'User' [02:56:24] Is pywikibot supported? [03:16:29] is there a downside to importing lots of templates? i find myself consistently needing more for some degree of 'dependency' reasons [03:21:38] [1/2] Pywikibot should be supported. We have a [guide](https://meta.miraheze.org/wiki/Help:How_to_set_up_pywikibot) from folks who have gotten it working before. The only thing I'd say to keep in mind is setting a user agent. We have a [policy](https://meta.miraheze.org/wiki/Tech:User_Agents) regarding user agents for automated scripts. All you need to do is set i [03:21:38] [2/2] t to something with contact details (such as a username or email) so the tech team can contact you if we wind up having to block your bot for whatever reason. [03:23:14] Maintenance would be a good one in my part, and it can be a pain sometimes. [03:24:04] Generally, that is the downside. Aside from working through the dependencies the other main problem is that many templates tend to have language and/or features specific to the wiki they are from, and need to be modified. [03:31:13] [1/4] > Import failed: Failed to create dummy revision on Template:Template link (page ID 64) [03:31:13] [2/4] got this error while importing [[w:Template:For]] [03:31:13] [3/4] should i be concerned? ๐Ÿ˜ [03:31:14] [4/4] https://cdn.discordapp.com/attachments/407537962553966603/1524256515849191514/image.png?ex=6a4f1600&is=6a4dc480&hm=8780c8d584aa5ce9d43b3dd8366eaf6784221fbbde5929c96f6c74a92cd9d70a& [03:31:14] [03:31:48] [1/2] ๐ŸŽต say no, say no! [03:31:48] [2/2] 'cause i gots to go! [03:47:56] Is the site down? [05:45:36] is there a documentation subpage template but for modules? [06:18:22] I think you can set `MediaWiki:Scribunto-doc-page-show` to whatever it needs to be. Dev sets it to `Template:Documentation` which is sufficient imo. [06:20:16] oh that's so sick!! thank yew ๐Ÿงก [06:21:38] There are several system messages for this: https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Module_documentation [07:31:44] Im trying to use `mw.title.newBatch` lua function to determine whether page exists but Im getting `too many expensive function calls`. why is that? my lookup is <300 items. [07:35:25] is there an equvalent of cargo table for all pages in bucket? [07:41:46] is there a way to put tables inside {{collapse}}? [08:00:03] https://dev.miraheze.org/wiki/Template:Wikitable. Or [[mw:Extension:PipeEscape]]. [08:00:03] [09:38:06] <.labster, replying to aliser> The page_name field is automatic for all tables in Bucket, you can query that. Additionally, there are some other ways of getting around the limit on exists. On my own module, I'm using Extension:SubpageFun to get a list of all subpages of a page. You can also query DPL4 once, or transclude things like AllPages. [09:40:41] <.labster> It's much faster to have it tell you which pages exist than the other way around. Of course the linker has to look up which pages exist, so some part of the software is doing big batches of page existence queries. [10:01:24] is this war of 1812 discord server? [10:01:26] @.labster [10:02:53] Guys, Iโ€™m new here and I just wanted to pass by to ask if anyone knows how to join PARRY!! Discord server [10:02:57] Does anyone know? [10:41:08] And they left :( [10:49:59] :c [11:53:40] When providing the import data, what is the max size the self-serve will do? [11:53:42] https://cdn.discordapp.com/attachments/407537962553966603/1524382971686162523/image.png?ex=6a4f8bc6&is=6a4e3a46&hm=72bfc0cd5995f28a14768fa6222b3ed5d2bc8dc6ae557a8903afa43de625927e& [12:22:25] XML will sometimes time out when there's a few gigabytes, but might as well try it anyway. Image imports have to be requested on [[phorge]] [12:22:26] [13:02:31] As a new user, can I technicly comment on https://meta.miraheze.org/wiki/Requests_for_global_permissions posts? [13:02:43] As a new user, can I technicly comment on [[Requests_for_global_permissions]] posts? [13:02:44] [13:03:26] ANd if I can, how do I properly? [13:20:30] I can't find anything that says you can't so yeah [13:21:11] I "posted", but it looks more like an edit then it does a comment. How do I Comment properly? [13:23:05] [1/2] due to the way rfps are formatted, I don't think a "comment" is possible (a reply is though) [13:23:05] [2/2] your edit was formatted mostly fine except for the date [13:23:26] Yeah, the date is weird. No idea how to properly put it there [13:24:06] you put `` at the end of your edit and it gets filled in automatically [13:24:50] [1/2] Someone already fixed it :KEK: [13:24:50] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1524405904894722218/image.png?ex=6a4fa121&is=6a4e4fa1&hm=bf760a9a9e83eb5077a93cffd7731b8e7ba8f1c46ba5253fa47593bc4011cc47& [13:26:10] Ohh [13:26:13] How do thanks work? [13:26:30] Within MH) [13:27:38] [1/2] you press the button and then the person you thanked gets a notification like this [13:27:38] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1524406611068846110/image.png?ex=6a4fa1ca&is=6a4e504a&hm=61e59983fa82b1613d8642e6d19fac3bcabf78ca22e938cfb9c8eb3ac3560d7b& [13:55:01] [1/4] @aliser Just FYI I don't think Gadgets mangle variable names at all. It'll at most strip comments and whitespace. I think this is done because: [13:55:02] [2/4] 1. Full minification requires more analysis and is much slower and unfit for RL which needs to serve js on the fly. [13:55:02] [3/4] 2. It's hard to guarantee correctness, especially when code behavior depends on variable names in subtle ways. [13:55:02] [4/4] If you _really_ want to minify, host the code on GitHub and use GitHub actions + a bot to automatically minify the code and save the minified version on-wiki. [17:34:35] <.labster, replying to ololjjoo> yep, this place is on fire like the White House [17:41:16] is there an extension or something that can delete all file uploads/new pages by a single user? [17:45:07] someone uploaded literally hundreds of copyrighted images without any license information and im here :xsob: [17:45:15] special:nuke finally is a friend [17:45:25] wasnt sure if Nuke could do it by user [17:45:48] oh yep core feature it seems [17:46:24] :Komi_Peek: - https://test.miraheze.org/wiki/TestWiki [17:46:43] Might be interesting to take a peek at to test most administrative features without messing up something :3 [17:47:01] oh wait no Special:Nuke wont work because this was last year [17:49:56] once again trolled by the "it happened a gazillion years ago" [17:50:31] DPL Nuke came in clutch [17:51:40] 1,300 copyrighted images ๐Ÿ˜ญ [17:53:57] except that didnt actually delete the images [17:54:03] yeah,,, [17:54:08] i just noticed that as well [17:54:34] Might just have to suffer it out using AWB one by one [17:59:06] if you have a file list there are many ways other that manually one by one [17:59:28] (and obviously file list can be obtained by filtering upload log) [17:59:36] I have a file list yeah [17:59:52] But both nuke options havent worked so I'm unsure what else. [18:02:10] [1/2] easiest one should be [[dev:jswikibot]] [18:02:10] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1524475697672753303/image.png?ex=6a4fe221&is=6a4e90a1&hm=46e6bdae9f9f77f198f0d86660db3dada459bc3522277b490b22c2545fcfcdec& [18:02:11] [18:02:23] a million thanks [18:02:35] [1/2] i usually use inpageedit, which also have the functionality [18:02:35] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1524475803373670594/image.png?ex=6a4fe23a&is=6a4e90ba&hm=cf48ef250a7e424f88b2d52fddb120a02be1b30dfabf8bb3cd6cc6fec39851db& [18:02:48] delete wikipedia [18:03:11] HEH [18:03:13] https://cdn.discordapp.com/attachments/407537962553966603/1524475961268113459/image.png?ex=6a4fe260&is=6a4e90e0&hm=fd5572a5808cf9c1338a9b9225302e6f91ef0bdcaca003487f20ba43725d8800& [18:03:37] God I forgot how tedious mediawiki maintance is if you don't touch it in... ehh... [18:03:42] A loooooooooooong time. [18:05:08] I am running a cleanup of my wiki before migrating it to Miraheze (or a different wiki), anyone got any ideas? [18:05:33] Random generated/created accounts, non-english spam pages, etc. [18:13:04] so for the most part the only thing that's going to move is xml text and images [18:13:22] accounts and such won't come up unless you are choosing a more custom solution which generally is not provided by farms [18:14:23] so cleaning up the content itself for import would be of some use but essentially accounts will have to be remade by everyone involved anyway unless they were already on miraheze or whichever farm. It is possible to reassign edits to accounts though, with coordination [18:15:29] i suggest looking through the xml if there's anything strange that need be filtered out manually. there's an edit log that `localhost` protected a page on our wiki now [18:17:18] oh, unprotect. strange anyway. if anyone's curious, [[mh:xyy:Special:Contributions/127.0.0.1]] [18:17:19] [18:40:32] [1/4] Hi everyone, I'm currently trying to add a blur to the background of the entire website. I do have an issue of the blur cutting off for some reason, and I would like to know of what could possibly be causing this. [18:40:33] [2/4] Here's the common.css page if that helps. It's the first two sections. [18:40:33] [3/4] https://neonmilkbox.miraheze.org/wiki/MediaWiki:Common.css [18:40:33] [4/4] https://cdn.discordapp.com/attachments/407537962553966603/1524485355657760928/image.png?ex=6a4feb20&is=6a4e99a0&hm=fc9af8a38160118fe523eefeb0ed11962ea758130e780086d38cafab48fd3e8d& [19:43:33] does anyone know how to make a new interwiki link? i want to create one for breezewiki.com [19:47:20] you need interface admin perms on your wiki iirc, which isn't granted as default even to bureaucrats [19:47:37] i have the needed permissions [19:47:55] then it's probably located at Special:Interwiki, I think? [19:48:01] ty [19:50:31] [1/2] world's most useful interwiki [19:50:32] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1524502967565422763/image.png?ex=6a4ffb87&is=6a4eaa07&hm=42d687093bc82e7adfa8a3bf27c12f5d9634da26f0701f4af5426decb89e5c4e& [19:51:17] oh wait, i think our bureaucrat added the interwiki perms for our interface admin, so ignore my comment here lol (in case anyone else comes in and is confused about this too) [20:37:58] [1/2] > It is possible to reassign edits to accounts though, with coordination [20:37:58] [2/2] How, if I may ask? [20:46:52] cooperation with tech, I'm not too privy to the specifics and it takes a bit of manual doing I believe [21:28:54] is miraheze not working consistently for anyone else? it's been quite a bit now [21:48:57] nevermind [21:49:19] issues are usually transient [21:50:55] [1/2] so~ importing the dev page ontop of the wikipedia page doesn't work? [21:50:55] [2/2] i didn't check for a dev version of a template, so now i've got both sets of revisions (not a problem i hope) and the current version's still from the initial import (wikipedia) [21:57:35] importing anything on top of anything won't work, the current revision will stay unchanged even if there are "newer" ones [21:57:42] you would need to delete first [21:59:31] delete what, though? would copy-pasting the dev version's latest not suffice? [22:00:04] also, this is gonna suck for all the pages that came along with it ๐Ÿ˜ [22:02:32] Copy-pasting also works. [22:02:52] And you can also bulk delete pages from the import log with [[dev:jswikibot]]. [22:02:53] [22:33:04] new question: should the 'Import pages' feature include the /doc pages? i've been doing those manually [22:55:00] See for more information on importing [22:55:28] if you're importing pages in bulk, I'd recommend doing the "upload import" described on that page [23:11:21] [1/2] how do i input all pages here is there some command for it or do i have to manually cnp all of them [23:11:21] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1524553507116552202/image.png?ex=6a502a98&is=6a4ed918&hm=26e78e0dcd3cc539b85635cc479ce1d8ae329bea261117604854a69d4113fd71& [23:15:23] you could do page name prefixes and enter in all letters of the alphabet [23:15:39] alternatively copy and paste [23:15:43] page name prefixes..? [23:15:45] what's the wiki [23:15:58] https://sekaiju.miraheze.org/wiki/ [23:16:05] one of the four options in the "this is a list of" [23:16:43] ohhh so just run every letter then? [23:17:08] [1/2] list [23:17:08] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1524554962628251741/t.txt?ex=6a502bf3&is=6a4eda73&hm=1d20b2af8d76933e9cfea2595701ba5c7252a86288addecc48355dc671bbd8a5& [23:17:22] ohhh i see [23:17:30] (that's all main namespaces pages) [23:19:02] howd you compile it so fast ๐Ÿ˜ญ [23:20:19] , specifically the "MassNullEdit" gadget (which I think relies on the first few gadgets) [23:20:43] intresting