[00:13:51] Can I get help with mediawiki here? [00:23:05] Amie: this seems like a reasonable thing to expect in #mediawiki [00:23:30] got an actual question? [00:32:57] Sorry, I am very new to this type of forum. I just wanted to be sure. Yes, I have a question..... [00:33:37] In the mediawiki sidebar, is there a way to add something to the Tools section at the bottom of the sidebar? I would like to move 'Personal Sandbox' to that section, if possible. [00:34:57] If there is documentation on this process, a link is all I need. [00:36:46] OR, another option, is there a way to only display Personal Sandbox when a user is logged in? [00:37:41] I'm afraid I don't know. I'm a noob, myself [00:41:18] thank you anyway. I'll try a few other avenues for support. [00:43:25] !sidebar [00:43:26] To edit the navigation menu on the left, edit page [[MediaWiki:Sidebar]] on your wiki using its special syntax (see https://www.mediawiki.org/wiki/Manual:Interface/Sidebar for details). If you need more control, you can use the SkinBuildSidebar hook (https://www.mediawiki.org/wiki/Manual:Hooks/SkinBuildSidebar). [00:46:48] Thank you wm-bot, I will try the hook. I have another issue that just came up.... [00:46:48] Hey Amie, you are welcome! [00:49:07] I just installed the extension CategoryTree and get an exception error, "../extensions/CategoryTree/extension.json does not exist" [00:51:18] I have checked file permissions and they are all 644, as mentioned in the documentation [00:52:28] .. suggests it's going up a level first [00:53:10] I apologize, I have fixed the problem. I had placed the wrong information in localsettings.php, based on the version I am using. [00:53:57] the ../extension was a typo, I meant ./extension. Thank you for your help everyone. [03:36:04] Question: I have a LESS module that I want to include in my extension, but *only* if JavaScript is enabled. It's pointless otherwise. Does JavaScript have an equivalent to $output->addModuleStyles() ? [03:42:55] harej: Yes, there's addModules() [03:43:45] just stick in addModules( the module I want ) ? [03:46:45] harej: You have to create a module that points to whatever JS file in extension.json, and then reference that module name [03:46:58] Right, I have that in extension.json. [03:47:08] harej: So like in https://www.mediawiki.org/wiki/Manual:$wgResourceModules#Examples (except in your case you'd only want a script), and then reference that module name [03:47:12] But now I get this: ReferenceError: addModules is not defined ReferenceError: addModules is not defined [03:49:14] Mm sorry, I thought you also had a PHP file that you want to load a JS file in? If you do, you can define $wgOut as a global and then add $wgOut->addModules('module name') [03:49:33] you can load modules client-side with https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.loader [03:49:53] thank you [03:53:30] So I use mw.loader to load it client-side, and according to mw.loader.getModuleNames() it's loaded but it doesn't seem to be taking effect. [03:56:24] The line I added is: mw.loader.addSource( 'ext.CollaborationKit.createhubfeature.styles' ); [03:56:46] And I have the line in extension.json to match: [03:56:48] https://www.irccloud.com/pastebin/xpci5QnK/ [04:04:01] What I ended up doing is loading the LESS through the PHP file, and then having a special class that is added by the JS that triggers the styling. Not the best solution but hey it works. [04:04:13] Thank you SamanthaNguyen [04:05:26] and OH- [07:26:37] [19:56:23] The line I added is: mw.loader.addSource( 'ext.CollaborationKit.createhubfeature.styles' ); <-- uh no that function does something else [07:26:37] you wanted mw.loader.load('ext....') [08:20:15] is it advisable to go from 1.26 to 1.28 directly, or i really should do 1.27 before 1.28? [09:14:16] https://www.mediawiki.org/wiki/Manual:Upgrading/de#How_do_I_upgrade_from_a_really_old_version.3F_In_one_step.2C_or_in_several_steps.3F [09:14:34] says you can go in one step whenever running somenthing >1.5 [09:14:52] so guess one step is just fine [09:18:57] thanks EddieGP [18:51:22] Hi I will like to participate in the mediawiki project can someone introduce me please :) [19:03:15] math-alpha: You might want to take a look at https://mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker [19:03:48] !phabricator [19:03:48] https://phabricator.wikimedia.org/ [19:04:06] Also look at the open tasks there ^ [19:05:16] MTres19 thanks but I read the documentation what I mean is actually working [19:05:48] Yeah I was talking of the tasks :) [19:09:55] I'm trying to run a bunch of old replaceText jobs (replaceText: 0 queued; 252 claimed (1 active, 251 abandoned); 0 delayed) but I can't seem to get them out of the job queue... [19:45:11] Hi! I was part of GSoC 2016 with Debian and want to contribute to Mediawiki this year. Could someone guide me? [19:51:05] PJain__: Do you mean you want to contribute as part of GSoC 2017? [19:51:18] MTres19: Tes [19:51:32] MTres19: *Yes [19:53:16] PJain__: Student applications for GSoC 2017 don't open until March 20th. https://developers.google.com/open-source/gsoc/timeline [19:53:30] PJain__: But you're of course welcome to contribute anyway. [19:53:45] You might want to take a look at https://mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker [19:53:56] Or !phabricator [19:54:05] !phabricator [19:54:06] https://phabricator.wikimedia.org/ [19:54:38] doc.wikimedia.org is very helpful for API documentation. [19:55:45] MTres19: Thanks. I am already going through it. Could you connect me with some of the mentors for this year and also tell me about some of the projects which would be there? [19:56:34] PJain__: The timeline I linked to says that projects won't be posted until later this month. [19:57:38] Yaa I know but I thought you might have tentative list of mentors and projects already like Debian do. I am sorry for the confusion :-) [20:17:19] PJain__: Sorry, I'm not a member of the core team. Can't say with certainty. [20:30:17] MTres19: No issues. Thanks [22:15:55] Hi - does anyone know if there is a MediaWiki test wiki that allows free testing of all MediaWiki features and extensions, including admin and bureaucrat rights? [22:16:24] As in, no features restricted to only the site sysadmins or what not [22:20:12] Trevor12: If you're not worried about your site being held hostage/for ransom, you could install MediaWiki yourself on a free web hosting provider. With hosting though you often get what you pay for. [22:20:29] Or you could install it on your own computer. [22:20:36] I don't want a real content wiki MTres19 [22:20:43] I just want a place to test features and different tools [22:21:32] Trevor12: exactly. But I doubt there are websites that give full admin access to anyone who wants it. [22:22:12] If you want admin access, you'll almost certainly have to pay for hosting or install MediaWiki yourself. [22:23:15] To activate extensions you need access to the server's filesystem, at least the web root. [22:34:35] Trevor12: you may look into https://test.wikipedia.org/wiki/Wikipedia:Requests/Tools [22:34:42] Is a list of a few test wikis [22:35:18] None of them gives full access though, for that it's necessary to install it on your own as already mentioned. [22:37:25] But Admin tools test wiki at least gives adminship automatically after the first edit and 'crat rights when you haven't done bad with sysop rights for a few weeks [22:43:33] talking to myself ... maybe I shouldn't hide quit messages. Sorry :D [23:42:24] Hey, can someone help me out? I have tried to understand this warning: No Lua interpreter was given in the configuration, and no bundled binary exists for this platform. it appears when I import [23:42:49] It has something to do with Scribunto right? [23:44:59] Yes [23:46:13] Helvianir: you'll find some pointers at https://www.mediawiki.org/wiki/Extension:Scribunto#Lua_binary and more interestingly https://www.mediawiki.org/wiki/Extension:Scribunto#LuaSandbox [23:47:21] Ah, my site runs on apache, would that matter? I don't have SSOH sadly so thats limitting me to a large extent, i'll be reading the article once more. [23:48:59] You normally need a hosting where you can install Lua or a custom PHP extension. [23:50:06] Then I see where I may have hit the wall. [23:51:09] Helvianir: how many unique users do you have as the same time connected to your wiki? [23:52:00] (by the way, google + webhosting + lua tells me that exists, at least https://www.a2hosting.com/kb/developer-corner/lua has it, but that won't be a perfect solution if in the future you want visual editor, etc.) [23:52:21] I am hosting at TransIP [23:54:25] Guess i'll have to look into VPS, so for now project is frozen [23:54:30] Thanks anyway! [23:55:14] if you've < 100 users connected as the same time, if you wish to stay on the same budget, may I suggest you test https://www.scaleway.com/? They offer dedicated ARM SoC starting at 2.99 € per month for the C1 (scroll down at BareMetal : 4 Dedicated ARM Cores, 2 GB memory, 50 Gb SSD disk) [23:56:09] It's a service by Illiad (the company behind Online.net) to offer cloud-like configuration with ARM SoC [23:56:46] I've seen MediaWiki installations with Scribunto, Flow and the Visual Editor to work on that. [23:58:10] The drawback is you need to configure your server, maintain it secure and up to date [23:58:30] that could be an heavy additional burden you don't have with a shared hosting