From mediawiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
Release status: stable
Implementation Parser extension
Author(s) Dli7319talk
Latest version 1.0 (2020-07-20)
License MIT License

Check usage and version matrix.

The LineBreaks extension allows you to use Markdown linebreaks in your wikitext.

Specifically, this extension converts \s\s\n and \\\n to <br />\n during the parsing stage.


  • Download and place the file(s) in a directory called LineBreaks in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'LineBreaks' );
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.