Commons:Village pump
Automatic production of credit lines for Commons images
← Older revision
Revision as of 05:35, 16 March 2013
Line 911:
Line 911:
I've written some code to generate [[Commons:Credit_line | credit lines]] for any image on Commons. It's a bit like [[Help:Gadget-Stockphoto | Gadget-Stockphoto]] but is designed for batch processing large numbers of images, so instead of scraping Commons directly, it goes through the [http://dumps.wikimedia.org/commonswiki/latest/ xml and sql data dump files]. The code is a bit messy, though! It's at [[User:HYanWong/imagenames2credits.pl]] if anyone is interested.
I've written some code to generate [[Commons:Credit_line | credit lines]] for any image on Commons. It's a bit like [[Help:Gadget-Stockphoto | Gadget-Stockphoto]] but is designed for batch processing large numbers of images, so instead of scraping Commons directly, it goes through the [http://dumps.wikimedia.org/commonswiki/latest/ xml and sql data dump files]. The code is a bit messy, though! It's at [[User:HYanWong/imagenames2credits.pl]] if anyone is interested.
+
[[User:HYanWong|HYanWong]] ([[User talk:HYanWong|talk]]) 05:35, 16 March 2013 (UTC)
http://commons.wikimedia.org/w/index.php?title=Commons:Village_pump&diff=92660943&oldid=92660928