Re: [Wikitech-l] Live broadcast from WP engineering meetup happening now

2012-10-19 Thread Erik Moeller
Video on Commons:
https://commons.wikimedia.org/wiki/File:Wikipedia_Engineering_Meetup-2012-10-18.ogv


-- 
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] Fwd: Seeking feedback on new Organizations feature on Ohloh

2012-10-19 Thread Quim Gil
Hi, the Wikimedia Foundation pages at Ohloh are starting to look nice. 
They are not public since this new feature of Ohloh is only available in 
a stage server.


We need to make sure that no project is missing. I have compiled the 
list that Ohloh is currently aware of at


https://www.mediawiki.org/wiki/User:Qgil/Ohloh

(pasted below for convenience)

There are projects missing, like

* Limn - https://github.com/wikimedia/limn

Can you please help checking out the list and filling the gaps? The wiki 
page has two sections, one for projects already in Ohloh but no linked 
to the Wikimedia Foundation and projects that are missing at Ohloh 
altogether.


Question: there are projects available in gerrit.wikimedia.org and 
github.com/wikimedia: should we default to the gerrit repository in 
these cases or do you prefer to default to GitHub?


--
Quim

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


Re: [Wikitech-l] Message system based HTML snippets

2012-10-19 Thread Daniel Werner
There is a first implementation of this in the Wikibase extension now:
https://gerrit.wikimedia.org/r/#/c/28680/

This implements the html snippet functionality in PHP. The JS side will be next.

2012/10/18 Daniel Werner daniel.wer...@wikimedia.de:
 Right now we are about to implement some kind of basic template Engine
 to share HTML on the server side as well as on the client side in
 JavaScript. Basically this will be a bunch of HTML snippets which we
 will put into a resource loader module and send to the client. The
 snippets will need some kind of placeholder which can then be replaced
 with different content. The replacement would be done by some basic
 parser which had to be implemented in PHP as well as JS.

 One thought was to simply use the MW message system for this. The
 templates would of course get their own store, but the message parser
 could perhaps be reused. $1 etc. could be used as placeholders and
 even nice-to-haves such as PLURAL or {{int:}} would work out of the
 box.
 From a first look, it could be as easy as overwriting
 Message::fetchMessage in as subclass.
 Off course it had to be taken care of the JavaScript side as well.
 Doesn't seem like mw.Message would be a problem.

 Any thoughts on this or does anyone know about some similar
 implementation in any extensions?

 Cheers,
 Daniel

 --
 Daniel Werner
 Software Engineer

 Wikimedia Deutschland e.V. | Obentrautstr. 72 | 10963 Berlin
 Tel. (030) 219 158 26-0

 http://wikimedia.de

 Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.V.
 Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg
 unter der Nummer 23855 B. Als gemeinnützig anerkannt durch das
 Finanzamt für Körperschaften I Berlin, Steuernummer 27/681/51985.



-- 
Daniel Werner
Software Engineer

Wikimedia Deutschland e.V. | Obentrautstr. 72 | 10963 Berlin
Tel. (030) 219 158 26-0

http://wikimedia.de

Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg
unter der Nummer 23855 B. 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] Fwd: Seeking feedback on new Organizations feature on Ohloh

2012-10-19 Thread Tomasz Finc
I added a couple of highly visible but missing projects from github.

--tomasz


On Fri, Oct 19, 2012 at 8:11 AM, Quim Gil quim...@gmail.com wrote:
 Hi, the Wikimedia Foundation pages at Ohloh are starting to look nice. They
 are not public since this new feature of Ohloh is only available in a stage
 server.

 We need to make sure that no project is missing. I have compiled the list
 that Ohloh is currently aware of at

 https://www.mediawiki.org/wiki/User:Qgil/Ohloh

 (pasted below for convenience)

 There are projects missing, like

 * Limn - https://github.com/wikimedia/limn

 Can you please help checking out the list and filling the gaps? The wiki
 page has two sections, one for projects already in Ohloh but no linked to
 the Wikimedia Foundation and projects that are missing at Ohloh altogether.

 Question: there are projects available in gerrit.wikimedia.org and
 github.com/wikimedia: should we default to the gerrit repository in these
 cases or do you prefer to default to GitHub?

 --
 Quim


 ___
 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] Adding additional data to the ParserOutput

2012-10-19 Thread Jeroen De Dauw
Hey,

Is there currently a way for extensions to register additional info they
gather during the parsing process to the parser output? Right now Semantic
MediaWiki is doing this by assigning to the non-defined field $mSMWData
which causes notices when strict is on with PHP 5.4, so I am looking for a
good way to fix this.

If there is no way to currently do this I propose this very simple
addition: https://gerrit.wikimedia.org/r/#/c/28767/

Cheers

--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil.
--
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Adding additional data to the ParserOutput

2012-10-19 Thread Daniel Friesen
On Fri, 19 Oct 2012 15:12:33 -0700, Jeroen De Dauw  
jeroended...@gmail.com wrote:



Hey,

Is there currently a way for extensions to register additional info they
gather during the parsing process to the parser output? Right now  
Semantic

MediaWiki is doing this by assigning to the non-defined field $mSMWData
which causes notices when strict is on with PHP 5.4, so I am looking for  
a

good way to fix this.

If there is no way to currently do this I propose this very simple
addition: https://gerrit.wikimedia.org/r/#/c/28767/

Cheers

--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil.
--


Usually one uses setProperty and/or addOutputHook.

--
~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