[00:15:50] Anyone here know how to use PWB? [00:17:06] I’m getting this error: WARNING: Non-JSON response received from server memipedia:memipedia for url https://memipedia.ga/wiki/Api.php The server may be down. Status code: 404 [00:17:08] [url] Api.php - Memipedia | memipedia.ga [00:17:31] (Apologies for double messaging, the incredibly long post due to copying the html, if this is potentially the wrong location for this post, and if this is an easy question to answer. I'm 100% fresh to mediawiki and its editing; having to self teach myself is rather frustrating.)[[I have been given permission to use the listed template as well as future templates by their creators. These templates are from Dustloop]] I'm trying [00:17:31] https://meta.miraheze.org/wiki/I_have_been_given_permission_to_use_the_listed_template_as_well_as_future_templates_by_their_creators._These_templates_are_from_Dustloop [00:17:31] to copy over this template from one wiki to another:
{{#if:{{{header|}}}|
{{{header}}}
}}
{{{content}}}
{{ #if:{{{subheader1|}}}|
{{{subheader1}}}
|}}{{ #if:{{{content2|}}}|
{{{content2}}}
|}}{{ #if:{{{subheader2|}}}|
{{{subheader2}}}
|}}{{ #if:{{{content3|}}}|
{{{content3}}}
|}}{{ #if:{{{subheader3|}}}|
{{{subheader3}}}
|}}{{ [00:17:32] https://meta.miraheze.org/wiki/lc:Template:%7b%7b%7bpadding [00:17:32] #if:{{{content4|}}}|
{{{content4}}}
|}}
{{clear}}{{doc}} in order to produce the result shown (image 1) given these parameters: == Examples == ===Plain box=== {{FP Box|content=Guilty Gear Xrd REV 2 is a standalone expansion for [[Guilty Gear Xrd -REVELATOR-]], a 2D one-on-one fighting game, available [00:17:32] https://meta.miraheze.org/wiki/Template:%7bcontent4 https://meta.miraheze.org/wiki/Guilty_Gear_Xrd_-REVELATOR-https://meta.miraheze.org/wiki/Guilty_Gear_Xrd_-REVELATOR- [00:17:33] on PS3, PS4, Arcade Cabinet, and PC:Steam. REV 2 features a short list of [[GGXRD-R2/Change_Log#System_Changes|system changes]], two new characters - {{Character Label|GGXRD-R2|Answer|24px}} and {{Character Label|GGXRD-R2|Baiken|24px}} - significant changes to the game's visuals and camera, a [[GGXRD-R2/Patch_Notes/Ver.2.10|complete rebalance of the cast]], expanded story content, and new stages. Rev 2 also received [00:17:33] https://meta.miraheze.org/wiki/Template:Character_Label https://meta.miraheze.org/wiki/GGXRD-R2/Patch_Notes/Ver.2.10https://meta.miraheze.org/wiki/GGXRD-R2/Change_Log#System_Changes https://meta.miraheze.org/wiki/GGXRD-R2/Patch_Notes/Ver.2.10 [00:17:33] [[GGXRD-R2/Patch_Notes/Ver.2.10| Balance Patch 2.1]] which introduced further changes to the cast. }} (note that I will lack the images and links specified here when it is translated over) I have in my template page, named verbatim from what I'm copying, this:
{{#if:{{{header|}}}|
{{{header}}}
}}
{{{content}}}
{{ #if:{{{subheader1|}}}|
{{{subheader1}}}
|}}{{ #if:{{{content2|}}}|
{{{content2}}}
|}}{{ #if:{{{subheader2|}}}|
{{{subheader2}}}
|}}{{ #if:{{{content3|}}}|
https://meta.miraheze.org/wiki/lc:Template:%7b%7b%7bpadding [00:17:34] style="text-align: left; {{#ifeq: {{lc:{{{padding|yes}}}}}|yes|padding:1%;|padding:0px;}}">{{{content3}}}
|}}{{ #if:{{{subheader3|}}}|
{{{subheader3}}}
|}}{{ #if:{{{content4|}}}|
{{{content4}}}
|}}
{{clear}}{{doc}} However, when I plug the [00:17:34] https://meta.miraheze.org/wiki/%23ifeq:Template:_%7b%7blc:%7b%7b%7bpadding [00:17:35] parameters into a new page, I get given this result (image 2). Am I missing a template somewhere in here that I forgot to copy over? [00:17:35] https://cdn.discordapp.com/attachments/435711390544560128/920469584308477982/unknown.png [00:17:36] https://cdn.discordapp.com/attachments/435711390544560128/920469584572727336/unknown.png [00:17:36] https://meta.miraheze.org/wiki/I_have_been_given_permission_to_use_the_listed_template_as_well_as_future_templates_by_their_creators._These_templates_are_from_Dustloop?action=edit&redlink=1 [00:17:38] [url] I have been given permission to use the listed template as well as future templates by their creators. These templates are from Dustloop - Miraheze Meta | meta.miraheze.org [00:17:41] oh dear jesus christ [00:17:54] Full console thing: https://gitpull.it/P19 [00:17:55] [url] ✎ P19 Pywikibot error | gitpull.it [00:17:57] i did not know it would do that [00:19:16] gone [00:19:19] sincerest apologies [00:19:25] no worries [00:23:29] Agent, do you use PyWikiBot? [00:23:35] I do, yes [00:24:04] Here is an error I keep getting: https://gitpull.it/P19 [00:24:05] [url] ✎ P19 Pywikibot error | gitpull.it [00:24:26] Send your memipedia_family.py [00:24:32] You have the wrong script directory set [00:24:55] Ack, time to boot up my computer [00:30:00] I forgot I have the files saved in my Debian vm [01:49:56] https://mario.miraheze.org/wiki/MediaWiki:Common.css hi so CSS is enabled & there's stuff on common.css, but the updates aren't reflecting this [01:49:58] [url] MediaWiki:Common.css - Super Mario Wiki, an encyclopedia covering the Mario, Yoshi, Wario, Donkey Kong, and Super Smash Bros. games | mario.miraheze.org [01:50:25] Common.css was created before the site owner/founder enabled CSS [01:52:39] The CSS extension has nothing to do with sitewide CSS [01:52:56] Also, what exactly doesn't work? [01:53:11] the CSS -- so like if i customized the link colors, it doesn't change [01:53:39] https://mario.miraheze.org/wiki/MediaWiki:Monobook.css [01:53:40] [url] MediaWiki:Monobook.css - Super Mario Wiki, an encyclopedia covering the Mario, Yoshi, Wario, Donkey Kong, and Super Smash Bros. games | mario.miraheze.org [01:53:52] e.g. i customize the search button but it doesn't show [01:53:55] there's JavaScript in your Common.css [01:54:01] CSS != JS [01:54:18] yikes -- yeah this wasn't me -- this was user [01:54:28] tell them that's not how it works [01:54:34] also, are they trying to run commands? [01:54:37] in their CSS? [01:54:44] > $ COMPOSER=composer.local.json composer require --no-update mediawiki/hit-counters [01:54:50] that'll never work [01:55:10] https://cdn.discordapp.com/attachments/435711390544560128/920494159167623208/Screenshot_from_2021-12-14_17-55-02.png [01:55:19] looks like they're trying to combine the login link [01:55:23] that looks like a hook [01:55:27] that doesn't go in the JS [01:55:36] gadget... [01:55:36] it goes in your LocalSettings.php [01:55:55] that looks like PHP [01:56:05] so for Miraheze, that'd go in your local LocalWiki.php [01:56:17] oh? how does a 'crat access localwiki.php [01:56:30] i've been wanting to enable the stupid new RC by default on wikis that i run [01:56:45] Alas, that sounds like a phabricator task [01:56:53] On GitHub [01:57:07] though I strongly suggest you make a Phabricator task so a sysadmin reviews your code [01:57:14] as you're also trying to run composer... [01:57:50] cc @CosmicAlpha ^ [01:57:51] i didnt add this. i'm just regular admin [01:58:13] HannahMontanaFan created this wiki & while i'm mainly on mariowiki.com, i decided to try & help them make it more original [01:58:33] but looks like they're trying to combine the login/create account link [01:59:26] Tell them that that's not how that works, they need to add it into LocalWiki.php. Tell them to make a Phabricator task asking for that hook to be added. [01:59:45] I'm still curious though, why are trying to run composer [01:59:47] the composer your trying to run in that won't be done on Miraheze anyways, hit counters has been declined numerous times before due to performance concerns. [02:01:12] As for the PHP code that is directly the same as something from core I believe. [02:01:35] And not a hook. [02:02:02] @RMV2003 ^ [02:02:36] prob for nostalgia [02:02:53] also thank you for letting me know. this fixed the css/js issue [02:02:55] https://github.com/wikimedia/mediawiki/blob/93f79a9122e21bac30d7aaa4961ddf76706710db/includes/skins/SkinTemplate.php#L602-L644 is where it is in core. [02:02:55] [url] mediawiki/SkinTemplate.php at 93f79a9122e21bac30d7aaa4961ddf76706710db · wikimedia/mediawiki · GitHub | github.com [06:28:10] Hey @Own [06:28:13] @oWen [06:28:14] #Owen [06:28:16] @Owen [06:28:22] That took me a while [09:19:41] Hey Naleksuh [09:29:07] @Owen: can you check the card and tell reception via DM if there's a code on a charge from google. It should be 35 cents just to prove we exist. [09:29:31] He’s already messaged me about it. There isn’t [09:34:38] @Owen: are you saying the charge has gone through though? [09:34:54] No, there is nothing at all [09:35:08] Ok [09:35:13] It said a few days [09:35:19] But I expect less [14:21:35] Hello HanTheGene! If you have any questions, feel free to ask and someone should answer soon. [16:24:23] So the meeting is chat right? [16:24:52] Yes, on #miraheze-meetings-relay [16:25:02] Okay, 👍 [16:49:58] wait wot, there was a meeting today after all [16:50:02] what be the topics [16:53:28] ¯_(ツ)_/¯ [16:53:32] lol [16:54:54] I'll be sure to join [16:54:59] no but in all seriousness, our plans for 2022, we'll ask what you want to see at Miraheze next year, thoughts on implementing WikiSEO/Purge as default extensions, thoughts on the WC CN mini-RfC and other things [16:56:17] I'll mostly just observe the meeting though [16:56:45] Well, I know I'll push my other wc related thoughts then :p [19:08:02] https://cdn.discordapp.com/attachments/435711390544560128/920754088084398120/unknown.png [19:08:35] This wouldn't cause anything to break since it's just plain text that I'm replacing, right? [19:10:28] It shouldn't, yes [19:12:19] Time to spam #wiki-feed then I guess. At least I don't have to do it manually for like 400 pages. [19:13:22] Please add bot flag first [19:16:21] Ah, ok then. [19:19:34] https://cdn.discordapp.com/attachments/435711390544560128/920756991700381696/unknown.png [19:20:23] Like this, yeah? Should I also wait a bit before starting to mass edit pages, so the change is actually registered? @RhinosF1 [19:20:45] it's registered immediately [19:30:00] Why is Owen only online when I'm offline :P [19:35:28] just leave the message when you are here, go to sleep and read the response when you wake up. the trick is to never quit from IRC though :) [19:38:22] mutante Doesn't @Owen live in a different timezone? [19:41:44] yea, that was kind of the point. I was trying to give advice how to use IRC across timezones. even in "async" mode you can get information across. just need 2 things.. IRC clients don't quit (run in screen, somewhere where they dont go offline) and people don't send "contentless pings" ('hello, are you there?') but the actual question or message as well. if that is the case then users in other timezones [19:41:50] can simply wake up, check their client, see the questions and answer them later. it avoids the common issue where people come online, ping a specific person, notice they are sleeping right now.. and quit again.. frustrated they didn't get their message across [19:42:19] it kind of turns into email when not realtime and chat if realtime [20:15:24] Owen is in Worksop [20:17:19] I take that Owen is from the United Kingdom. [20:28:39] Yes [20:31:42] I technically don’t live in Worksop anymore [20:32:43] Oh? [21:35:00] Well since that topic is finished too. Regarding the purge request that I mentioned previously, has it already started? Or can I go ahead with doing it manually, as to not burden the volunteers with it? [21:41:39] @Owen So what TZ are you in? [21:41:53] UTC Naleksuh [21:41:59] Oh so like 8 hours ahead of me [21:42:07] mutante : Owen isn't on IRC [22:42:13] I feel misunderstood but it's ok. :) [22:42:26] Naleksuh: I see, ok [23:11:48] https://gitpull.it/P20 [23:11:49] [url] ✎ P20 memipedia-family conf | gitpull.it [23:28:51] Nvm I think I fixed it [23:28:53] Think™️ [23:32:14] I did it by doing 🔬 [23:32:17] Research 🔬 [23:41:30] Ack dude I get this now https://gitpull.it/P19 [23:41:31] [url] ✎ P19 Pywikibot error [BRAND NEW ERROR] [$4.99] | gitpull.it [23:44:48] Seems like a connection error, try again [23:45:00] Been trying for the past few minutes [23:45:25] PWB hates me 😭😭😭