[03:29:53] Ivy, I am working on Templates Wiki on Wikia, templates.wikia.com. We have templates to copy to other users' wikis, and we also have a custom Template:Documentation that we don't suppose the user wants copied with it [03:31:09] We'd love for the "Include templates" option on http://templates.wikia.com/wiki/Special:Export to not include Template:Documentation, but that may be a lost cause. More plausibly, perhaps, we'd really love for http://templates.wikia.com/wiki/Template:Is_JA and two other templates, used by our Documentation template, to not be included [03:31:43] That's only really a useful feature... If it removes the usage from the text too [03:31:48] Which starts getting more complex [03:32:09] Well, we can #ifeq:{{SITENAME}}|Templates Wiki for that [03:33:08] I presume.. You could exclude it using the ModifyExportQuery hook... Maybe? [03:33:08] Honestly I am in favor of just deprecating the "include templates" option on that particular wiki. (I'd be more in favor of a Template Documentation: namespace, buuuut) It is another user's complaint, a very idealistic user that has me bring this up [03:33:30] Henstepl: Never mind that wikia use a silly old version of MW [03:33:39] Tell me about it [03:33:41] So us implementing has no effect on it appearing on wikia any time soon ;) [05:12:14] Hi guys! [05:12:49] Hi DeepChill. [05:13:12] I need a little help from someone to set up a page on my Wiki. I'm willing to pay for it if necessary. There's some templates to be installed and Lua as well. [05:15:41] If not, Is there a to-do list somewhere out there on basic stuff every wiki using mediawiki should have? [05:15:49] Not really. [05:15:58] I mean, everything strictly needed should ship with the software. [05:16:15] You can import things like templates or CSS styling or JavaScript helper scripts. [05:17:41] Ivy, I'm setting up my first wiki and I'm kinda lost. Is it customary for different wikis to install everything listed here: https://en.wikipedia.org/wiki/Special:Version [05:17:57] Not really. [05:18:13] The English Wikipedia is a pretty large site with different needs than your wiki, probably. [05:18:27] Like you probably don't need an extension for Egyptian hieroglyphics. [05:18:58] DeepChill: What are you actually trying to do? [05:19:25] I'm trying to create a website called thecryptowiki.org [05:19:45] I'm working with some freelance developers, but they're kinda lost in the deeper intricacies of MediaWiki [05:20:02] Aren't we all. [05:20:09] The site looks fine. Just needs some content. [05:20:15] They don't know how to install the infobox template and all requirements for it [05:20:27] Yeah, how do I get templates in there? [05:20:34] !templates [05:20:34] For more information about templates, see . See also: !templateproblems , !wptemplates [05:20:40] !wptemplates [05:20:40] To copy templates from Wikipedia, use Special:Export and check the "Include templates" option to get all the sub-templates, then upload the file with Special:Import on your wiki. You'll also likely have to install the ParserFunctions extension, Scribunto extension and install/enable HTML tidy. You also might need some CSS from Wikipedia's Common.css. You'll also need a lot of... [05:20:44] Like compare https://en.wikipedia.org/wiki/Bitcoin with https://www.thecryptowiki.org/Bitcoin [05:21:21] https://www.thecryptowiki.org/index.php?title=Bitcoin&action=edit [05:21:35] Do you see the "Templates used on this page:" list there? [05:22:13] Yeah [05:22:16] Toward the bottom of the page. All those red links, such as "Template:Cite journal", are missing templates. [05:22:30] Right [05:22:42] It looks like you created one template. [05:22:43] https://www.thecryptowiki.org/index.php?title=Template:Infobox_currency&action=edit [05:22:47] But it's nonsense. [05:22:50] Yeah but it didn't work [05:22:57] Right, you didn't copy the actual code. [05:23:00] I copy pasted what was on Wikipedia's version lol [05:23:20] https://en.wikipedia.org/w//index.php?title=Template:Infobox_currency&action=edit [05:23:23] Oop. [05:23:24] I'm not a coder/programmer so pardon my amateurishness [05:23:25] https://en.wikipedia.org/w/index.php?title=Template:Infobox_currency&action=edit [05:23:44] So you'll need those page contents. [05:23:44] AH [05:24:01] And all the templates and modules listed below the text edit area. [05:24:26] And you'll need to install the Scribunto extension. [05:24:26] !scribunto [05:24:26] Scribunto is a new extension that makes it easier to write repeatable code in Lua, rather than in complex wikitext templates. See http://www.mediawiki.org/wiki/Lua_scripting and http://www.mediawiki.org/wiki/Extension:Scribunto for more information. [05:25:06] I need all the templates and modules listed on the Infobox_currency page? [05:25:14] in order for infobox_currency to work, correct? [05:25:26] You need many of them. [05:25:33] Not all of them if you don't care about documentation, for example. [05:25:53] mmhmm [05:25:55] https://en.wikipedia.org/w/index.php?title=Template:Infobox&action=edit [05:26:01] It's a real rabbit hole. [05:26:14] Since Template:Infobox_currency is going to require Template:Infobox. [05:26:26] But Template:Infobox is going to need its own templates as well. [05:26:41] I'll just copy paste as many as I can [05:26:44] and see what happens [05:27:02] Okay. You'll need to install the Scribunto extension before you can create "Module" pages. [05:27:46] https://www.thecryptowiki.org/index.php?title=Template:Infobox_currency&action=edit <-- The "{{#invoke:}}" code is calling pages in a separate namespace. [05:27:48] BTW, the infobox source code is surprisingly short. Is that by design? [05:27:50] Module: instead of Template:. [05:28:06] Which source code? [05:28:13] https://en.wikipedia.org/w/index.php?title=Template:Infobox&action=edit [05:28:54] The "{{#invoke:}}" code is calling pages in a separate namespace. [05:28:59] Module: instead of Template:. [05:29:21] https://en.wikipedia.org/w/index.php?title=Template:Infobox&action=edit <-- At the bottom, you can see "Module:Infobox" listed. [05:29:27] That's the module where the actual code is. [05:29:32] https://en.wikipedia.org/w/index.php?title=Module:Infobox&action=edit [05:29:45] AH [05:29:50] Pages in this "Module" namespace (page title prefix) will need the Scribunto extension to be installed and working on your wiki. [05:30:06] So what's the "Template:Infobox" page for? I don't understand [05:30:16] If the code is on "Module:Infobox" [05:30:20] It's a reasonable question. [05:30:35] The answer is that there are just two layers now. [05:30:41] Templates came first and modules came later. [05:31:07] And people have migrated to Scribunto/Lua modules mostly, but templates call those modules usually in a wrapper. [05:31:15] Can I ignore templates then? [05:31:19] Not really. [05:31:25] Articles and such use templates, not modules. [05:31:36] It's an extra layer, but not really an optional one in the current architecture. [05:31:40] People call templates on pages. [05:31:46] With like {{infobox currency|whatever}}. [05:31:58] And then Template:Infobox_currency calls Template:Infobox. [05:32:03] And Template:Infobox calls Module:Infobox. [05:32:12] Via {{#invoke:infobox}}. [05:32:40] You're, uhh, not the first person to try to replicate the English Wikipedia. [05:32:55] It's surprisingly annoying to do given how common the request is! [05:33:27] Ok, so what were you saying about {{#invoke}}? I copied from the Template on Wikipedia(https://en.wikipedia.org/w/index.php?title=Template:Infobox_currency&action=edit) to the Template on my website [05:34:00] Did you install the Scribunto extension? [05:34:12] I have not yet [05:34:32] Should I do that first [05:34:36] You'll need that if you want to use the English Wikipedia's current infoboxes. [05:34:50] You could also make your own template. [05:35:00] If you wanted just a box (HTML table) of information. [05:35:20] But you'd be reimplementing some functionality that's already been written. [05:35:25] I'm going to change the content on those boxes, yes. But I'm installing all this so I can understand better what works how exactly. [05:35:34] Okay. [05:35:51] Templates are just a means of duplicating snippets of code/text. [05:36:01] And infoboxes are just HTML tables, really. [05:36:39] Thanks for your help [05:36:43] https://www.thecryptowiki.org/index.php?title=Template:Infobox_currency&action=edit [05:36:58] "Templates used on this page:" is missing the Module pages. [05:37:12] Once you install the Scribunto extension and reparse that page, they'll probably show up as red links. [05:37:25] And then when you create those pages and all the dependent pages, your templates will sort of work. [05:37:29] You'll need some CSS. [05:37:53] The white background in the logo is unsightly, IMO. [05:38:04] No problem. [05:38:33] Yes, I'm working on the logo [05:38:38] That's just a picture of the bitcoin logo lol [05:38:55] Ah, okay. [05:39:23] If you're interested in joining me and either being an active or passive member of the (still infant)community, I could link you to our Discord. [05:39:28] Could really use someone like you [05:40:29] No thanks, but you're welcome to ask questions in here. [05:41:15] Cheers [05:51:39] How do you get a namespace to link to the project page. [05:52:00] Like how Wikipedia has WP = Wikipedia: or Commons has COM = Commons: [05:52:37] !wg NamespaceAliases | Clarkcj [05:52:37] Clarkcj: https://www.mediawiki.org/wiki/Manual:%24wgNamespaceAliases [05:57:35] Ivy, one more thing. Any idea why my Visual Editor is not working on Template/Module pages but is working on normal pages like "Bitcoin"? [06:03:26] That is odd I did that but the alias page is still saying that its a regular page [06:10:47] I did put it in localsettings as seen here https://hastebin.com/obujawalaz.xml [06:11:25] Anyone have ideas? [08:41:36] Err does anyone know how to set up globalblock with a different DB username? [08:42:05] Say for example I have 2 users (User A and User B). I can't grant permissions to User A even though they are on the same host [08:42:16] User B has the globalblock DB [08:42:40] The DB host and DB passwords are exactly the same [08:48:48] Anyone? [08:52:38] I think I worked out a bypass [12:04:18] I want to disallow / moderate account registrations on http://wiki.study [12:04:56] Seems the XEvil equipped bot(net)/human with bot wants to spread its rubbish there as well [12:05:18] I'll revert the database first and then put into place that bots don't get to register accounts [12:05:44] just valid logins without any other value may be valuable to it [12:10:38] Set '*' 'createaccount' => 'false'; on LocalSettings.php? [12:10:59] although that'd disallow all account creations by unregistered contributors [12:19:48] !spam [12:19:48] For information about combating and handling spam in MediaWiki, see . [16:09:27] Hey guys I have a question [16:10:03] I'm trying to import files from Wikipedia, modules and templates, onto my wiki [16:10:19] But the UTF-8 chars aren't working [16:10:40] Do I need to convert my db to binary? [16:35:26] I'm getting this error: http://prntscr.com/hu84x8 [16:35:30] Any fix suggestions? [16:37:12] lol blame ^demon [16:37:41] why [16:37:49] You need to convert your db to uf8mb4 [16:37:54] to support emojies [16:38:07] oh jesus [16:38:30] uf8mb4 & utf8mb4_unicode_ci [16:38:48] Is that the whole problem I'm facing paladox [16:38:57] Yes looks like it. [16:39:01] seems your db is using utf8 [16:39:14] which does not support the empojie ^demon used. [16:39:20] empojie = emojie [16:42:24] Hmm [16:42:38] Since I will be changing the default mediawiki charset, is it possible it might mess something up [16:42:53] yes, it's possible. [16:42:55] as the default ones are utf8 and binary only [16:42:58] :/ [16:43:09] So i recommend you make a backup of the db before converting. [16:43:31] Let's say I don't want emojies [16:43:34] convert to binary instead of utf8mb4 [16:43:35] will the files still run [16:43:47] Vulpix, tried converting to binary but it didn't work [16:46:52] I'm gonna try converting it to binary once more [16:46:56] let's see what happens [17:26:31] Vulpix, I updated it to binary. [17:26:47] I imported files onto my website, and I'm getting this now: http://prntscr.com/hu8six [17:30:07] maybe I need to increase some time out value? or if there is another way we can do the import, like from command line? [17:30:28] https://www.mediawiki.org/wiki/Manual:ImportDump.php [17:31:14] sorry, dc [17:31:25] yes, with those deadlocks you usually do that, "restart the transacion" (try to perform the task again), unless you can reproduce it consistently and then you probably want to report it as a bug [17:31:43] https://www.mediawiki.org/wiki/Manual:ImportDump.php (in case you missed it) [17:31:56] gtg [17:44:47] Still not working. :( [19:20:49] and any tips on how to fix this ? extensions/MobileFrontend/includes/MobileFrontend.hooks.php: wgMFDefaultSkinClass is not setup correctly. It should point to the class name of a valid skin e.g. SkinMinerva, SkinVector [19:21:00] wiki and ext are 1.30 [19:24:37] meshnet: It needs to be configured [19:24:39] https://www.mediawiki.org/wiki/Extension:MobileFrontend/Configuration#Configuring_a_skin [19:25:00] $wgMFDefaultSkinClass [19:56:26] yah done that but now when i do php update.php i get another error wiki/extensions/MobileFrontend/extension.json does not exist! ExtensionRegistry.php:99 [20:00:08] Using the right version of hte extension? [20:01:43] hte ? [20:01:53] a typo of the [20:02:23] belive so. https://www.mediawiki.org/wiki/Extension:MobileFrontend [20:06:26] looks like it is solved [20:12:56] still on issue with one wiki. mobile version does not display the images. it looks like the thumbnail is not created. perms some place ?