[11:17:34] [SemanticMediaWiki] mwjames pushed 1 new commit to master: http://git.io/POl4zw [11:17:34] SemanticMediaWiki/master de1a466 mwjames: Merge pull request #476 from SemanticMediaWiki/rn... [16:58:41] Yaron: I found something about searching a file in mediawiki via PHP code and get its full url, here is the link: http://stackoverflow.com/questions/11204256/how-to-find-image-path-in-mediawiki, but this isn't woking, it gives a PHP error [17:00:02] jmehta: what exact code did you try, and what's the error? [17:01:28] http://pastebin.com/Kg8eKcgG [17:02:01] What is $file equal to - null? [17:04:48] I don't know, why is it null? [17:04:58] Is it null? [17:05:04] That was my question. [17:07:02] Ohh... now I get it, I should put a check there if $file is null, right? [17:07:16] Yes. [17:08:05] whew!! It works now :) [17:08:40] such a small mistake and I was looking for a solution the whole day! [17:08:53] Uh... that was unexpected. :) [17:10:09] let me try it with some images on my local wiki. [17:19:48] Its working now. If only image name is retrieved by ED, then it will look for that image on the wiki and replace it with the image url. [17:20:29] Great! That was easy. :) [17:20:46] yes :) [17:20:48] Any other issue with my earlier patch? [17:28:04] Yaron: ^ [17:28:14] jmehta: only what I wrote in Gerrit... (right, I just saw this now). [17:28:29] There was also the combobox width thing. [17:28:50] That is done. I should sumbit the patch now? [17:30:56] Yes! [17:33:29] ok :) [17:42:25] (PS3) Jatin: Displaying additional data in Select2 combobox and tokens [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/149346