Mediawiki Transport

The MediaWiki Transport is designed to interface with the various MediaWiki API's in order to enable importing of wiki content from sites such as WikiPedia. Simply drag and drop a url form a Wikipedia page to begin.

Note: this transporter is currently undergoing active refactoring. Expect changes, enhancements and improvements. We aim but cannot guarantee to achieve this without breaking current behaviour and expectations.

# Transporter

Drop a url on here to see the json sent to the transport:

POST https://rest.livecode.world/mediawiki

You can also try:

POST https://rest.livecode.world/importSummary

# Use

You can use the Mediawiki Transport to drop urls from Wikimedia Commons. See also Wikipedia Transport.

Tests

Here is an HTML Form:

Test: https://rest.livecode.world/echo

url: 

OK
Test: https://rest.livecode.world/mediawiki/search

url: 

Test: https://rest.livecode.world/mediawiki/search

url: 

Try this transporter on the following url's: - Ant - wikipedia

# Code

The code for this transporter is written in Livecode. You can view the source here - gist

# To Do

It should be enhanced to: - [ ] Create separate transport form commons assets - [ ] Refactor code into small libraries - [ ] Extract all images from page - [ ] Search for images

# Issues and Features

Pete imported this page as an initial test of the mediawiki-transport functionality. We begin a discussion about content and features of this plugin.

* The links break. Click the "Wikipedia" link below to see what I mean; the Wikipedia transporter loses the case sensitivity of Wikipedia URLs.

Drop a url on the transporter below to import a Wikipedia page:

There is a lot functionality hidden in this simple transport. It can import images, individual sections, and so on depending on what type of ink from wikipedia is dropped on it.

# See also

Below we refer to some related content:

Here we explore how we may write using Wikipedia not simply as a source and a reference, but as a creative asset in the authoring of new ideas.

This Transport accepts a link to a Wikipedia (Mediawiki) image that is dropped onto it and display a Fedwiki Ghost Page containing the image.

lib_MediaWiki is a Livecode script only stack designed to provide a flexible and easy way to interface with Wikipedia and other Mediawiki sites.

The MediaWiki web API is a web service that provides convenient access to wiki features, data, and meta-data over HTTP. - mediawiki.org