[00:04:20] It depends, I am not just looking for a affordable host, but also ease of payment, TransIP is Dutch, and due to that, payment is a lot easier. But I'll keep scalaway in mind [00:05:11] but I dont have figures on how many people visit the site, I was asked to take over from someone else, but then again I am a novice at best when its considered [00:10:17] yes Scaleway is in France, so they've special ideas about how to accept a SEPA mandate or a wire transfer :/ [00:24:09] Dereckson, what is the difference between Scalaway and a2hosting , like set up, difficulty, possibilities, you could send it to me in PM [01:03:51] hello~Is there any one can help me? [01:05:00] newbee [01:05:02] !ask [01:05:03] 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. :) [01:06:53] ok,i am a chinese guy~ I add a page to a category by using [[Category:Root]], but the Category:Root page cannot show the page. what's the problem? [01:08:08] !jobs [01:08:09] The Wikimedia Foundation has open positions listed at https://wikimediafoundation.org/wiki/Work_with_us#Wikimedia_Careers - consider applying and helping improve MediaWiki! [01:08:13] Oops. [01:08:19] !jobqueue [01:08:19] The Job Queue is a way for mediawiki to run large update jobs in the background. See http://www.mediawiki.org/wiki/Manual:Job_queue [01:08:29] newbee: ^ [01:09:04] You may need to have runJobs.php run regularly with cron or systemd. [01:09:19] thank you ! MTres19 [01:09:49] I check it first [01:14:16] still not work. I have set $wgJobRunRate = 0; in LocalSettings.php [01:16:50] newbee: set $wgJobRunRate = 5; and $wgRunJobsAsync = false; [01:17:04] Then visit a few pages on your wiki. [01:20:01] MTres19 , it works. thank you [01:20:21] newbee: great! [02:18:31] !admin [02:18:31] To recreate the admin user, run "php maintenance/createAndPromote.php" on the command line. [02:22:54] help [02:23:04] !ask help [02:23:04] 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. :) [02:25:24] !ask I get bug in Extensions:CentralAuth I can't see about myaccout informations Get [WKkAbeJcL8dpjritfpPSXwAAARg]/w/index.php?title=Istimewa%3AOtoritas+pusat&target=Test Exception from line 687 of /home/ckmpga/public_html/w/extensions/CentralAuth/includes/specials/SpecialCentralAuth.php: Invalid wiki: ckmpga_wiki-A_Backtrace:#0 /home/ckmpga/public_html/w/extensions/CentralAuth/includes/specials/SpecialCentralAuth.php(462): SpecialCentralAuth->foreignUserLi [02:25:24] 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. :) [02:27:27] can someone help [02:36:34] I get bug in Global account manager [02:36:55] Special:GlobalAccounManager [02:49:56] Hi all [02:49:57] Please respons [04:34:42] Hey, all -- I have a category, https://aninix.net/wiki/Category:Martial_Arts, that isn't adding new pages, like my page on Shaolin. I'm regularly running runJobs.php, but it's not helping... Any way to rebuild a category? [04:37:35] nvm -- rebuildall.php; refreshLinks.php; runJobs.php did it. Sorry for spam. [09:04:36] How to create a home page just like wikipedia? I only want a web page with a box to search the items in my mediawiki. [09:06:09] show no response, just redirect to a mediawiki searching result. [09:06:58] as simple as it can be [13:57:02] Is it possible to have the talk page in the bottom of the article page? [13:59:05] In theory yes [14:05:16] thanks [16:33:31] Is there an admin available? [16:35:33] EmeraldRhino84: on mediawiki.org? yes [17:13:22] Hi all, I've encountered the following error on running importDump.php: "PHP Fatal error: Call to a member function getPrefixedText() on null in LabeledSectionTransclusion.class.php on line 122". I wanted to fix this in the source code of LST, but I have a question first: why does any parsing even occur on import? The function with the error is a parser hook, so I really don't know why this... [17:13:24] ...should even happen. [17:14:07] Is this on a WMF ran wiki? [17:14:24] Definitely not :-) [17:14:34] Ok. [17:14:44] what mediawiki version? [17:15:27] MW 1.27.1. I can debug LST itself later; I'm mainly wondering why any parser function would even run on import. [17:15:56] Dror_[FFS]: parsing occurs to update pagelinks tables etc [17:16:06] From what I understand the parser parses just about any action [17:16:23] passing --no-updates may prevent the parsing [17:17:27] Ahhh. That makes sense, I guess. So now I just have to go over LST and find how it gets a null $title - I've already added guards against one such instance, so I need to find any others. [17:20:05] Thanks, guys! :-) [17:23:50] No problem [18:24:09] hi, am I not allowed to call a function I wrote in a MediaWiki extension? [18:24:47] say I already defined a function named randomNumber and then I try to call it by doing $winner = randomNumber(10); where 10 is the number of digits, it gives me a 500 error [18:28:24] !debugging [18:28:24] For information on debugging (including viewing errors), see http://www.mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://www.mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging [18:28:40] that should help you find out what's going wrong. you should be able to do that. [18:28:53] If not feel free to let us know [18:29:04] thanks [19:03:29] i'm not able to get any debug information because the server just throws a 500 error O.o [19:04:11] hi nadors [19:04:18] on such case, information could be in logs [19:05:48] would you be able to take a quick look at http://pastebin.com/evG0Wbam [19:06:05] it's line 13 and 14 that's causing mediawiki to fail for some reason [19:07:59] sure [19:08:29] nadors: without any further details, i would guess that you're running a version of PHP that doesn't have the random_int function. [19:08:48] nadors: the information i linked helps you get an error message, rather than just a HTTP 500. [19:08:54] you won't get far without real error messages. [19:09:01] random_int is PHP 7 only I think [19:09:04] wait what [19:09:12] PHP 5.6.30 (cli) (built: Jan 21 2017 01:17:27) [19:09:23] PHP Fatal error: Call to undefined function random_int() in test.php on line 8 [19:09:26] nadors: mind telling us what php version by going to special:Version on the wiki site [19:09:26] line 7 [19:09:37] oops [19:09:43] with PHP 7.1.0 (cli) (built: Dec 20 2016 13:43:07) ( NTS ) [19:09:44] yup I'm running 5.* [19:09:46] your script works [19:09:57] I didn't realize random_int was php 7 [19:10:23] Php 7 may not work with 1.27 i may be wrong [19:10:27] should I be working on extensions for MediaWiki assuming PHP 5 or 7? [19:10:30] http://php.net/manual/en/function.random-int.php documents it as PHP 7 on the top of the page [19:10:50] for public distribution PHP 5 [19:11:08] for your own need or distribution in the future PHP 7 [19:11:39] thank [19:11:43] thanks* [20:22:39] hello [20:22:42] https://www.imgpaste.net/image/3xraF [20:23:07] this page was imported from wikipedia into my mediawiki [20:25:37] is there something missing ? [20:25:59] why it is not displayed on right side as it is on wikipedia ? [20:37:53] jozo: is your mediawiki acessible? [20:38:46] it might be that the template is defined differently locally, besides the commons and wikidata not importing directly [20:45:17] chicocvenancio: no it's inside my lan [20:45:39] is there a docker image of mediawiki with all wikipedia functionality ? [20:46:26] because in all my infoboxes i can see [20:46:40] also wiked is not working :( [20:48:46] I'm not aware of a docker image like that, but I haven't played with mediawiki deployments in quite a few years. [20:49:17] ah ok [20:52:00] jozo: there are some experiments. https://www.mediawiki.org/wiki/Docker [20:52:12] there's also a Vagrant image, more stable. https://www.mediawiki.org/wiki/MediaWiki-Vagrant [20:53:54] great thanks, i'll take a look [20:54:28] btw why is not this enabled in config after instalation by default ? [20:54:30] require_once( "$IP/extensions/Scribunto/Scribunto.php" ); [20:54:45] and $wgFileExtensions[] = 'svg'; [22:35:42] hello, I don't understand how to install/configure modules for my mediawiki setup? For example the https://www.mediawiki.org/wiki/Module:String [22:35:49] can anyone give me any hints on how to accomplish this? [22:37:28] Modules like string arent something that needs installed [22:37:44] Strings are apart of anything that has code [22:38:03] What your thinking of is extensions [22:43:50] mefistof1les, that's a Scribunto Lua module [22:44:04] OH-: yes, one sec [22:44:06] did you import a template from wikipedia or some sort of site that asked for said Module? [22:44:15] you should be able to export/import like any other Wiki page [22:44:30] export/import Modules like any other page [22:44:34] OH-: something like that, I'm trying to make wikipedia syntax work in my mediawiki [22:45:43] damn, I don't have the exact markup code right now... to put the exact error [22:46:13] (also the Scribunto extension should be on your wiki) [22:46:25] yes I think I have that one, sec [22:47:44] OH-: my Special:Version page shows Scribunto in the loaded extensions [22:48:04] excellent [22:48:32] I'm not sure if there is a special feature for exporting pages that will detect which modules you need to export [22:48:47] but what I did when loading Wikipedia templates into my own test wiki was just to export the Module page that the template was complaining about [22:48:54] and repeat until all the errors were gone [22:49:24] OH-: how is that import/export done? [22:50:28] go to Special:Export on the wiki you want to take pages from [22:50:44] you put in the pages you want to export, and then go to Special:Import on your own wiki [22:50:52] that should copy the page history and content to your wiki [22:51:08] OH-: ok, they are XML files right? [22:51:46] Script error: Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted [22:52:04] yes, exported pages are XML files [22:52:23] I'm getting this when I'm importing the Module:String from wikipedia [22:54:39] hmm [22:55:12] this is most likely a config issue [22:56:40] if you're using RHEL/fedora/etc. it might be SELinux [22:56:56] no SELinux here, it's an archlinux host [22:57:17] read somewhere that rebooting fixed it... :S haha I may try that [22:58:15] hehe can't hurt to try. brb [23:30:24] OH-: rebooting didn't fix it [23:55:57] so, I put the error msg again in case you have any idea that may help. I'm getting "Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted" when I use some Lua string module in mediawiki [23:56:12] permission over /dev/null are the following crw-rw-rw- 1 root root 1, 3 feb 19 18:00 /dev/null [23:56:16] they look good to me [23:56:35] I don't have SELinux or anything like that running in this OS