Extension:Numbertext/de-formal
This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. If you are interested in taking on the task of developing and maintaining this extension, you can request repository ownership. As a courtesy, you may want to contact the author. You should also remove this template and list yourself as maintaining the extension in the page's {{extension}} infobox. |
![]() Release status: unmaintained |
|
---|---|
Implementation | Parser function |
Description | Allows to transform numbers into words |
Author(s) | Pavel Astakhov (PastakhovDiskussion) |
Latest version | 0.10.0 (2014-04-01) |
MediaWiki | |
PHP | 5.3+ |
Database changes | No |
License | LGPL/BSD dual-license |
Download | |
Example | test.foxway.org |
|
|
Quarterly downloads | 3 (Ranked 172nd) |
Translate the Numbertext extension if it is available at translatewiki.net | |
The Numbertext extension allows to transform numbers into words. It based on the numbertext.org service and supports more than thirty languages.
Usage
{{#numbertext:number|language}}
{{#moneytext:number|currency|language}}
where:
- number - the number to transform into words
- currency - currency of money (sample: "USD", "EUR", "RUB", etc)
- language - language for transform (optional, sample "en", "en_US", "ru", "ru_RU", etc)
Default language sets by variable $wgNumbertext_defaultLang
, which by default equally $wgLanguageCode
(see Site language).
You can specify a different default language, or an empty string, and will use the language specified in the user preferences.
Installation
- Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens
Numbertext
im Ordnerextensions/
ablegen. - Folgenden Code am Ende Ihrer
LocalSettings.php
hinzufügen:require_once "$IP/extensions/Numbertext/Numbertext.php";
- Done – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.
This extension is included in the following packages and/or wiki farms: This is not an authoritative list. Some wiki farms/hosts may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |