User talk:Slakr

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Please use my talk page on English Wikipedia instead, as I more frequently check messages there.


NARA[edit]

Hi Slakr,

Your tool to retrieve descriptions for NARA images is most helpful.

During the discussion at Commons:Batch uploading/US National Archives, I noticed a minor thing: pages at NARA currently display both the title (sFC in the HTML source) and the date (sFCextra) of a file at the same place. Your tool currently ends up adding the date both in the title and date fields of the information template. Would you tweak the tool to avoid this repetition?

Practically, this would mean that for 512461 "ca. 1917 - ca. 1919" wouldn't appear in "|Title=", but in "|Date=" only. --  Docu  at 06:22, 25 July 2011 (UTC)[reply]

The problem is that the archives, themselves, have variable ways of displaying and classifying data, and I populate data based on how they set the fields and how regularly the fields appear the way they appear (e.g., formatting, content, etc). Adding exceptions for every anomaly would be ideal, but it would take up a lot of time that I unfortunately am currently tight on, so if there are major issues, definitely let me know, and be sure to provide lots of of examples so that I can generalize that issue into a specific ruleset. Otherwise, it'd be extremely difficult for me to generalize from the occasional one-off anomalies (not to mention a burden of finding time for them all). --slakrtalk / 10:30, 25 July 2011 (UTC)[reply]
It seems quite straightforward to me. Did you spot instances where sFCextra couldn't be discarded? In any case, you could compare sFCextra to the date and discard it only if it's identical. --  Docu  at 17:28, 25 July 2011 (UTC)[reply]
Belated, but I think I've already implemented this as of a few weeks ago. Since I'm not a NARA/archives expert, I have to have Dmcdevit translate and generalize for me what, exactly, he wants to have happen, and provide plenty of examples. As bad as it sounds, the easiest way to get these sorts of changes implemented is to ask him to ask me, since he kind of already knows my...ermm... "language." :P --slakrtalk / 00:46, 17 August 2011 (UTC)[reply]