[04:00:51] Hey guys, I think there are typos in this function: https://git.wikimedia.org/blob/mediawiki%2Fcore.git/master/includes%2Fmedia%2FSVG.php#L308 [04:01:18] The functions called don't exist. [04:01:49] I think it's getMedata and unpackMetadata instead of getMetaData and unpackMetaData. [04:09:36] Hi Celelibi. [04:09:49] Hello. [04:12:58] Celelibi: Yeah, seems so. [04:23:30] Celelibi: I guess it dates to https://www.mediawiki.org/wiki/Special:Code/MediaWiki/75847 ? [04:23:48] Celelibi: Would you like to file a bug or shall I? [04:24:17] Well, I would prefer to let you do it. :) [04:28:14] Celelibi: How'd you catch this, BTW? [04:28:30] I was reading the code. [04:28:51] To make my own SVG thumbnail generator. [04:29:29] Ah, neat. :-) [04:29:30] That would make the thumbnails stay in SVG format. :) [04:29:34] https://phabricator.wikimedia.org/T95873 [04:29:46] Serving SVGs as SVGS is a goal for Wikimedia. [04:29:54] But it's complicated. [04:30:17] Rasterization as PNG saves us from lots of security issues and ensures a lot wider browser support. [04:30:36] Plus large SVGs can be horribly expensive to render, even in modern browsers. [04:31:20] Well, I don't mind browser portability issue. And I don't have a rasterizer installed on my hosting server. [04:31:34] Yeah, rasterization is annoying. [04:31:56] Depending on your requirements, you can use Wikimedia Commons' rasterizer with InstantCommons. [04:32:10] How do I do that? [04:32:15] !wg InstantCommons [04:32:15] https://www.mediawiki.org/wiki/Manual:%24wgInstantCommons [04:32:32] This presumes that your media would be suitable for upload to Wikimedia Commons. [04:32:37] BTW, generating a thumbnail in SVG format is just a matter of fixing an XML attribute. :) [04:32:52] Like it would need to be educational material that's donated. [04:33:08] MediaWiki supports the concept of foreign file repositories. [04:33:13] Commons is one of those. [04:39:00] thanks to -watch projects in phab - just got an email about https://phabricator.wikimedia.org/T95873 [04:40:18] tonythomas: Hi! [04:40:34] Fiona: hey :) [04:48:15] Fiona: here you go https://gerrit.wikimedia.org/r/#/c/203788/ [05:24:52] tonythomas: Nice! [05:24:59] fun ! [06:27:30] Ok, I think I got something that resemble a svg thumbnail generator. :) [06:29:33] It's too bad I had to parse the whole file (even as a stream, it's still annoying) instead of just copying the content of the file once the headers have been fixed. [11:02:03] hi [11:02:11] hey there [11:02:13] hi Juandev [11:02:30] can I convert xml dump by whatever sw to sql on my pc and than upload it to database? [11:02:43] Nikerabbit: hello to north [11:03:06] Juandev: not really unless you whatever sw happens to produce sql that conforms to mediawiki database layout [11:03:22] umm [11:03:35] and mwdumper that is a server script? [11:04:06] it runs on your mw server [11:04:24] no wait, I'm mixing things up [11:05:04] http://www.mediawiki.org/wiki/Manual:MWDumper [11:05:55] I guess you could do it that with with MWDumper [11:06:01] that way [11:06:26] is there a recommended way to create and maintain large tables with mediawiki(i mean tables created by markup, not database tables). possibly a way to edit rows of the table individually? [11:06:44] you can run it locally, or on the remote machine. Not sure it's the best solution either way though.... [11:07:14] skyrz, I still use just plain markup, though that's unhandy for really large tables. [11:09:40] kim__: i just used a bunch of regexes to create the table, but my new helper doesn't know anything along these lines and im afraid a 10x82 table is going to lead to disaster [11:12:40] Looking through extensions there's not really much that's really solid [11:13:04] http://www.mediawiki.org/wiki/Extension:TableEdit [11:13:16] This uses an external mysql database for intsance.... that can't be good ^^;; [11:13:52] umm [11:14:08] * kim__ looks at Juandev [11:14:51] lol [11:16:20] i may just push the app to the local server and have it sit side-by-side with mediawiki. it might not be an elegant solution, but it'll be easier to maintain [11:17:02] skyrz, alternately, note that mediawiki does accept xhtml table syntax, so you can grab an HTML table editing tool (of which google finds many) [11:17:51] Or you could try to install the visualeditor [11:18:41] http://www.mediawiki.org/wiki/VisualEditor/Design/Table_editor#Other_table_editors [11:18:42] hmmmm [11:19:07] kim__: the guy really isn't too bright. that might just make things worse. i asked him which browser he uses and he said he has never used a browser, so i asked him if he uses firefox or chrome. he said he used to use firefox, but he thinks he uses chrome now. im not sure what my boss was thinking reassigning him to me [11:19:32] Hokay... [11:19:50] Well are they dim or just under-trained? [11:21:25] In the mean time, this COULD help? http://wikitable.eu5.org/ [11:21:31] this whole company is under-trained. that's why this is my last week. but he is trained in advertising technology(he makes signs, car stickers, and t-shirts), but for some reason my boss thought he should switch to web development, learn it in a week, and be my replacement [11:21:47] he's also not too bright\ [11:22:04] Well, just teach them what you can, right? [11:22:33] lol, yea, that's the plan [11:22:57] maybe you were originally hired because you WERE well trained? [11:23:09] though then the boss should have given you more space I suppose [11:23:14] Well, that's life [11:24:09] nice [11:25:33] well, i was hired just to help out while i learned german so i was only working a few hours a week, but some how i ended up as head of dev. then he fired everyone but me, and as i learned german, i realized how ridiculous this place is. then everyone else got fired, leaving me with all their work and not prospect of hiring anyone else, so i said im done [11:27:29] i should have taken it as a bad sign when they didn't ask for any qualifications or test me during the interview. they just asked if i could do something, and i said yes [11:28:03] That's not necessarily a bad sign ;-) [11:28:03] visualeditor looks workable [11:28:17] installing it is said to be "A Bit Tricky" yet [11:28:28] * kim__ still needs to get around to it [11:28:36] though Soon... SOON ;-) [11:28:55] make sure you test Visualeditor has the tools you need [11:29:18] skyrz, are they actually letting you learn german at all? ;-) [11:29:46] germans tend to speak english with me, so I get hardly any practice :-P [11:29:58] kim__: too many people want to practice english, so it didnt go as quickly as i had hoped [11:30:02] exactly! [11:30:27] i just believe that noone likes speaking german [11:30:56] even(especially?) germans [11:31:08] :-P [11:31:33] so do you have your next gig lined up yet? [11:32:25] no. the plan is to take 2 months, learn android, go to a web conference in wales in june, then register as a freelancer [11:32:47] Okay then. Good luck :-) [11:32:53] It's supposed to be an up market atm [11:33:10] but im having RSI problems atm, so im not sure what is in my future [11:33:15] an up market? [11:34:08] if you're currently on windows, stop using windows [11:34:21] typically RSI is mouse based, and due to bad UI design, but YMMV [11:34:46] I mean that currently you can actually afford to quit one job and go work someplace else ;-) [11:34:58] There's more demand for devs than there are devs [11:35:27] im using linux, and yes, i've switched out all my gear for ergonomic stuff, but i am suddenly getting a divorce so i think the RSI is largely stress related this time around [11:35:38] ouch [11:35:54] the ergonomic stuff may or may not be an improvement [11:36:09] there's a lot of crap marketed as "ergonomic" that hurts my wrists just LOOKING at it :-P [11:36:22] yea, iwas looking at a stackoverflow survey and it said 97% of the participants are employed. that's ridiculously high [11:36:24] and sorry to hear you're having trouble [11:36:49] thanks [11:37:05] whatever happens, it will be interesting [11:40:03] is the username blacklist in vanilla mediawiki? [11:55:04] umm that looks like work, so maybe I should find a webhosting which will allow to run importdump script [12:03:04] -j [14:41:57] when adding a new extension to a fresh install of mediawiki on centos i get a blank white page after adding the extension to LocalSettings.php - is that a php problem? [14:42:34] It usually means a PHP error [14:43:30] danhedron: thanks. so my best approach it to enable error printing then troubleshoot from there, yes? [14:44:07] if your system doesn't output PHP errors into the apache / nginx error logs then yes [18:00:53] If I'd like to apply a static analysis tool to just 1 extension, rather than all of MW. is there any handy way to do that? [18:00:55] (eg. phplint) [18:00:55] * kim__ wonders if anyone is using phplint on mw code or whatever atm :-) [18:01:01] We are! [18:01:01] kim__: At least one PHP linter runs on our patches in Gerrit, thanks to zuul and Jenkins. [18:01:03] hi - donwloaded scribuntu so that I could use module:documentation, but do not see any documentation -- no errors are shown either at http://54.149.69.117:8191/Template:Meeting [18:01:03] when I click on the 'create button, it edits the page of documentation I created [18:01:04] ok now i re-edited and re-saved the page and documetnation now shows [18:01:06] I note this: the template: page does not refresh with newly-created documentation. IOW, all documentation is required to be created prior to a template in order to 'see the documentation' when the template is first saved? [18:01:07] when I do action=purge then the documentaiton is shown. [18:12:09] marktraceur, Oh, I should look how you do it, ... is that for core, or is that per extension for core extensions-ish? [18:12:09] kim__: I thiiiiink it runs for extensions, too, but is default non-voting. [18:12:09] Which means it runs, but might fail, and that isn't a problem. [18:12:10] I see [18:12:17] I noticed test coverage was still pretty low atm... I'm betting that's just because there's so much code! ;-) [18:19:22] I guess I need to dig into mw testing framework more [18:19:23] do you happen to know what linter y'all use? and how DO you get it to work for extensions only? [18:19:23] (is my question of course... but it's my problem in the end :-p) [18:19:25] help needed [18:19:26] d3m3nt3r, please state the nature of the mediawiki emergency [18:19:26] (else you won't get replies ;-) [18:22:17] help regarding the following https://phabricator.wikimedia.org/T87796 [18:22:27] ok [18:23:48] not sure what kind of help you need [18:24:32] http://www.catb.org/esr/faqs/smart-questions.html [18:27:13] explanation of what to do..?? [18:28:08] If you don't know, I don't know either? [18:49:40] I can only walk you through some standard questions maybe [18:49:48] soooo, why are you looking at that page? [18:49:50] (at some point, someone knowlegable might cut in and go "Ahhhh! That's the actual question ... I'm hoping ;-) [20:38:22] I have a head scratcher here. A few weeks back I relocated my wiki from /var/www/html/* to /home/pi/web/wiki/*, creating a html/ symlink in /var/www/ to redirect to /home/pi/web/wiki/. I had to change `$wgScriptPath = "/web/wiki";` in LocalSettings.php and it seemed to work. [20:39:02] But actually it's just the main page that is loading: http://46.101.38.186/wiki/index.php/Main_Page -- if you try to click on `neuroscience` for example, it won't work. Before the move it did work. [20:39:17] Might anyone be able to shed some light? [20:40:17] Immediately prior to the move I moved the wiki from /var/www/html/ to /var/www/html/wiki/, it was at this point I did the `$wgScriptPath = "/web/wiki";` in LocalSettings.php [20:40:28] I can't remember whether I tested beyond the main page at this point. [20:40:30] don't do symlinking. why not just publish that directory directly in apache? [20:41:29] well, URLs seem to go to /web/wiki/... [20:41:53] but index.php is not in /web. It's in /wiki [20:42:28] Vulpix: I didn't even think of that! [20:42:47] And you are right, http://46.101.38.186/wiki/index.php/Neuroscience does indeed find it! [20:43:30] That probably means I should have `$wgScriptPath = "/wiki";` instead of "/web/wiki" [20:43:55] yes [20:44:37] hm maybe I need to restart Apache [22:17:58] any ideas what went wrong with autoloader here? https://gerrit.wikimedia.org/r/#/c/11562/18/ https://integration.wikimedia.org/ci/job/mediawiki-extensions-zend/11841/console [22:32:19] er