Re: [Wikitech-l] my $wgHooks['SkinTemplateNavigation'] broke again
I would be happy to use CSS, just tell me how to rewrite the final function of $wgNamespaceProtection[NS_CATEGORY]=$wgNamespaceProtection[NS_CATEGORY_TALK]=array('editinterface'); function JidanniBlueLinkCategoryPages($linker,$target,$text,$customAttribs,$query,$options){ switch($target-getNamespace()){case NS_CATEGORY:case NS_CATEGORY_TALK:$options[0]='known';}return true;} $wgHooks['LinkBegin'][]='JidanniBlueLinkCategoryPages'; function JidanniDontInviteEdit($article,$outputDone){if($article-getID()===0){ switch($article-getTitle()-getNamespace()){case NS_CATEGORY:case NS_CATEGORY_TALK:$outputDone=true;}}return true;} $wgHooks['ArticleViewHeader'][]='JidanniDontInviteEdit';//Bug 17630 function JidanniLessRedNavigation($sktemplate,$links){ foreach($links['namespaces'] as $ns=$value){ if($value['context']=='talk' $value['class']=='new' !$sktemplate-getTitle()-quickUserCan('createtalk')){ unset($links['namespaces'][$ns]);} if($ns=='category' $value['class']=='selected new'){ $value['class']='selected'; if(isset($links['actions']['watch'])){unset($links['actions']['watch']);}}} //var_dump('AFTER',$links); return true;} $wgHooks['SkinTemplateNavigation'][]='JidanniLessRedNavigation'; to make it work again. Thanks. ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Using mediawiki from within the Social networks?
Hi Yury, we experimented with MediaWiki as a Facebook-App. Basically this is using MW in an iFrame and passing through the Facebook authentication. Articles can be liked and commented via FB. When you edit something, it publishes that to the user's stream. Here's a prototype, in German though: https://www.facebook.com/ComputerTest/app_242056765902153 Cheers, Markus -Ursprüngliche Nachricht- Von: wikitech-l-boun...@lists.wikimedia.org [mailto:wikitech-l-boun...@lists.wikimedia.org] Im Auftrag von Yury Katkov Gesendet: Montag, 1. Oktober 2012 19:45 An: MediaWiki announcements and site admin list; Wikimedia developers Betreff: [Wikitech-l] Using mediawiki from within the Social networks? Hi everyone! Is it possible to use MediaWiki as a service whereas the UI is located on a Facebook app? So all the editing and viewing is take place on a Facebook and MediaWiki provide the storage, revision control and lots of extensions? - Yury Katkov ___ 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
Re: [Wikitech-l] Using mediawiki from within the Social networks?
well what about the user granting you the rights to the comments etc under certain conditions and they just use fb and pull that data in via the api. so you would have some pages that are autogenerated via fb, you might have Talk:page for normal users and FB:Page for fb users. mike On Tue, Oct 2, 2012 at 1:21 AM, Yury Katkov katkov.ju...@gmail.com wrote: Maybe we can brainstorm this idea a little bit together? I have several crowdsourcing projects and I always suspect that the pure wiki editing requires too much motivation and it's not the best approach in many cases. - Yury Katkov On Tue, Oct 2, 2012 at 1:16 AM, Mike Dupont jamesmikedup...@googlemail.com wrote: Yuri, I agree with you 100% this is a good idea and would help out alot. I have also had similar ideas! mike On Mon, Oct 1, 2012 at 11:09 PM, Yury Katkov katkov.ju...@gmail.com wrote: There is no such client to the best of my knowledge. But here I don't think much about the big-text-projects like wikipedia: more about the projects where users need to - vote for the articles or - add really small fragments of text - or link page together via Semantic MediaWiki properties or - categorize and tagged the articles... these are all very small activities. The idea is that those activities can be shown in the social network MW-client in the most easy-to-consume way to the very broad audience. Or maybe they can be even gamified! - Yury Katkov On Tue, Oct 2, 2012 at 1:02 AM, Mike Dupont jamesmikedup...@googlemail.com wrote: On Mon, Oct 1, 2012 at 10:37 PM, Yury Katkov katkov.ju...@gmail.com wrote: MediaWiki social network client tell me more, links? -- James Michael DuPont Member of Free Libre Open Source Software Kosova http://flossk.org Saving wikipedia(tm) articles from deletion http://SpeedyDeletion.wikia.com Contributor FOSM, the CC-BY-SA map of the world http://fosm.org Mozilla Rep https://reps.mozilla.org/u/h4ck3rm1k3 Free Software Foundation Europe Fellow http://fsfe.org/support/?h4ck3rm1k3 ___ 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 -- James Michael DuPont Member of Free Libre Open Source Software Kosova http://flossk.org Saving wikipedia(tm) articles from deletion http://SpeedyDeletion.wikia.com Contributor FOSM, the CC-BY-SA map of the world http://fosm.org Mozilla Rep https://reps.mozilla.org/u/h4ck3rm1k3 Free Software Foundation Europe Fellow http://fsfe.org/support/?h4ck3rm1k3 ___ 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 -- James Michael DuPont Member of Free Libre Open Source Software Kosova http://flossk.org Saving wikipedia(tm) articles from deletion http://SpeedyDeletion.wikia.com Contributor FOSM, the CC-BY-SA map of the world http://fosm.org Mozilla Rep https://reps.mozilla.org/u/h4ck3rm1k3 Free Software Foundation Europe Fellow http://fsfe.org/support/?h4ck3rm1k3 ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
[Wikitech-l] New Imagescaler disto/packages
Hello all, I just enabled srv190 as an imagescaler running ubuntu 12.04 precise with new versions of imagemagick and librsvg. This is a test for upgrading all of our imagescalers to newer versions of... many things. Upgrading these boxes and these packages is often problematic, so please let me know if you notice any issues with the new setup. Thanks! --peter ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
[Wikitech-l] Welcome Željko Filipin, QA Engineer
Hello everyone, I am pleased to announce that Željko Filipin joins WMF this week as QA Engineer. Željko is is a world-class expert on browser test automation, software testing, and related systems and tools. He will be leading our browser test automation effort as well as doing other QA and testing work. Željko writes an authoritative blog about test automation, and is active (and highly visible) on Github and Stackoverflow. He hosted the Watir (Web Application Testing In Ruby) podcast for a long time, and is a long-standing member of the Watir Core Team. Željko lives with his family in Zagreb, Croatia, where he is a competitive table tennis player. I am particularly pleased, proud, and excited to make this announcement because Željko and I have been acquainted for many years. He and I were both early adopters of Watir, the first viable open source browser test automation tool in history. This is the first time we have worked together professionally, and I could not be happier that he is our new QA Engineer. -Chris ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Welcome Željko Filipin, QA Engineer
I am pleased to announce that Željko Filipin joins WMF this week as QA Engineer. All right! Welcome, Željko! It will be great to have some more power behind our QA. I look forward to seeing you around the mailing list and IRC! -- Mark Holmquist Contractor, Wikimedia Foundation mtrac...@member.fsf.org http://marktraceur.info ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Welcome Željko Filipin, QA Engineer
I am pleased to announce that Željko Filipin joins WMF this week as QA Engineer. All right! Welcome, Željko! It will be great to have some more power behind our QA. I look forward to seeing you around the mailing list and IRC! Forgive me for asking, this is by no means meant to be rude, but how does one pronounce your name? It is very unique looking to my uncultured eyes. Thank you, Derric Atzrott ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] [Wmfall] Welcome Željko Filipin, QA Engineer
Welcome! On Oct 2, 2012 7:25 AM, Chris McMahon cmcma...@wikimedia.org wrote: Hello everyone, I am pleased to announce that Željko Filipin joins WMF this week as QA Engineer. Željko is is a world-class expert on browser test automation, software testing, and related systems and tools. He will be leading our browser test automation effort as well as doing other QA and testing work. Željko writes an authoritative blog about test automation, and is active (and highly visible) on Github and Stackoverflow. He hosted the Watir (Web Application Testing In Ruby) podcast for a long time, and is a long-standing member of the Watir Core Team. Željko lives with his family in Zagreb, Croatia, where he is a competitive table tennis player. I am particularly pleased, proud, and excited to make this announcement because Željko and I have been acquainted for many years. He and I were both early adopters of Watir, the first viable open source browser test automation tool in history. This is the first time we have worked together professionally, and I could not be happier that he is our new QA Engineer. -Chris ___ Wmfall mailing list wmf...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wmfall ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Welcome Željko Filipin, QA Engineer
On Tue, Oct 2, 2012 at 4:49 PM, Mark Holmquist mtrac...@member.fsf.org wrote: I look forward to seeing you around the mailing list and IRC! I am lurking as zeljkof on a few IRC channels. Željko ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Welcome Željko Filipin, QA Engineer
On Tue, Oct 2, 2012 at 4:57 PM, Derric Atzrott datzr...@alizeepathology.com wrote: but how does one pronounce your name? It is pronounced similar to zhel-ko or jell-ko. To my surprise not all languages have ž and lj sounds, and my name has both of them. Željko ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] [Wmfall] Welcome Željko Filipin, QA Engineer
Welcome Željko :-) to the Wikimedia world! Great to have you onboard to help improve our QA support. Alolita On Tue, Oct 2, 2012 at 9:03 AM, Melanie Brown mbr...@wikimedia.org wrote: Welcome, Željko! On Tue, Oct 2, 2012 at 8:22 AM, Steven Walling swall...@wikimedia.org wrote: Welcome! On Oct 2, 2012 7:25 AM, Chris McMahon cmcma...@wikimedia.org wrote: Hello everyone, I am pleased to announce that Željko Filipin joins WMF this week as QA Engineer. Željko is is a world-class expert on browser test automation, software testing, and related systems and tools. He will be leading our browser test automation effort as well as doing other QA and testing work. Željko writes an authoritative blog about test automation, and is active (and highly visible) on Github and Stackoverflow. He hosted the Watir (Web Application Testing In Ruby) podcast for a long time, and is a long-standing member of the Watir Core Team. Željko lives with his family in Zagreb, Croatia, where he is a competitive table tennis player. I am particularly pleased, proud, and excited to make this announcement because Željko and I have been acquainted for many years. He and I were both early adopters of Watir, the first viable open source browser test automation tool in history. This is the first time we have worked together professionally, and I could not be happier that he is our new QA Engineer. -Chris ___ Wmfall mailing list wmf...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wmfall ___ Wmfall mailing list wmf...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wmfall -- Melanie L. Brown HR Administrator Wikimedia Foundation 415.839.6885 ext 6690 415.882.0495 (fax) www.wikimediafoundation.org Imagine a world in which every single human being can freely share in the sum of all knowledge. That's our commitment. https://donate.wikimedia.org/ ___ Wmfall mailing list wmf...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wmfall -- Alolita Sharma Director of Engineering Wikimedia Foundation ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] my $wgHooks['SkinTemplateNavigation'] broke again
On Mon, 01 Oct 2012 23:10:11 -0700, jida...@jidanni.org wrote: I would be happy to use CSS, just tell me how to rewrite the final function of $wgNamespaceProtection[NS_CATEGORY]=$wgNamespaceProtection[NS_CATEGORY_TALK]=array('editinterface'); function JidanniBlueLinkCategoryPages($linker,$target,$text,$customAttribs,$query,$options){ switch($target-getNamespace()){case NS_CATEGORY:case NS_CATEGORY_TALK:$options[0]='known';}return true;} $wgHooks['LinkBegin'][]='JidanniBlueLinkCategoryPages'; function JidanniDontInviteEdit($article,$outputDone){if($article-getID()===0){ switch($article-getTitle()-getNamespace()){case NS_CATEGORY:case NS_CATEGORY_TALK:$outputDone=true;}}return true;} $wgHooks['ArticleViewHeader'][]='JidanniDontInviteEdit';//Bug 17630 function JidanniLessRedNavigation($sktemplate,$links){ foreach($links['namespaces'] as $ns=$value){ if($value['context']=='talk' $value['class']=='new' !$sktemplate-getTitle()-quickUserCan('createtalk')){ unset($links['namespaces'][$ns]);} if($ns=='category' $value['class']=='selected new'){ $value['class']='selected'; if(isset($links['actions']['watch'])){unset($links['actions']['watch']);}}} //var_dump('AFTER',$links); return true;} $wgHooks['SkinTemplateNavigation'][]='JidanniLessRedNavigation'; to make it work again. Thanks. We're saying you don't need to rewrite it. Assuming you're using Vector. The standard link blue is #0645AD and the standard :visited blue is #0B0080. So to override the .new styles in the personal area with standard colors, just use: #p-personal a.new { color: #0645AD; } #p-personal a.new:visited { color: #0B0080; } And you can use that everywhere in your own personal css, not just your own wikis. -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name] ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] [Wmfall] Welcome Željko Filipin, QA Engineer
Welcome onboard. We use Watir for browser test automation in some of our products at Directi I must admit that your blog entries have always helped out immensely whenever I was stuck. Feels great that you are now a part of the WMF team. Akshay On Tue, Oct 2, 2012 at 9:37 PM, Alolita Sharma asha...@wikimedia.orgwrote: Welcome Željko :-) to the Wikimedia world! Great to have you onboard to help improve our QA support. Alolita On Tue, Oct 2, 2012 at 9:03 AM, Melanie Brown mbr...@wikimedia.org wrote: Welcome, Željko! On Tue, Oct 2, 2012 at 8:22 AM, Steven Walling swall...@wikimedia.org wrote: Welcome! On Oct 2, 2012 7:25 AM, Chris McMahon cmcma...@wikimedia.org wrote: Hello everyone, I am pleased to announce that Željko Filipin joins WMF this week as QA Engineer. Željko is is a world-class expert on browser test automation, software testing, and related systems and tools. He will be leading our browser test automation effort as well as doing other QA and testing work. Željko writes an authoritative blog about test automation, and is active (and highly visible) on Github and Stackoverflow. He hosted the Watir (Web Application Testing In Ruby) podcast for a long time, and is a long-standing member of the Watir Core Team. Željko lives with his family in Zagreb, Croatia, where he is a competitive table tennis player. I am particularly pleased, proud, and excited to make this announcement because Željko and I have been acquainted for many years. He and I were both early adopters of Watir, the first viable open source browser test automation tool in history. This is the first time we have worked together professionally, and I could not be happier that he is our new QA Engineer. -Chris ___ Wmfall mailing list wmf...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wmfall ___ Wmfall mailing list wmf...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wmfall -- Melanie L. Brown HR Administrator Wikimedia Foundation 415.839.6885 ext 6690 415.882.0495 (fax) www.wikimediafoundation.org Imagine a world in which every single human being can freely share in the sum of all knowledge. That's our commitment. https://donate.wikimedia.org/ ___ Wmfall mailing list wmf...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wmfall -- Alolita Sharma Director of Engineering Wikimedia Foundation ___ 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] Andre Klapper starts 8 October as WMF Bug Wrangler
I am delighted to announce that October 8th will be Andre Klapper's first day as Wikimedia Foundation's Bug Wrangler. [0] You've seen him on IRC as andre__ and on mediawiki.org as Malyacko, and sadly that's mostly how I'll be seeing him since he lives in the Czech Republic. He speaks German, English, French, and Czech, and can kinda read Russian. You might have met him at the 2012 Berlin hackathon. Andre got into open source because he switched to Linux, had a support question about GNOME Evolution, and got sucked into bug triage from there. You can read more about that in his essay Kick, Push in Open Advice open-advice.org. He's an editor of German- and English-language Wikimedia projects, and has already started commenting on and nudging bugs in our Bugzilla. I know Andre through the GNOME community, where he is Bugzilla maintainer and bugsquad member, member of the Release Team, member of the Translation Project Coordination team, member of the Czech GNOME translation teams, and author maintainer of the GNOME Evolution user documentation. And he organized and ran GNOME's part in Google Code-In 2010/11 and 2011/12, so he might have opinions on whether Wikimedia should participate this year. Remember Maemo? [1] Andre worked as bugmaster on Maemo and MeeGo as well. I am thoroughly pleased that we were able to snag Andre for ourselves, and think his abilities and experience make him a great addition to WMF's Engineering Community Team and to Wikimedia. Welcome! [0] In case you're new and wondering what a bug wrangler does: http://tieguy.org/talks-files/LCA-2005-paper-html/index.html . In case you're an old-timer: this is the same job Mark Hershberger did as Bugmeister and I changed the title to something less gendered. [1] Last year at the GSoC mentor summit, Andre and I were sitting next to each other in a session, both got out our N900s to take notes, and started laughing. It's like the Newton of our time. -- Sumana Harihareswara Engineering Community Manager Wikimedia Foundation ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Andre Klapper starts 8 October as WMF Bug Wrangler
Welcome Andre! Akshay On Tue, Oct 2, 2012 at 11:52 PM, Sumana Harihareswara suma...@wikimedia.org wrote: I am delighted to announce that October 8th will be Andre Klapper's first day as Wikimedia Foundation's Bug Wrangler. [0] You've seen him on IRC as andre__ and on mediawiki.org as Malyacko, and sadly that's mostly how I'll be seeing him since he lives in the Czech Republic. He speaks German, English, French, and Czech, and can kinda read Russian. You might have met him at the 2012 Berlin hackathon. Andre got into open source because he switched to Linux, had a support question about GNOME Evolution, and got sucked into bug triage from there. You can read more about that in his essay Kick, Push in Open Advice open-advice.org. He's an editor of German- and English-language Wikimedia projects, and has already started commenting on and nudging bugs in our Bugzilla. I know Andre through the GNOME community, where he is Bugzilla maintainer and bugsquad member, member of the Release Team, member of the Translation Project Coordination team, member of the Czech GNOME translation teams, and author maintainer of the GNOME Evolution user documentation. And he organized and ran GNOME's part in Google Code-In 2010/11 and 2011/12, so he might have opinions on whether Wikimedia should participate this year. Remember Maemo? [1] Andre worked as bugmaster on Maemo and MeeGo as well. I am thoroughly pleased that we were able to snag Andre for ourselves, and think his abilities and experience make him a great addition to WMF's Engineering Community Team and to Wikimedia. Welcome! [0] In case you're new and wondering what a bug wrangler does: http://tieguy.org/talks-files/LCA-2005-paper-html/index.html . In case you're an old-timer: this is the same job Mark Hershberger did as Bugmeister and I changed the title to something less gendered. [1] Last year at the GSoC mentor summit, Andre and I were sitting next to each other in a session, both got out our N900s to take notes, and started laughing. It's like the Newton of our time. -- Sumana Harihareswara Engineering Community Manager Wikimedia Foundation ___ 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
Re: [Wikitech-l] Andre Klapper starts 8 October as WMF Bug Wrangler
On 10/02/2012 11:22 AM, Sumana Harihareswara wrote: I am delighted to announce that October 8th will be Andre Klapper's first day as Wikimedia Foundation's Bug Wrangler. This is great! Congratulations! I had the pleasure to work with Andre both in the GNOME and Maemo / MeeGo contexts. He really does what it says in the label. So... Do you think we can have an upgraded weekly bug report by Monday 15, then? ;) -- Quim ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Andre Klapper starts 8 October as WMF Bug Wrangler
On 2 October 2012 11:22, Sumana Harihareswara suma...@wikimedia.org wrote: I am delighted to announce that October 8th will be Andre Klapper's first day as Wikimedia Foundation's Bug Wrangler. [0] [Snip] I am thoroughly pleased that we were able to snag Andre for ourselves, and think his abilities and experience make him a great addition to WMF's Engineering Community Team and to Wikimedia. Welcome! Welcome, Andre! J. -- James D. Forrester Product Manager, VisualEditor Wikimedia Foundation, Inc. jforres...@wikimedia.org | @jdforrester | +1 415-839-6885 x6844 ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Andre Klapper starts 8 October as WMF Bug Wrangler
On Tue, Oct 2, 2012 at 11:22 AM, Sumana Harihareswara suma...@wikimedia.org wrote: I am thoroughly pleased that we were able to snag Andre for ourselves, and think his abilities and experience make him a great addition to WMF's Engineering Community Team and to Wikimedia. Welcome! Agreed - we couldn't ask for a better profile for a Bug Wrangler. Andre's experience in a Bugmeister^Wbug wrangling role role for major open source projects should come in very handy, and I look forward to his contributions :-) Welcome on board, Andre! All best, Erik -- Erik Möller VP of Engineering and Product Development, Wikimedia Foundation Support Free Knowledge: https://wikimediafoundation.org/wiki/Donate ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Welcome Željko Filipin, QA Engineer
On Tue, Oct 2, 2012 at 7:25 AM, Chris McMahon cmcma...@wikimedia.org wrote: I am pleased to announce that Željko Filipin joins WMF this week as QA Engineer. Željko, welcome on board :) Hooray for more test automation, and the timing (with beta labs starting to become usable) is great as well. -- Erik Möller VP of Engineering and Product Development, Wikimedia Foundation Support Free Knowledge: https://wikimediafoundation.org/wiki/Donate ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Welcome Željko Filipin, QA Engineer
Le 02/10/12 16:25, Chris McMahon a écrit : I am pleased to announce that Željko Filipin joins WMF this week as QA Engineer. Moaar test! Welcome around Željko! I am in CET timezone myself and working on continuous integration. Ping hashar on freenode :-] -- Antoine hashar Musso ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Welcome Željko Filipin, QA Engineer
On Tue, Oct 2, 2012 at 9:21 PM, Antoine Musso hashar+...@free.fr wrote: I am in CET timezone myself and working on continuous integration. Ping hashar on freenode :-] Will do. I will probably need help with Jenkins. Željko ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Andre Klapper starts 8 October as WMF Bug Wrangler
On Tue, Oct 2, 2012 at 8:22 PM, Sumana Harihareswara suma...@wikimedia.org wrote: I am delighted to announce that October 8th will be Andre Klapper's first day as Wikimedia Foundation's Bug Wrangler. [0] You've seen him on IRC as andre__ and on mediawiki.org as Malyacko, and sadly that's mostly how I'll be seeing him since he lives in the Czech Republic. He speaks German, English, French, and Czech, and can kinda read Russian. You might have met him at the 2012 Berlin hackathon. Andre got into open source because he switched to Linux, had a support question about GNOME Evolution, and got sucked into bug triage from there. You can read more about that in his essay Kick, Push in Open Advice open-advice.org. He's an editor of German- and English-language Wikimedia projects, and has already started commenting on and nudging bugs in our Bugzilla. I know Andre through the GNOME community, where he is Bugzilla maintainer and bugsquad member, member of the Release Team, member of the Translation Project Coordination team, member of the Czech GNOME translation teams, and author maintainer of the GNOME Evolution user documentation. And he organized and ran GNOME's part in Google Code-In 2010/11 and 2011/12, so he might have opinions on whether Wikimedia should participate this year. Remember Maemo? [1] Andre worked as bugmaster on Maemo and MeeGo as well. I am thoroughly pleased that we were able to snag Andre for ourselves, and think his abilities and experience make him a great addition to WMF's Engineering Community Team and to Wikimedia. Welcome! [0] In case you're new and wondering what a bug wrangler does: http://tieguy.org/talks-files/LCA-2005-paper-html/index.html . In case you're an old-timer: this is the same job Mark Hershberger did as Bugmeister and I changed the title to something less gendered. [1] Last year at the GSoC mentor summit, Andre and I were sitting next to each other in a session, both got out our N900s to take notes, and started laughing. It's like the Newton of our time. Woho! Great to have you on board, Andre. Seems our ways are crossing a lot lately ;-) Cheers Lydia -- Lydia Pintscher - http://about.me/lydia.pintscher Community Communications for Wikidata Wikimedia Deutschland e.V. Obentrautstr. 72 10963 Berlin www.wikimedia.de Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V. Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter der Nummer 23855 Nz. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer 27/681/51985. ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] MediaWiki community metrics
Hi, update on http://www.mediawiki.org/wiki/User:Qgil/MediaWiki_Community_Metrics - Amgine proposed to describe the problem first, and now we have http://www.mediawiki.org/wiki/User:Qgil/MediaWiki_Community_Metrics#Problems_we_want_to_solve - ^demon, MarkTraceur and Diederik provided more feedback on what exists and what can't be provided nowadays. Very useful to focus the goals of the first prototype. For instance, even if would be useful to know where are the contributors located, the facts is that we don't have this data. - After a call with Diederik we both agree that that the best initial approach is to look at what can Gerrit provide, and use/expand gerrit-stats + Limn for the first Dashboard prototype. Question: what is the best approach to retrieve the number of existing Gerrit accounts? -- Quim ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] MediaWiki community metrics
Question: what is the best approach to retrieve the number of existing Gerrit accounts? This number is already stored within gerrit-stats, it is just not being written to a dataset. D ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Content handler feature merge (Wikidata branch) scheduled early next week
Hi everyone, We now at around the time that we planned to merge the ContentHandler branch in. Questions: * Daniel/others: have you submitted a merge commit for this? If not, do you need help/clarification, or do you have it? * People who reviewed Denny's faux commit[1] and left comments. Any blockers, or mainly stylistic stuff? Everyone else, now is the last call before the merge. Rob [1] Faux commit of ContentHandler branch: https://gerrit.wikimedia.org/r/#/c/25736/ ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Content handler feature merge (Wikidata branch) scheduled early next week
That moment of suspense before a big branch merge... *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Tue, Oct 2, 2012 at 9:07 PM, Rob Lanphier ro...@wikimedia.org wrote: Hi everyone, We now at around the time that we planned to merge the ContentHandler branch in. Questions: * Daniel/others: have you submitted a merge commit for this? If not, do you need help/clarification, or do you have it? * People who reviewed Denny's faux commit[1] and left comments. Any blockers, or mainly stylistic stuff? Everyone else, now is the last call before the merge. Rob [1] Faux commit of ContentHandler branch: https://gerrit.wikimedia.org/r/#/c/25736/ ___ 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] GC cache entry
Time to time, we receive a strange warning message in fenari:/home/wikipedia/log/syslog/apache.log Oct 3 01:01:03 10.0.11.59 apache2[20535]: PHP Warning: * require() [a href='function.require'function.require/a]: GC cache entry '/usr/local/apache/common-local/wmf-config/ExtensionMessages-1.20wmf12.php' (dev=2049 ino=10248005) was on gc-list for 601 seconds in /usr/local/apache/common-local/php-1.20wmf12/includes/AutoLoader.php* on line 1150 Definitely this issue comes from *APC*, source code from package apc-3.1.6-r1. When item is inserted into user cache or file cache, this function is called. static void process_pending_removals(apc_cache_t* cache TSRMLS_DC) { slot_t** slot; time_t now; /* This function scans the list of removed cache entries and deletes any * entry whose reference count is zero (indicating that it is no longer * being executed) or that has been on the pending list for more than * cache-gc_ttl seconds (we issue a warning in the latter case). */ if (!cache-header-deleted_list) return; slot = cache-header-deleted_list; now = time(0); while (*slot != NULL) { int gc_sec = cache-gc_ttl ? (now - (*slot)-deletion_time) : 0; if ((*slot)-value-ref_count = 0 || gc_sec cache-gc_ttl) { slot_t* dead = *slot; if (dead-value-ref_count 0) { switch(dead-value-type) { case APC_CACHE_ENTRY_FILE: apc_warning(GC cache entry '%s' (dev=%d ino=%d) was on gc-list for %d seconds TSRMLS_CC, dead-value-data.file.filename, dead-key.data.file.device, dead-key.data.file.inode, gc_sec); break; case APC_CACHE_ENTRY_USER: apc_warning(GC cache entry '%s'was on gc-list for %d seconds TSRMLS_CC, dead-value-data.user.info, gc_sec); break; } } *slot = dead-next; free_slot(dead TSRMLS_CC); } else { slot = (*slot)-next; } } } From APC configuration ( http://us.php.net/manual/en/apc.configuration.php#ini.apc.gc-ttl ) *apc.gc_ttl integer* The number of seconds that a cache entry may remain on the garbage-collection list. This value provides a fail-safe in the event that a server process dies while executing a cached source file; if that source file is modified, the memory allocated for the old version will not be reclaimed until this TTL reached. Set to zero to disable this feature. We get messages GC cache entry '%s' (dev=%d ino=%d) was on gc-list for %d seconds or GC cache entry '%s'was on gc-list for %d seconds in this condition: (gc_sec cache-gc_ttl) (dead-value-ref_count 0) First condition means, item was deleted later then apc.gc_ttl seconds ago and its still in garbage collector list. Seconds condition means, item is still referenced. e.g., when a process unexpectedly died, reference is not decreased. First apc.ttl seconds is active in APC cache, then is deleted (there isn't next hit on this item). Now item is on garbage collector list (GC) and apc.gc_ttl timeout is running. When apc.gc_ttl is less then (now - item_deletion_time), warning is written and item is finally completely flushed. So what should we do? ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] GC cache entry
I think the latter case is a likely candidate, as we see a couple hundred apache worker segfaults daily, in both php5 and libxml2 space. The first case is likely a bug in php core and it's worth checking whether we'd see the same behavior running a current php release. Core analysis may help us determine if a reproduceable state always leads to the crash. Similarly with libxml2. I suppose we'd have to patch apc with additional logging to really know for sure that this is the cause. From your understanding of the apc source, when would such items ever actually be freed? Only on apache restart? On Tuesday, October 2, 2012, Patrick Reilly wrote: Time to time, we receive a strange warning message in fenari:/home/wikipedia/log/syslog/apache.log Oct 3 01:01:03 10.0.11.59 apache2[20535]: PHP Warning: * require() [a href='function.require'function.require/a]: GC cache entry '/usr/local/apache/common-local/wmf-config/ExtensionMessages-1.20wmf12.php' (dev=2049 ino=10248005) was on gc-list for 601 seconds in /usr/local/apache/common-local/php-1.20wmf12/includes/AutoLoader.php* on line 1150 Definitely this issue comes from *APC*, source code from package apc-3.1.6-r1. When item is inserted into user cache or file cache, this function is called. static void process_pending_removals(apc_cache_t* cache TSRMLS_DC) { slot_t** slot; time_t now; /* This function scans the list of removed cache entries and deletes any * entry whose reference count is zero (indicating that it is no longer * being executed) or that has been on the pending list for more than * cache-gc_ttl seconds (we issue a warning in the latter case). */ if (!cache-header-deleted_list) return; slot = cache-header-deleted_list; now = time(0); while (*slot != NULL) { int gc_sec = cache-gc_ttl ? (now - (*slot)-deletion_time) : 0; if ((*slot)-value-ref_count = 0 || gc_sec cache-gc_ttl) { slot_t* dead = *slot; if (dead-value-ref_count 0) { switch(dead-value-type) { case APC_CACHE_ENTRY_FILE: apc_warning(GC cache entry '%s' (dev=%d ino=%d) was on gc-list for %d seconds TSRMLS_CC, dead-value-data.file.filename, dead-key.data.file.device, dead-key.data.file.inode, gc_sec); break; case APC_CACHE_ENTRY_USER: apc_warning(GC cache entry '%s'was on gc-list for %d seconds TSRMLS_CC, dead-value-data.user.info, gc_sec); break; } } *slot = dead-next; free_slot(dead TSRMLS_CC); } else { slot = (*slot)-next; } } } From APC configuration ( http://us.php.net/manual/en/apc.configuration.php#ini.apc.gc-ttl ) *apc.gc_ttl integer* The number of seconds that a cache entry may remain on the garbage-collection list. This value provides a fail-safe in the event that a server process dies while executing a cached source file; if that source file is modified, the memory allocated for the old version will not be reclaimed until this TTL reached. Set to zero to disable this feature. We get messages GC cache entry '%s' (dev=%d ino=%d) was on gc-list for %d seconds or GC cache entry '%s'was on gc-list for %d seconds in this condition: (gc_sec cache-gc_ttl) (dead-value-ref_count 0) First condition means, item was deleted later then apc.gc_ttl seconds ago and its still in garbage collector list. Seconds condition means, item is still referenced. e.g., when a process unexpectedly died, reference is not decreased. First apc.ttl seconds is active in APC cache, then is deleted (there isn't next hit on this item). Now item is on garbage collector list (GC) and apc.gc_ttl timeout is running. When apc.gc_ttl is less then (now - item_deletion_time), warning is written and item is finally completely flushed. So what should we do? ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org javascript:; 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
Re: [Wikitech-l] GC cache entry
On 03/10/12 11:25, Patrick Reilly wrote: e.g., when a process unexpectedly died, reference is not decreased. First apc.ttl seconds is active in APC cache, then is deleted (there isn't next hit on this item). Now item is on garbage collector list (GC) and apc.gc_ttl timeout is running. When apc.gc_ttl is less then (now - item_deletion_time), warning is written and item is finally completely flushed. So what should we do? That's the point of the apc.gc_ttl feature. The shared memory pool was being exhausted because of reference leaks, so we set apc.gc_ttl to release the leaked objects. We set it to a value much higher than the request timeout, so it's unlikely to release an object which is in use. I don't think the warning is an issue which needs to be fixed. Maybe the segfaults need to be fixed, if segfaults are causing the leaks. -- Tim Starling ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Welcome Željko Filipin, QA Engineer
On Oct 2, 2012, at 4:25 PM, Chris McMahon cmcma...@wikimedia.org wrote: I am pleased to announce that Željko Filipin joins WMF this week as QA Engineer. Welcome Željko! For the last 1.5 year, hashar and I have set up the current integration environment. I'm also in CET (Krinkle on freenode). Hashar did most of the backend with PHPUnit and Jenkins, I'm occupied in browsers and unit testing their in (QUnit/TestSwarm/BrowserStack/..). Looking forward to work with you! -- Timo Krinkle Tijhof ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Using mediawiki from within the Social networks?
Wow, nice! Ok, it's possible to log the users in (with some warnings but still). Very well. The goal here is to substitute the complex MediaWiki UI with some simple and beautifully-looking social network apps to eventually bring more users to the wiki. Mike Dupont started the list of activities that can be done for the wiki using the social network UI: 1) commenting, likes What other one-click valuable activities I can imagine: 2) Voting and rating the articles. Agreeing or disagreeing with some small sections. 3) making friends that will be reflected in the wiki with the help of social extensions 4) reading news. RSS of any wiki sucks and here the admins can form the human-readable news about the life on a wiki 5) categorizing articles or (much better) images and media files I'm not sure that '''editing''' can be made more easy with the help of social network client. Any ideas on that? any ideas on what else can be made more engaging with the power of social networks? - Yury Katkov On Tue, Oct 2, 2012 at 4:11 PM, Markus Glaser gla...@hallowelt.biz wrote: Hi Yury, we experimented with MediaWiki as a Facebook-App. Basically this is using MW in an iFrame and passing through the Facebook authentication. Articles can be liked and commented via FB. When you edit something, it publishes that to the user's stream. Here's a prototype, in German though: https://www.facebook.com/ComputerTest/app_242056765902153 Cheers, Markus -Ursprüngliche Nachricht- Von: wikitech-l-boun...@lists.wikimedia.org [mailto:wikitech-l-boun...@lists.wikimedia.org] Im Auftrag von Yury Katkov Gesendet: Montag, 1. Oktober 2012 19:45 An: MediaWiki announcements and site admin list; Wikimedia developers Betreff: [Wikitech-l] Using mediawiki from within the Social networks? Hi everyone! Is it possible to use MediaWiki as a service whereas the UI is located on a Facebook app? So all the editing and viewing is take place on a Facebook and MediaWiki provide the storage, revision control and lots of extensions? - Yury Katkov ___ 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 mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l