Skip to content

Github mirror of MediaWiki extension WhiteSpace - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing)

Notifications You must be signed in to change notification settings

wikimedia/mediawiki-extensions-WhiteSpace

Repository files navigation

<!-- README -->

== Purpose ==

`WhiteSpace' extension introduces two tags to control white space:

* <dws/> discards itself and all the whitespace (including newlines) after, up to the first
non-whitespace character.

* <nl/> discards itself but inserts a newline.

Primary purpose of the tags -- allow nice (almost free) formatting in templates, for example:

 {{ The first
    |   Arg1
    |   Arg2
 }}<dws/>
 {{  The second
 }}

In resulting text there will not be any space between the results of templates.

== License ==

GNU Affero General Public License, version 3 or any later version.

See `AGPL-3.0.txt' file for the full license text.

<!-- end of file -->

About

Github mirror of MediaWiki extension WhiteSpace - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing)

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published