Griboedow / PandocUltimateConverter

Pandoc converter extension for mediawiki which imports not only text, but also images
https://www.mediawiki.org/wiki/Extension:PandocUltimateConverter
MIT License
1 stars 1 forks source link

API support #10

Open Griboedow opened 1 month ago

Griboedow commented 1 month ago

Creating this issue to accumulate interest on API support

Griboedow commented 1 month ago

We can make it a bit simpler than UI -- do not handle mw file upload and mw file remove actions:

From file it will look like:

  1. User uploads file via existing MediaWiki API
  2. User calls "convert" API with target page name, flag "forceOverwrite" (UI currently always overwrites)
  3. User removes file via MediaWiki API

From URL:

  1. User calls "convert" API with target page name, flag "forceOverwrite" (UI currently always overwrites)

Should not be hard to implement