Last modified: 2013-06-28 18:37:04 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 T50757, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48757 - Upgrade CSV query printer to allow for specification of output filename
Upgrade CSV query printer to allow for specification of output filename
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 41842
  Show dependency treegraph
 
Reported: 2013-05-23 21:14 UTC by patelmm79
Modified: 2013-06-28 18:37 UTC (History)
5 users (show)

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


Attachments
modified query printer CSV for specifying filename (3.59 KB, text/plain)
2013-05-23 21:14 UTC, patelmm79
Details

Description patelmm79 2013-05-23 21:14:02 UTC
Created attachment 12382 [details]
modified query printer CSV for specifying filename

Hello--for CSV query printer, I think it would be a nice feature to allow for specification of output filename (as is done for DSV).

I've tried to do as such, replicating the code from the DSV query printer (I am a novice though, so probably need some review).  See attached.
Comment 1 MWJames 2013-05-23 21:42:55 UTC
You might consider to apply the patch directly to the continues integration environment Gerrit/Jenkins [1], [2] otherwise it will take time before the patch gets reviewed and/or is deployed with SMW itself. 

Thanks

[1] http://www.mediawiki.org/wiki/Developer_access

[2] http://www.mediawiki.org/wiki/Gerrit/Tutorial
Comment 2 Nischay Nahata 2013-06-22 20:47:46 UTC
I would note that we can also accept changes on Github [1]
and migrate them to Gerrit using SuchABot [2]

[1] https://github.com/wikimedia/mediawiki-extensions-SemanticMediaWiki
[2] https://github.com/yuvipanda/SuchABot
Comment 3 [[kgh]] 2013-06-28 08:42:38 UTC
We also have a DSV result format which may profit from such an enhancement, too. However I am not sure if it is already in place there or not.
Comment 4 Gerrit Notification Bot 2013-06-28 18:31:21 UTC
Change 71085 had a related patch set uploaded by Mwjames:
\SMW\CsvResultPrinter add filename parameter

https://gerrit.wikimedia.org/r/71085
Comment 5 Gerrit Notification Bot 2013-06-28 18:35:57 UTC
Change 71085 merged by jenkins-bot:
\SMW\CsvResultPrinter add filename parameter

https://gerrit.wikimedia.org/r/71085

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


Navigation
Links