[00:11:19] Hi guys. I can't get thumbnails to work using graphicsmagick. I've tried $wgImageMagickConvertCommand = "/usr/bin/gm"; as well as $wgImageMagickConvertCommand = "/usr/bin/gm convert"; The former seems to actually hit the GraphicsMagic binary, but complains that "Unrecognized command 'quality'." and the latter says "No such file or directory" [00:12:32] Generally the usage seems to be gm convert filename.jpg flags flags output.jpg [00:14:41] I've searched high and low through the sourcecode on github, and tried recompiling/reinstalling graphicsmagick with the imagemagick compatability use flag. I've even tried tucking the "convert" command into the Bitmap.php file. (I'm on 1.23 looks like they have changed the /includes/media files quite a bit for 1.24). [00:15:46] One hack I tried, albiet foolish since you can't actually do this, was to create an alias for gmconvert="gm convert" but I didn't realize you can't do that in a shell script. I'm pretty clueless when it comes to shell scripting, but I can get around alright at a bash prompt [00:17:19] If it matters I'm on a Gentoo VPS with Nginx and php-fpm. I can throw a phpinfo(); into a pastebin or dpaste.de if requested. I've just been at this for a number of hours, and need some help. [00:24:51] Gotta run out for a bit, but I'm going to idle. Thanks in advance for any insight [03:17:50] Hello. [03:32:03] Is there any way to "force" a CentralAuth user to be created in another wiki? (It is a farm of three wikis, some users can't register/login in one of the private ones, but new users can, because I found the problem in the configs, but I need a way to "register" those new users in that wiki) [03:32:06] Or should I commit the changes in the database directly? [03:35:21] Dang.. I was hoping one of the 250+ people in here would be able to help. [03:35:41] pale2hall, What's your problem? [03:36:06] I can't get thumbnails to work using graphicsmagick. [03:36:25] I've tried $wgImageMagickConvertCommand = "/usr/bin/gm"; as well as $wgImageMagickConvertCommand = "/usr/bin/gm convert"; The former seems to actually hit the GraphicsMagic binary, but complains that "Unrecognized command 'quality'." and the latter says "No such file or directory" [03:37:04] You could try to debug what is mediawiki trying to do there.. [03:37:08] hmm [03:37:29] I traced it back to where it does it [03:37:43] I couldn't find any thing in the error logs. [03:37:49] At least in /var/log [03:38:46] I even tried tucking convert in before the -quality 80 inside the bitmap.php file, but that was a longshot anyway [03:40:24] CentralAuth sounds pretty awesome. I hadn't heard of it. I assume that's how the various Wikipedias sync [03:41:29] pale2hall, found what command is mw passing to gm? [03:41:49] pale2hall, CentralAuth is a pain to configure :P [03:41:57] pale2hall: sounds yes, is awesome? absolutely not. My recommendation is to stay as far away as possible. [03:42:03] But I almost finished.. just that only little and tiny detail [03:42:20] bah, what legoktm said :P [03:42:28] Polsaker: is your CA farm part public and private? [03:42:36] legoktm, yes [03:42:40] can't seem to get the whole thing, all i know for sure if it's passing at least "/usr/bin/gm -quality 80" when I have the location set to "/usr/bin/gm" [03:42:50] that's not a usecase CA was designed for. [03:43:15] if users can't autocreate on all wikis, it won't work [03:43:19] legoktm, It works very well for new users, I just restricted the read and write privileges to a global group [03:43:26] legoktm, and users _do_ autocreate in all wikis [03:43:35] but.. for some reason old users didn't [03:44:00] (that's why I want to force their creation on those wikis) [03:44:05] You're just looking to see if there's a proper way to create parity with the old users [03:44:51] Polsaker: you can just create the accounts manually via eval.php and then attach them to the global account? [03:45:20] $user = User::newFromName( 'FooBar' ); $user->addToDatabase(); $ca = new CentralAuthUser( 'FooBar' ); $ca->attach( wfWikiId() ); [03:45:31] oh, nice [03:45:36] I'll try that, thanks! [03:52:59] Think I've narrowed it down to This: is the $cmd that it's passing to wfShellExecWithStderr https://dpaste.de/j7JN [03:55:37] Maybe wfShellExecWithStderr is screwing up because it's checking to see if "/usr/bin/gm convert" exists as a file before preceeding [03:58:06] legoktm, There is any way to execute [03:58:07] oops [03:58:12] ignore that, lol [04:00:47] Okay. I got it to work. I had to add array( "convert"), in between $wg Is there anywhere I can post this workaround if people are encountering issue with GraphicsMagick? [04:01:20] pale2hall, Maybe on the discussion page of the wikipage for the setting? [04:13:00] Polsaker: https://www.mediawiki.org/wiki/Manual_talk:$wgImageMagickConvertCommand#Solution_for_GraphicsMagick_issues_on_1.23.x Wrote it up. Hope somebody gets some help from it. [04:13:37] pale2hall, just curious.. why you don't want to use php's gd library? [04:14:04] ^demon|brb: Quit (re: leucosticte discussion). [04:14:07] legoktm, Thank you very much! It worked like a charm :) [04:14:09] ^demon|brb: Err, quite! [04:14:15] Fucking E key. [04:14:23] legoktm, I even made a maintenance script.. to fix it for other users if they have the same problem :) [04:14:40] ^demon|brb: I agree with you about MirrorTools being fine, but the other pages needing moving. [04:14:46] It looks like made them user subpages. [04:14:53] he made * [04:14:56] I need to stop typing. [04:15:22] I had tried them for a while, couldn't get them to handle huge images, then tried imagemagick, couldn't get that to work right. Then I tried working with gm and know I had to eventually figure it out. It became a 6-hour quest today. Also for some reason when I try to go back to gd now it dies. :-/ And I'm not 100% on gentoo right now, and def don't want to mess up the sites that actually make me money in this production en [04:19:33] then your trick may be useful to me in the near future [04:19:58] bare in mind that they have moved around a bunch of code for thumbnail generation in 1.24 [04:20:19] Looks like they've divided it into multiple files based on type, whereas 1.23 seems to mainly go through bitmap [04:22:07] oh [04:24:33] Polsaker: :) [06:34:08] I'm having problems understanding how users note translated pages. I have read the translation guide,but many articles do not seem to follow the translation template guide. Can anyone point me in the right direction? [06:42:49] usinf Translate extension? [06:47:20] Hmm, I believe I read about the extension during my research [06:47:58] but i'm wondering if there anywhere on the article's page that notes what other translations have been made from it. [07:29:12] \whois sophiejjj [07:29:34] sorry=.= [07:29:50] sophiejjj :D [07:33:32] \whois sophiejjj [07:34:26] sophiejjj: :) [08:19:18] hello [08:19:29] i have done my wiki smtp [08:19:33] it was working before [08:19:47] but today i have test it, it show me internal server error [09:15:01] i have done my wiki smtp, it was working before, but today i have test it, it show me internal server error [09:22:34] eli_: https://www.mediawiki.org/wiki/Manual:How_to_debug ? [09:24:55] : i add these codes: error_reporting( -1 ); ini_set( 'display_errors', 1 ); to my localsetting.php [09:25:03] but again show me Internal server error [09:25:08] nothing else [09:30:27] Um, I see no documentation. But I would check webserver logs for more detals. [09:33:11] i see no error log [09:33:15] in webserver [09:33:18] so intersting [09:33:19] ? [09:34:08] In the webserver's "access" log, you wuold see a "500" with your IP and user agent logged. In the "error" log, I would expect more detail about the nature of the error. [09:38:49] i do nto see access [09:38:51] :( [09:39:01] in my cpanle [09:40:11] OK, OK, check your root directory, one level up from public_html, and see if you have logs there. [09:41:02] [This is mediawiki support. It doesn't mean support-cpanel-with-an-inadequate-host. Saying so is hostile, but I'm pretty pissed at CPANEL in general and I would be happy to kill any web hosts which use it. It does not teach people.] [09:44:56] i am in public.html [09:45:01] i found error log [09:45:06] but i can not edit it [09:45:09] it is 195 mb [09:45:34] expected it one level op, but OK; fresh lines should be at the bottom [09:46:55] if your operating system is sane, you should be able to view last 10-20 lines of the file without editing the whole file [09:48:54] not same, my syste is windows, it is linux [09:49:20] it is sane. "tail /path/to/file" [09:52:28] i do not understand [09:52:35] could you emote and sho wme? [09:52:39] by teamviewer [09:52:39] ? [09:53:50] could??? [09:53:53] pelase tell me OK [09:53:55] please [09:56:28] Are you using Windows on your local computer? Why not ask ##windows how to read the last 20 lines in a big file? [09:56:41] Or if you're using Linux locally: then ##linux . [09:57:22] i use windows [09:58:02] my server is linux [09:58:15] Ask ##windows how to read last 20 lines in a big file. [12:04:41] HEllo , any one smart with the tiki-wiki engine : http://www.ogre3d.org/tikiwiki/tiki-index.php?page=Ogre+Internals+Dissection+FAQ [12:04:53] I want to achieve the line wrapping [12:15:06] paul424: we do mediawiki here, this is a different software [12:15:47] paul424: http://tiki.org/Connecting+To+IRC says go to #tikwiki [12:15:52] #tikiwiki [12:16:01] ??? [12:16:51] paul424, putting questions marks does not help. [12:26:22] online? [12:26:26] could we follow? [12:39:40] hello all [12:40:24] i have done all steps of smtp settings, it was working, but today it is confused, i read logs [12:40:38] [08-Oct-2014 12:36:43 Asia/Tehran] PHP Fatal error: Out of memory (allocated 9175040) (tried to allocate 12288 bytes) in /home/parsinte/public_html/wiki/includes/WikiPage.php on line 1714 [12:41:26] could anybody help me?? [12:48:32] no body could answer me???? [12:50:38] eli_, please be patient. Maybe they are all out to eat. ;) [12:50:53] you do not know my answer?? [12:51:13] Right. I do not now anything about MediaWiki. [12:51:19] *know [12:51:25] he he:d [12:51:28] OK:) [12:51:29] ;) [12:51:45] But here are people who knows. [12:53:08] eli_: what's your [[Special:Version]] ? [12:53:18] my wiki? [12:53:31] ah, you are that pars guy [12:53:37] yes [12:53:45] 1.23 [12:53:51] eli_: in php.ini, what is memory_limit set to? [12:54:30] in wiki forlder [12:54:35] or in mu host root ? [12:55:15] in my php.ini there is just: [12:55:15] register_globals=Off safe_mode=Off allow_url_fopen=Off allow_url_include=Off disable_functions=show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open [12:56:33] : understand? [12:57:11] need any other info? [12:58:13] try adding "memory_limit = 12M", restart apache, and see if the error persists. If yes, then up that value until it goes away. [12:58:54] eli_: also, this is a very common error, if you google for "php Fatal Error allowed memory exhausted, you'll find the answer [13:00:14] but it was working till today [13:00:20] it show this error today [13:00:58] 12M is very low [13:01:07] what? [13:01:35] eli_: can you put a file with ' you mean i generate a file .php contains yes/ [13:04:02] ? [13:05:13] eli_: yes, create a file called info.php or phpinfo.php and put in it [13:05:42] eli_: put that file in the Document Root of your web server [13:06:06] eli_: then goto url "http:///phpinfo.php" [13:09:45] : i go there http://wiki.parsintelligent.com/phpinfo.php [13:09:50] but internal server error [13:10:52] memory_limit 512M [13:11:00] I see the phpinfo page [13:11:13] http://parsintelligent.com/phpinfo.php [13:11:31] so it is limitted? [13:11:50] it is te problem? [13:12:15] no [13:12:29] what do you think? [13:13:05] ensure all your extensions match your mediawiki version [13:13:26] don't forget to run ..maintenance/update.php after any changes [13:13:49] turn on error reporting and look for other issues [13:14:13] sometimes i find messages in /var/log/messages that point to the culprit extension [13:14:38] i just omit index.php [13:14:43] can it affect? [13:20:38] no idea, sorry [13:22:35] eli_: where can I see /.../Special:Version ? [13:56:29] On #wikimedia-tech starting in 5 min: Collection/Book tool/PDF/OCG Bug Day, follow also on https://etherpad.wikimedia.org/BugTriage-Collection [14:01:29] cscott: when you can, don't forget us ;) [14:29:24] Nemo_bis: i'm online now [14:31:42] Hi cscott, please join on #wikimedia-tech :) [15:35:11] Hello. [15:36:23] Am I alone? [15:37:21] no [15:37:37] Is /me alone? [15:37:51] Oh, good. [15:39:13] Hey, I have a stupid question. [15:39:32] No question is stupid [15:39:37] just ask it [15:39:41] About MediaWiki, of course. [15:41:10] Will a small MediaWiki website (around 50 articles) be hard to back-up? [15:41:28] shouldn't be [15:41:33] just a simple database [15:41:52] with only 50 articles, won't be large [15:41:53] AlexHofstadter: have you read through https://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki ? [15:41:54] I mean, it's not lightweight. [15:42:38] Haven't seen that before. Thanks. [15:43:56] BTW, what do you guys think about DokuWiki? [15:45:20] Here are some sites using it: dokuwiki.org, kustu.com, library.borut.eu. [15:48:09] ... [15:55:45] Hallo all, I've got an easy one for you! How should I tickle the API so it returns a list of categories a page title belongs to? [15:57:30] https://en.wikipedia.org/w/api.php?action=query&prop=categories&titles=Albert%20Einstein&format=jsonfm [15:58:27] legoktm: I found that just as you sent it. Thank you very much for just answering and not telling me to rtfm :P [15:58:35] :P [16:51:26] Okay, I really really tried to rtfm this time, but I cannot see how I instantiate ApiQueryCategoryInfo properly :( [16:52:02] What are you trying to do? [16:52:45] working with version 1.24 and I am having issues with the Vector Skin displaying ANY logo [16:55:15] jdcadddie: which version of the Vector skin are you using? also 1.24 is not a stable release yet [16:55:31] I think you'll have to use 697521b0425d6ef7778436d450fdb78d4634712b [16:55:42] (instead of master, which is for 1.25alpha) [16:56:39] Reedy: I'm trying to find what categories a page is serverside [16:57:13] I have the page's title [17:00:03] I promise I'm not being lazy. It's just really hard to search because the word category is everywhere :( [17:00:28] ? [17:00:46] legoktm, 0.1.0 (9883566) 22:58, 16 April 2014 [17:01:19] umm [17:01:26] jdcadddie: I responded to him already, this is a separate kettle of feesh [17:01:33] I don't see that hash in the repo.... [17:01:39] nevermind. ignore me [17:01:40] :D [17:02:13] jdcadddie: 16th of April sounds way too old. [17:02:39] Ulfr_: Have you looked at FauxRequest in extensions? [17:02:58] * Ulfr_ does so now. [17:03:10] Let me get the later release [17:03:11] Ulfr_: https://www.mediawiki.org/wiki/API:Calling_internally [17:03:19] Soemthing like https://github.com/wikimedia/mediawiki-extensions-FirstSteps/blob/master/SpecialFirstSteps.php#L355 [17:03:54] jdcadddie: try https://github.com/wikimedia/mediawiki-skins-Vector/archive/697521b0425d6ef7778436d450fdb78d4634712b.zip ? [17:04:12] I owe both of you beverages of your choice! Thanks [17:14:21] legoktm, sorry I gave you the version of an extension not the Vector skin [17:14:28] legoktm, – (fd9a9f0) 15:38, 1 October 2014 [17:14:45] yeah, that's too new [17:14:48] legoktm, just installed the one you sent me the link to but no dice [17:15:33] thats the one that was with the zip [17:17:08] legoktm, the whole reason I upgraded to 1.24 is because I was having issues with VisualEditor and Parsoid [17:17:17] err [17:17:18] hm [17:17:25] are you comfortable with git? [17:17:36] yeah [17:18:07] ok, so just clone https://github.com/wikimedia/mediawiki-skins-Vector and $ git checkout 697521b0425d6ef7778436d450fdb78d4634712b [17:18:30] you'll then have to require_once "$IP/skins/Vector/Vector.php"; in your LocalSettings.php like you would do with an extension [17:22:49] legoktm, that version did the trick! thanks for your help [17:22:55] np :) [17:24:46] now another question, should I be able to get VisualEditor and Parsoid working with 1.23.5? [17:26:03] jdcadddie: Yep, just use the 1.23 branches [17:26:11] That's what I've been doing since 1.23 came out. [17:34:39] opinions.. Should I continue to work with 1.24 since it will be released on 11/26/14 or should I reinstall version 1.23.5 and work on getting VisualEditor working there [17:46:23] Receiving the following error upon trying to update from 1.20.2 to 1.23.5: http://pastebin.com/r4Hu4mfA [17:49:54] ScarredSun: That function was new in 1.21 [17:50:18] It almost sounds like it's either not fully updated, or there's some opcode caching that's out of date [18:14:31] hello [18:15:10] I want to apply for Foss opw round 9 for project "Extensive and robust localisation file format coverage" [18:15:29] Please suggest how to proceed with bugs [18:18:10] Where can I found the code of the bugs? [18:55:23] Nemo_bis : Can you assist me on how could I move furtherwith patches? [18:56:24] alisha_: did you already submit one to gerrit? [18:56:48] No, not yet [18:57:15] I am not getting where can I find the code of the bugs [18:59:23] Nemo_bis: Can help me to get started with it? [19:02:48] alisha_: hi [19:03:11] jeremyb : hello [19:04:56] bugs state in what component they are; the component description usually mentions a repository; the code is in the repository [19:05:17] And https://mediawiki.org/wiki/special:Search has most answers [19:05:25] alisha_: did you see my reply? [19:07:31] jeremyb: Yes I did [19:10:16] ok, now i has footnote :) [19:10:59] Yeah I missed it before by mistake [19:13:44] ~/gitrepos/mediawiki-extensions/Translate$ find -iname '*JavascriptFFS*' [19:13:44] ./ffs/JavaScriptFFS.php [19:14:16] alisha_: so, once i have the repo cloned I was able to find the file in question pretty quickly [19:14:22] alisha_: do you see the same thing? [19:14:37] I am cloning the repo [19:15:00] !worstcase | Reedy [19:15:01] Reedy: Generally, the worst that can happen is that someone compromises your site, steals your data, deletes it and replaces it with kiddy porn. Then they start a spam service on your server advertising the kiddy porn to twenty million email addresses, daily. Then your home gets raided, you get fired and your wife leaves you. Then you get killed in your sleep by ninjas. [19:16:31] surely there must be some context :) [19:17:33] Flow. What's the worst that can happen? [19:17:47] jeremyb: sorry, but i am not getting you [19:17:59] hah [19:18:31] comments on one discussion are displayed on a different but plausibly related discussion? [19:18:34] Reedy [19:18:48] [20:09:30] (PS2) Reedy: Enable Flow on officewiki [mediawiki-config] - https://gerrit.wikimedia.org/r/145174 [19:19:11] alisha_: which part? what OS are you running? [19:19:23] hah. community consensus??? [19:19:36] Linux [19:20:30] alisha_: great. so if you've cloned it and changed dir into the new clone's dir then running the same command i ran should give the same results [19:20:42] where command is [19:20:43] find -iname '*JavascriptFFS*' [19:21:25] alisha_: which tells you there's a file at ./ffs/JavaScriptFFS.php which you can edit, commit, submit to gerrit, etc. [19:21:26] Ok now I got it [19:24:39] great [19:25:04] alisha_: let us know if you get stuck again [19:25:21] Ok sure [19:59:53] Hi..im setting up mediawiki dev environment using vagrant..getting error for setup.bat on windows [20:00:22] agsolur: Can you describe the error? [20:14:13] @echo command not found [20:18:45] what's the easiest way to find out the total size of all pages in the null namespace? [20:20:03] agsolur: That sounds like you are running the setup.bat script from a git command window [20:20:20] ya [20:20:28] agsolur: Try using a cmd.exe window instead [20:21:02] bd808: Thank you ..I will try [20:21:12] That is one of the yucky parts of our windows instructions. :( [20:21:48] I'm not sure if setup.sh would work inside a git window. I think it probably would not. [20:22:20] aren't they like git bash windows? [20:22:58] Reedy: Yeah. And I think our setup.sh sniffs for OSX vs linux but not cygwin [20:23:24] something to BZ I guess [20:23:48] So when you are setting up mw-vagrant for the forst time on windows you have to do some stuff in a git/cygwin window and some in a cmd.exe shell [20:23:56] *first [20:24:08] really? :/ [20:24:20] I think I have notes somewhere from helping folks at the last hackathon [20:24:56] You have to use the git-enabled window to do the clone and then switch to cmd.exe to run the setup script :/ [20:25:07] bd808: so i should run the .bat file in vagrant ? [20:25:20] Reedy@REEDY-THINKPAD ~/Desktop [20:25:20] $ test.bat [20:25:21] hi [20:25:47] Reedy: < agsolur> @echo command not found [20:26:03] I've seen that for others too [20:26:07] hmm [20:26:40] oh k my bad..there is note for windows users [20:26:54] agsolur: So open a cmd.exe shell, (Run > command?) then cd to the directory where you cloned mediawiki-vagrant and run setup.bat from there [20:27:08] to run the setup.bat from cmd.exe [20:27:27] It's a bit burried [20:27:36] thank you.. [20:29:11] bd808: cmd /K "test.bat" [20:29:19] cmd /C should work, but doesn't seem to [20:29:57] Reedy@REEDY-THINKPAD ~/Desktop [20:29:57] $ cmd /K "test.bat" [20:29:58] "hi" [20:29:58] c:\Users\Reedy\Desktop>exit [20:29:59] scary [20:34:41] https://www.mediawiki.org/wiki/%3Amw%3AMediaWiki-Vagrant is a mess of inline styles and translation blocks :( [20:34:56] And my irc client is stupid [20:35:12] https://www.mediawiki.org/wiki/MediaWiki-Vagrant [20:50:06] Hello everyone [20:50:30] I see that mediawiki uses PHPUnit as the testing framework. [20:50:34] Is that correct? [20:50:51] for testing php, yeah [20:50:53] :P [20:50:59] hey reedy [20:51:19] so is there some kind of web interface which shows the report of how many tests passed/failed? [20:51:31] mancoolgunda: We also have qunit for JavaScripty things. That has a web interface. PHPunit doesn't, I think. [20:51:37] Nope [20:51:44] You can get phpunit to output HTML results, though [20:51:46] Jenkins is our "web interface" [20:51:50] With some coaxing [20:52:14] I wonder if hashar would be receptive to generating the HTML for phpunit with code coverage reports. [20:52:20] Like, twice a day. [20:52:40] ok, so if Mediawiki is hosted on a server, how does one run the PHPUnit tests online and get to know the number of pass/failures at that moment. [20:52:42] Then again, it might just serve to look depressing [20:53:10] !tests [20:53:10] http://ci.tesla.usability.wikimedia.org/cruisecontrol/buildresults/mw [20:53:14] Helpful wm-bot [20:53:17] !phpunit [20:53:17] http://www.mediawiki.org/wiki/Manual:Unit_testing [20:53:20] There we go. [20:53:28] mancoolgunda: See that link, follow the instructions there [20:53:44] !tests del [20:53:44] Successfully removed tests [20:53:50] !tests alias phpunit [20:53:50] Unable to create alias for phpunit because the target is alias, but not a key, if you really want to create this broken alias do !tests force-alias phpunit [20:54:01] !tests force-alias phpunit [20:54:01] Created new alias for this key [20:54:42] !tests [20:54:42] There are multiple keys, refine your input: tests, testswarm, [20:54:51] Wat. [20:54:54] !testswarm [20:54:54] TestSwarm (Distributed continuous integration for JavaScript) | Wikimedia's swarm: https://integration.mediawiki.org/testswarm/ | Project for 'mediawiki/core.git': http://integration.mediawiki.org/testswarm/user/mediawiki | More info: https://github.com/jquery/testswarm/ [20:55:04] indeed, it's a broken alias, as the bot said [20:55:07] I'm not sure that works anymore [20:55:24] Wait. [20:55:27] !phpunit [20:55:28] http://www.mediawiki.org/wiki/Manual:Unit_testing [20:55:29] people, I am actually working for another open-source project and am interested in knowing more about the way mediawiki does unit testing with PHPUnit. Is it a good place to ask such questions? [20:55:40] marktraceur: "the target is alias, but not a key, if you really want to create this *broken* alias do" [20:55:42] mancoolgunda: Yes, and I think I answered your question [20:56:04] Vulpix: maybe I did it backwards somehow? [20:56:05] ! [20:56:06] Hello, I'm wm-bot. The database for this channel is published at http://bots.wmflabs.org/~wm-bot/db/%23mediawiki.htm More about WM-Bot: https://meta.wikimedia.org/wiki/wm-bot [20:56:20] marktraceur: yes, I had gone through those links before. I see that you need to run commands like php phpunit.php with some config variables. [20:56:35] !tests force-alias testing [20:56:35] Alias is already existing [20:56:43] damnit! [20:56:53] mancoolgunda: What do you need to know beyond that? [20:56:55] but I wanted to know if it is possible to hit some url and then get the whole picture of how many tests passed/failed on the url. [20:57:04] mancoolgunda: No, it's not. [20:57:13] 2014-10-08 - 13:51:37 Nope [20:57:21] In case you missed it. [20:57:27] something like Qunit, is not at all possible? [20:57:36] It might be possible [20:57:38] web interface kind of thing. [20:57:43] Just we haven't done anything for MediaWiki [20:57:46] mancoolgunda: qunit can be enabled, but phpunit is currently not built into mediawiki. [20:57:47] do any exist? [20:57:52] Reedy, your thoughts on how it may be possible. [20:58:04] PhpUnit supports custom job runners [20:58:09] I know it is not built into mediawiki but I just wanted some thoughts around it. [20:58:31] The other question is why? [20:59:23] The open source org where I work has people more familiar with using the web interface. So they wanted a QUnit like interface. [20:59:51] Have you seen jenkins? [21:00:05] I wrote a phing task and then call that using exec in a php script but I think that times out and a blank report is generated. [21:00:19] Yes, I have heard of Jenkins. Would Jenkins be the way to go? [21:00:28] or is there anything simpler than CI ? [21:00:34] There's probably simpler ways [21:00:56] reedy: Any thoughts around the simpler ways, if you are not busy [21:01:00] https://integration.wikimedia.org/ci/job/mediawiki-core-regression-master/7785/console [21:01:25] https://stackoverflow.com/questions/2424457/web-interface-to-phpunit-tests [21:01:35] that's a bit out of date [21:01:46] mancoolgunda: Can I ask why you need to run phpunit on your servers? [21:01:48] ah [21:01:49] https://stackoverflow.com/questions/17608822/phpunit-how-to-run-tests-from-browser [21:01:57] https://github.com/NSinopoli/VisualPHPUnit [21:02:04] As opposed to, say, locally or through our jenkins instance. [21:02:47] marktraceur: so that one can hit any url on his local machine or on the server where the product is deployed and then figure out how many tests have passed/failed. [21:03:07] not actually prod servers, but dev servers maybe. [21:03:34] Yeah, maybe don't merge things that make tests fail [21:03:49] Actually, there was no testing framework in place till now and I integrated PHPUnit with it and now they wanted a Web UI for the same. [21:04:02] definitely on prod these won't be accessible. [21:04:31] yes, once the build is green, then things should be pushed to git. [21:04:54] Which is what we do with mediawiki via gerrit and jenkins [21:05:03] Reedy: I tried VisualPHPUnit but it seems to be very outdated and doesn't work at all. [21:05:30] Reedy: that's CI right? [21:05:41] gerrit is a code review tool [21:06:46] okay. [21:08:10] btw, may I ask what features are the open source devs at mediawiki currently working on? [21:08:34] Is it fixing bugs, small enhancements or is there anything major which you'll are working on? [21:08:39] I might want to contribute. [21:15:41] mancoolgunda: uhhh, a lot? [21:16:22] https://www.mediawiki.org/wiki/Wikimedia_Platform_Engineering [21:16:42] of course there's bugzilla/trello/mingle/phab too [21:20:10] Wide vareity of things [21:26:00] bawolff: do you see a case for tracking categories? http://web.archive.org/web/20111002214301/http://code.pediapress.com/wiki/ticket/596 [21:29:52] Well the pedia press thing was an external service, so tracking cats wouldn't really work because they have to be inserted internally [21:30:13] Images that can [21:30:30] 't be fetched due to license issues is not really an error condition [21:31:01] I think that sort of thing would be more suited to a more tabular report format [21:38:04] may I have some abusefilter help [21:38:16] I need to take this curent regex script and turn it into an abusefilter regex thing, also [21:38:26] i was wondering if anyone could help me with AWB [21:38:43] the script I have was made for AWB but I need in help in how to execute the regex and how to make a script in AWB for the replace field [21:39:00] Hi .. I am getting "guest machine entered an invalid state" - "poweroff" error o vagrant up [21:39:11] i have the latest version of virtual box [21:39:40] agsolur: I've heard of that before on Windows... [21:39:41] and im running windows 8 [21:39:46] * bd808 looks for bug report [21:40:33] i looked online for hardware virtualization and found win 8 runs only when it is enabled in bios [21:41:05] agsolur: A bit different but -- https://bugzilla.wikimedia.org/show_bug.cgi?id=67571 [21:41:39] So yurik said he can make it work with vagrant halt -f; vagrant up [21:41:45] need what that means, that is you need to enable hard ware virtualization on your computer [21:41:46] Not pretty but maybe possible [21:41:51] like me mine didn't support it [21:41:58] so no VirtualBox for me [21:42:30] Oh yes, if you are getting an error about VT-x not being support that is a host computer bios setting [21:42:50] legoktm, regarding yesterday's conversation... what would happen if I add a new wiki? I would have to manually create the accounts for the new users? [21:43:03] bawolff: OCG is internal now :) but the issue is rather with the rendering in question happening outside of the page rendering [21:43:30] yes [21:43:34] could anyone help me? [21:43:36] though for saved books, if they used a parser function instead of a template, one could do some ugly magic [21:43:48] with making this regex for for the abusefilter, and maybe some help with AWB? [21:44:11] Helder: do you think this would make it worthwhile to make {{saved book}} into a parser function? [21:44:41] Superdadsuper: most regex is basially the same [21:45:03] how cna I make this bloc the action and such [21:45:06] let me link it [21:45:08] wait [21:45:13] theres one thing I need to fix in it first [21:45:46] the I need to put it in AbuseFilter with y'all help. I also have a copy for AWB use, but can't find helpt o make a script (not regex but a script) for the replace field in find and replace in AWB [21:48:33] Nemo_bis: probably, yes [21:50:39] where can I get help with AWB since I can't seem to find anyone in several IRc channels I checked that could be of assitaince [21:50:41] or let me ask this [21:50:50] what programming langugae are scripts for AWB made in [21:50:56] like if I were to make a script for it? [21:51:28] maybe i can find a channel that can help with that? Problem is seems like there are no live help active resources for AWB (there are some like the IRC channel for AWB but they are dead) [21:57:30] You can write custom modules in C# or VB .NET [21:57:58] okay will hit some microsoft channels, well I don;t know how much help they can give me but [21:58:00] I can try [21:59:19] Why do you need a script for find and replace? [21:59:24] Helder: filed t with you as cc [21:59:47] because I have a regex and [21:59:54] well I need the replace value a script [22:00:00] I was told it couldn't be doen with regex [22:00:07] I have a regex code here fo the find [22:00:23] and I need it to dectect which verse it is and then replace it with a versenameher [22:00:32] the regex code is being eidted as we speak as we are fixing one thing [22:00:37] $1 [22:01:09] give ma a minute and I want to see if you can help me [22:01:28] Considering I wrote most of it... :P [22:01:33] figure that out, I may not be able to continue on this till tommorow or the day after, I hope you will be here tommorow, we can work some but trying to fix the regex code first [22:01:49] of AWB? [22:01:56] Indeed [22:02:20] ah, hopefully you can be around to help me with some things I can pm you tommorow or today or the day after for help [22:04:34] reedy can I pm you the email of the wiki I am the Admin for, and you can give me your email so I can contact you to scheldue a time [22:04:40] that we can work on this [22:08:07] Reedy [22:08:40] hello [22:10:54] be back tommorow to see if I can reach you