Ivo, there are two aspects of building graphs for Wiki:
* defining a "type" or "style" of a graph
* instantiating a graph with the specific data

Defining a new graph is a relatively complex programming task - one has to
program how graph would look like using Vega syntax. Instantiating is much
easier - one has to simply provide the needed data and a few parameters
controlling the graph.  Graph:Chart
<https://en.wikipedia.org/wiki/Template:Graph:Chart>  is a good example
which has been copied to many wikis.  The graph is generated via a complex
Lua script, but that complexity is hidden from all the graph users.

Frederic Bolduc (CCed) has done a good job building an experimental Visual
Editor plugin for graphs, but that plugin attempts to do both tasks -
define the new graph type and allow for users to instantiate it, and we do
not have enough resources to support both aspects well.  It would be ideal
if you helped with that extension to change it into a template editor +
galery picker. This way community may build the graphs it needs, and lists
them in a "gallery of good graphs". Visual Editor would than show a "list
of recommended graphs" as a set of icons. Editors will be able to quickly
insert a graph template and provide data for it.

On Fri, Feb 5, 2016 at 2:10 AM, Ivo Kruusamägi <ivo.kruusam...@gmail.com>
wrote:

> So, some questions:
>
> * how important could that in-wiki image editing capability be?
> * has anything been done so far?
>
> I'd like to find some topic suitable for university student to work on. So
> here it is: free workforce for wiki. Act now the get that! Offer some
> topics. PHP related tasks preferred.
>
> Ivo
>
> 2016-02-04 14:20 GMT+02:00 Ivo Kruusamägi <ivo.kruusam...@gmail.com>:
>
> > OK, this Graph extension seems rather advanced and even though not
> exactly
> > what I had in mind, somewhat similar. So may I conclude it would be
> > pointless to go into that direction? Or are there some things, that may
> > need someone to work with them? Like (making random example): building
> very
> > simple Visual Editor add-on to enable fast creation of some more simple
> > graphs (like pie charts from the enormous variety of possibilities
> > <http://www.datavizcatalogue.com/index.html>)?
> >
> > Could I get more information about need for image editors? *I'd like to
> > find something that might be suitable topic for bachelor thesis* and
> > vandering around alone inside the topic not yet known to me may not prove
> > to be fruitful.
> >
> > As for this Commons topic. Yes, something similar to Wikidata Game, but
> > directed towards Commons and not Wikidata. More in line with Estonian
> sites
> > Ajapaik <http://ajapaik.ee/?page=1> (for adding geolocation information
> > to old images), sift.pics (for determining image types) and
> > postkaart.ajapaik.ee (for digitalizing text in old postcards).
> >
> > Ivo
> >
> > 2016-02-04 5:00 GMT+02:00 MZMcBride <z...@mzmcbride.com>:
> >
> >> Ivo Kruusamägi wrote:
> >> >What I'd like to see is some development, that would make it possible
> for
> >> >user to create visualizations inside MediaWiki. Something so easy that
> a
> >> >child could do that. Like this <https://infogr.am/>. Workflow example:
> >> 1)
> >> >user selects sth like Create Data Visualization, 2) has some selections
> >> >about cart type, colors, etc, 3) place to write down text (title, axes,
> >> >description) and 4) a table to fill in with data (values + their text
> >> >labels). That could then be saved as one revision. After that every
> other
> >> >user could edit this graph with the same selections and data tables
> just
> >> >like users edit articles and edit history is saved and easy to compare.
> >> >
> >> >Image files like this
> >> ><https://et.wikipedia.org/wiki/Pilt:VikiArtiklitearv.jpg> or that
> >> ><
> >>
> https://commons.wikimedia.org/wiki/File:Tree_map_exports_2010_Estonia.svg
> >> > are ridiculous and fixes like that
> >> ><https://en.wikipedia.org/wiki/Template:Pie_chart> are not that
> >> flexible,
> >> >pretty and easy to use as what we need. So lets move forward.
> >>
> >> Are you familiar with the "Graph" MediaWiki extension? Here's a demo:
> >> <https://www.mediawiki.org/wiki/Extension:Graph/Demo>. This MediaWiki
> >> extension is deployed to Wikimedia wikis, including all the Wikipedias.
> >>
> >> >There are plenty of GPL licensed solutions that could be integrated
> with
> >> >MediaWiki. But I can't be only one thinking about this.
> >>
> >> You're not. :-)
> >>
> >> >So what should I know about that topic so that this work could really
> be
> >> >useful? I.e. how to avoid reinventing the wheel (like building
> something
> >> >already in development) and how to be sure that it could be easily
> >> >incorporated later? Who would be the perfect people to talk about this
> >> >topic?
> >>
> >> This mailing list is great for general discussion. Or we have a
> >> Phabricator installation at <https://phabricator.wikimedia.org/> where
> we
> >> track bugs and feature requests. You can search around for Phabricator
> >> Maniphest task related to vectorized and rasterized image editors, such
> as
> >> <https://phabricator.wikimedia.org/T39732>. You're welcome to discuss
> on
> >> those tasks. Integrating a decent SVG editor and a decent PNG/JPG/GIF
> >> editor would be amazing!
> >>
> >> >P.S: I also have some development plans for a web platform that will
> help
> >> >to gamify organizing media files in Wikimedia Commons (coordinates,
> >> >categories, descriptions, quality assessment, etc). Sort like adding an
> >> >additional data layer and when everything works fine then migrating
> that
> >> >information into Commons. Any great ideas there as well? (not so great
> >> >ideas could be sent to list :P )
> >>
> >> Sure. Maybe poke around <https://tools.wmflabs.org/wikidata-game/> if
> you
> >> haven't already? It sounds similar to what you want to do.
> >>
> >> MZMcBride
> >>
> >>
> >>
> >> _______________________________________________
> >> 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

Reply via email to