Difference between revisions of "Talk:File metadata cleanup drive/How to fix metadata"

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
Line 38: Line 38:
 
Hi, <https://tools.wmflabs.org/add-information/no_information.php?language=meta&project=wikimedia&startswith=&user=> doesn't work for this project. As one of the projects which hosts local files it would be very handy to have this tool working here. Thanks for your help. --&nbsp;<tt>[[User:MarcoAurelio|M]]\[[User talk:MarcoAurelio|A]]</tt> 15:51, 20 December 2014 (UTC)
 
Hi, <https://tools.wmflabs.org/add-information/no_information.php?language=meta&project=wikimedia&startswith=&user=> doesn't work for this project. As one of the projects which hosts local files it would be very handy to have this tool working here. Thanks for your help. --&nbsp;<tt>[[User:MarcoAurelio|M]]\[[User talk:MarcoAurelio|A]]</tt> 15:51, 20 December 2014 (UTC)
 
: Ping {{ping|Guillaume (WMF)}} any possible solution? Thanks! --&nbsp;<tt>[[User:MarcoAurelio|M]]\[[User talk:MarcoAurelio|A]]</tt> 14:06, 30 December 2014 (UTC)
 
: Ping {{ping|Guillaume (WMF)}} any possible solution? Thanks! --&nbsp;<tt>[[User:MarcoAurelio|M]]\[[User talk:MarcoAurelio|A]]</tt> 14:06, 30 December 2014 (UTC)
  +
::[[User:Ricordisamoa]] added mediawiki.org (although that change hasn't been merged by Magnus yet). Ricordisamoa, would you be able to add Meta-Wiki as well? [[User:Guillaume (WMF)|Guillaume (WMF)]] ([[User talk:Guillaume (WMF)|talk]]) 21:42, 5 January 2015 (UTC)
   
 
== Edit requests on Commons about this ==
 
== Edit requests on Commons about this ==

Revision as of 21:42, 5 January 2015

Thanks for taking this on, Guillaume! There is some (not too user-friendly) information on updating templates at mw:Multimedia/Media_Viewer/Template_compatibility which probably should not be included here but might be useful to know about.

Copying templates from Commons is not for the faint of heart ({{Information}} uses two Lua modules and at least half a dozen helper templates, plus introduces a bunch of English categories), it might be helpful to provide a stripped-down version. --Tgr (WMF) (talk) 18:24, 15 October 2014 (UTC)

So why not a temporary Importer access? --Liuxinyu970226 (talk) 00:48, 18 October 2014 (UTC)
Tgr: Thanks! This is useful information; I'll refer to that page and add it as a link for people who want more information. Thanks also for the warning about the Information template; I've set up a simplified version at File metadata cleanup drive/How to fix metadata/Simple information template with only the basic fields. Guillaume (WMF) (talk) 09:23, 20 October 2014 (UTC)
Mnn I've made an example at zh-min-nanwiki. --Liuxinyu970226 (talk) 01:04, 23 October 2014 (UTC)

Public domain licensetpl_link

--Nemo 18:38, 12 November 2014 (UTC)

We need a canonical link (URL) of some sort that people can refer to, and I didn't know about the CC Public domain mark, so I figured the only consistent link we could have was the file's description page. I'm happy to switch to the CC PD mark if the lawyers agree. Stephen, what do you think? Guillaume (WMF) (talk) 18:44, 12 November 2014 (UTC)
Ok. I tried [1]. --Nemo 18:53, 12 November 2014 (UTC)

Adding the information template takes a lot of time

Adding the information template takes quite a long time. Still +2,000 files on fi-wiki without the template. I used AWB which made it a bit faster (I didn't use regex, I'm too bad in it), but it was still quite slow way to proceed. https://tools.wmflabs.org/add-information/no_information.php is not very helpful since it only uses English parameters that works only on English projects / projects using English parameters (not many I think). --Stryn (talk) 20:01, 26 November 2014 (UTC)

If it helps, create fi:Template:Information with English parameters as a wrapper template for fi:Template:Tiedoston tiedot, then use AWB to change {{information|...}} into {{subst:information|...}} to replace the English template with the Finnish one.
Also note that fi:Template:Tiedoston tiedot doesn't handle missing information correctly. You need to replace id="fileinfotpl_src" with {{#if:{{{Lähde|}}} | id="fileinfotpl_src"}} or something similar (same for source and author). Otherwise, the template incorrectly tells that there is a machine-readable description, source and author even if the template parameter isn't used. --Stefan2 (talk) 22:01, 26 November 2014 (UTC)
Thanks for letting me know about the "if"-thing, I've added those now. --Stryn (talk) 16:43, 27 November 2014 (UTC)
Just a note that zhwiki also have a number of File pages which are using {{subst:information}}, so it'll have a long time to fix... --Liuxinyu970226 (talk) 01:56, 16 December 2014 (UTC)
If the code of the template is more or less the same on all those pages, a bot owner should be able to use a bot to go through those pages and "un-subst" the template. Guillaume (WMF) (talk) 20:48, 16 December 2014 (UTC)

Not multilingual

To echo what's been said above, https://tools.wmflabs.org/add-information/no_information.php is not very helpful since it only uses English parameters that works only on English projects / projects using English parameters (not many I think). Trying to roll this out on non-English projects is a problem because Template:Information doesn't exist, instead, it's called (in Welsh) Nodyn:Gwybodaeth. Is there a "quick fix" for this that doesn't involve using English, or using "wrapper templates"? Chase me ladies, I'm the Cavalry (talk) 20:48, 8 December 2014 (UTC)

Chase me ladies, I'm the Cavalry: There isn't a "quick fix" as far as I know. I've reported this issue in Magnus' bug tracker. In the meantime, perhaps you can focus on groups of files with similarly-formatted information, that can be parsed by a bot? Guillaume (WMF) (talk) 20:47, 16 December 2014 (UTC)

Labs tool doesn't work for Meta-Wiki

Hi, <https://tools.wmflabs.org/add-information/no_information.php?language=meta&project=wikimedia&startswith=&user=> doesn't work for this project. As one of the projects which hosts local files it would be very handy to have this tool working here. Thanks for your help. -- M\A 15:51, 20 December 2014 (UTC)

Ping @Guillaume (WMF): any possible solution? Thanks! -- M\A 14:06, 30 December 2014 (UTC)
User:Ricordisamoa added mediawiki.org (although that change hasn't been merged by Magnus yet). Ricordisamoa, would you be able to add Meta-Wiki as well? Guillaume (WMF) (talk) 21:42, 5 January 2015 (UTC)

Edit requests on Commons about this

Who have times to do? --Liuxinyu970226 (talk) 00:40, 3 January 2015 (UTC)