Re: [Wikitech-l] Setting up Mediawiki-Vagrant for debugging

2015-12-31 Thread Gergo Tisza
On Thu, Dec 31, 2015 at 7:40 PM, Techman224 
wrote:

> It seems to be picking up the connection, but I don’t think the
> breakpoints are working properly. When I put in a breakpoint, it seems to
> ignore it. But when I check “Break at first line in PHP scripts", it breaks
> on index.php. This is pretty much useless for debugging.
>

Sounds like path matching is not set up. (Settings > Languages & Frameworks
> PHP > Servers) Your host machine's vagrant directory should be set to
/vagrant and you should copy the guest machnie's /var/www directory to some
place that's accessible on your host machine, and set it accordingly. (E.g.
run "cp -R /var/www /vagrant/docroot" on the guest machine and then set
/docroot to /var/www in the Servers menu.)
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Setting up Mediawiki-Vagrant for debugging

2015-12-31 Thread Techman224
It seems to be picking up the connection, but I don’t think the breakpoints are 
working properly. When I put in a breakpoint, it seems to ignore it. But when I 
check “Break at first line in PHP scripts", it breaks on index.php. This is 
pretty much useless for debugging.

Techman224

> On Dec 27, 2015, at 8:17 PM, Gergo Tisza  wrote:
> 
> On Sat, Dec 26, 2015 at 3:09 PM, Techman224 
> wrote:
> 
>> I am trying to link my vagrant instance with my php debugger, PhpStorm. I
>> tried following the instructions at
>> https://www.mediawiki.org/wiki/MediaWiki-Vagrant#Provisioning <
>> https://www.mediawiki.org/wiki/MediaWiki-Vagrant#Provisioning> and
>> https://www.mediawiki.org/wiki/MediaWiki-Vagrant/Advanced_usage#MediaWiki_debugging_using_Xdebug_and_an_IDE_in_your_host
>> <
>> https://www.mediawiki.org/wiki/MediaWiki-Vagrant/Advanced_usage#MediaWiki_debugging_using_Xdebug_and_an_IDE_in_your_host>,
>> and installed XDebug in my chrome browser, but the connection isn’t
>> happening. My debugger keeps saying “Waiting for incoming connection with
>> ide key ‘#’. Is there something missing here?
>> 
> 
> I'm not sure how much on those pages is still relevant today (apart from
> enabling the zend role in vagrant, which definitely makes XDebug a lot more
> reliable); debugging with PhpStorm works mostly out of the box. Just launch
> vagrant, enable XDebug with a cookie/browser plugin/whatever, enable
> listening to XDebug in PhpStorm by clicking the phone icon, then do
> something in the browser that triggers a HTTP request, and PhpStorm will
> open a setup dialog for the incoming debug request where you can match
> local and remote directories. You might need to make the relevant code
> locally accessible; see T88149  
> about
> that. For CLI debugging you need to set up some environment variables as
> well; see T59676 .
> 
> If that does not work then you can
> set xdebug.remote_log="/vagrant/logs/xdebug.log" or something similar in a
> PHP config file and see if it says anything useful.
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] Phabricator monthly statistics - 2015-12

2015-12-31 Thread communitymetrics

Hi Community Metrics team,

This is your automatic monthly Phabricator statistics mail.

Accounts created in (2015-12): 358
Active users (any activity) in (2015-12): 882
Task authors in (2015-12): 478
Users who have closed tasks in (2015-12): 249

Projects which had at least one task moved from one column to another on
their workboard in (2015-12): 177

Tasks created in (2015-12): 2791
Tasks closed in (2015-12): 2301
Open and stalled tasks in total: 27736

Median age in days of open tasks by priority:

Unbreak now: 13
Needs Triage: 135
High: 190
Normal: 336
Low: 693
Lowest: 536

(How long tasks have been open, not how long they have had that priority)

TODO: Numbers which refer to closed tasks might not be correct, as
described in https://phabricator.wikimedia.org/T1003 .

Yours sincerely,
Fab Rick Aytor

(via community_metrics.sh on iridium at Fri Jan  1 00:00:08 UTC 2016)

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] Half-time achievements in Google Code-in 2015

2015-12-31 Thread Andre Klapper
We are half way through this year's Google Code-in contest:
https://www.mediawiki.org/wiki/Google_Code-in_2015

Thanks to our GCI contributors (and the help of Wikimedia's 31 mentors)
we have seen more than 150 tasks resolved already!

To list only some of the students' achievements:
 * More than a dozen of MediaWiki extensions converted to use extension
   registration
 * Confirmation dialogs in UploadWizard + TimedMediaHandler use OOjs-UI
 * Vagrant roles created for the EmbedVideo and YouTube extensions
 * Two more scraping functions in the html-metadata node.js library
   (used by Citoid)
 * Many MediaWiki documentation pages marked as translatable
 * lc, lcfirst, uc and ucfirst magic words implemented in jqueryMsg
 * Screenshots added to some MW extension homepages on mediawiki.org
 * ConfirmEdit's ReCaptchaNoCaptcha uses the UI language for the
   captcha
 * MobileFrontend, MultimediaViewer, UploadWizard, Newsletter, Huggle,
   and Pywikibot received numerous improvements (too many to list)
 * ...and many, many, many more.

Please join me in congratulating and thanking our contributors and
mentors for working hard on improving Wikimedia!

I'd also like to thank everybody on the #mediawiki and #wikimedia-dev
IRC channels who has helped with onboarding and answering questions.

Sounds interesting? Got a small well-defined task in mind you are
willing to mentor? Join and become a mentor if you aren't already! Read
https://www.mediawiki.org/wiki/Google_Code-in_2015#Mentors.27_corner
and contact us if you need help!

Cheers,
andre

-- 
Andre Klapper | Wikimedia Bugwrangler
http://blogs.gnome.org/aklapper/



___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] New tutorial for interactive graphics on Wiki

2015-12-31 Thread Szymon Grabarczuk
Great! now, I think it should be marked for translation.

On 31 December 2015 at 08:38, Pine W  wrote:

> The tutorial looks nice! I will take a look when I am less distracted by
> finance reports. Thank you for working on this.
>
> Pine
> On Dec 30, 2015 22:37, "Yuri Astrakhan"  wrote:
>
> > I just finished writing a tutorial on how to build interactive Vega
> graphs
> > for Wikipedia. And yes, we could build video games this way too :)
> >
> >
> https://www.mediawiki.org/wiki/Extension:Graph/Interactive_Graph_Tutorial
> > ___
> > Wikitech-l mailing list
> > Wikitech-l@lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>



-- 
*Szymon Grabarczuk*

Free Knowledge Advocacy Group EU
Head of Research & Development Group, Wikimedia Polska
pl.wikimedia.org/wiki/User:Tar_Lócesilion

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l