Re: [Wikitech-l] GRAPH extension is now live everywhere!

2015-05-06 Thread Yuri Astrakhan
Sorry, I meant "do NOT save", when trying dynamic graph preview.

If anyone is interested, or as a student project - a simple sandbox
implementation task: https://phabricator.wikimedia.org/T98312

On Wed, May 6, 2015 at 10:28 PM, Yuri Astrakhan 
wrote:

> You currently can use dynamic "graph-as-you-type" in mediawiki.org for
> Graph testing:
> * navigate to any Graph namespace graph, e.g.
> https://www.mediawiki.org/wiki/Graph:Sample
> * Go to edit source
> * Click Preview
> Now any change you make to the definition is dynamically reflected in the
> graph.  Please do save. I would love for this to eventually be done in the
> VE.
>
> Eugene, this is an excellent idea, but graphs are no different from other
> templates. I think this should be solved for all templates, to allow
> template sharing between projects.
>
>
> On Wed, May 6, 2015 at 8:24 PM, Eugene Zelenko 
> wrote:
>
>> Hi, Yuri!
>>
>> I think will be reasonable to allow transclusion of graphs (or their
>> parts, for example without text labels) from Commons. This will allow
>> to share graphs between projects.
>>
>> Eugene.
>>
>> On Wed, May 6, 2015 at 5:51 AM, Yuri Astrakhan 
>> wrote:
>> > Jon,  is designed to support template parameter expansions, and I
>> > found most convenient to place each graph into a separate template page.
>> >
>> > David, re VE - https://phabricator.wikimedia.org/T93585
>> >
>> > On Wed, May 6, 2015 at 2:27 PM, David Gerard  wrote:
>> >
>> >> Is there a facility to use this in VE?
>> >>
>> >> On 6 May 2015 at 12:25, Jon Robson  wrote:
>> >> > I think this is great but I'm still super super concerned about the
>> >> support
>> >> > for "Embedded directly with ". I'm concerned as if used this
>> way
>> >> we
>> >> > risk making wikitext even more like code and more difficult for
>> others to
>> >> > edit. Also having it inside the page makes it really difficult to
>> >> > extract/encourage remixing of the data...
>> >> >
>> >> > On Wed, May 6, 2015 at 4:32 AM, Brian Wolff 
>> wrote:
>> >> >
>> >> >> On 5/5/15, Yuri Astrakhan  wrote:
>> >> >> > Starting today, editors can use ** tag to include complex
>> >> graphs
>> >> >> and
>> >> >> > maps inside articles.
>> >> >> >
>> >> >> > *Demo:* https://www.mediawiki.org/wiki/Extension:Graph/Demo
>> >> >> > *Vega's demo:*
>> >> >> http://trifacta.github.io/vega/editor/?spec=scatter_matrix
>> >> >> > *Extension info:* https://www.mediawiki.org/wiki/Extension:Graph
>> >> >> > *Vega's docs:* https://github.com/trifacta/vega/wiki
>> >> >> > *Bug reports:* https://phabricator.wikimedia.org/ - project tag
>> >> #graph
>> >> >> >
>> >> >> > Graph tag support template parameter expansion. There is also a
>> >> Graphoid
>> >> >> > service to convert graphs into images. Currently, Graphoid is
>> used in
>> >> >> case
>> >> >> > the browser does not support modern JavaScript, but I plan to use
>> it
>> >> for
>> >> >> > all anonymous users - downloading large JS code needed to render
>> >> graphs
>> >> >> is
>> >> >> > significantly slower than showing an image.
>> >> >> >
>> >> >> > Potential future growth (developers needed!):
>> >> >> > * Documentation and better tutorials
>> >> >> > * Visualize as you type - show changes in graph while editing its
>> code
>> >> >> > * Visual Editor's plugin
>> >> >> > * Animation <
>> >> https://github.com/trifacta/vega/wiki/Interaction-Scenarios
>> >> >> >
>> >> >> >
>> >> >> > Project history: Exactly one year ago, Dan Andreescu (milimetric)
>> and
>> >> Jon
>> >> >> > Robson demoed Vega visualization grammar <
>> >> >> https://trifacta.github.io/vega/>
>> >> >> > usage in MediaWiki. The project stayed dormant for almost half a
>> year,
>> >> >> > until Zero team decided it was a good solution to do on-wiki
>> graphs.
>> >> The
>> >> >> > project was rewritten, and gained many new features, such as
>> template
>> >> >> > parameters. Yet, doing graphs just for Zero portal seemed silly.
>> Wider
>> >> >> > audience meant that we now had to support older browsers, thus
>> >> Graphoid
>> >> >> > service was born.
>> >> >> >
>> >> >> > This project could not have happened without the help from Dan
>> >> Andreescu,
>> >> >> > Brion Vibber, Timo Tijhof, Chris Steipp, Max Semenik,  Marko
>> Obrovac,
>> >> >> > Alexandros Kosiaris, Jon Robson, Gabriel Wicke, and others who
>> have
>> >> >> helped
>> >> >> > me develop,  test, instrument, and deploy Graph extension and
>> Graphoid
>> >> >> > service. I also would like to thank the Vega team for making this
>> >> amazing
>> >> >> > library.
>> >> >> >
>> >> >> > --Yurik
>> >> >> > ___
>> >> >> > Wikitech-l mailing list
>> >> >> > Wikitech-l@lists.wikimedia.org
>> >> >> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>> >> >>
>> >> >>
>> >> >> Hmm cool.
>> >> >>
>> >> >> One of the interesting things, is you can use the API as a data
>> >> >> source. For example, here is a pie graph of how images on commons
>> >> >> needing categories are divided up
>> >> >>
>

Re: [Wikitech-l] GRAPH extension is now live everywhere!

2015-05-06 Thread Yuri Astrakhan
You currently can use dynamic "graph-as-you-type" in mediawiki.org for
Graph testing:
* navigate to any Graph namespace graph, e.g.
https://www.mediawiki.org/wiki/Graph:Sample
* Go to edit source
* Click Preview
Now any change you make to the definition is dynamically reflected in the
graph.  Please do save. I would love for this to eventually be done in the
VE.

Eugene, this is an excellent idea, but graphs are no different from other
templates. I think this should be solved for all templates, to allow
template sharing between projects.


On Wed, May 6, 2015 at 8:24 PM, Eugene Zelenko 
wrote:

> Hi, Yuri!
>
> I think will be reasonable to allow transclusion of graphs (or their
> parts, for example without text labels) from Commons. This will allow
> to share graphs between projects.
>
> Eugene.
>
> On Wed, May 6, 2015 at 5:51 AM, Yuri Astrakhan 
> wrote:
> > Jon,  is designed to support template parameter expansions, and I
> > found most convenient to place each graph into a separate template page.
> >
> > David, re VE - https://phabricator.wikimedia.org/T93585
> >
> > On Wed, May 6, 2015 at 2:27 PM, David Gerard  wrote:
> >
> >> Is there a facility to use this in VE?
> >>
> >> On 6 May 2015 at 12:25, Jon Robson  wrote:
> >> > I think this is great but I'm still super super concerned about the
> >> support
> >> > for "Embedded directly with ". I'm concerned as if used this
> way
> >> we
> >> > risk making wikitext even more like code and more difficult for
> others to
> >> > edit. Also having it inside the page makes it really difficult to
> >> > extract/encourage remixing of the data...
> >> >
> >> > On Wed, May 6, 2015 at 4:32 AM, Brian Wolff 
> wrote:
> >> >
> >> >> On 5/5/15, Yuri Astrakhan  wrote:
> >> >> > Starting today, editors can use ** tag to include complex
> >> graphs
> >> >> and
> >> >> > maps inside articles.
> >> >> >
> >> >> > *Demo:* https://www.mediawiki.org/wiki/Extension:Graph/Demo
> >> >> > *Vega's demo:*
> >> >> http://trifacta.github.io/vega/editor/?spec=scatter_matrix
> >> >> > *Extension info:* https://www.mediawiki.org/wiki/Extension:Graph
> >> >> > *Vega's docs:* https://github.com/trifacta/vega/wiki
> >> >> > *Bug reports:* https://phabricator.wikimedia.org/ - project tag
> >> #graph
> >> >> >
> >> >> > Graph tag support template parameter expansion. There is also a
> >> Graphoid
> >> >> > service to convert graphs into images. Currently, Graphoid is used
> in
> >> >> case
> >> >> > the browser does not support modern JavaScript, but I plan to use
> it
> >> for
> >> >> > all anonymous users - downloading large JS code needed to render
> >> graphs
> >> >> is
> >> >> > significantly slower than showing an image.
> >> >> >
> >> >> > Potential future growth (developers needed!):
> >> >> > * Documentation and better tutorials
> >> >> > * Visualize as you type - show changes in graph while editing its
> code
> >> >> > * Visual Editor's plugin
> >> >> > * Animation <
> >> https://github.com/trifacta/vega/wiki/Interaction-Scenarios
> >> >> >
> >> >> >
> >> >> > Project history: Exactly one year ago, Dan Andreescu (milimetric)
> and
> >> Jon
> >> >> > Robson demoed Vega visualization grammar <
> >> >> https://trifacta.github.io/vega/>
> >> >> > usage in MediaWiki. The project stayed dormant for almost half a
> year,
> >> >> > until Zero team decided it was a good solution to do on-wiki
> graphs.
> >> The
> >> >> > project was rewritten, and gained many new features, such as
> template
> >> >> > parameters. Yet, doing graphs just for Zero portal seemed silly.
> Wider
> >> >> > audience meant that we now had to support older browsers, thus
> >> Graphoid
> >> >> > service was born.
> >> >> >
> >> >> > This project could not have happened without the help from Dan
> >> Andreescu,
> >> >> > Brion Vibber, Timo Tijhof, Chris Steipp, Max Semenik,  Marko
> Obrovac,
> >> >> > Alexandros Kosiaris, Jon Robson, Gabriel Wicke, and others who have
> >> >> helped
> >> >> > me develop,  test, instrument, and deploy Graph extension and
> Graphoid
> >> >> > service. I also would like to thank the Vega team for making this
> >> amazing
> >> >> > library.
> >> >> >
> >> >> > --Yurik
> >> >> > ___
> >> >> > Wikitech-l mailing list
> >> >> > Wikitech-l@lists.wikimedia.org
> >> >> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> >> >>
> >> >>
> >> >> Hmm cool.
> >> >>
> >> >> One of the interesting things, is you can use the API as a data
> >> >> source. For example, here is a pie graph of how images on commons
> >> >> needing categories are divided up
> >> >>
> >> >>
> >>
> https://commons.wikimedia.org/w/index.php?title=Commons:Sandbox&oldid=159978060
> >> >> (One could even make that more general and have a template, which
> >> >> given a cat name, would give a pie graph of how the subcategories are
> >> >> divided in terms of number).
> >> >>
> >> >> --bawolff
> >> >>
> >> >> ___
> >> >> Wikitech-l mailing l

Re: [Wikitech-l] GRAPH extension is now live everywhere!

2015-05-06 Thread Eugene Zelenko
Hi, Yuri!

I think will be reasonable to allow transclusion of graphs (or their
parts, for example without text labels) from Commons. This will allow
to share graphs between projects.

Eugene.

On Wed, May 6, 2015 at 5:51 AM, Yuri Astrakhan  wrote:
> Jon,  is designed to support template parameter expansions, and I
> found most convenient to place each graph into a separate template page.
>
> David, re VE - https://phabricator.wikimedia.org/T93585
>
> On Wed, May 6, 2015 at 2:27 PM, David Gerard  wrote:
>
>> Is there a facility to use this in VE?
>>
>> On 6 May 2015 at 12:25, Jon Robson  wrote:
>> > I think this is great but I'm still super super concerned about the
>> support
>> > for "Embedded directly with ". I'm concerned as if used this way
>> we
>> > risk making wikitext even more like code and more difficult for others to
>> > edit. Also having it inside the page makes it really difficult to
>> > extract/encourage remixing of the data...
>> >
>> > On Wed, May 6, 2015 at 4:32 AM, Brian Wolff  wrote:
>> >
>> >> On 5/5/15, Yuri Astrakhan  wrote:
>> >> > Starting today, editors can use ** tag to include complex
>> graphs
>> >> and
>> >> > maps inside articles.
>> >> >
>> >> > *Demo:* https://www.mediawiki.org/wiki/Extension:Graph/Demo
>> >> > *Vega's demo:*
>> >> http://trifacta.github.io/vega/editor/?spec=scatter_matrix
>> >> > *Extension info:* https://www.mediawiki.org/wiki/Extension:Graph
>> >> > *Vega's docs:* https://github.com/trifacta/vega/wiki
>> >> > *Bug reports:* https://phabricator.wikimedia.org/ - project tag
>> #graph
>> >> >
>> >> > Graph tag support template parameter expansion. There is also a
>> Graphoid
>> >> > service to convert graphs into images. Currently, Graphoid is used in
>> >> case
>> >> > the browser does not support modern JavaScript, but I plan to use it
>> for
>> >> > all anonymous users - downloading large JS code needed to render
>> graphs
>> >> is
>> >> > significantly slower than showing an image.
>> >> >
>> >> > Potential future growth (developers needed!):
>> >> > * Documentation and better tutorials
>> >> > * Visualize as you type - show changes in graph while editing its code
>> >> > * Visual Editor's plugin
>> >> > * Animation <
>> https://github.com/trifacta/vega/wiki/Interaction-Scenarios
>> >> >
>> >> >
>> >> > Project history: Exactly one year ago, Dan Andreescu (milimetric) and
>> Jon
>> >> > Robson demoed Vega visualization grammar <
>> >> https://trifacta.github.io/vega/>
>> >> > usage in MediaWiki. The project stayed dormant for almost half a year,
>> >> > until Zero team decided it was a good solution to do on-wiki graphs.
>> The
>> >> > project was rewritten, and gained many new features, such as template
>> >> > parameters. Yet, doing graphs just for Zero portal seemed silly. Wider
>> >> > audience meant that we now had to support older browsers, thus
>> Graphoid
>> >> > service was born.
>> >> >
>> >> > This project could not have happened without the help from Dan
>> Andreescu,
>> >> > Brion Vibber, Timo Tijhof, Chris Steipp, Max Semenik,  Marko Obrovac,
>> >> > Alexandros Kosiaris, Jon Robson, Gabriel Wicke, and others who have
>> >> helped
>> >> > me develop,  test, instrument, and deploy Graph extension and Graphoid
>> >> > service. I also would like to thank the Vega team for making this
>> amazing
>> >> > library.
>> >> >
>> >> > --Yurik
>> >> > ___
>> >> > Wikitech-l mailing list
>> >> > Wikitech-l@lists.wikimedia.org
>> >> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>> >>
>> >>
>> >> Hmm cool.
>> >>
>> >> One of the interesting things, is you can use the API as a data
>> >> source. For example, here is a pie graph of how images on commons
>> >> needing categories are divided up
>> >>
>> >>
>> https://commons.wikimedia.org/w/index.php?title=Commons:Sandbox&oldid=159978060
>> >> (One could even make that more general and have a template, which
>> >> given a cat name, would give a pie graph of how the subcategories are
>> >> divided in terms of number).
>> >>
>> >> --bawolff
>> >>
>> >> ___
>> >> Wikitech-l mailing list
>> >> Wikitech-l@lists.wikimedia.org
>> >> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>> >>
>> >
>> >
>> >
>> > --
>> > Jon Robson
>> > * http://jonrobson.me.uk
>> > * https://www.facebook.com/jonrobson
>> > * @rakugojon
>> > ___
>> > 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

___
Wikitech-l mailing list
Wikitech-l@

Re: [Wikitech-l] GRAPH extension is now live everywhere!

2015-05-06 Thread Marielle Volz
Right now you can only manually edit the JSON blob in VE (as in wikitext),
but we have a Google Summer of Code intern working on VE support this
summer!

https://phabricator.wikimedia.org/tag/mediawiki-extensions-graph-ve/
On May 6, 2015 12:28 PM, "David Gerard"  wrote:

> Is there a facility to use this in VE?
>
> On 6 May 2015 at 12:25, Jon Robson  wrote:
> > I think this is great but I'm still super super concerned about the
> support
> > for "Embedded directly with ". I'm concerned as if used this way
> we
> > risk making wikitext even more like code and more difficult for others to
> > edit. Also having it inside the page makes it really difficult to
> > extract/encourage remixing of the data...
> >
> > On Wed, May 6, 2015 at 4:32 AM, Brian Wolff  wrote:
> >
> >> On 5/5/15, Yuri Astrakhan  wrote:
> >> > Starting today, editors can use ** tag to include complex
> graphs
> >> and
> >> > maps inside articles.
> >> >
> >> > *Demo:* https://www.mediawiki.org/wiki/Extension:Graph/Demo
> >> > *Vega's demo:*
> >> http://trifacta.github.io/vega/editor/?spec=scatter_matrix
> >> > *Extension info:* https://www.mediawiki.org/wiki/Extension:Graph
> >> > *Vega's docs:* https://github.com/trifacta/vega/wiki
> >> > *Bug reports:* https://phabricator.wikimedia.org/ - project tag
> #graph
> >> >
> >> > Graph tag support template parameter expansion. There is also a
> Graphoid
> >> > service to convert graphs into images. Currently, Graphoid is used in
> >> case
> >> > the browser does not support modern JavaScript, but I plan to use it
> for
> >> > all anonymous users - downloading large JS code needed to render
> graphs
> >> is
> >> > significantly slower than showing an image.
> >> >
> >> > Potential future growth (developers needed!):
> >> > * Documentation and better tutorials
> >> > * Visualize as you type - show changes in graph while editing its code
> >> > * Visual Editor's plugin
> >> > * Animation <
> https://github.com/trifacta/vega/wiki/Interaction-Scenarios
> >> >
> >> >
> >> > Project history: Exactly one year ago, Dan Andreescu (milimetric) and
> Jon
> >> > Robson demoed Vega visualization grammar <
> >> https://trifacta.github.io/vega/>
> >> > usage in MediaWiki. The project stayed dormant for almost half a year,
> >> > until Zero team decided it was a good solution to do on-wiki graphs.
> The
> >> > project was rewritten, and gained many new features, such as template
> >> > parameters. Yet, doing graphs just for Zero portal seemed silly. Wider
> >> > audience meant that we now had to support older browsers, thus
> Graphoid
> >> > service was born.
> >> >
> >> > This project could not have happened without the help from Dan
> Andreescu,
> >> > Brion Vibber, Timo Tijhof, Chris Steipp, Max Semenik,  Marko Obrovac,
> >> > Alexandros Kosiaris, Jon Robson, Gabriel Wicke, and others who have
> >> helped
> >> > me develop,  test, instrument, and deploy Graph extension and Graphoid
> >> > service. I also would like to thank the Vega team for making this
> amazing
> >> > library.
> >> >
> >> > --Yurik
> >> > ___
> >> > Wikitech-l mailing list
> >> > Wikitech-l@lists.wikimedia.org
> >> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> >>
> >>
> >> Hmm cool.
> >>
> >> One of the interesting things, is you can use the API as a data
> >> source. For example, here is a pie graph of how images on commons
> >> needing categories are divided up
> >>
> >>
> https://commons.wikimedia.org/w/index.php?title=Commons:Sandbox&oldid=159978060
> >> (One could even make that more general and have a template, which
> >> given a cat name, would give a pie graph of how the subcategories are
> >> divided in terms of number).
> >>
> >> --bawolff
> >>
> >> ___
> >> Wikitech-l mailing list
> >> Wikitech-l@lists.wikimedia.org
> >> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> >>
> >
> >
> >
> > --
> > Jon Robson
> > * http://jonrobson.me.uk
> > * https://www.facebook.com/jonrobson
> > * @rakugojon
> > ___
> > 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

Re: [Wikitech-l] GRAPH extension is now live everywhere!

2015-05-06 Thread Jonathan Morgan
This is wicked exciting. Thanks to everyone involved!

- J

On Tue, May 5, 2015 at 1:24 PM, Yuri Astrakhan 
wrote:

> Starting today, editors can use ** tag to include complex graphs and
> maps inside articles.
>
> *Demo:* https://www.mediawiki.org/wiki/Extension:Graph/Demo
> *Vega's demo:* http://trifacta.github.io/vega/editor/?spec=scatter_matrix
> *Extension info:* https://www.mediawiki.org/wiki/Extension:Graph
> *Vega's docs:* https://github.com/trifacta/vega/wiki
> *Bug reports:* https://phabricator.wikimedia.org/ - project tag #graph
>
> Graph tag support template parameter expansion. There is also a Graphoid
> service to convert graphs into images. Currently, Graphoid is used in case
> the browser does not support modern JavaScript, but I plan to use it for
> all anonymous users - downloading large JS code needed to render graphs is
> significantly slower than showing an image.
>
> Potential future growth (developers needed!):
> * Documentation and better tutorials
> * Visualize as you type - show changes in graph while editing its code
> * Visual Editor's plugin
> * Animation 
>
> Project history: Exactly one year ago, Dan Andreescu (milimetric) and Jon
> Robson demoed Vega visualization grammar  >
> usage in MediaWiki. The project stayed dormant for almost half a year,
> until Zero team decided it was a good solution to do on-wiki graphs. The
> project was rewritten, and gained many new features, such as template
> parameters. Yet, doing graphs just for Zero portal seemed silly. Wider
> audience meant that we now had to support older browsers, thus Graphoid
> service was born.
>
> This project could not have happened without the help from Dan Andreescu,
> Brion Vibber, Timo Tijhof, Chris Steipp, Max Semenik,  Marko Obrovac,
> Alexandros Kosiaris, Jon Robson, Gabriel Wicke, and others who have helped
> me develop,  test, instrument, and deploy Graph extension and Graphoid
> service. I also would like to thank the Vega team for making this amazing
> library.
>
> --Yurik
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l




-- 
Jonathan T. Morgan
Community Research Lead
Wikimedia Foundation
User:Jmorgan (WMF) 
jmor...@wikimedia.org
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] GRAPH extension is now live everywhere!

2015-05-06 Thread Yuri Astrakhan
Jon,  is designed to support template parameter expansions, and I
found most convenient to place each graph into a separate template page.

David, re VE - https://phabricator.wikimedia.org/T93585

On Wed, May 6, 2015 at 2:27 PM, David Gerard  wrote:

> Is there a facility to use this in VE?
>
> On 6 May 2015 at 12:25, Jon Robson  wrote:
> > I think this is great but I'm still super super concerned about the
> support
> > for "Embedded directly with ". I'm concerned as if used this way
> we
> > risk making wikitext even more like code and more difficult for others to
> > edit. Also having it inside the page makes it really difficult to
> > extract/encourage remixing of the data...
> >
> > On Wed, May 6, 2015 at 4:32 AM, Brian Wolff  wrote:
> >
> >> On 5/5/15, Yuri Astrakhan  wrote:
> >> > Starting today, editors can use ** tag to include complex
> graphs
> >> and
> >> > maps inside articles.
> >> >
> >> > *Demo:* https://www.mediawiki.org/wiki/Extension:Graph/Demo
> >> > *Vega's demo:*
> >> http://trifacta.github.io/vega/editor/?spec=scatter_matrix
> >> > *Extension info:* https://www.mediawiki.org/wiki/Extension:Graph
> >> > *Vega's docs:* https://github.com/trifacta/vega/wiki
> >> > *Bug reports:* https://phabricator.wikimedia.org/ - project tag
> #graph
> >> >
> >> > Graph tag support template parameter expansion. There is also a
> Graphoid
> >> > service to convert graphs into images. Currently, Graphoid is used in
> >> case
> >> > the browser does not support modern JavaScript, but I plan to use it
> for
> >> > all anonymous users - downloading large JS code needed to render
> graphs
> >> is
> >> > significantly slower than showing an image.
> >> >
> >> > Potential future growth (developers needed!):
> >> > * Documentation and better tutorials
> >> > * Visualize as you type - show changes in graph while editing its code
> >> > * Visual Editor's plugin
> >> > * Animation <
> https://github.com/trifacta/vega/wiki/Interaction-Scenarios
> >> >
> >> >
> >> > Project history: Exactly one year ago, Dan Andreescu (milimetric) and
> Jon
> >> > Robson demoed Vega visualization grammar <
> >> https://trifacta.github.io/vega/>
> >> > usage in MediaWiki. The project stayed dormant for almost half a year,
> >> > until Zero team decided it was a good solution to do on-wiki graphs.
> The
> >> > project was rewritten, and gained many new features, such as template
> >> > parameters. Yet, doing graphs just for Zero portal seemed silly. Wider
> >> > audience meant that we now had to support older browsers, thus
> Graphoid
> >> > service was born.
> >> >
> >> > This project could not have happened without the help from Dan
> Andreescu,
> >> > Brion Vibber, Timo Tijhof, Chris Steipp, Max Semenik,  Marko Obrovac,
> >> > Alexandros Kosiaris, Jon Robson, Gabriel Wicke, and others who have
> >> helped
> >> > me develop,  test, instrument, and deploy Graph extension and Graphoid
> >> > service. I also would like to thank the Vega team for making this
> amazing
> >> > library.
> >> >
> >> > --Yurik
> >> > ___
> >> > Wikitech-l mailing list
> >> > Wikitech-l@lists.wikimedia.org
> >> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> >>
> >>
> >> Hmm cool.
> >>
> >> One of the interesting things, is you can use the API as a data
> >> source. For example, here is a pie graph of how images on commons
> >> needing categories are divided up
> >>
> >>
> https://commons.wikimedia.org/w/index.php?title=Commons:Sandbox&oldid=159978060
> >> (One could even make that more general and have a template, which
> >> given a cat name, would give a pie graph of how the subcategories are
> >> divided in terms of number).
> >>
> >> --bawolff
> >>
> >> ___
> >> Wikitech-l mailing list
> >> Wikitech-l@lists.wikimedia.org
> >> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> >>
> >
> >
> >
> > --
> > Jon Robson
> > * http://jonrobson.me.uk
> > * https://www.facebook.com/jonrobson
> > * @rakugojon
> > ___
> > 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

Re: [Wikitech-l] GRAPH extension is now live everywhere!

2015-05-06 Thread David Gerard
Is there a facility to use this in VE?

On 6 May 2015 at 12:25, Jon Robson  wrote:
> I think this is great but I'm still super super concerned about the support
> for "Embedded directly with ". I'm concerned as if used this way we
> risk making wikitext even more like code and more difficult for others to
> edit. Also having it inside the page makes it really difficult to
> extract/encourage remixing of the data...
>
> On Wed, May 6, 2015 at 4:32 AM, Brian Wolff  wrote:
>
>> On 5/5/15, Yuri Astrakhan  wrote:
>> > Starting today, editors can use ** tag to include complex graphs
>> and
>> > maps inside articles.
>> >
>> > *Demo:* https://www.mediawiki.org/wiki/Extension:Graph/Demo
>> > *Vega's demo:*
>> http://trifacta.github.io/vega/editor/?spec=scatter_matrix
>> > *Extension info:* https://www.mediawiki.org/wiki/Extension:Graph
>> > *Vega's docs:* https://github.com/trifacta/vega/wiki
>> > *Bug reports:* https://phabricator.wikimedia.org/ - project tag #graph
>> >
>> > Graph tag support template parameter expansion. There is also a Graphoid
>> > service to convert graphs into images. Currently, Graphoid is used in
>> case
>> > the browser does not support modern JavaScript, but I plan to use it for
>> > all anonymous users - downloading large JS code needed to render graphs
>> is
>> > significantly slower than showing an image.
>> >
>> > Potential future growth (developers needed!):
>> > * Documentation and better tutorials
>> > * Visualize as you type - show changes in graph while editing its code
>> > * Visual Editor's plugin
>> > * Animation > >
>> >
>> > Project history: Exactly one year ago, Dan Andreescu (milimetric) and Jon
>> > Robson demoed Vega visualization grammar <
>> https://trifacta.github.io/vega/>
>> > usage in MediaWiki. The project stayed dormant for almost half a year,
>> > until Zero team decided it was a good solution to do on-wiki graphs. The
>> > project was rewritten, and gained many new features, such as template
>> > parameters. Yet, doing graphs just for Zero portal seemed silly. Wider
>> > audience meant that we now had to support older browsers, thus Graphoid
>> > service was born.
>> >
>> > This project could not have happened without the help from Dan Andreescu,
>> > Brion Vibber, Timo Tijhof, Chris Steipp, Max Semenik,  Marko Obrovac,
>> > Alexandros Kosiaris, Jon Robson, Gabriel Wicke, and others who have
>> helped
>> > me develop,  test, instrument, and deploy Graph extension and Graphoid
>> > service. I also would like to thank the Vega team for making this amazing
>> > library.
>> >
>> > --Yurik
>> > ___
>> > Wikitech-l mailing list
>> > Wikitech-l@lists.wikimedia.org
>> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>>
>>
>> Hmm cool.
>>
>> One of the interesting things, is you can use the API as a data
>> source. For example, here is a pie graph of how images on commons
>> needing categories are divided up
>>
>> https://commons.wikimedia.org/w/index.php?title=Commons:Sandbox&oldid=159978060
>> (One could even make that more general and have a template, which
>> given a cat name, would give a pie graph of how the subcategories are
>> divided in terms of number).
>>
>> --bawolff
>>
>> ___
>> Wikitech-l mailing list
>> Wikitech-l@lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>>
>
>
>
> --
> Jon Robson
> * http://jonrobson.me.uk
> * https://www.facebook.com/jonrobson
> * @rakugojon
> ___
> 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] GRAPH extension is now live everywhere!

2015-05-06 Thread Jon Robson
I think this is great but I'm still super super concerned about the support
for "Embedded directly with ". I'm concerned as if used this way we
risk making wikitext even more like code and more difficult for others to
edit. Also having it inside the page makes it really difficult to
extract/encourage remixing of the data...

On Wed, May 6, 2015 at 4:32 AM, Brian Wolff  wrote:

> On 5/5/15, Yuri Astrakhan  wrote:
> > Starting today, editors can use ** tag to include complex graphs
> and
> > maps inside articles.
> >
> > *Demo:* https://www.mediawiki.org/wiki/Extension:Graph/Demo
> > *Vega's demo:*
> http://trifacta.github.io/vega/editor/?spec=scatter_matrix
> > *Extension info:* https://www.mediawiki.org/wiki/Extension:Graph
> > *Vega's docs:* https://github.com/trifacta/vega/wiki
> > *Bug reports:* https://phabricator.wikimedia.org/ - project tag #graph
> >
> > Graph tag support template parameter expansion. There is also a Graphoid
> > service to convert graphs into images. Currently, Graphoid is used in
> case
> > the browser does not support modern JavaScript, but I plan to use it for
> > all anonymous users - downloading large JS code needed to render graphs
> is
> > significantly slower than showing an image.
> >
> > Potential future growth (developers needed!):
> > * Documentation and better tutorials
> > * Visualize as you type - show changes in graph while editing its code
> > * Visual Editor's plugin
> > * Animation  >
> >
> > Project history: Exactly one year ago, Dan Andreescu (milimetric) and Jon
> > Robson demoed Vega visualization grammar <
> https://trifacta.github.io/vega/>
> > usage in MediaWiki. The project stayed dormant for almost half a year,
> > until Zero team decided it was a good solution to do on-wiki graphs. The
> > project was rewritten, and gained many new features, such as template
> > parameters. Yet, doing graphs just for Zero portal seemed silly. Wider
> > audience meant that we now had to support older browsers, thus Graphoid
> > service was born.
> >
> > This project could not have happened without the help from Dan Andreescu,
> > Brion Vibber, Timo Tijhof, Chris Steipp, Max Semenik,  Marko Obrovac,
> > Alexandros Kosiaris, Jon Robson, Gabriel Wicke, and others who have
> helped
> > me develop,  test, instrument, and deploy Graph extension and Graphoid
> > service. I also would like to thank the Vega team for making this amazing
> > library.
> >
> > --Yurik
> > ___
> > Wikitech-l mailing list
> > Wikitech-l@lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
>
> Hmm cool.
>
> One of the interesting things, is you can use the API as a data
> source. For example, here is a pie graph of how images on commons
> needing categories are divided up
>
> https://commons.wikimedia.org/w/index.php?title=Commons:Sandbox&oldid=159978060
> (One could even make that more general and have a template, which
> given a cat name, would give a pie graph of how the subcategories are
> divided in terms of number).
>
> --bawolff
>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>



-- 
Jon Robson
* http://jonrobson.me.uk
* https://www.facebook.com/jonrobson
* @rakugojon
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] GRAPH extension is now live everywhere!

2015-05-06 Thread Yuri Astrakhan
Aleksey, please file a bug report in phabricator with the URL to the page
containing your non-working graph - I have to look at your graph before
figuring out why it is not working.

Bawolff, very cool API usage!  I just wish we allowed api from inside lua
-- so much creative stuff could be done!

On Wed, May 6, 2015 at 6:32 AM, Brian Wolff  wrote:

> On 5/5/15, Yuri Astrakhan  wrote:
> > Starting today, editors can use ** tag to include complex graphs
> and
> > maps inside articles.
> >
> > *Demo:* https://www.mediawiki.org/wiki/Extension:Graph/Demo
> > *Vega's demo:*
> http://trifacta.github.io/vega/editor/?spec=scatter_matrix
> > *Extension info:* https://www.mediawiki.org/wiki/Extension:Graph
> > *Vega's docs:* https://github.com/trifacta/vega/wiki
> > *Bug reports:* https://phabricator.wikimedia.org/ - project tag #graph
> >
> > Graph tag support template parameter expansion. There is also a Graphoid
> > service to convert graphs into images. Currently, Graphoid is used in
> case
> > the browser does not support modern JavaScript, but I plan to use it for
> > all anonymous users - downloading large JS code needed to render graphs
> is
> > significantly slower than showing an image.
> >
> > Potential future growth (developers needed!):
> > * Documentation and better tutorials
> > * Visualize as you type - show changes in graph while editing its code
> > * Visual Editor's plugin
> > * Animation  >
> >
> > Project history: Exactly one year ago, Dan Andreescu (milimetric) and Jon
> > Robson demoed Vega visualization grammar <
> https://trifacta.github.io/vega/>
> > usage in MediaWiki. The project stayed dormant for almost half a year,
> > until Zero team decided it was a good solution to do on-wiki graphs. The
> > project was rewritten, and gained many new features, such as template
> > parameters. Yet, doing graphs just for Zero portal seemed silly. Wider
> > audience meant that we now had to support older browsers, thus Graphoid
> > service was born.
> >
> > This project could not have happened without the help from Dan Andreescu,
> > Brion Vibber, Timo Tijhof, Chris Steipp, Max Semenik,  Marko Obrovac,
> > Alexandros Kosiaris, Jon Robson, Gabriel Wicke, and others who have
> helped
> > me develop,  test, instrument, and deploy Graph extension and Graphoid
> > service. I also would like to thank the Vega team for making this amazing
> > library.
> >
> > --Yurik
> > ___
> > Wikitech-l mailing list
> > Wikitech-l@lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
>
> Hmm cool.
>
> One of the interesting things, is you can use the API as a data
> source. For example, here is a pie graph of how images on commons
> needing categories are divided up
>
> https://commons.wikimedia.org/w/index.php?title=Commons:Sandbox&oldid=159978060
> (One could even make that more general and have a template, which
> given a cat name, would give a pie graph of how the subcategories are
> divided in terms of number).
>
> --bawolff
>
> ___
> 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] GRAPH extension is now live everywhere!

2015-05-05 Thread Brian Wolff
On 5/5/15, Yuri Astrakhan  wrote:
> Starting today, editors can use ** tag to include complex graphs and
> maps inside articles.
>
> *Demo:* https://www.mediawiki.org/wiki/Extension:Graph/Demo
> *Vega's demo:* http://trifacta.github.io/vega/editor/?spec=scatter_matrix
> *Extension info:* https://www.mediawiki.org/wiki/Extension:Graph
> *Vega's docs:* https://github.com/trifacta/vega/wiki
> *Bug reports:* https://phabricator.wikimedia.org/ - project tag #graph
>
> Graph tag support template parameter expansion. There is also a Graphoid
> service to convert graphs into images. Currently, Graphoid is used in case
> the browser does not support modern JavaScript, but I plan to use it for
> all anonymous users - downloading large JS code needed to render graphs is
> significantly slower than showing an image.
>
> Potential future growth (developers needed!):
> * Documentation and better tutorials
> * Visualize as you type - show changes in graph while editing its code
> * Visual Editor's plugin
> * Animation 
>
> Project history: Exactly one year ago, Dan Andreescu (milimetric) and Jon
> Robson demoed Vega visualization grammar 
> usage in MediaWiki. The project stayed dormant for almost half a year,
> until Zero team decided it was a good solution to do on-wiki graphs. The
> project was rewritten, and gained many new features, such as template
> parameters. Yet, doing graphs just for Zero portal seemed silly. Wider
> audience meant that we now had to support older browsers, thus Graphoid
> service was born.
>
> This project could not have happened without the help from Dan Andreescu,
> Brion Vibber, Timo Tijhof, Chris Steipp, Max Semenik,  Marko Obrovac,
> Alexandros Kosiaris, Jon Robson, Gabriel Wicke, and others who have helped
> me develop,  test, instrument, and deploy Graph extension and Graphoid
> service. I also would like to thank the Vega team for making this amazing
> library.
>
> --Yurik
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Hmm cool.

One of the interesting things, is you can use the API as a data
source. For example, here is a pie graph of how images on commons
needing categories are divided up
https://commons.wikimedia.org/w/index.php?title=Commons:Sandbox&oldid=159978060
(One could even make that more general and have a template, which
given a cat name, would give a pie graph of how the subcategories are
divided in terms of number).

--bawolff

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

[Wikitech-l] GRAPH extension is now live everywhere!

2015-05-05 Thread Yuri Astrakhan
Starting today, editors can use ** tag to include complex graphs and
maps inside articles.

*Demo:* https://www.mediawiki.org/wiki/Extension:Graph/Demo
*Vega's demo:* http://trifacta.github.io/vega/editor/?spec=scatter_matrix
*Extension info:* https://www.mediawiki.org/wiki/Extension:Graph
*Vega's docs:* https://github.com/trifacta/vega/wiki
*Bug reports:* https://phabricator.wikimedia.org/ - project tag #graph

Graph tag support template parameter expansion. There is also a Graphoid
service to convert graphs into images. Currently, Graphoid is used in case
the browser does not support modern JavaScript, but I plan to use it for
all anonymous users - downloading large JS code needed to render graphs is
significantly slower than showing an image.

Potential future growth (developers needed!):
* Documentation and better tutorials
* Visualize as you type - show changes in graph while editing its code
* Visual Editor's plugin
* Animation 

Project history: Exactly one year ago, Dan Andreescu (milimetric) and Jon
Robson demoed Vega visualization grammar 
usage in MediaWiki. The project stayed dormant for almost half a year,
until Zero team decided it was a good solution to do on-wiki graphs. The
project was rewritten, and gained many new features, such as template
parameters. Yet, doing graphs just for Zero portal seemed silly. Wider
audience meant that we now had to support older browsers, thus Graphoid
service was born.

This project could not have happened without the help from Dan Andreescu,
Brion Vibber, Timo Tijhof, Chris Steipp, Max Semenik,  Marko Obrovac,
Alexandros Kosiaris, Jon Robson, Gabriel Wicke, and others who have helped
me develop,  test, instrument, and deploy Graph extension and Graphoid
service. I also would like to thank the Vega team for making this amazing
library.

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