[02:20:07] hi, I have an issue accessing a MediaWiki Page externally [02:20:17] in localsettings.php > $wgServer set at local IP causes wiki to load fine over local network, externally (internet): formatting loads fine, but images don't [02:20:28] when I switch &wgserver to server address, the wiki page loads without formatting and images, both when acessing over local network or internet [02:20:50] any suggestions? thanks! [02:22:18] ben_____, you need to create hosts entries so www.wikiexample.com <-- your domain points to the lan machine ip address [02:23:08] http && https may also be required in the external address, and then in the browser... css and styles can funky about that [02:24:34] http/https was the issue...! [02:24:42] thank you so much! [02:32:44] no problem ben_____, ive been gone from the linux machine for so long, like 3 months, 1st question answered... so good to be home [02:38:44] unfortunately I spoke a little too soon...when I switched out wgserver to point explicitly to https://... it loaded the page immediately but it's not consistent [02:39:23] I have very little experience with servers...when you say "create the hosts entries", do you mean change the host file on the server? [02:54:33] @threesixes, I am being particularly thick this evening, port forwarding wasn't properly set up. Thanks again for pointing me in the right direction [05:58:59] Hey guys... Does anyone know how I can add my MediaWiki username to my Phabricator profile? [05:59:14] I looked at 'edit profile' but it doesn't have that option [05:59:38] (Sorry if this is the wrong channel to ask in) [06:04:53] tonythomas: http://stackoverflow.com/a/28937135/1333493 :) [07:03:59] Hi. I'm struggling with a very bizarre problem. I have a dev and test server, on my dev server everything works fine, but on my test server, I get "PHP Fatal error: Interface 'Psr\Log\LoggerAwareInterface' not found in /usr/share/mediawiki/includes/libs/objectcache/BagOStuff.php on line 47" and nothing works :( [07:04:12] I've tried updating with composer, but I keep getting this error [07:11:05] I know about hooks and how developers use it in codes but can anyone tell me how and where do we use hooks in wiki templates? Thanks :) [07:26:21] marcusramberg: did you deploy/update "vendor" directory? [07:27:26] josephine_l: https://phabricator.wikimedia.org/settings/panel/external/ "Add External Account" and login with MediaWiki [07:29:19] Thanks saper! [07:29:48] you are always welcome :) [07:31:32] josephine_l: your project is really cool, I hope I can jump in and help from time to time, too [07:32:28] Aww, thank you! I'd appreciate that for sure :) [07:32:42] saper: I've even tried rsyncing over the vendor directory from my working server with no success [07:36:44] marcusramberg: eh, do you have vendor/psr/log/Psr/Log/LoggerAwareInterface.php ? [07:38:54] saper: yes! [07:39:28] saper: -rw-r--r--. 1 root root 288 Dec 21 2012 vendor/psr/log/Psr/Log/LoggerAwareInterface.php [07:41:22] 2012, how old is your MediaWiki? [07:42:19] although it was added in 2014 :) [07:42:35] saper: it's mediawiki .1.25.2 [07:43:06] are you running php or hhvm? [07:43:24] saper: php [07:43:34] 5.3.27 [07:43:35] and which version on both servers? [07:43:42] same version [07:43:47] on both [07:43:47] 5.3 ?! [07:44:05] saper: yeah, that's the supported version for my company :( [07:44:32] on RHEL6 [07:44:34] should be supported though [07:44:35] yea [07:44:52] it works fine on one server, and not on the other. Both have php and mediawiki installed through RPMs [07:45:07] I've spent a day trying to debug this now, it's driving me crazy :( [07:45:35] it fails on the command line if I do php index.php in /var/www/mediawiki [07:48:50] does your company have corporate support already? :) [07:49:37] anything interesting in the debug log? [07:49:38] saper: I don't think so, working for an university. :-p [07:49:58] saper: no, only that single line error [07:50:11] seems mediawiki doesn't even start [07:50:40] can you 'php maintenance/eval.php' does it start? [07:51:35] saper: yes, it seems to [07:51:48] and then [07:51:50] use Psr\Log\LoggerAwareInterface; [07:52:28] ah those are RPMs you say [07:52:43] those guys like to break things [07:52:48] saper: inhouse built rpms, actually [07:53:06] the ones shipping with rhel6 are way too old [07:53:17] marcusramberg: did you compare phpinfo() output on both servers? [07:53:29] something with include_dirs, some restrictions? [07:53:35] saper: nope, but I will try that, good tip [07:53:49] saper: the use line gave no output and returned me to the command line btw (for the eval) [07:53:57] so that works [07:54:20] I noticed there's no mention of Psr in /usr/share/autoload.php, could that be relevant? [07:54:34] what's /usr/share/autoload.php ?? [07:54:35] /usr/share/mediawiki/autoload.php even [07:55:01] it is in vendor/autoload.php, do you have it? [07:56:02] # Load composer's autoloader if present [07:56:10] saper: I have a vendor/autoload.php, it also doesn't have any reference to Psr [07:56:34] actually it seems to only bootstrap composer [07:56:42] that's enough [07:56:47] it works, because "use" worked [07:56:49] I'm not very familiar with how autoload.php works :) [07:56:54] ok, so weird [07:57:06] er no [07:57:10] sorry [07:57:43] actually, I don't think my eval works right. I tried use Foo\Bar; and it had no output either [07:57:52] use does not complain [07:57:55] exactly [08:00:27] does $a = new Psr\Log\NullLogger(); [08:00:31] work in eval? [08:01:00] everyone wants to be like Java, and we end up like C++ [08:01:11] and now additionally everyone wants to be like npm [08:03:14] I am trying to set my vagrant up, which asks to run vagrant provision. After running vagrant provision , it says skipping because of failed dependencies. Logs of "PUPPET_DEBUG=1 vagrant provision" are at https://dpaste.de/rP8h . Please help. Thanks :) [08:05:59] akangupt: ==> default: Error: Cannot create /vagrant/mediawiki/skins/Vector; parent directory /vagrant/mediawiki/skins does not exist [08:06:09] things didn't get installed where they should be [08:07:10] marcusramberg: your problem looks like php.ini issue or some files are corrupted/missing [08:07:29] saper: it seems my eval is broken. No matter what I type in at > it just returns to the command line with no output [08:08:05] saper: I guess. I'll just keep digging, thanks for the pointers [08:13:03] saper: I tried to run vagrant provision. It just shows this each and every time. I am behind a proxy server and done these proxy bypass settings https://www.mediawiki.org/wiki/MediaWiki-Vagrant#Vagrant_behind_proxy too. [08:29:54] Hey everyone. I just updated my mediawiki and now i get the error "Another module has already been registered as oojs" [08:39:42] akangupt: maybe git over proxy does not work - no idea.. never used vagrant to develop mediawiki [08:43:07] Ok, other question: How do i setup the Visual Editor? i always get: code: "parsoidserver-http-curl-error" [09:07:24] Nemo_bis: hey - that sounds great! Finally there are real problems with Mediawiki Mailer being reported, and SwiftMailer quoted ! [09:14:06] :) [09:14:41] tonythomas: maybe SwiftMailer should be mentioned as alternative solution to PEAR setup etc. in the SMTP setup manuals (which are a huge mess on MediaWiki.org) [10:19:17] saper: Figured it out. was missing a symlink from /usr/share/mediawiki/vendor to /var/www/mediawiki/vendor :-o #fail [10:42:29] Nemo_bis: Yup! It should really go somewhere https://www.mediawiki.org/wiki/Manual:$wgSMTP [10:45:00] There is actually a PHP 5+ compatible release of the PEAR Mail 1 release. [10:45:39] Which I have now lost... I just installed this a couple days ago. :| [10:48:51] Actually, that is what it was. PEAR 1.10.0 fixes a lot of the legacy issues with PHP 5.4+ installations. https://pear.php.net/package/PEAR/download/1.10.0 [10:49:18] marcusramberg: redhat fail [11:36:42] saper: so much [13:15:36] Hey guys :) [13:15:53] I have a question about the mediawiki API I hope you can help me with. [13:17:04] What is the url parameter to specify the namespace for an article? I want to retrieve a page from a certain namespace but everything I've tried so far does not work. [13:18:09] The documentation explains how to retrieve a list of namespaces, so I have found the id for the namespace I need, but it's not explained how to build the url with that id. [13:18:24] What are you trying to get about the article? [13:18:51] You're probably overthinking it [13:18:52] https://en.wikipedia.org/w/api.php?action=query&prop=info&titles=Wikipedia:AutoWikiBrowser [13:20:31] kbasten: What are you trying to do? [13:24:29] ... yep, overthought it :) [13:24:32] That seems to work [13:24:35] Thanks, Reedy [15:17:00] InstantCommons seems broken on my dev wiki :( [15:51:12] who is the usual contact for mentoring and gsoc and stuff? [15:52:29] qgil (quim gil) usually [15:56:55] * legoktm waves to MC8 [15:57:05] MC8: are you interested in participating in GSoC? [16:04:38] legoktm: I am, but I also have to do some sort of major project as part of my uni degree, so I thought I'd see if I can relate it to wmf/mw somehow [16:05:28] Ah, that would be cool :) [16:07:41] https://www.mediawiki.org/wiki/Outreach_programs/Life_of_a_successful_project has the basic process [17:16:03] thanks :), now to think of something to do ! [18:16:28] guillom: I'm wondering if we could use https://www.mediawiki.org/wiki/MediaWiki:Cirrussearch-boost-templates to lower {{historical}} stuff in search. [18:16:56] legoktm: I hadn't thought of that; Probably. [18:17:34] My knowledge of CirrusSearch is basically "insource:". [18:17:58] https://www.mediawiki.org/wiki/Help:CirrusSearch there are so many options! [18:43:17] Hello everyone I am new to this open source world , but have kind of fallen in love with the concept , how do I start contributing? [18:48:32] Hi xarvis! [18:48:54] Hello everyone I am new to this open source world , but have kind of fallen in love with the concept , how do I start contributing? [18:49:16] xarvis: What do you want to contribute to? :) [18:52:05] Hmm... do something ? [18:52:50] I want to contribute to any part of open source organization like wikimedia! I know python and a bit of web development [18:53:03] why is it so hard to skin mediawiki and why isnt it mobile optimized [18:53:11] the skinning process seems extremely convoluted [18:54:37] such is life [18:54:43] we have some guides though [18:54:45] !skinning [18:54:45] From scratch: https://www.mediawiki.org/wiki/Manual:Skinning/Tutorial / Based on another skin: http://blog.redwerks.org/2012/02/28/mediawiki-subskin-tutorial/ / See also !skins for general help and list of available skins [18:55:05] !start | xarvis [18:55:05] xarvis: https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker [18:55:16] quackgyver, because we like 20th century! seriously though, one of our devs is working on a project to make skins writeable entirely in mustache - maybe you can help him? ;) [18:55:38] Nah, I think frontend frameworks are crap [18:55:52] Why not just offer a blank slate [18:55:57] that's server-side templates [18:55:57] for frontend devs to use what they want with? [18:56:21] xarvis: if you know python, you may want to contribute to https://www.mediawiki.org/wiki/Manual:Pywikibot [18:57:02] Vulpix, not really eay if you're not running a bot yourself [18:57:54] I contributed to a few scripts and I had no idea of python before contributing it... [19:03:52] Vulpix: so you learnt python along the way? [19:05:08] I already know several programming languages. It was just a matter of reading a quick tutorial, looking around the existing scripts, and have a handy cheatsheet :P [19:12:17] where do I find the code and tasks to do for pywikibot [19:19:16] you can ask on #pywikibot although the page has links to that [19:20:04] the guy is gone [19:20:37] sometimes I really wonder how one manages to survive on webchat for more than 10 minutes [19:21:10] heh [19:21:39] I have chatzilla configured with conference mode, so I don't see parts and joins on this channel :S [19:21:49] /ignore * crap [19:27:53] ostriches: Is there any particular time of day that security path will be released tomorrow? [19:28:21] Probably early afternoon PDT. [19:28:58] If I get all the patches staged for all branches today, then we'll be set for a quick release :) [19:29:37] Cool, Friday is my really busy day so I'm just trying to work out when it'll be deployed to ShoutWiki. [19:36:25] ostriches: Thanks for the heads up email, those are very helpful [19:37:39] You're very welcome. [22:20:43] hi! [22:21:18] i have the problem that mediawiki urls with รค or ( won't be copied correctly if you copy the URL from Internet Explorer [22:22:01] is it possible to have the URL encoded so that ( will be shown as %C3 right away? [22:22:13] so that also noob browsers can't make anything wrong ;) [22:26:04] Flexman, wikipedia or your own wiki? [22:26:23] my own wiki. guess i can't change the config files of wikipedia ;-) [22:26:49] you totally can, actually - we accept pull requests ;) [22:27:49] so do you have this problem with https://de.wikipedia.org/wiki/B%C3%A4ume ? [22:29:33] for example https://de.wikipedia.org/wiki/R%C3%BCssel_(Begriffskl%C3%A4rung) [22:29:42] yep the problem exists in Wikipedia too [22:30:03] this link was copied with chrome. chrome will encode umlauts but ignore brackets [22:30:58] FF will copy it as https://de.wikipedia.org/wiki/R%C3%BCssel_%28Begriffskl%C3%A4rung%29 [22:31:34] and IE will copy it as https://de.wikipedia.org/wiki/R%C3%BCssel_(Begriffskl%C3%A4rung) [22:31:39] oh wow, they fixed things in IE [22:31:51] MaxSem: however ( is still a problem [22:32:14] the thing is that this is the same UR internally [22:32:15] some mail clients will only recognize the URL until the ( [22:32:27] it's just certain browser that sucks ;) [22:32:57] yeah sure it's the browsers fault but that doesn't help much when people complain that they can't copy my URLs [22:33:17] there's also https://en.wikipedia.org/wiki/Sunn_O))) [22:41:27] MaxSem: so there is no solution? [22:41:49] use real browsers! [22:42:48] Like Opera, MaxSem? [22:43:01] RIP Presto [22:43:20] not sure how real is Vivaldi by now though [22:44:25] MaxSem: pretty sure the new Opera is better than the Vivaldi thing [22:44:46] I don't need no Chrome skins though [23:20:51] MaxSem: i can't force the rest of the world to use real browsers especially when some guys who want to use that tool use IE. that's the world [23:21:06] and Vivaldi is not very real, it doesn't work well on touch devices [23:25:40] MatmaRex: The new Opera at least works with touch devices. However i don't get the sense. [23:26:03] at least it has mouse gestures out-of-the-box [23:26:04] It doesn't have Opera functions, it's just like Chrome without extensions [23:26:23] there's an extension to install chrome extensions :P [23:26:40] yep, but then why not install chrome ;) [23:26:42] ah ok. never used mouse gestures. just used all the other things that are missing now. [23:27:32] it's a slightly less silly and more configurable chrome, though, that's true :(