Last modified: 2014-09-23 19:59:26 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T31806, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29806 - Install extension Pchart4mw on en.wikipedia.org
Install extension Pchart4mw on en.wikipedia.org
Status: NEW
Product: Wikimedia
Classification: Unclassified
Extension setup (Other open bugs)
unspecified
All All
: Lowest enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.mediawiki.org/wiki/Extensi...
:
Depends on:
Blocks: 39554
  Show dependency treegraph
 
Reported: 2011-07-10 21:51 UTC by Jan Kucera (Kozuch)
Modified: 2014-09-23 19:59 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jan Kucera (Kozuch) 2011-07-10 21:51:49 UTC
Please install extension Pchart4mw on en.wikipedia.org - consensus is here: http://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28proposals%29/Archive_74#Install_extension_Pchart4mw_-_for_charts_drawing

Thanks.
Comment 1 Sam Reed (reedy) 2011-07-10 21:54:29 UTC
This extension needs review (security, performance...), and also adding to our
SVN repository

Though, I'm not sure how 5 "supports" == consensus
Comment 2 Jan Kucera (Kozuch) 2011-07-11 06:33:25 UTC
(In reply to comment #1)
> This extension needs review (security, performance...), and also adding to our
> SVN repository

What does this mean exactly?

> Though, I'm not sure how 5 "supports" == consensus

What are the rules for consensus on extension installation then?
Comment 3 Sam Reed (reedy) 2011-07-11 14:00:46 UTC
I'm not sure on the rules for consensus. 5 users out of enwiki's community seems far too small

It means the activation isn't of this extension isn't a simple process. It needs checking that the code is sane, secure and won't kill (though, this isn't always obvious) the wikimedia servers. [2]

For the ease of deployment etc, it needs to be in our SVN repository [1]


[1] http://svn.wikimedia.org/svnroot/mediawiki
[2] http://www.mediawiki.org/wiki/Review_queue
Comment 4 Chad H. 2011-07-11 14:16:12 UTC
Just gave this extension a quick look (over in its Google code repo, it does need to be in SVN here for WMF deployment). At the very least:
* uses raw $_REQUEST
* Couple of global functions should be in classes -- use the autoloader rather than raw includes
* using $wgParser for hook initialization

The extension part of it seems reasonably sane barring these issues--again, I just looked quickly and this was not an in-depth review. I did not look at the pChart library it uses yet, that could be a whole different story.
Comment 5 Brion Vibber 2011-07-11 20:05:16 UTC
Would really want some other work too:

* a sane user interface for editing & previewing chart data and options (this is 2011, not 2001 -- we shouldn't just slap up a tag with CSV input syntax and consider ourselves done)

* linking, alternate text, keyboard selection, accessibility (easier with SVG charts than server-side PNGs, though PNGs with image maps can handle clickable things with some limitations)

* integration of data sets between charts and tables/infoboxes/etc (may need to be future-looking, at Semantic MediaWiki or the partial similar implementations that may end up on Wikipedia in a year or two)

* useful ways to interact with charts such as zooming, hiding/showing columns, switching types (again this is 2011!)

* scalable output (native SVG when available?) -- mobile phones, tablets, and improved in-browser zoom features have already brought scaling to the regular web (not to mention printing!)

* a compatible implementation for mwlib for PDF/print output (static output, scalable or high resolution)
Comment 6 Sumana Harihareswara 2012-04-25 02:13:24 UTC
(In reply to comment #3)

> It means the activation isn't of this extension isn't a simple process. It
> needs checking that the code is sane, secure and won't kill (though, this isn't
> always obvious) the wikimedia servers. [2]

For future reference: we have now articulated this process in https://www.mediawiki.org/wiki/Writing_an_extension_for_deployment .
Comment 7 Andre Klapper 2012-12-18 13:52:56 UTC
Without addressing the concerns in comment 4 and 5 this will be a de facto WONTFIX.
Jan: Did you forward the comments to the extension authors at http://code.google.com/p/pchart4mw/source/browse/ or to their bugtracker at http://code.google.com/p/pchart4mw/issues/list ?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links