WikiInfo is a JS script providing wiki information and statistics, including those that are not available with Magic words.
Installation
Usage
General syntax:
<span class="wi [info]"></span>
With [info] is the wiki information that will be display. Available information is as following:
| Info | Description | Magic word equivalent |
|---|---|---|
name/title
|
name | {{SITENAME}}
|
desc
|
description | |
url
|
full URL path | |
lang
|
default language | {{CONTENTLANG}}
|
articles
|
number of articles ("Main" namespace) | {{NUMBEROFARTICLES}}
|
edits
|
number of edits | {{NUMBEROFEDITS}}
|
discussions
|
number of discussions |
Example
The following wikitext:
This wiki's number of Discussions posts is <span class="wi discussions"></span>.
displays:
- This wiki's number of Discussions posts is .
Changelog
- 22 May 2019
- KhangND: Initial revision.
Text above can be found here (edit)