Publish to MediaWiki

A stylesheet to make MATLAB publishing produce MediaWiki markup as an output.

You are now following this Submission

This stylesheet converts from publishing's intermediate XML format to MediaWiki-compatible markup. The output is ready for cut-and-paste into Wikipedia or other sites running the MediaWiki software.
This implementation isn't 100% complete.

Sample usage:

>> opts = [];
>> opts.format = 'xml';
>> opts.stylesheet = 'C:\Work\mediawiki.xsl';
>> tdir = tempname;
>> opts.outputDir = tdir;
>> f = publish('sparsity',opts);
>> disp(tdir)
>> dir(tdir)
>> edit(f)

You can also set these options in a publish configurations to make it available directly from the Editor.

Cite As

Matthew Simoneau (2026). Publish to MediaWiki (https://www.mathworks.com/matlabcentral/fileexchange/23856-publish-to-mediawiki), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Scripts in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.1

Updated license

1.0.0.0