No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:CountThings}}'''CountThings''' introduces a set of tags for counting various metadata in the wiki. Available tags are: countarticles, countusers, countfiles, and countcharacters. | {{DISPLAYTITLE:CountThings}}'''CountThings''' introduces a set of tags for counting various metadata in the wiki. Available tags are: ''countarticles'', ''countusers'', ''countfiles'', and ''countcharacters''. | ||
== | ==Usage== | ||
[[File: | The tags are added as Content Droplets in visual edit mode. | ||
[[File:Extension BlueSpiceCountThings droplets.png|alt=Content Droplets menu filtered for "Number of" |center|thumb|550x550px|Inserting counted information via Content Droplets]] | |||
<br /> | |||
=== Available Content Droplets === | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
!Content Droplet | |||
! style="width:150px;" |Inserts tag | |||
!Description | |||
|- | |||
|Number of characters | |||
| style="width:150px;" |<nowiki><countcharacters /></nowiki> | |||
|Counts all characters or words on a wiki page: | |||
* ''all (default)'': displays all of the above information in a table | |||
* ''characters'': number of characters on the current page (based on the wiki code, including spaces) | |||
* ''words'': number of words on the current page | |||
* ''characters and words:'' number of words and characters on the current page | |||
* ''pages:'' number of pages the current article would occupy when printed or exported | |||
|- | |||
|Number of files | |||
| style="width:150px;" |<nowiki><countfiles /></nowiki> | |||
|Counts all uploaded files | |||
|- | |||
|Number of pages | |||
| style="width:150px;" |<nowiki><countarticles /></nowiki> | |||
|Counts all content pages in the wiki | |||
|- | |||
|Number of users | |||
| style="width:150px;" |<nowiki><countusers /></nowiki> | |||
|Counts all registered users | |||
|} | |||
===Configuring the countcharacters tag=== | ===Configuring the countcharacters tag=== | ||
While other tags have no configuration options, and just adding them to the page is sufficient, the ''countcharacters'' | While other tags have no configuration options, and just adding them to the page is sufficient, the tag ''Number of characters (countcharacters)'' must be configured. | ||
After inserting this tag or clicking on an existing tag already on the page, a dialog opens. | After inserting this tag or clicking on an existing tag already on the page, a dialog opens. | ||
| Line 17: | Line 47: | ||
While selecting the mode and page, a preview of the output is displayed above the dialog box. If the page title in the table heading shows the page name in red ("redlink"), you have misspelled the page name and the page does not exist. | While selecting the mode and page, a preview of the output is displayed above the dialog box. If the page title in the table heading shows the page name in red ("redlink"), you have misspelled the page name and the page does not exist. | ||
{{Translation}} | {{Translation}} | ||
[[Category:Editing]] | [[Category:Editing]] | ||
Latest revision as of 15:27, 15 May 2026
CountThings introduces a set of tags for counting various metadata in the wiki. Available tags are: countarticles, countusers, countfiles, and countcharacters.
Usage
The tags are added as Content Droplets in visual edit mode.

Available Content Droplets
| Content Droplet | Inserts tag | Description |
|---|---|---|
| Number of characters | <countcharacters /> | Counts all characters or words on a wiki page:
|
| Number of files | <countfiles /> | Counts all uploaded files |
| Number of pages | <countarticles /> | Counts all content pages in the wiki |
| Number of users | <countusers /> | Counts all registered users |
Configuring the countcharacters tag
While other tags have no configuration options, and just adding them to the page is sufficient, the tag Number of characters (countcharacters) must be configured.
After inserting this tag or clicking on an existing tag already on the page, a dialog opens.


Enter the name of the page for which to count characters. This name should include the namespace if the page is not in the main namespace. Next, select the mode from the dropdown menu.
While selecting the mode and page, a preview of the output is displayed above the dialog box. If the page title in the table heading shows the page name in red ("redlink"), you have misspelled the page name and the page does not exist.