Wikimedia sites are made by one of the largest online communities of knowledge gathers. WordPress is the largest single content distribution software outside of proprietary social networks. 26% of all websites on the internet use WordPress. [[ https://w3techs.com | 0 ]] [[ https://trends.builtwith.com/cms/WordPress | 1 ]]
Let's make it easier for folks using WordPress to embed Wikimedia content in their sites.
This session proposes putting together a minimal viable product that would allow WordPress users to copy and paste a Wikimedia URL into the editor in a WordPress installation to embed an in-line preview. I'd like to discuss the design and implementation of such a feature (what do we need to include for attribution, how much content do we display inline?) and the technical underpinnings of APIs and implementation details.
Mockups and prior proposal on Grants IdeaLab:
https://meta.wikimedia.org/wiki/Grants:IdeaLab/Make_it_easy_to_embed_Wikimedia_content
Technical documentation on how to extend WordPress to include new content types:
https://codex.wordpress.org/Embeds#How_Can_I_Add_or_Change_Support_For_Websites.3F
Relevant MediaWiki APIs:
https://www.mediawiki.org/wiki/REST_API
https://www.mediawiki.org/wiki/Page_Previews/API_Specification
https://www.mediawiki.org/wiki/Extension:TextExtracts
https://www.mediawiki.org/wiki/Extension:PageImages