[01:40:01] addshore: re mediawiki-api-base, is it the idea to deprecate SimpleRequest one day? [01:42:01] hello all [01:44:59] hi newhere [01:45:50] I am acually new here, So i just wanted to I mean get the grasp of all things that are undergoing in mediawiki, and want to conrtibute here. [01:46:00] hi samwilson [01:47:09] welcome :) what sort of things would you like to work on? [01:48:54] I know javaScript and jQuery, and currently on node.js, I can learn things if they are required. [01:50:31] I am currently looking here https://phabricator.wikimedia.org/tag/possible-tech-projects/ , and there are so many projects. [01:54:07] newhere: there's the #easy tag on phabricator, if you're looking for a easy first step [01:55:09] I am looking at it now. [01:57:20] Is there an option to filter it by the language the easy fixes requires? [02:03:08] newhere: no, not really, although you can combine the project search to find intersections with other tasg [02:03:10] *tags [02:03:53] i think i maybe able to do this https://phabricator.wikimedia.org/T170476 [02:50:43] hello -- anyone around able to help with an html2wiki extension issue? [02:51:05] no matter what html file i upload i get an error saying invalid file format [02:51:20] ive been unable to find any logs or anything to further expand on what the actual issue is [02:51:32] and ive tried using even the most basic html hello world page as a test [03:19:20] josha: I'm not familiar with that extension, but make sure it's installed correctly and that it has all of its dependencies https://www.mediawiki.org/wiki/Extension:Html2Wiki#Dependencies [03:19:43] thanks, i've checked that a few times [03:19:58] i started looking at the code, and it looks like its throwing the error because the mime type isn't right [03:20:15] so i checked mime types and they are correct, which makes me believe now that the handle/reference to the temp file is an issue [03:20:29] im going to attempt to load everything locally and go from there, to rule out it being on a shared cpanel server. [03:21:21] good luck! [03:21:40] if you see things like wfDebug(...) in the code, then you can set $wgDebugLogFile to get those logged [03:22:04] which may provide more insight into what is happening [06:15:57] josha: https://www.mediawiki.org/wiki/Extension:Html2Wiki [06:20:50] ok, there error handling section may not be that helpful [06:49:56] a technical question. When I hit wikipedia.org/wiki/ does wikipedia map <title> directly to some static html file (using some webserver settings), or does it have a php script that receives the <title> token, reads the page content from a file, then echo() everything? [07:01:01] <legoktm> zPlus: our PHP application, MediaWiki, looks up the title, builds all the output, and then echos it, yes. [07:01:56] <legoktm> there is an additional caching layer in front that bypasses MediaWiki and just uses the output another user saw earlier if it's not outdated yet [07:15:05] <zPlus> thanks legoktm [09:35:25] <tonton__> hello guys? who can help me? i need to change target my car by coordinate [09:37:21] <tonton__> there is function changeTarget in py, but it needs edge [09:39:54] <tonton__> and there is function convertRoad(coordinate) [09:40:31] <tonton__> but changeTraget( convertRoad(coordinate) ) = exception [09:44:21] <tonton__> Can not who can help me? [11:17:17] <schasi> What kind of exception? [12:24:11] <Guest56467> how can I contribute to wikimedia [12:24:29] <andre__> Guest56467: https://www.mediawiki.org/wiki/How_to_contribute [16:40:35] <Dekkzter_> Hello, i might have found a problem with my site finally, and it seems that it cant load "load.php" on my wiki.domain.tld, but can do it on my test.domain.tld, no changes has been done to either of the configurations.. anybody who can tell me what to do and how to solve this? the account running the webservice has readrights to the file [16:41:53] <Skizzerz> Dekkzter_: it's weirder than that [16:42:00] <Skizzerz> from when I was poking around [16:42:16] <Skizzerz> if you add ?debug=true to the URL, it tries to load each CSS thing individually [16:42:26] <Skizzerz> then it successfully loads all of the mediawiki core stuff, but fails to load vector [16:42:33] <Skizzerz> which is why I thought it was mod_security being rude to you [16:43:00] <Dekkzter_> ahaa. ok.. it is really a wierd issue... i have no answer from vestacp either [16:43:44] <Skizzerz> imo trash it and do a base install rather than relying on a control panel [16:44:02] <Skizzerz> if you're comfortable enough with configuring all of that stuff yourself, that is [16:44:12] <Dekkzter_> im to bad on webservers for that.. lol... :P [16:44:31] <Skizzerz> can I pm you with some stuff, can look into the mod_security angle a bit further [16:44:40] <Skizzerz> ? [16:44:42] <Dekkzter_> but might give it a go.. [16:44:43] <Dekkzter_> sure [16:45:09] <Dekkzter_> at work right now, so not usre how much i can check right now [16:45:39] <Skizzerz> ah [16:45:50] <Skizzerz> then write down notes? ;) [16:46:34] <Dekkzter_> i will do :) [17:30:29] <Ulfr> Is there any efficient way to export (read: steal) all of the CS1 citation templates wikipedia offers? [18:16:23] <legoktm> Skizzerz: Dekkzter: if it's just Vector, it could be an issue with wfTempDir() not working so Less compilation fails? just a random shot in the dark [18:16:58] <Skizzerz> there was an open_basedir thing but we fixed that [18:17:21] <Skizzerz> but I would expect that to show in debug/error logs [18:17:42] <Skizzerz> legoktm: it returns a 403 [18:17:52] <legoktm> oh [18:24:16] <Reception|away> Hi. If I have a file which creates databases using wfGetDB( DB_MASTER ), how could I set it to create databases on another database server? [18:28:11] <Ulfr> Reception|away: https://doc.wikimedia.org/mediawiki-core/master/php/GlobalFunctions_8php.html#aaee9057ac6cf79cb4bf9ad71c5ecc909 [18:28:28] <Reception|away> Ulfr: thanks! [18:54:36] <Dekkzter_> I give up, im going with another subdomain.... tried another control panel than vesta, exact same issue... [20:17:02] <bawolff> legoktm: hmm. I wonder if we should include the security@wikimedia.org email there as well [20:17:44] <bawolff> on the other hand the wikipage allows us to change information if it ever should change [20:33:05] <bawolff> Interesting, privacy badger seems to be blocking echo notification drop down for me on mediawiki.org [21:36:42] <Crashdown> Hi there. Some problems with installing and getting MediaWiki up and going on a Raspberry Pi. I followed the official instructions on the MediaWiki site for running MW on Debian/Ubuntu. [21:36:56] <Crashdown> I've gotten to the configuration screen and it says it couldn't find a suitable database driver. [21:37:16] <Crashdown> It's asking for MySQL or something similar and I've installed MySQL but the error persists. [21:39:26] <Vulpix> Crashdown: you should install the mysqli extension of php [21:39:46] <Vulpix> php-mysql package or similar [21:41:15] <Crashdown> php-mysql is already installed. [21:44:02] <MaxSem> what does your php output with this? <?php var_dump(class_exists('mysqli'), function_exists('mysql_connect')); [22:58:06] <Dekkzter> root [22:58:10] <Dekkzter> oops :P [23:30:38] <Matthew_> bawolff: Doubly intresting. I don't have that issue, indeed; PrivacyBadger sees nothing on the latest FirefoxNightly on mw.org. Now enwp.org it's blocking fonts.googleapis.com for some strange reason... [23:31:07] <bawolff> Well fonts.googleapis.com should definitely not be loaded [23:31:16] <bawolff> Its a privacy policy violation to load fonts from google [23:31:41] <Matthew_> That's what I figured... I'm wondering if some JS is loading it. [23:31:59] <bawolff> Its possible a gadget does it [23:32:12] <bawolff> Its a bit of a grey area for a gadget to do it, assuming the user opts in [23:32:52] <Matthew_> Hm. [23:33:01] <bawolff> You could try disabling all your gadgets to see if it stops, and see if you can narrow it down to which gadget [23:33:14] <Matthew_> Either way, PrivacyBadger is blocking nothing for me on mw.org. Echo functions as intended. [23:33:22] <bawolff> fwiw, google fonts don't get loaded for me on enwikipedia [23:33:25] <Matthew_> Yeah, I jut might. [23:34:00] <bawolff> Maybe the echo thing was something with cross-wiki notifications [23:36:27] <Matthew_> Oh could be! I don't have any, so I'm not good to test that. [23:37:17] <bawolff> Maybe a combination of doing a cross wiki check, with a WMF-last-access cookie (Don't really know how cross wiki notices work. that might not make sense) [23:44:07] <Matthew_> Huh... yeah I'm not seeing anything that PrivacyBadger would be grumpy about. FWIW the web inspector in chrome is also not showing fonts. either... [23:44:53] <bawolff> I haven't really been able to reproduce it a second time