User talk:Mike Peel/Archive 33
This is an archive of past discussions with User:Mike Peel. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 30 | Archive 31 | Archive 32 | Archive 33 | Archive 34 | Archive 35 | → | Archive 40 |
Senadora Eunice Michiles Airport
Hi Mike,
I've just noticed that Senadora Eunice Michiles Airport could do with some love (and images), if you're interested (or passing)... There aren't that many airports named after women. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 23:32, 23 March 2018 (UTC)
- It's a bit off the beaten path, even for me, I'm afraid! I'm doing some wikignoming around it, though. Thanks. Mike Peel (talk) 23:38, 23 March 2018 (UTC)
Wikidata weekly summary #305
- Discussions
- Closed request for adminship: Putnik, Okkn. Welcome on board!
- Closed request for comments: Former ATE
- Events
- Upcoming: 1st Workshop on Quality of Open Data, Berlin, July 18–20 (submission deadline May 27)
- Upcoming: EuropeanaTech and Wikidata Workshop Day for GLAMs, Rotterdam (NL), Monday 14 May. A day of GLAM-related workshops around Wikidata and Structured Commons, for beginners and advanced users.
- Press, articles, blog posts
- SPLASHes in Wikidata, by Egon Willighagen
- Other Noteworthy Stuff
- report about items with identical birth and death dates updated
- Relator, a tool to improve family relations in Wikidata
- Descendants check: consistency across multiple generations
- Due to Easter Monday, the next issue of the Weekly Summary will be sent on Tuesday, April 3rd. Until that day, feel free to add information in there
- Did you know?
- Newest properties:
- General datatypes: prerequisite, relevant qualification, derivative work, alternate names, test method
- External identifiers: Biographical Dictionary of Swedish Women, SPLASH, Behind the voice Actors video games ID, Hungarian MP identifier, UK Provider Reference Number, Norwegian war sailor register ID, Wikitribune category, Scottish Rugby Union men's player ID, Scottish Rugby Union men's sevens player ID, Scottish Rugby Union women's player ID, IDA place ID, PRS Legislative Research MP ID, Thésaurus de la désignation des objets mobiliers ID, Thésaurus de la désignation des œuvres architecturales et des espaces aménagés ID, Kinoliste ID, Women’s Elite Rugby ID, TMDb TV series id, TMDb person id, Routard.com place ID, Scottish Rugby Union women's sevens player ID, RKDlibrary ID, Statistics Canada Geographic code, Biographical Dictionary of Georgia ID, DBA ID, Hungarian public body ID, ruchess ID
- New property proposals to review:
- General datatypes: had part, METAR code, Zulassungszahlen, Analog or derivative of, GHS labelling elements, en opposition à, output method
- External identifiers: Filmweb.pl film ID, Filmweb.pl person ID, Orthodox Encyclopedia Online ID, National Thesis Number, Deutsche Biographie Identifikator, Welsh Rugby Union IDs (women's XV and men's 7s)
- Query examples:
- Airports named after a person, color-coded by gender (source)
- Movies that Wikidata knows about and that have a German title that implies that someone or something doesn't answer (source)
- Software developed by people/organizations that have archival material at the ComputerHistory museum (source)
- Most common eponyms of French departments (source)
- Newest database reports: HOLBY CI+Y episode list, list of 2-part episodes
- Newest properties:
- Development
- New search code for Wikidata merged. You may notice the improvement in the search results output for Wikidata item. However, new code for search is not enabled, only new results format. The search code will be enabled next week.
- Improving formatting of language and lexical category in diff for Lexemes (phab:T189679)
- Allow to remove a Form (phab:T189675)
- Translate the grammatical feature properly on Lexemes (phab:T189143)
- Investigate and fix a bug on Lexemes when undoing an edit (phab:T187215)
- Progress on refactoring the table wb_terms (phab:T189777, phab:T188993, phab:T188279)
- Fixing an error on the caching of the constraint checks (phab:T189842)
- Improving the performance of a table in the database (phab:T180834)
- Improving the way we're building dumps (phab:T177550)
- Investigate on improving Lua functions (phab:T143970)
You can see all open tickets related to Wikidata here. If you want to help, you can also have a look at the tasks needing a volunteer.
- Monthly Tasks
- Add labels, in your own language(s), for the new properties listed above.
- Comment on property proposals: all open proposals
- Suggested and open tasks!
- Contribute to a Showcase item.
- Help translate or proofread the interface and documentation pages, in your own language!
- Help merge identical items across Wikimedia projects.
- Help write the next summary!
Signpost issue 4 – 29 March 2018
- News and notes: Wiki Conference roundup and new appointments.
- Arbitration report: Ironing out issues in infoboxes; not sure yet about New Jersey; and an administrator who probably wasn't uncivil to a sockpuppet.
- Traffic report: Real sports, real women and an imaginary country: what's on top for Wikipedia readers
- Featured content: Animals, Ships, and Songs
- Technology report: Timeless skin review by Force Radical.
- Special report: ACTRIAL wrap-up.
- Humour: WikiWorld Reruns
Radio Galaxy Zoo
Hi, I'm hoping you can find time to look at the article Radio Galaxy Zoo. It got the nod this morning and was given a 'C' class so obviously needs some work. Thanks for your time Richard Nowell (talk) 06:58, 26 March 2018 (UTC)
- @Richard Nowell: Nice article! I don't have any significant suggestions at the moment, but I see you've requested peer review for it, which is a good step. You might also want to mention it at Wikipedia talk:WikiProject Astronomy to see if anyone there has comments. Thanks. Mike Peel (talk) 23:23, 28 March 2018 (UTC)
- Thanks for the OK! Still got some bespoke images to upload but the article is on its way. Will ask for astronomy peer review soon. Richard Nowell (talk) 09:41, 30 March 2018 (UTC)
Suggestions for removing reviews already used in articles
Hi Mike, I hope that you are well. I have had a chance to clean up the cochrane bot page. It seems to be running smoothly and I am now on top of it :) You did a great job! Do you have any suggestions on a way that I can remove reviews from my new review list that are already used in Wikipedia? The list is of about 5000 PMIDs. I am getting quite a few new volunteers, but we are noticing that a good number of the reviews have already been added to Wikipedia but are not marked as "done". I can search individually via PMID using a regular "search" query and remove them automatically, but this would not work for 5000.
https://wiki.riteme.site/wiki/Wikipedia:WikiProject_Medicine/Cochrane/Cochrane_Review_List
Thanks, Jenny JenOttawa (talk) 00:32, 22 March 2018 (UTC)
- @JenOttawa: It would be relatively straightforward to modify the bot to output a list of PMIDs that are currently in use, would that be useful? A step beyond that would be to then have some code to compare the two lists, and add done tags accordingly, but we should probably first check the data quality. Thanks. Mike Peel (talk) 11:32, 22 March 2018 (UTC)
- Hi Mike,
- A list of cochrane review PMIDs that are currently in use in Wikipedia articles would be very very helpful. Do you have time to help with this? I feel badly asking for more favours as you have been so helpful already with the update bot. Thanks for getting back to me so quickly! JenOttawa (talk) 17:14, 22 March 2018 (UTC)
- Hi Mike, I am gaining quite a few new skills writing queries in Access. I think I should be able to cross-reference two lists now and remove already used PMIDs. If you have the time and are able to help build a list of all reviews presently in en:WP, or can direct me on how to figure this out, that would be great! A list of PMIDs would be the best for my beginner database skill-set as I have not figured out how to batch convert DOIs to PMIDs. Thanks again, Jenny. JenOttawa (talk) 16:40, 28 March 2018 (UTC)
- @JenOttawa: Sorry for the delay with this. I've put a list of the PMIDs that the bot is checking at User:Mike Peel/Cochrane used, is that useful? It probably contains quite a few non-Cochrane PMIDs. Thanks. Mike Peel (talk) 22:59, 28 March 2018 (UTC)
- Hi Mike, I am gaining quite a few new skills writing queries in Access. I think I should be able to cross-reference two lists now and remove already used PMIDs. If you have the time and are able to help build a list of all reviews presently in en:WP, or can direct me on how to figure this out, that would be great! A list of PMIDs would be the best for my beginner database skill-set as I have not figured out how to batch convert DOIs to PMIDs. Thanks again, Jenny. JenOttawa (talk) 16:40, 28 March 2018 (UTC)
- Thanks Mike, if you do not mind me asking, when was this list of PMIDs generated? Is it regenerated each month for the bot? Now I get to practice / learn my new access skills. I greatly appreciate all your help! Hope that you have a really nice long weekend. JenOttawa (talk) 00:35, 31 March 2018 (UTC)
- @JenOttawa: It was generated immediately before it was posted. I ended up writing a new bit of code, which is here; it runs a lot quicker than the main bot since it's not loading the pages from pubmed. If that's useful, then I can add it to the main bot code. The page is close to the maximum size allowed, though, so it will run into problems in the future. It might be better if I reordered it by article and then listed the PMIDs afterwards, as that would generate a smaller pagesize, if that would still work for you. Thanks. Mike Peel (talk) 09:46, 31 March 2018 (UTC)
Wikidata infoboxes
Hi Mike! A while ago, I left a message asking about any pointers you'd have on transitioning infoboxes to being supported by Wikidata, since I saw that you had done some work in the area. I'm sure you've been busy, but if you've not quite got time to walk me through the entire process, could you suggest someone else who you think might know? Thanks! Kevin (aka L235 · t · c) 16:16, 28 March 2018 (UTC)
- @L235: Apologies for not replying sooner. I would suggest setting up a "/wikidata" copy of the template and then just trying things out by previewing that on a few pages that use the template. The first thing to do is to identify the properties that correspond to the infobox parameters. Then, try using Module:WikidataIB to include them in the infobox, and have a look at the code used at Template:Infobox telescope for practical examples. In most cases, you'll be changing {{{PARAMETER|}}} to {{#invoke:WikidataIB|getPreferredValue|WIKIDATA_PROPERTY|name=PARAMETER|qid={{{qid|}}}|sep="<br />"|sorted=yes|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{PARAMETER|}}}}}, where "PARAMETER" is the template parameter name, and "WIKIDATA_PROPERTY" is the Wikidata property ID. But for more complex cases, there are nuances, and you'll need to look at the documentation at Module:WikidataIB to figure out what to do. I'm happy to help with issues as they arise. Thanks. Mike Peel (talk) 23:15, 28 March 2018 (UTC)
- Thanks, Mike!! Greatly appreciate it. I'll poke around and see what I can come up with. Best, Kevin (aka L235 · t · c) 00:55, 1 April 2018 (UTC)
Administrators' newsletter – April 2018
News and updates for administrators from the past month (March 2018).
- 331dot • Cordless Larry • ClueBot NG
- Gogo Dodo • Pb30 • Sebastiankessel • Seicer • SoLando
- Administrators who have been desysopped due to inactivity are now required to have performed at least one (logged) administrative action in the past 5 years in order to qualify for a resysop without going through a new RfA.
- Editors who have been found to have engaged in sockpuppetry on at least two occasions after an initial indefinite block, for whatever reason, are now automatically considered banned by the community without the need to start a ban discussion.
- The notability guideline for organizations and companies has been substantially rewritten following the closure of this request for comment. Among the changes, the guideline more clearly defines the sourcing requirements needed for organizations and companies to be considered notable.
- The six-month autoconfirmed article creation trial (ACTRIAL) ended on 14 March 2018. The post-trial research report has been published. A request for comment is now underway to determine whether the restrictions from ACTRIAL should be implemented permanently.
- There will soon be a calendar widget at Special:Block, making it easier to set expiries for a specific date and time.
- The Arbitration Committee is considering a change to the discretionary sanctions procedures which would require an editor to appeal a sanction to the community at WP:AE or WP:AN prior to appealing directly to the Arbitration Committee at WP:ARCA.
- A discussion has closed which concluded that administrators are not required to enable email, though many editors suggested doing so as a matter of best practice.
- The Foundations' Anti-Harassment Tools team has released the Interaction Timeline. This shows a chronologic history for two users on pages where they have both made edits, which may be helpful in identifying sockpuppetry and investigating editing disputes.
Wikidata weekly summary #306
- Events
- Talk by Morane Gruenpeter and Katherine Thornton, presented at LibrePlanet 2018 about software metadata in Software Heritage and Wikidata. Video of the talk. Slides for the talk.
- Press, articles, blog posts
- Making women more visible online—with Wikidata tools by Sandra Fauconnier on WMF's blog
- Other Noteworthy Stuff
- if you're working with Lua modules, you can give input here about new functions
- you can still fill this page if you encounter a problem with suggester ranking
- Did you know?
- Newest properties:
- General datatypes: National Governors Association biography URL, key press, number of clubs, analog or derivative of, in opposition to
- External identifiers: Biographical Dictionary of Georgia ID, DBA ID, Hungarian public body ID, ruchess ID, World Para Snowboard athlete ID, METAR code, Orthodox Encyclopedia ID, Amphibians of India ID, National Thesis Number (France)
- New property proposals to review:
- General datatypes: maximum operating temperature, minimum operating temperature, maximum non-operating temperature, minimum non-operating temperature, Специальное звание или классный чин, member of the crew of, service life, Gens, Code of Household Registration and Conscription Information System, Wikipedia glossary entry, assistant director, choral conductor, lighting designer, sound designer, projection designer, video designer, stage crew member, number of representations, talk show guest, adaptation or arrangement of, revival or touring version of
- External identifiers: DNV GL Vessel register ID, Behind the voice Actors person ID, Identifier of object at prazdnedomy.cz, Digital Typhoon ID, Territographie ID, Chile Rugby player ID, Directory of Open Access Journals ID, Brockhaus Enzyklopädie online ID, Researchmap ID, OpenEdition Books ID, KIT Linked Open Numbers ID, Animated Knots ID
- Sparsely used properties created >3 months:
- Deleted properties: P1124 (teu), P3484 (name shares origin with), P4990 (Statistics Canada Geographic code)
- Query examples:
- Newest database reports: pilot and first episodes of television series
- Newest properties:
- Development
- Work on a script to generate MassMessage target lists (phab:T190812)
- Test validity of Wikidata IDs in Lua modules (phab:T143970)
- Rename Lua functions in old naming scheme (phab:T190382)
- More work on wb_terms table (phab:T188992)
- More work on logging autopatrol actions (phab:T184485)
- Include checksums in dumps (phab:T190457)
- Add mobile edits to Grafana (phab:T191111)
- Allowing to remove a Form from a Lexeme (phab:T173332)
- Fixing bugs on Lexemes (phab:T189185)
- Checking permissions for actions on Lexemes
You can see all open tickets related to Wikidata here. If you want to help, you can also have a look at the tasks needing a volunteer.
- Monthly Tasks
- Add labels, in your own language(s), for the new properties listed above.
- Comment on property proposals: all open proposals
- Suggested and open tasks!
- Contribute to a Showcase item.
- Help translate or proofread the interface and documentation pages, in your own language!
- Help merge identical items across Wikimedia projects.
- Help write the next summary!
This Month in Education: March 2018
Volume 7 | Issue 3 | March 2018
This monthly newsletter showcases the Wikipedia Education Program. It focuses on sharing: your ideas, stories, success and challenges. You can see past editions here. You can also volunteer to help publish the newsletter. Join the team! Finally, don't forget to subscribe!
Wikidata weekly summary #307
- Events
- Role of Wikimedia in the era of Open Science, Barcelona, April 16th
- Wikidata meetup in Berlin, April 20th. Please sign up if you want to attend (the meetup takes place in the venue of the Wikimedia Conference)
- Wikidata workshop in Paris, April 20th
- Wikidata for science workshop in Paris, April 23rd
- Wikidata meetup in Zürich, April 25th
- Other Noteworthy Stuff
- Some improvements have been made on the search results
- The administrative territorial entities of the Ottoman Empire are now largely complete. They include the elayets, vilayets and their sanjaks.
- A new version of Denelezh, a tool to monitor the gender gap in Wikidata, has been released, including a new methodology to produce the data (explained at the top of the main page and in the documentation), and an overview of the gender gap by Wikimedia project.
- Items now contain an average of 9 statements.
- Item Q2937606, created 5 years ago, got its first statement
- New tool: The property explorer sorts and displays properties per category (developed by Stevenliuyi based on a suggestion from Micru)
- Did you know?
- Newest properties:
- General datatypes: Wikimedia project focus list, complies with, special rank, last update, test taken, test score, activity policy in this place, choral conductor, gens, lighting designer, number of representations, sound designer
- External identifiers: DNV GL Vessel register ID, Behind the voice Actors person ID, Territographie ID, Prazdne Domy building ID, Welsh Rugby Union women's player ID, Welsh Rugby Union men's sevens player ID, Digital Typhoon typhoon ID, Digital Typhoon cyclone ID, Chile Rugby player ID, Brockhaus Enzyklopädie online ID, Code of Household Registration and Conscription Information System (Taiwan)
- New property proposals to review:
- General datatypes: majority opinion, KMC Heritage Building Grade, accreditation, Number of spoilt votes, Number of blank votes, Number of abstentions, greater than (2), subdomain URL, International Classification for Standards, Wind speed, Wikimedia outline, list combines topics
- External identifiers: Authorea Author ID, Lambiek Comiclopedia ID, FOGIS ID, Behind the voice Actors character ID, KIT Linked Open Numbers ID, Harvard designation, Yahoo Answers category, UMAC ID, Internet Adult Film Database film ID, Adult Film Database film ID
- Sparsely used properties created >3 months:
- Berlinische Galerie artist ID (P4580), Kulturelles Erbe Köln object ID (P4582), Argentinian Historic Heritage ID (P4587), National Inventory of Canadian Military Memorials ID (P4591), Mountain Project ID (P4592), arXiv author ID (P4594), post town (P4595), NIOSH Publication Number (P4596), monomer of (P4599), Lives of WWI ID (P4601)
- Query examples:
- Timeline of weather satellites (source)
- Map with lighthouses all over the world (source)
- Number of articles about humans by gender on Welsh Wikipedia (source)
- List of French rivers with different names and SANDRE ids on Sophox (SPARQL endpoint querying OpenStreetMap and Wikidata) (source)
- Newest properties:
- Development
- Differences between range constraints now work only if both properties are present (phab:T185480)
- Work on a new constraint unit which defines which units are alowed for a given property (phab:T164372)
- Make the Special:ConstraintReport easier to understand (phab:T188728)
- Work on a Lua function which checks if an item is a subclass of or instance of another item (phab:T179155)
- Started deleting old autopatrolled from the loggin table (phab:T190447, phab:T184791)
- More work on setting up permissions for Lexeme (phab:T189480)
- Fixing a bug about removing the last Lemma (phab:T189185)
- Disabling the possibility to move a Lexeme (phab:T189481)
You can see all open tickets related to Wikidata here. If you want to help, you can also have a look at the tasks needing a volunteer.
- Monthly Tasks
- Add labels, in your own language(s), for the new properties listed above.
- Comment on property proposals: all open proposals
- Suggested and open tasks!
- Contribute to a Showcase item.
- Help translate or proofread the interface and documentation pages, in your own language!
- Help merge identical items across Wikimedia projects.
- Help write the next summary!
This Month in GLAM: March 2018
|
Thank you for your help!
The Guidance Barnstar | ||
Thank you for your help generating a list of PMIDs for the Cochrane work. Your assistance is greatly appreciated! JenOttawa (talk) 01:41, 9 April 2018 (UTC) |
- Thanks, I'm happy to help! Mike Peel (talk) 16:17, 11 April 2018 (UTC)
Nomination of Portal:Physics for deletion
A proposal has been made to delete Portal:Physics, which you have made significant contributions to, as well as all other portals on English Wikipedia. You are welcome to contribute to the discussion if you'd like, which is located at Wikipedia:Village pump (proposals)#RfC: Ending the system of portals. Thank you for your contributions to Wikipedia. North America1000 06:44, 12 April 2018 (UTC)
Updates to WikidataIB
Just a heads-up that I'm in the middle of a major overhaul of Module:WikidataIB. The sandbox now has new code and extended functionality. You may like this bit: I've introduced some 3-letter abbreviations for convenience, and created a wrapper template for the getValue call. That could save you a few keystrokes and improve readability. See Template talk:Wdib. I'll update the main module and eventually the Commons module (although I can't just copy-paste there because of other edits) after I'm happy with testing in the sandbox. --RexxS (talk) 15:17, 8 April 2018 (UTC)
- Thanks RexxS, that sounds good! (Please be careful not to break it during the RfC. ;-)) Mike Peel (talk) 16:16, 11 April 2018 (UTC)
- Yer, well, I'm pretty unlikely to alter the main template while the RfC's running (which is one reason why {{wdib}} uses WikidataIB/sandbox for now). I'm growing to like
{{wdib|P106|qid=Q42|fwd=ALL}}
→ screenwriter, novelist, science fiction writer, writer, musician the more I use it. --RexxS (talk) 19:18, 11 April 2018 (UTC)- @RexxS: Good to know! I don't suppose, while you're doing the big rewrite, you'd be able to add in support for showing qualifiers in brackets after the values, so we could show things like date ranges in lists of employers/release dates/etc.? That's probably top of my wishlist at the moment, and would be particularly useful with the Commons work. It's supported by Module:Wd, so I could use that instead, but I'd prefer to keep everything using WikidataIB if possible. Thanks. Mike Peel (talk) 21:48, 11 April 2018 (UTC)
- How do you want the support, Mike? Do you want a new function, or an extra parameter to the existing ones? Do you want all the qualifiers for every value of a property? or do you want to be able to specify the particular kinds of qualifier that you want to match? If the latter, how will you deal generically with the possibility that some articles may have point in time (P585), while others will have start time (P580) and end time (P582)?
- Have a look at Geneva (Q71) as an example of an article that has a range of qualifiers. I assume you would want to have capital of (P1376) sorted by start date, not the easiest of tasks. Let me know if you have some examples in mind, because it's easier for me to code when I have a good grasp of exactly what's wanted. --RexxS (talk) 00:49, 12 April 2018 (UTC)
- @RexxS: Good to know! I don't suppose, while you're doing the big rewrite, you'd be able to add in support for showing qualifiers in brackets after the values, so we could show things like date ranges in lists of employers/release dates/etc.? That's probably top of my wishlist at the moment, and would be particularly useful with the Commons work. It's supported by Module:Wd, so I could use that instead, but I'd prefer to keep everything using WikidataIB if possible. Thanks. Mike Peel (talk) 21:48, 11 April 2018 (UTC)
- Yer, well, I'm pretty unlikely to alter the main template while the RfC's running (which is one reason why {{wdib}} uses WikidataIB/sandbox for now). I'm growing to like
As an aside, if you're interested in a more powerful function, you might want to have a look at getValueQualIndirect in my sandbox, Module:RexxS:
getValueQualIndirect scans a property prop1 in the current page (or another page if qid is given) for each value of the property that is a wikibase item, it fetches all of the values of prop2 and for each value of prop2 it also retrieves each qualifier and its value
Starting with Geneva (Q71), get all the values of country (P17), and for each value that's an article, get all of the values that it's an instance of (P31) and all of their qualifiers:
{{#invoke:RexxS |getValueQualIndirect |qid=Q71 |prop1=P17 |prop2=P31}}
→
Switzerland
+ state
++ start time = 1 August 1291
++ sourcing circumstances = circa
+ landlocked country
+ confederation
++ start time = 10 March 1803
++ end time = 7 August 1815
+ Federal Treaty
++ start time = 7 August 1815
++ reason for deprecated rank = anachronism
++ end time = 16 November 1848
+ federation
++ start time = 16 November 1848
+ Helvetic Republic
++ start time = 12 April 1798
++ reason for deprecated rank = anachronism
++ end time = 10 March 1803
+ sovereign state
++ start time = 16 November 1848
++ end time = no value
+ country
First French Empire
+ historical country
++ start time = 1815
+ empire
+ regime
Republic of Geneva
+ sovereign state
++ start time = 1534
++ end time = 26 April 1798
+ sovereign state
++ start time = 31 December 1813
++ end time = 19 May 1815
+ historical country
Republic of Geneva
+ sovereign state
++ start time = 1534
++ end time = 26 April 1798
+ sovereign state
++ start time = 31 December 1813
++ end time = 19 May 1815
+ historical country
French First Republic
+ historical country
++ start time = 1804
+ sovereign state
++ end time = 1804
+ republic regime in France
The display can be customised; the above is just for demo purposes. It's potentially a very expensive call, but that's the sort of functionality we're going to need in the future. --RexxS (talk) 00:49, 12 April 2018 (UTC)
More updates
Back to the original request. How does this look for starters?
- Property: capital of (P1376) for Geneva (Q71)
- Qualifiers: start time (P580) and end time (P582)
{{#invoke:WikidataIB/sandbox1 |getValue |P1376 |fwd=ALL |osd=no |qid=Q71}}
→ Canton of Geneva, Léman, Republic of Geneva, Republic of Geneva{{#invoke:WikidataIB/sandbox1 |getValue |P1376 |fwd=ALL |osd=no |qid=Q71 |qual=ALL}}
→ Canton of Geneva (1815–), Léman (1798–1813), Republic of Geneva (1534–1798), Republic of Geneva (1813–1815){{#invoke:WikidataIB/sandbox1 |getValue |P1376 |fwd=ALL |osd=no |qid=Q71 |qual=P580}}
→ Canton of Geneva (1815–), Léman (1798–), Republic of Geneva (1534–), Republic of Geneva (1813–){{#invoke:WikidataIB/sandbox1 |getValue |P1376 |fwd=ALL |osd=no |qid=Q71 |qual=P582}}
→ Canton of Geneva, Léman (–1813), Republic of Geneva (–1798), Republic of Geneva (–1815)
It needs the list of qualifiers returned to be passed through the output function that implements lists, separators, etc. but that's an easy job now. So you need to find an example of where you're actually going to use it so I can see what else is needed. I expect we'll have to pass a parameter |qtxt=
to supply a bit of text that goes before the qualifiers. See what you think. --RexxS (talk) 23:56, 12 April 2018 (UTC)
Even better:
{{#invoke:WikidataIB/sandbox1 |getValue |P1376 |fwd=ALL |osd=no |qid=Q71 |qual=DATES}}
→ Canton of Geneva (1815–), Léman (1798–1813), Republic of Geneva (1534–1798), Republic of Geneva (1813–1815){{#invoke:WikidataIB/sandbox1 |getValue |P1376 |fwd=ALL |osd=no |qid=Q71 |qual=ALL |sep=" or " |qsep=" to "}}
→ Canton of Geneva (1815–) or Léman (1798–1813) or Republic of Geneva (1534–1798) or Republic of Geneva (1813–1815)
I'm on a roll now. More to come. --RexxS (talk) 08:10, 13 April 2018 (UTC)
I've upgraded getValue in the sandbox to duplicate the functions getPreferredValue and getNormalValue by using the |rank=
parameter. --RexxS (talk) 18:49, 14 April 2018 (UTC)
Wikidata weekly summary #308
- Events
- Role of Wikimedia in the era of Open Science, Barcelona, April 16th (slides of Andy Mabbett's keynote)
- Wikidata meetup in Berlin, April 20th. Please sign up if you want to attend (the meetup takes place in the venue of the Wikimedia Conference)
- Wikidata workshop in Paris, April 20th
- Wikidata for science workshop in Paris, April 23rd
- Wikidata meetup in Zürich, April 25th
- Other Noteworthy Stuff
- GLAM wiki Conference (November 2018 in Tel Aviv): you can now apply for a scholarship. You can still make submissions for the program until end of April.
- Lua function to get Wikibase entity by site link: mw.wikibase.getEntityIdForTitle (thanks Tpt!) (ticket)
- Wikidata:FactGrid#Problems and more, a brief status report of the FactGrid Project on Friday 13, April 2018
- Should OpenStreetMap use Wikibase to store data on tags? (Discussion on OSM wiki)
- Prop explorer UI can now be translated using Tool Translate.
- Did you know?
- Newest properties:
- General datatypes: talk show guest, GHS hazard pictogram, GHS hazard statement, GHS precautionary statement, number of abstentions, number of spoilt votes, number of blank votes, International Classification for Standards, towards, supervisory board member
- External identifiers: Researchmap ID, Animated Knots ID, Filmweb.pl film ID, Filmweb.pl person ID, National Library of Korea Identifier (KRNLK), Lambiek Comiclopedia ID, AmphibiaWeb Species ID, Plants of the World online ID, FOGIS ID, Authorea author ID, Rosetta Code ID, Church of Sweden ID, Harvard designation, UMAC ID
- New property proposals to review:
- General datatypes: French standard sizes for oil paintings, operating temperature, non-operating temperature, reference value, ILI ID, Portable Game Notation, SNOMED CT identifier, Mercalli intensity, fault type, fault, areas affected
- External identifiers: IRMNG taxon ID, e-teatr.pl ID, World of Physics identifier, Kunstenpunt people, DOAB publisher ID, aviation-safety.net ID, IAFD company ID, JAAF ID, Athletics Canada ID, Russian Athletics ID, Polish Athletics Federation ID, Römpp online ID, Pschyrembel Online ID, Internet Encyclopedia of Philosophy ID, ISC event, USGS-ANSS event page, HanCinema drama, ARRS race ID, hpip
- Barely used properties created >3 months:
- National Film Board of Canada movie ID (P4606), AUSNUT 2011–13 Food Group ID (P4618), squadron embarked (P4624), trophy awarded (P4622), EK number (P4627), premiere type (P4634), identity of object in context (P4626), photosphere image (P4640), FoodEx2 code (P4637), Estonian Football Association team ID (P4639)
- Query examples:
- Longest chain of mutual murders (source)
- 6 couples killed each other (source)
- All things named after Leonardo da Vinci (source)
- German municipality pairs with the name pattern -ing/-ingen (source)
- Timeline of early silent movies produced before 1900 (source)
- French citizens with at least 5 Wikipedia pages but not in French (source)
- Newest database reports: family names by soundex, définitions de ville
- Newest properties:
- Development
- Disable Senses in the API for the initial version of the WikibaseLexeme extension (phab:T187198)
- Create a new data type to allow linking to Forms (phab:T165579)
- Fix a bug happening when editing a Form (phab:T187215)
- Enforce permission checks when editing Lexeme (phab:T189480)
- Make not possible to remove the last lemma (phab:T189185)
- Make not possible to move a Lexeme (phab:T189481)
- Implement “Units” constraint (phab:T164372)
- More work on the possibility to pick an item's parent in Lua (phab:T179155)
- Show a thumbnail for image/video/audio properties in statements (phab:T46727)
- Add “no bounds” constraint (phab:T170610)
- Make the “difference within range” constraint not requiring “item requires claim” constraint (phab:T185480)
- New Lua function to test for validity of Wikidata entity IDs (phab:T143970)
- Include checksums in dumps (phab:T190457)
You can see all open tickets related to Wikidata here. If you want to help, you can also have a look at the tasks needing a volunteer.
- Monthly Tasks
- Add labels, in your own language(s), for the new properties listed above.
- Comment on property proposals: all open proposals
- Suggested and open tasks!
- Contribute to a Showcase item.
- Help translate or proofread the interface and documentation pages, in your own language!
- Help merge identical items across Wikimedia projects.
- Help write the next summary!
Difference analysis
Hey, we already have a category to track articles with no image having image on Wikidata. Is it technically possible to add a tracker which can find out the instances of "articles having image different from the one specified on Wikidata". Ping Frietjes and RexxS too User:Capankajsmilyo(Talk | Infobox assistance) 05:29, 18 April 2018 (UTC)
- I found a way, but somehow ifeq is giving incorrect results. See
{{Compare}}
. User:Capankajsmilyo(Talk | Infobox assistance) 06:51, 18 April 2018 (UTC)- Corrected, but some images are specified as File: in Infoboxes, identifying them is an issue. User:Capankajsmilyo(Talk | Infobox assistance) 07:28, 18 April 2018 (UTC)
- @Capankajsmilyo: try using {{Replace}} to look for 'File:', 'file:', 'Image:' and 'image:', and replace them with nothing before you compare with Wikidata. BTW, there are cases where there are images on Wikidata for articles here that don't have infoboxes, e.g. Michael Reid (Q17157228) - I have no idea how to auto-catch those! Thanks. Mike Peel (talk) 10:41, 18 April 2018 (UTC)
- I added the replace and added the template to two more infobox, it's now 695 match vs 276 not match. A match of 71.58%. Should we add {{compare|local={{{image|}}}}} to
{{Infobox person}}
measure the substantial percentage? User:Capankajsmilyo(Talk | Infobox assistance) 11:44, 18 April 2018 (UTC)
- I added the replace and added the template to two more infobox, it's now 695 match vs 276 not match. A match of 71.58%. Should we add {{compare|local={{{image|}}}}} to
- @Capankajsmilyo: try using {{Replace}} to look for 'File:', 'file:', 'Image:' and 'image:', and replace them with nothing before you compare with Wikidata. BTW, there are cases where there are images on Wikidata for articles here that don't have infoboxes, e.g. Michael Reid (Q17157228) - I have no idea how to auto-catch those! Thanks. Mike Peel (talk) 10:41, 18 April 2018 (UTC)
- Corrected, but some images are specified as File: in Infoboxes, identifying them is an issue. User:Capankajsmilyo(Talk | Infobox assistance) 07:28, 18 April 2018 (UTC)
Wikidata weekly summary #309
- Events
- Past: Wikimedia Conference in Berlin
- Wikibase workshop in Antwerp, Belgium, April 23-25
- WikiWorkshop, a forum bringing together researchers exploring all aspects the Wikimedia projects, in Lyon, April 24th. Seven papers related to Wikidata will be presented.
- Wikidata meetup in Zurich, Switzerland, April 25th
- DDJ Monaco: Wikidata for digital Journalists; Open-Source-Treffen: SPARQL-Workshop, Munich, April 25 and 27
- Press, articles, blog posts
- Old Periodicals, a New Datatype and Spiderfied Query Results in Wikidata by Simon Cobb (National Library of Wales)
- Wikimedia and The Met: A Shared Digital Vision by Katherine Maher and Loic Tallon
- Other Noteworthy Stuff
- Wikidata:Tools has been reorganized and updated, thanks to Pasleim! Feel free to help keeping this page up to date.
- Wikidata:List of properties has also been reorganized and updated.
- Lexicographical data on Wikidata will start at the end of May. Some property proposals are already discussed
- A rate limit for edits and page creation has been set up
- Please give feedback on a first proposal on GLAM metadata and ontology mapping for Structured Data on Commons. This feedback round runs until 4 May.
- Did you know?
- Newest properties:
- General datatypes: fastest lap, cabinet, patronym or matronym for this person, modified version of, unit symbol, wind speed, operating temperature, non-operating temperature, service life, French standard size for oil paintings, boiler pressure, presented in
- External identifiers: IRMNG taxon ID, Handball Bundesliga ID, e-teatr.pl ID, DOAB publisher ID, ILI ID, World of Physics identifier, Flanders Arts Institute person ID, JAAF ID, Polish Athletics Federation ID, Römpp online ID, Russian Athletics ID, Athletics Canada ID, NVE lake ID, Norsk biografisk leksikon ID, Norsk kunstnerleksikon ID, Store medisinske leksikon ID, Adult Film Database film ID, Yahoo Answers category, Pschyrembel Online ID, FIPS string code for US states, FIPS numeric code for US states, Internet Encyclopedia of Philosophy ID, USGS-ANSS event page, ARRS race ID, HanCinema drama ID, ISC event ID, road number (Estonia), Heritage of Portuguese Influence ID
- New property proposals to review:
- General datatypes: Commercialized from, synonym, translation, antonym, demonym of, item for this sense, pronunciation variety, grammatical gender, grammatical number, etymology, person, areas affected, award category, nature of statement, donation platform, has grammatical gender, has grammatical person, Phonetic pronunciation, medical finding model, landmass, accessed from, research measurement, hyperonym, hyponym, meronym, holonym, troponym
- External identifiers: Swedish Literature Bank, Logainm ID, Wikipedia glossary entry, Réunion des musées nationaux id, Il mondo dei doppiatori ID, FIS speed skier ID, cryptocurrency address, New Zealand Gazetteer ID, Bridge number, HanCinema film, Dictionary of Algorithms and Data Structures ID
- Scarcely used properties created >3 months:
- Indian Financial System Code (P4635), RCR number (P4645), partition type identifier (P4654), partition table type (P4653), Wiki Aves bird ID (P4664), Buenos Aires legislator ID (P4667), Sjukvårdsrådgivningen Category ID (P4670), tabular software version (P4669), constraint scope (P4680), GEMS Code (P4695)
- Query examples:
- Newest database reports: Sports equipment: balls
- Newest properties:
- Development
- Track the number of constraints by type (phab:T191891)
- Include thumbnails in image statements (phab:T46727)
- Install Query Service on Factgrid (phab:T189863)
- Page creation and edit rates (phab:T184948)
- Implement unit constraint (phab:T164372)
- Implement no bounds constraint (phab:T170610)
- Started working on the constraint violation type to restrict to indicate that certain properties can only be used on items or lexemes (phab:T164744)
- Creating a Docker container for QuickStatements (phab:T192079)
- Removed hardcoded demo data in Wikibase Lexeme (phab:T188899)
- New data type for linking to Forms (phab:T165579)
You can see all open tickets related to Wikidata here. If you want to help, you can also have a look at the tasks needing a volunteer.
- Monthly Tasks
- Add labels, in your own language(s), for the new properties listed above.
- Comment on property proposals: all open proposals
- Suggested and open tasks!
- Contribute to a Showcase item.
- Help translate or proofread the interface and documentation pages, in your own language!
- Help merge identical items across Wikimedia projects.
- Help write the next summary!
The Signpost: 26 April 2018
- From the editors: The Signpost's presses roll again
- Signpost: Future directions for The Signpost
- In the media: The rise of Wikipedia as a disinformation mop
- In focus: Admin reports board under criticism
- Special report: ACTRIAL results adopted by landslide
- Community view: It's time we look past Women in Red to counter systemic bias
- Discussion report: The future of portals
- Arbitration report: No new cases, and one motion on administrative misconduct
- WikiProject report: WikiProject Military History
- Traffic report: A quiet place to wrestle with the articles of March
- Technology report: Coming soon: Books-to-PDF, interactive maps, rollback confirmation
- Featured content: Featured content selected by the community