[00:03:12] How in the world do I just create a simple info box on my own private mediawiki [00:03:19] these google searches are driving me crazy [00:03:33] DO I just open an article called Template:Infobox or something? [00:04:45] cbrons: depends, If you want it formatted and to have a lot of parameters I would suggest importing enwiki's version. Otherwise you can create your own [00:05:06] I just want to create my own [00:05:27] Go to [[Template:Infobox]] and have at it then [00:05:38] roger that, but what specifically goes in that article? [00:05:43] all of my difference infoboxes? [00:06:42] cbrons: that page should be a basic infobox. I would then create custom variants of it for each type of infobox you need [00:07:14] Ok [00:07:16] IE Infobox is a master template, and Infobox book is a wrapper for the master with specific info for books [00:08:09] so this isnt a good general template then [00:08:10] https://dpaste.de/Kwbu [00:08:11] cbrons: for the easiest thing, I just export/import it from enwiki and then customise it [00:08:37] cbrons: that would require Infobox to be coded [00:09:47] Ok so if I want this template to import https://en.wikipedia.org/wiki/Template:Infobox_officeholder [00:09:52] and edit since I dont need all those fields [00:10:02] what is the first specific thing I need to do? [00:10:13] other than install the requisite extensions [00:10:43] cbrons: go to http://en.wikipedia.org/wiki/Special:Exportf [00:10:44] cbrons: go to http://en.wikipedia.org/wiki/Special:Export [00:11:07] Place Template:Infobox_officeholder in the box [00:11:27] check the Include templates box, and then press export [00:12:50] then go to your wiki's special:import and upload the file [00:13:55] cbrons: understand? [00:14:37] yes [00:14:39] thank you so much [00:14:44] seriously thank you [00:14:45] cbrons: any time [00:14:48] Importing pages... [00:14:49] Import failed: No pages to import. [00:15:02] I got the XML file but apparently im unable to special:import on my own site [00:15:34] cbrons: did you forget to check the template box when importing? [00:15:40] *exporting [00:16:09] no I have that checked [00:16:20] I put {{Infobox officeholder}} in the field [00:16:29] not the Add field, in the big field on Special:Export [00:16:30] cbrons: thats the issue [00:16:45] im talking about the export side [00:16:55] correct [00:17:05] im able to download the xml file it gives me, but when I try to import that, I get the error [00:17:08] {{Infobox officeholder}} isnt understood by the export [00:17:18] I wonder why it still gives me a file then... [00:17:20] Use: [00:17:35] Template:Infobox_officeholder [00:18:07] cbrons: it discards un-parsable data and gives you what it can understand [00:19:39] cbrons: did that work? [00:19:50] Ok, this is what I got after doing that [00:19:50] https://dpaste.de/CSLv [00:21:00] cbrons: is your wiki accessible? [00:21:29] no but I can make it so [00:21:51] if you want to PM me a link I can check a few things [00:22:40] cbrons: you have Scribunto installed? [00:22:54] yes I do [00:23:01] and did you run the upgrade script after installing it? [00:23:36] No, I didnt know I had to. I jsut followed the step by step on the mediawiki page [00:23:40] damn [00:23:45] how do I do that [00:24:15] I spent a few hours trying to get that damn thing working only to find out i needed to go back to a previous version for some reason so I have 2.1 [00:25:54] cbrons: you shouldnt have gone back a version [00:26:06] your wiki is running 1.22.3 and your using the version for 1.2 [00:26:13] 1.21 [00:26:40] cbrons: any particular reason your running 1.22 ? [00:27:04] thats what the program on my worthless Cpanel installed [00:27:08] I didnt manually install it [00:27:11] man im stupid [00:27:39] sigh, alright do you have a recommendation for how i should proceed? probably upgrade it manually? [00:27:54] cbrons: half a second [00:28:07] ok [00:28:38] https://tools.wmflabs.org/snapshots/builds/mediawiki-core/mediawiki-snapshot-REL1_23-43aab90.tar.gz [00:29:13] !upgrade cbrons [00:29:13] http://www.mediawiki.org/wiki/Manual:Upgrading [00:29:36] cbrons: see that guide for what needs done [00:29:56] but I would also ensure you upgrade your extensions too. [00:30:31] once you have all the needed stuff extracted, cd to mediawiki/maintenance [00:30:38] and then: [00:30:45] php upgrade.php [00:31:13] that should ensure your database and wiki all have the needed components configured [00:31:48] Ok [00:32:03] Damn I dont know why this worthless piece of trash cpanel program would install an outdated version [00:34:20] Betacommand: upgrade.php = update.php? [00:35:38] SPF|Cloud: yeah, goof going from memory [00:35:57] !package | [00:35:57] Many Linux distributions provide MediaWiki in a packaged format for that distro. These packages typically contain obsolete & unsupported versions of MediaWiki; they also like to move around & change files, & do other super-counterproductive things. You'll get the best support here if you install MediaWiki directly from one of our tarballs - https://www.mediawiki.org/ - or Git https://www.mediawiki.org/wiki/Download_from_Git [00:36:14] cbrons: ^ [00:37:57] sigh now that i didnt do that to begin with, it seems pretty complicated to upgrade [00:38:58] cbrons: not really [00:39:06] what OS are you running? [00:40:38] I have a host gator account [00:40:46] im a clueless individual [00:44:03] literally I don't know what I'm doing, I just thought having a wiki would be a really good way to organize the pieces of my fictional universe. I have a minimal background in what appear to be the requisite skills for running/maintaining/upkeeping one. [00:45:29] cbrons: http://r3d3ye.wordpress.com/2010/01/08/installing-mediawiki-on-hostgator-server/ [00:45:43] thats a good guide, but use mediawiki 1.23 [00:49:20] yeah thats installing it though, I need to transfer all existing files [00:50:24] cbrons: just upload over top of the current files [00:51:26] then see http://www.mediawiki.org/wiki/Manual:Upgrading#Web_browser [00:52:55] you mean upload the new version? [00:54:23] yeah [00:55:32] is there a URL param for disabling site js? like allowusercss=0 [00:55:54] do I have to creat a new mysql database too? [00:56:03] like these instructions at the url you sent say? [00:56:05] cbrons: no [00:56:13] onei: for what reason? [00:56:42] debugging, trying to figure out if it's local js that's causing the issue [00:57:14] onei: use debug=True [00:57:22] nope, no use to me [00:57:34] debug=true jsut unminifies it [00:57:38] just* [00:57:56] I need to disable it, preferably without blanking the page [00:57:59] onei: correct, then use your web browser's dev tools to find the broken js [00:58:23] onei: what is your exact problem? [00:58:30] it's not broken, it's not throwing an error [00:58:43] onei: what is your exact problem? [00:58:53] $.fn.tablesorter is being called twice, meaning the click event handlers are being assigned twice [00:59:22] so clicking to sort in th opposite direction does nothing [00:59:25] what version of mediawiki are you running? [00:59:45] 1.19.something iirc [01:00:12] onei: have you tried using a different skin to see if it happens there? [01:00:20] or if your logged out vs logged in [01:00:45] Betacommand - when I install this new version, can I do so on a subdomain? [01:00:49] and then move my files over after? [01:00:59] or will be that be a lot more complicated? [01:01:05] cbrons: thats a headache [01:01:52] using a different skin won't make a difference, logged out won't either [01:02:03] ok [01:02:21] onei: then blank common.js [01:02:39] [00:57] I need to disable it, preferably without blanking the page [01:02:51] onei: thats the only way [01:03:23] unless you use the debug=True in combination with something like adblock [01:05:18] Betacommand: I extracted the tarball, now I need to move all the files in the mediawiki 2.3.6 folder into my index? [01:06:13] cbrons: your wiki should be in a folder, IE your index.php, images directory and others [01:06:25] that is where you want to extract over top [01:07:55] I just extracted it to the same place where my current wiki files were [01:08:08] now it appears I have a separate mediawiki-1.23.6 folder [01:08:22] then run the update.php [01:08:50] cbrons: move the contents ofn the 1.23.6 folder to the current directory [01:09:02] do i overwrite everything? [01:09:07] yes [01:12:19] ok this is my homepage now [01:12:22] Pming.. [01:16:56] !purge [01:16:56] To purge a cached page, such as when making changes to the navigation bar, add &action=purge to the end of the page url, or ?action=purge if using Simple URLs. E.g: http://en.wikipedia.org/wiki/Main_Page?action=purge [01:37:37] Betacommand: I now successfuly have imported the info boxes I requested [01:38:51] Ok [01:39:43] Betacommand: ?usesitejs=0 disables site js, finally figured it out [01:40:37] Template:!- Template:!- Template:!- Template:!- Template:!- Template:!- Template:!- Template:!Template:!- Template:!- Template:!- Template:!- Template:!- Template:!- Template:!- Template:!- [01:40:37] Script error [01:40:46] is what I get on when i click on one of them [01:43:36] cbrons: can I get access again? [01:44:33] yes [04:31:52] good day, I have seen on a wiki "interwiki" link like we used to have on Wikipedia before Wikidata (i.e. [[En:blabla]] for example) adding a link to the same page in another language, but on the same wiki, where could I find more info on that? [04:44:39] Hay [04:45:04] I am having an error like this, when I enter a MediaWiki powered website :) Fatal exception of type MWException [05:14:59] do you think they have two mediawiki running on the same server? [06:29:05] Amqui: I don't think most of the time people start a new wiki for a new language [06:29:22] Er... [06:29:32] Amqui: I *do* think people start new wikis, sorry [06:31:37] no I mean it's one wiki... but maybe it was an illusion and in the background it's two wiki [06:31:49] but I don't think so anymore, I think I found the extension they are using [06:32:10] https://www.mediawiki.org/wiki/Extension:MultiLanguageManager [06:33:00] I don't think having two separate wikis is a good idea if intent is to have all the exact same in two languages [06:45:17] is there a reliable and professional looking organizational chart extension for mediawiki out there? only found one and it looks pretty buggy so im hesitant to install it [06:47:57] Amqui: True. So what do you need to know? [06:48:02] master: What kind of chart? [06:48:17] Organization Charts [06:48:24] Oof. [06:48:27] like Personnel Charts [06:48:40] master: Backstory, I created http://orgchart.wmflabs.org/ [06:48:45] I was young and foolish. [06:49:00] But it doesn't run in MediaWiki [06:49:28] master: I don't think anything like that exists *yet*, but it's something people have asked for quite a few times [06:49:42] lol sorry bro thats the one i was talking about that looked buggy [06:50:15] master: It totally is buggy! [06:50:37] I made it a while ago and don't have time to maintain it [06:50:53] master: Anyway, there might be a more general-purpose tool that will have what you need [06:51:10] what do you mean by general-purpose [06:51:26] Something that just creates charts, not necessarily any particular kind of them [06:52:10] Or...not. [06:52:36] master: I think we're still sorely uncovered in this area, sorry [06:52:45] no worries [06:53:56] master: Ask me in a few weekends whether I got fed up and wrote it yet. :) [06:54:13] ...is it done yet? [06:54:24] *in a few weekends*! [06:54:32] what about now [06:54:40] Your weekends are short [06:55:01] im just glad you were able to finish it so fast. where's the download link? [06:55:09] It's under there [06:55:15] i dont see it [06:55:21] Just under there [06:55:30] can you get it done next week? [06:55:42] Probably not, but I've been wrong before [06:56:34] that sucks [06:56:38] i really need one fast [06:56:52] master: Why? [06:56:54] otherwise i have to draft a proposal for a manual process [06:56:58] Ah. [06:57:05] master: Why the time crunch? [06:57:22] Because I am the master of time. [06:57:30] Fair answer [12:20:35] Would this be the right channel to ask a technical mediaWiki question? [12:21:48] !ask | Aphid__ [12:21:48] Aphid__: Please feel free to ask your question: if anybody who knows the answer is around, they will surely reply. Don't ask for help or for attention before actually asking your question, that's just a waste of time – both yours and everybody else's. :) [12:22:47] I've been trying to make a certain Template work in a mediaWiki. The template in question is supposed to 'fetch' an image for a certain object using that object name from another template (which stores the relation as it were). [12:23:04] This SO question: http://stackoverflow.com/questions/26527370/variable-image-path-using-mediawiki-templates formulates the general problem I'm having. [12:23:22] This page http://en.touhouwiki.net/wiki/Template:Dots2/Item/testcases details a number of test cases where you can see what happens clearly [12:23:35] And this page: http://en.touhouwiki.net/wiki/Template:Dots2/Item contains the template. [12:24:18] Why is it that instead of the picture, I get the raw code displayed literally, as if the parsing failed? (Note: the code is correct, check the testcases page, it contains literally the produced code from the first test case). [12:27:55] Aphid__: http://en.touhouwiki.net/index.php?title=Template:Dots2/Item_Image&action=edit you have a lot of whitespace after the end of the {{#switch: [12:28:15] That shouldn't matter [12:28:21] also, it adds a Category? o_O [12:28:22] I think it's because filenames can't be templated [12:28:28] I think the category is the problem [12:28:46] filenames can be templated, that's not the problem [12:29:26] but you can't put a [[Category: ]] inside a [[Image: ]] syntax ;) [12:29:29] I disagree, I just tested locally and a template causes the exact problem. [12:29:43] Vulpix: There's not a category link inside the image link... [12:29:46] The template 'itself' has the category, though I could test removing the category and 'see what happens'. [12:29:55] Seems like somebody already did that [12:30:06] marktraceur: the template is called from here: http://en.touhouwiki.net/index.php?title=Template:Dots2/Item&action=edit [12:30:17] Ah. [12:31:09] OK, agreed, that must be the issue [12:31:23] I had forgotten about adding {{blah}} to Category:License Tags on my local wiki. [12:31:47] Aphid__: You don't need to remove the category, just put it inside the [12:32:11] I see, I will do that on all the called templates (item cost, item image). That should fix the issues, correct? [12:32:43] it should [12:33:56] Yep, there we go. Many thanks, I'll go tell the guys over at the wiki about generally always putting the template category within the [12:37:38] yw [13:54:02] /window 3 [15:05:01] I have been asked by to move the SEARCH box to the top of the page like it is on on MediaWiki and the Wikipedia site does anyone know how to do this? [15:05:17] smoss: In a MediaWiki instance? [15:06:03] marktraceur: That what it look like, peopl have been saying that on tablets the box get squashed [15:06:12] smoss: What site is this for? [15:06:50] ....is there some reason you can't share it? [15:07:47] http://database.obsidianfleet.net/wiki/index.php?title=Main_Page [15:08:12] smoss: Looks like you're using a Monobook-based skin, or just Monobook. Try switching to Vector, maybe. [15:08:40] marktraceur: So it is a skin issue? [15:08:49] Well, Monobook puts the search bar there [15:08:53] Vector puts it on top [15:09:06] "issue" [15:09:07] https://en.wikipedia.org/wiki/?useskin=monobook [15:09:09] You could probably edit Monobook to put it up top [15:09:17] * Reedy claws his eyes out [15:09:33] Reedy: Monobook *is* a skin issue [15:14:24] Okay, most of our user use Monobook and I haven't had the time yet to do the Vector Skin yet. Do I need to edit MediaWiki:Common.js to fix it right? [15:17:06] it can be done in Monobook. In fact, there have been attempts to make monobook look like vector http://inciclopedia.wikia.com/wiki/Inciclopedia:Portada?useskin=monobook [15:17:45] forgive the glitchy images, it's just Wikia sabotaging JavaScript in monobook again [18:53:00] I'm looking to move to a wiki farm with a resource pool setup, but I've got plenty of resources already on these several wikis--is it just a matter of mass export/import to get everything taken care of, or are there steps I'm not thinking of? [19:21:24] !install [19:21:24] Installing MediaWiki takes between 10 and 30 minutes, and involves uploading/copying files and running the installer script to configure the software. Full instructions can be found in the INSTALL file supplied in the distribution archive. An installation manual can also be found at . See also: !download [19:21:36] !download [19:21:36] The latest stable release of MediaWiki can be downloaded from . Files are supplied in a .tar.gz archive. MediaWiki can also be obtained direct from our Git repository . [23:06:46] hello [23:06:51] hi [23:07:02] is there an easy way to change the font of my wiki? [23:07:48] I'll tell you what you *shouldn't* do: Put
on every page. [23:07:53] !common.css [23:07:53] There is no such key, you probably want to try: !css, !csshideheader, !wptemplates, [23:07:58] !css | cbrons [23:07:58] cbrons: To change styles for your wiki, go to one of the MediaWiki:xxx.css wiki page (NOT a file) and put your custom styles there (sysop/admin rights required). MediaWiki:Common.css is for all skins and should be used for content styles. MediaWiki:Vector.css is for the Vector skin (default), etc. For more information, see !skins and https://www.mediawiki.org/wiki/Manual:Interface/CSS [23:09:18] yes Ive done a lot of google searches on this, one question I had though is, in the CSS, do I just add the code to make a new default font or do I need to edit the existing code? [23:10:35] cbrons: You can just override, I think. [23:23:28] marktraceur: I apologize, what do you mean by "override"? [23:26:37] cbrons: Just write a new CSS rule. :) [23:31:24] Ok [23:31:42] then I just paste it in the appropriate CSS file? [23:32:01] which I assume would be MediaWiki:Common.css for the general font [23:40:11] where is documentation about registering? about how the website automatically capitalizes the first letter of the username. I think it does, but I don't see any documentation supporting that view... [23:41:37] svetlana: It does [23:41:40] There's a setting for it [23:42:05] $wgCapitalLinks [23:42:07] Oh, wait [23:42:13] It's not overrideable for usernames it it? [23:43:05] I don't know. Just would like to point a person to it - they have problems understanding how registration works. [23:44:20] What's hard to understand?