Extension:LineBreaks

Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:MIT licensed extensions
MediaWiki extensions manual
LineBreaks
Release status: stableCategory:Stable extensions
Implementation Parser extension Category:Parser extensions
Author(s) Dli7319talk
Latest version 1.0 (2020-07-20)
MediaWiki Category:Extensions without MediaWiki version
License MIT License
Download Category:Extensions in GitHub version control
Category:All extensionsCategory:Extensions not in ExtensionJson

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.

Installation

  • 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 file:
    wfLoadExtension( 'LineBreaks' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Category:All extensions Category:Extensions in GitHub version control Category:Extensions not in ExtensionJson Category:Extensions without MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:MIT licensed extensions Category:ParserBeforeInternalParse extensions Category:Parser extensions Category:Stable extensions