Commons:Bots/Requests/InkoBot II

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

InkoBot (talk · contribs)

Operator: Hgzh (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)

Bot's tasks for which permission is being sought: de:Special:Permalink/198477613#Brandenburgische_Denkmalvorlagen_bereinigen. Identifiers in that cultural heritage monument database have changed and been already adapted in dewiki. Bot will remove the second parameter of Template:Baudenkmal Brandenburg if it contains an expired value.

Automatic or manually assisted: semi-automated

Edit type (e.g. Continuous, daily, one time run): one time

Maximum edit rate (e.g. edits per minute): 5-6

Bot flag requested: (Y/N): y

Programming language(s): AWB

Bot runs semi-automated using AWB with max. 5-6 changes per minute; for now only for this task: de:Special:Permalink/198477613#Brandenburgische_Denkmalvorlagen_bereinigen. Identifiers in that cultural heritage monument database have changed and been already adapted in dewiki. Bot will remove the second parameter of Template:Baudenkmal Brandenburg if it contains an expired value. I already had a flag for this bot until 2018 and would request that flag again if needed. Thank you. hgzh 17:02, 5 April 2020 (UTC)[reply]

Discussion

Please make test run. By the word, may be adding depicts statement is better solution in long run? Other identifiers (if any) will be added automatically. --EugeneZelenko (talk) 15:08, 6 April 2020 (UTC)[reply]

Did some test edits in category, gallery and file namespace. I never worked with statements here in commonswiki so far and AWB seems not to support it, so it would require additional programming workload and further discussion before. I think this transposition could be done in the future when all identifiers in the template are valid. -- hgzh 17:37, 6 April 2020 (UTC)[reply]
Please remove Bot: from edit summaries. Could {{Baudenkmal Brandenburg}} refer to Wikidata item? If so, that original identifier should be replaced with Wikidata item. You may need help from people who work with Wikidata dumps to build map from original identifier to Wikidata item. --EugeneZelenko (talk) 14:33, 7 April 2020 (UTC)[reply]
I will ask the involved people how complete wikidata covering of the heritage monuments in Brandenburg is. But I think complete mapping from wikidata to the id should be possible before replacing the template identifiers. And this will also lead to extra workload as I'm then supposed to write an extra script for this. -- hgzh 16:20, 7 April 2020 (UTC)[reply]
Hi thanks for your support.
All cultural heritage monuments of the federal state Brandenburg are stored in wikipedia-lists. There you go: Kategorie:Liste (Baudenkmale in Brandenburg). Every cultural heritage monument has a certain ID. But there are almost no items transferred to wikidata. Only items with articels are transferred to wikidata.
the situation in Germany differs in every federal state.
But I think, we should clean the templates from the obsolet parameter not regarding wikidata at the moment.
We are trying to create a solution in the federal state of Saxony for cultural heritage monuments to connect wikipedia-lists, commonscats with template and wikidata. If this works it should be used in the federal state of brandenburg and other federal states in Germany too. But for this we need a clean template. Greetings from Dresden
@Hgzh, EugeneZelenko, and Doc Taxon:
if you need more infomation feel free to ask. it's in German, but maybe in helps to understand the plans in Saxony
--Z thomas 07:02, 8 April 2020 (UTC)[reply]
If you have a template here that matches with a Wikidata property (BLDAM object ID (P2081)?), I can add your region to User:ErfgoedBot/Depicts monuments.js and add all the missing depicts statements. Of course the data should be on Wikidata. To get data from the lists to Wikidata, you can add it to the Commons:Monuments database. From the monuments database you can do a one time import to Wikidata. Multichill (talk) 17:24, 20 April 2020 (UTC)[reply]
@Multichill: Thanks for your support. I'll answer later and maybe there some questions :-) @Doc Taxon: für Sachsen auch interessant? Gruß --Z thomas 20:10, 20 April 2020 (UTC)[reply]
I think everything relevant is already mentioned in my initial statement...? -- hgzh 15:39, 8 April 2020 (UTC)[reply]
@Hgzh: Template is standard and allows for easy to read at-a-glance information. If you already have it in your initial statement, then you can easily paste it over. ~riley (talk) 18:39, 10 April 2020 (UTC)[reply]
okay, pasted. -- hgzh 18:42, 10 April 2020 (UTC)[reply]

Approved. --Krd 04:46, 22 April 2020 (UTC)[reply]