Jump to content

Wikipedia:Tools/View it!

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by JamieF (talk | contribs) at 16:10, 19 September 2022. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

View it! is a tool in Development that will show users (editors, and hopefully readers) relevant Wikimedia Commons media depicting—or otherwise related to—the article they are reading. As the tool develops, this page will serve as a setup and help guide.

Image to accompany the View it! tool currently in development.

Rationale

The View it! tool will enrich Wikipedia content by offering an illustration of a given subject. This tool will increase the discovery of Wikimedia Commons uploads and encourage contributors to utilize Commons and structured data. While the number of images displayed in a Wikipedia article is finite and highly curated by editors, this tool will allow readers to access the full catalog of images available on Wikimedia Commons, and help editors easily add relevant items to a given article.

This page will serve as a space to document, receive feedback and ideas from the community, and list upcoming related meetings and training. As the tool is developed, changes will be noted and sections will be updated.

Possible features

Through View it! users will be able to see a gallery of related images derived from queries of structured data. While depicts (P180) is relevant to all subjects, other points may be used as well, such as collection (P195), creator (P170), location of creation (P1071) among others. The gallery may be displayed in different environments, such as:

  • A hosted Toolforge tool which users could link in their user interface (UI) when viewing an article; or
  • A button that loads the gallery within the Wikipedia article when clicked.

The tool will be useful to both editors and readers. For logged-in editors, there will be additional features that enable:

  • Removal of bad statements from Commons media, when unwanted results appear in the gallery (envision a one-click operation without leaving Wikipedia, with the tool utilizing a wbremoveclaims call on the backend).
  • Ability to add an image to an article being edited from the auto-generated gallery with a click. This may be a generated code for the user to copy into the source editor, or possibly insert an actual image into the editor.

Demo and updates

Visit Toolforge to see a proof of concept and the type of results View it! will pull. If you wish to be apart of beta testing or sign up for project updates, please visit the Meta page.

  • Monthly updates are also available on the Meta page.

Community Conversations

View it! tool presentation at Wikimania 2022/Pittsburgh Meetup
Presentation recording from the August 31st meeting
  • Saturday, August 13, 2022: In-person community conversation and presentation, "Discoverability, Structured Data & the View it! tool" during [metawiki:Wikimania_2022/Pittsburgh_Meetup|Wikimania 2022/Pittsburgh Meetup] at Carnegie Library, East Liberty, Meeting Room 3. 130 S. Whitfield Street, Pittsburgh, PA 15206 (second floor, handicap accessible).

Beta Script Installation

We have beta script ready for those who wish to try out View it!; please feel free to share feedback and any issues you may have on our Meta page, on the Talk page here, or to our personal talk pages.

Across Wikipedia projects

View it! works across Wikipedia projects. To enable on all platforms:

1. Visit your global.js page on Meta: User:<YourUserName>/global.js


2. Copy in the code:

importScript( 'meta:User:SuperHamster/view-it.js' ); // Backlink: [[meta:User:SuperHamster/view-it.js]]     

3. Click "Publish changes"

Go to your User global.js page on Meta
View it! script copied in global.js,
Meta global.js after saving View it! script

For Wikipedia only

If you wish to only enable View it! on English Wikipedia:

1. Visit your common.js page: User:<YourUserName>/common.js


2. Copy in the code:

importScript( 'meta:User:SuperHamster/view-it.js' ); // Backlink: [[meta:User:SuperHamster/view-it.js]]

3. Click "Publish changes"

Screenshot of Common.js page - User:JamieF already has other scripts in use
View it! script copied to common.js
Screenshot of Common.js after saving View it! script

After installation

Once installed you will see a "View" button next to the "Article" and "Talk" buttons on a page that is connected to Wikidata/Structured data.

"View" button after installation of View it! on Mary Cassatt's entry.
Upon Clicking the "View" button users will be taken to the results via View it! on ToolForge. Example:Mary Cassatt View it! results

View it! will also work on other Wikipedia projects:

"View" button for View it! tool on Wikispecies - Mungo Park page
View it! results for Mungo Park
"View" button for View it! tool on WikiVoyage - Deventer, Netherlands page
View it! results for Deventer, Netherlands (WikiVoyage)

Funding

The project was funded for development by the Wikimedia Foundation's Structured Data Across Wikimedia project, and has a 6 month timeline. View it! will be completed by January 2023.

Team

To share opinions, wishes, or ask questions please leave a message on the talk page. If you wish to reach a team member directly, please feel free to leave a message on our respective talk pages: