Jump to content

Extension:NonsaCodeJanitor

From mediawiki.org
MediaWiki extensions manual
NonsaCodeJanitor
Release status: unknown
Author(s) Ostrzyciel
Latest version 0.2.0
MediaWiki >= 1.35.0
License GNU General Public License 2.0 or later
Download

The NonsaCodeJanitor extension cleans up wikitext before saving. The specific cleanups it does are:

  • <references /> -> {{Przypisy}}
  • Various tweaks to image syntax.

The first of these makes sense on one specific wiki, such as https://nonsa.pl (although it doesn't appear to be installed there)

Installation

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

See also

[edit]