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.
Rationale
editThe 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
editThrough 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.
Updates
editIf you wish to be apart of beta testing or sign up for project updates, please visit the Meta page.
- Monthly update archive
- Beta testing announcement archive
- Monthly status updates are available on the Meta page.
- Meeting notes from the August 31, 2022 virtual presentation during the Wikimedians in Residence Exchange Network monthly meeting.
- Notes from the Wikimania 2022/Pittsburgh Meetup presentation, "Discoverability, Structured Data & the View it! tool".
Actions
editTranslation
editView it! has multilingual support! Add missing languages by the localization instructions. You can also make edits to existing languages there.
Install the beta script
editAcross projects
editThere are two options for installing View it!, a full version integrate with the editing/reading experience and a lite version-- installation directions for each are the same, with slight code changes. To enable on all platforms:
- Visit your global.js page on Meta: User:<YourUserName>/global.js
- Copy in the code
- For full View it!:
{{subst:view it}}
- For View it! lite:
{{subst:view it/lite}}
- For full View it!:
- Click "Publish changes"
Please note you may see an error message reading: The document contains errors. Are you sure you want to publish? when you click publish - this is a bug, and it will still work.
For specific projects
editIf you wish to only enable View it! on your local project:
- Visit your common.js page: "
Special:MyPage/common.js
" on your wiki of choice. - Copy in the code
- For full View it!:
mw.loader.load( '//meta.wikimedia.org/w/index.php?title=User:SuperHamster/view-it-full.js&action=raw&ctype=text/javascript' ); // Backlink: [[meta:User:SuperHamster/view-it-full.js]]
- For View it! lite:
mw.loader.load( '//meta.wikimedia.org/w/index.php?title=User:SuperHamster/view-it.js&action=raw&ctype=text/javascript' ); // Backlink: [[meta:User:SuperHamster/view-it.js]]
- For full View it!:
- Click "Publish changes"
After installation Once installed you will see a "View" button between "Read" and "Edit" on the right that is connected to Wikidata/Structured data.
View it! will also work on other Wikipedia projects:
The development team is currently working to make View it! tool multilingual. Please help us with localization!
Usage
edit- As of September 25th, 75 users have installed View it! across global, Commons, and various language specific projects.
- View it! has also been modified and added to other projects:
- It has been embedded in ITN Syndication
Funding
editThe 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
editTo 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:
- Project Manager - Dominic
- Lead Developer - SuperHamster
- Community Outreach Manager - JamieF
External links
edit- View it! on Phabricator