[00:10:08] hey, i've tried turning json on and off, but nothing has happened [00:12:27] is it showing as enabled yet? [00:12:34] If it's not, you'll have to ask godaddy [00:15:46] no, the php check has no mention of json while the godaddy site says it is enabled [00:16:47] I think the godaddy site is wrong [00:16:56] Or, if it's right, it's not restarting something it should be [00:17:07] i see [00:17:26] The amount of people we get with similiar issues, it's usually either it's not installed, or the webserver/php service hasn't been restarting after reconfiguring [00:20:41] i didn't know this was a common issue [00:20:51] i thought i had exported something wrong [00:21:25] if phpinfo isn't showing the module as loaded, it's something higher up than MW [00:31:51] additionally, would the cpsrvd value in phpmyadmin be what i put in $wgDBserver? [00:33:59] what's cpsrvd? [00:36:23] https://cdn.discordapp.com/attachments/209144353170391040/262377940241612805/unknown.png [00:38:03] couldn't find much info on this online [00:41:49] Reedy, you like to find these small coding-style related issues in codes :P [00:42:09] "It's really no big deal. cpsrvd is part of your cPanel services" [00:42:20] divadsn: Lots of time wastedspent fixing them [00:43:30] so i'm guessing that's not a proper ip [00:44:20] Reedy: Yes, I understand it ^^ Btw, which IRC client are you using that you have used HTML code? Because I only see the strike tag :P [00:44:49] divadsn: I've been around long enough that I'll just type it out when it's appropriate ;D [00:45:19] I see it as plaintext, not any sort of parsing [00:46:45] Ah okay, I see it also only plaintext, but there are some rumors to add some way of HTML formatting into The Lounge, like auto emoji and stuff like that. That's what I like in open-source, you can see the PRs and upvote them :D [00:47:52] Or, "WHAT ON EARTH ARE YOU DOING? JUST NO, DON'T DO THAT" [00:48:40] Reedy, yeah and the pointless discussions :"Dy VPS did submit the new patch set, I will go sleep now, good night and Merry Christmas everyone! [00:48:48] *my [00:49:05] I'm also heading to bed [00:49:14] No doubt I'll be doing some CR on christmsa day proper ;) [00:49:50] It's only checking if I did the line wrap :P [00:50:09] Bye! ;) [00:50:32] That's not to say I reviwed it in full before ;) [00:53:00] Heh, I don't know what you already have reviewed ;) I won't bother you anymorPe, it's enough that I added you as a reviewer because Florian seems to be away for Christmas : [00:53:48] Argh, I hate typing on Android sometimes, anyway, good night ;) [05:05:37] hi [05:06:10] i have enabled the api in my wiki but I can't acces wiki/api.php instead a non existing page is shown [05:07:46] Did you try /w/api.php? [05:09:45] sry i have to part [05:09:50] thx trela [05:10:11] ?_? [06:06:46] Hi, how can I disable Flow in Mediawiki Wiki? [10:05:05] Hi [12:22:10] Hello, there is a new pages queue at English Wikipedia. How may I visit a page from it -- either using the API, or using a special page (like 'Special:RandomPage/Draft' returns a random page from draft namespace)? [12:24:58] How do you view it onwiki? [12:32:35] Reedy: https://en.wikipedia.org/wiki/Special:NewPagesFeed [12:35:40] gry: action=pagetriagelist ? [12:37:41] ooh thanks [12:38:35] Not sure why it's not a query module [12:47:46] hmm, not sure why https://en.wikipedia.org/w/api.php?action=pagetriagelist&limit=10 is empty [12:52:27] gry: Set a namespace [12:52:40] None set, it'll default to NS_MAIN, ie 0 [12:52:53] So you need to pass &namespace= [12:53:06] And pass the number of the draft namespace :) [12:55:04] hmm [12:55:04] if ( isset( $opts['namespace'] ) && in_array( $opts['namespace'], $wgPageTriageNamespaces ) ) { [12:55:40] The namespace isn't in the array [12:55:58] Hmm [12:56:09] gry: Something looks fishy [13:01:38] hi! [13:02:02] I followed this guide here to install mediawiki on my localhost [13:02:03] https://www.digitalocean.com/community/tutorials/how-to-install-mediawiki-on-ubuntu-14-04 [13:02:08] but I can't run it [13:02:31] Where do you get stuck? [13:05:15] I extract the files of media wiki in /var/www/html directory, and edited the /etc/apache2/mods-enabled/dir.conf to have the index.php before index.html [13:05:46] and then open http://localhost and it opens a file saying my php isn't configured properly [13:05:58] I mean, apache isn't configured properly [13:06:18] what's the message say? [13:08:32] it's this. I copied first few lines https://dpaste.de/8Y2F [13:09:25] php isn't being executed [13:09:57] yeah, but what more do I need to configure in apache apart from that? Or is something wrong with my php installation? [13:10:07] you did follow the lamp stack guide? [13:10:16] yeah. I did [13:10:32] libapache2-mod-php5 or something looks missing [13:10:37] or a restart not done [13:11:40] libapache2-mod-php5 is installed. Tried reinstalling it again. Also, restarted the apache server twice now :/ [13:12:12] are you using 14.04? [13:12:21] I didn't follow the optional stuff in that lamp guide [13:12:42] yeah. 14.04. Basically it's ElementaryOS built on top of 14.04 [13:12:45] I'd presume the optional stuff isn't needed [13:20:25] I guess the problem is [13:20:42] not having .htaccess file in my document roor /var/www/html [13:21:22] also I extracted using GUI through gksudo. The files are accessible to root user. Could that be a problem as well? [13:21:43] don't need a .htaccess... [13:21:51] You can do it in your config [13:22:48] Thanks! I'm probably going to copy the files again and restart the server. Hope it works! [13:29:19] Whoa! It worked! I copied the files using sudo mv earlier. Just used GUI for moving files, and restarted the server and it worked! :D [13:29:31] Thanks @Reedy [14:21:47] Hi [14:21:58] How i can limit a api query to only 5 results? [14:22:29] TurBoss, https://www.mediawiki.org/wiki/API:Lists#Limits [14:22:34] thx! [20:14:48] Reedy: is it a pagetriagelist bug? [20:15:00] Something seems wrong, definitely [20:23:53] Ok, filing a bug now Reedy, meanwhile as a workaround how else do I retrieve new pages via api? https://en.wikipedia.org/wiki/Special:NewPages api for example [20:26:37] Um... [20:53:32] In my skin, I am calling $this->getSkin(). [20:54:02] However, this gives the following debug error: ContextSource::getContext (mySkin): called and $context is null. Using RequestContext::getMain() for sanity [20:54:15] Why is that and what can/should I do about it? [22:07:17] Joergi: Not call $this->getSkin() in your skin, for starters? [22:11:23] Reedy: I am showing a portlet from the Collection extension in my skin. The getPortlet function of this extension needs to get the skin object as argument: [22:11:35] CollectionHooks::getPortlet($this->getSkin()); [22:11:39] If you're in a skin, just pass $this? [22:17:28] That's giving: Using $this when not in object context in ... [22:17:39] Seems I still need to adjust the function definitions... [22:20:24] You're either in a static function... Or a global function [22:26:39] It was in a static one. Made the things public/protected now... [22:29:53] It doesn't change the message: [22:30:06] ContextSource::getContext (modifyTools): called and $context is null. Using RequestContext::getMain() for sanity [22:30:26] Any ideas? [22:31:15] Your skin doesn't implement contextsource? [22:31:56] Th skin is basically a Vector clone of MW 1.27. Where should I check that? [22:33:00] Where is this function? [22:34:14] It is in class modifyTools. This class extends SkinVector... [22:35:21] Call setContext() first? [22:35:55] Shouldn't the context be set already? [22:36:12] I mean: I see it's not - but why? [22:36:26] Because nothing has set it [22:36:32] It doesn't get set automagically [22:37:03] * Reedy looks where a skin gets setuo [23:06:47] Seems like it's includes/skins/SkinTemplate.php...