User talk:קיין ומוויסנדיק פּרעפֿערענצן/authority control.js
Latest comment: 4 years ago by קיין ומוויסנדיק פּרעפֿערענצן in topic comments
PAGEID: 71448398 · links here ·LTR
template:Authority control properties talk WLH
authority control.js/test cases talk WLH — (Wikidata property for authority control for people (Q19595382)) talk WLH500
my subpages — talk subpages — ş→ș; Ş→Ș; ţ →ț; Ţ→Ț
subpages — talk subpages from user:לערי ריינהארט
aŭtoro: Alkanot4ran user talk contribs — Alkanot4ran/authority control.js
diffs
edit2029.12.17
editfirst value is "oldid" from alex, secon is value is "oldid" from no bias
2029.11.18
editfirst value is "oldid" from alex, secon is value is "oldid" from no bias
- ?diff=1055690132&oldid=1045434320 left:no bias right:alex
- ?diff=1055690132&oldid=1055779031 left:no bias right:alex
20:54, 18 November 2019 (UTC)
editinvolved properties
edit- WKP: — WKP — p:0
- VIAF: — VIAF — VIAF ID (P214) _T_ —
- VIAF identifier — (VIAF ID (Q19832964)) _T_ — —— Virtual International Authority File — (Virtual International Authority File (Q54919)) _T_ —
- au — NLA: — NLA — Libraries Australia ID (P409) _T_ —
- National Library of Australia — (National Library of Australia (Q623578)) _T_ —
- ca — LAC: — LAC — Canadiana Authorities ID (former scheme) (P1670) _T_ —
- Library and Archives Canada — (Library and Archives Canada (Q913250)) _T_ —
- cz — KC: — NKC — NL CR AUT ID (P691) _T_ —
- de — DNB: — GND — GND ID (P227) _T_ —
- de — GND: — GND — GND ID (P227) _T_ —
- de — PND: — GND — GND ID (P227) _T_ —
- es — BNC: — BNC — CANTIC ID (former scheme) (P1273) _T_ — — BNC = CANTIC
- es — BNE: — BNE — National Library of Spain ID (P950) _T_ —
- Biblioteca Nacional de España — (Biblioteca Nacional de España (Q750403)) _T_ —
- fr — BNF: — BNF — Bibliothèque nationale de France ID (P268) _T_ —
- Bibliothèque nationale de France — (Bibliothèque nationale de France (Q193563)) _T_ —
- fr — SUDOC: — SUDOC — IdRef ID (P269) _T_ —
- hu — NSZL: — NSZ — NSZL (VIAF) ID (P951) _T_ —
- ie — N6Ixx — : — N6I — P1946 (P1946)} _T_ —
- is — NLI: — NLI — National Library of Israel ID (old) (P949) _T_ —
- National Library of Israel — (National Library of Israel (Q188915)) _T_ —
- it — ICCU: — ICCU — SBN author ID (P396) _T_ —
- ja — NDL: — NDL — NDL Authority ID (P349) _T_ —
- nl — BPN: — BPN — Biografisch Portaal van Nederland ID (P651) _T_ —
- nl — NTA: — NTA — Nationale Thesaurus voor Auteursnamen ID (P1006) _T_ —
- no — BIBSYS — BIBSYS — NORAF ID (P1015) _T_ —
- pl — NUKAT: — NUKAT — NUKAT ID (P1207) _T_ —
- pt — PTBNP: — PTBNP — Portuguese National Library author ID (P1005) _T_ —
- National Library of Portugal — (National Library of Portugal (Q245966)) _T_ —
- *** ro — NLR: — NLR — National Library of Romania ID (P1003) _T_ —
- *** ru NLR: — NLR — National Library of Russia ID (P7029) _T_ —
- ru — RSL: — RSL — RSL ID (person) (P947) _T_ —
- se — SELIBR: — LIBRIS — SELIBR ID (P906) _T_ —
- se — LIBRIS: — LIBRIS — SELIBR ID (P906) _T_ —
- us — LC: — LCCN — Library of Congress authority ID (P244) _T_ —
- us — LCCN: — LCCN — Library of Congress authority ID (P244) _T_ —
- va — BAV: — BAV — Vatican Library ID (former scheme) (P1017) _T_ —
- xx — CINII: — CINII — NACSIS-CAT author ID (P271) _T_ —
- xx — EGAXA: — EGAXA — EGAXA ID (P1309) _T_ —
- xx — ISNI — ISNI — ISNI (P213) _T_ —
- xx — ORCID: — ORCID — ORCID iD (P496) _T_ —
- xx — JPG: — ULAN — Union List of Artist Names ID (P245) _T_ —
- xx — ULAN: — ULAN — Union List of Artist Names ID (P245) _T_ —
- xx — xA: — xA — p:0
- Bulleted list item
to dos
edit- add version as comment in the source code
- add version in output
- "action=purge" should be a dedicated explicit link of the pop up form — in title
- "action=history" should be a dedicated explicit link of the pop up form — in title
- compare the location of the "Authority Control" link with the code from mw:MediaWiki:Gadget-LocalLiveClock.js
see the location of the added link in the first line after "Log out" - linkify foo.wikipedia
- with the wp article or
- either with a search link in that wp
- and/or "same title" link or best match title link
- presence of VIAF ID (VIAF ID (P214)) should trigger / initiate imediatelly an import of the remaining identifieres from that VIAF value
note: / to do: template
To-do list for User:קיין ומוויסנדיק פּרעפֿערענצן/authority control.js: | |
---|---|
conflict handling / conflict analysis — later |
- if there is no label available in the actually selected interface language
- the script should look for an "alais" first; examples:
No label defined (Uniwersytet im. Adama Mickiewicza w Poznaniu. Instytut Socjologii (Q11713199)) — alias: Instytut Socjologii Uniwersytetu im. Adama Mickiewicza w Poznaniu
No label defined (Uniwersytet im. Adama Mickiewicza w Poznaniu. Wydział Nauk Społecznych (Q9379593)) — alias: Wydział Nauk Społecznych Uniwersytetu im. Adama Mickiewicza w Poznaniu - else the script should search an appropriate label with a minumal / high chance of finding a "hit", suggestion search label in en:, de:, fr:, es: etc ...
it would be wise to allow the search (label) selection via a preceding dialog, an input field would allow usage of special characters: hebrew, chinese, japanese etc.
- the script should look for an "alais" first; examples:
- asociație — (voluntary association (Q48204)) — ◉◉◉◉
- modify: add_item_link = " ◉◉◉◉" ;
- modify: $.each ( ['en','de','eo','ro','yi','he','es','fr','ja','ru','commons'] , — should be done inside the independent "authority control.cfg"-page
- add a search input field to the title (after the normalized searxh string as done in user:לערי ריינהארט/shortest url'.js
- in title — add two more dedicated explicit links of the pop up form fix link tbelow the window (add the following links):
- for Gilad Shalit (Gilad Shalit (Q214821)) add reasonator and[ tree
- for activist (activist (Q15253558)) add reasonator and[ tree
- resize the pop up window, a high number of languages chosen in the independent configuration page "authority control.cfg" should pop up as a vertically longer window
- the script should operate in "safe mode" by default; it should be possible to switch to "advanced mode" via a "radio button"
- the identified item "meta" title, its normalized form and additional information (birth date, date of death) should not scroll with the body of the pop up window, this information should always be visible
- if no "hit" is detected because of pour availability of statements (birth date, date of death) an adequate warning should be issued
later
edit- pop up window should bw full zize
- allow import of Authority Control values directly from a VIAF record
examples:- Orion (VIAF ID (P214) of Orion (Q8860)) — http://viaf.org/viaf/315127379/
- Grigory Abramovich Remenik (VIAF ID (P214) of Grigory Abramovich Remenik (Q17971678)) — https://viaf.org/viaf/21065467/
- University of Cambridge (VIAF ID (P214) of University of Cambridge (Q35794)) — https://viaf.org/viaf/153568718/
- Austrian Museum of Applied Arts (VIAF ID (P214) of MAK - Museum of Applied Arts (Q478455)) — https://viaf.org/viaf/131256403/
- allow the replacement of the search string via an input field
- as a text string
- as a Authority Control set of values as BNF:foo or GND:bar
- example: w:de:Gerhard Kurzbach Gerhard Kurzbach (Q1512008) deutscher Offizier, Gerechter unter den Völkern — Done — Thanks a lot!
- unsolved issue with with NLR ID (Romania) (National Library of Romania ID (P1003)) _T_ — and/or NLR ID (Russia) (National Library of Russia ID (P7029)) _T_ —
- https://viaf.org/viaf/66462996/ — Theodor W. Adorno (Theodor W. Adorno (Q152388))
- https://viaf.org/viaf/66462996/ — Aurobindo Ghosh (Aurobindo Ghosh (Q192207))
- the "output should provide a summary leading with a green link and the list of red links optionaly followed by the "black blocks", blocks containing neither a green nor a red link
- "Lumpensammler" allowing a collection of unprocessed items for a post to an user sandbox page
ideas from practice
edit- "other" should be followed by the entity laben
- improvements for "orphaned VIAF blocs" — add google search links; preferred search strings are substrings of VIAF link titles examples:
- mythographer (mythographer (Q24387326))
- Lehman Brothers (Lehman Brothers (Q212900))
- Ebbers (Ebbers (Q37561549)) — family name
- Kurt Huber (Kurt Huber (Q57812)) — a member of the White Rose (White Rose (Q153364))
bugs
editHans Riebsamen (Hans Riebsamen (Q73315095)) — script still allows import of "empty" GND ID's — http://d-nb.info/gnd/106216511X — it is linked to http://viaf.org/viaf/311693417/Denkmal der Grauen Busse (Memorial of the Gray Buses (Q1187979)) Aussage entfernt GND-Kennung (GND ID (P227)): 990282554 http://d-nb.info/gnd/990282554
additiomal question: why is http://d-nb.info/gnd/106216511X not "connected"/"linked" to VIAF?
This problem has "disappeared" by now.
- search test case for empty GND ID — identify older occurences for Esperantist (Esperantist (Q860918)) via WLH500 Esperantist.
- AC fails and imports an emtpy GND ID https://d-nb.info/gnd/004567749 at Instituto de Historia Simancas (Instituto de Historia Simancas (Q9008791))
- "no article" indication fails at Petre Ispirescu' (Petre Ispirescu (Q1960911))
searching for "Removed claim: GND ID (P227):" in my contributions you may see:
- (United Nations Environment Programme (Q182016))
- (National Center for Biotechnology Information (Q82494))
- (Global Environment Facility (Q384410))
- (United Nations Human Settlements Programme (UN-Habitat) (Q487883))
- (United Nations Environment Programme (Q182016))
hints, alerts and support
edit- blocks containing more then one WMF AC value should generate an alert in a "summary" report; the situation indicates a failure and needs both feedback to the VAF tesm (whoever this is) and some manual corrections
example: foo bar - the script should report the existence of AC identifiers not imported by the tool; please compare with the list of VIAF bodies listed at https://viaf.org/
authority control.cfg
edit- should contain user specific language codes (see above)
- should contain user specific links build with values of wd labels, wd properties, wd identifiers; also "normalized" values should be allowed as parameters
- in addition in cfg it should be possible to ta have links build with specific AC identifiers appended to the standard layout
for exmple it should be possible to have a clickable link beside any GND ID, the syntax building the link, and its label should be "general"/"uniform" for all AC properties
post processing
edit- a "shock wave" type processing on a specific topic as "collecting" aliases, even occupations; the structure of the connected/interrelated wd items is not linear / not a list and a strategy should be found how to process the graph set of these "neighbour" wd items
further tools
edit- "collector" of identifiers used in a "range of pages" (as a user contributions list)
- processing of arbitrary files controled by a cursor setup (examples: BEACON's, VIAF queries, OPAC querres, DNB queries etc.)
further fixes
edit- ?foo additions at Encyclopaedia Judaica (Encyclopaedia Judaica (Q846103)) links in FB
strange AC behaviour
edit- Dieter Honnecker (Dieter Honnecker (Q3707303)) - does neither match any language, nor commons or viaf
wd items without VIAF
edit- Phabricator (Phabricator (Q16509734))
- add "wd items without VIAF" by langaege queries: yi, eo, etc
comments
editno bias — קיין אומוויסנדיקע פּרעפֿערענצן — keyn umvisndike preferentsn talk contribs 09:05, 27 October 2019 (UTC)