Difference between revisions of "Manual:Extension/BlueSpiceCountThings"

[quality revision][quality revision]
(Changed categories.)

About BlueSpiceCountThings[edit | edit source]

BlueSpiceCountThings introduces a set of tags for counting various metadata in the wiki. Available tags: countarticles, countusers, countfiles, and countcharacters.

Inserting tags[edit | edit source]

Insert magic word
Insert magic word

Tags are added through the "InsertMagic" dialog by clicking on "Insert" in VisualEditor toolbar and then on "Magic word". In the resulting dialog, choose one of the four previously mentioned types of tags and click "Done".

choosing a tag
choosing a tag

Configuring the countcharacters tag[edit | edit source]

While other tags have no configuration options, and just adding them to the page is sufficient, the countcharacters tag must be configured.

After inserting this tag or clicking on an existing tag already on the page, a dialog opens.

Count characters dialog box
Count characters dialog box
Redlink page
Redlink page

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.

Inserting tags in wikitext[edit | edit source]

If you add the tags in source code edit mode, use the following syntax.

<bs:countarticles />
<bs:countusers />
<bs:countfiles />
<bs:countcharacters mode="Words">ARTICLENAME</bs:countcharacters>

For the "countcharacters" tag, replace ARTICLENAME with the page name for which you want to get the count values. Also, "mode" can be adjusted as needed. For details, visit the reference page:

Related info

        __TOC__
        

        ==About BlueSpiceCountThings==
        

        '''BlueSpiceCountThings''' introduces a set of tags for counting various metadata in the wiki. Available tags: countarticles, countusers, countfiles, and countcharacters.
        

        ==Inserting tags==
        
        [[File:Manual:ve-magicword.png|link=https://en.wiki.bluespice.com/wiki/File:Manual:ve-magicword.png|alt=Insert magic word|thumb|151x151px|Insert magic word]]
        
        Tags are added through the "InsertMagic" dialog by clicking on "Insert" in VisualEditor toolbar and then on "Magic word". In the resulting dialog, choose one of the four previously mentioned types of tags and click "Done".<br />
        
        [[File:Manual:VE-magicword-countarticles.png|alt=choosing a tag|center|thumb|450x450px|choosing a tag]]
        

        ===Configuring the countcharacters tag===
        
        While other tags have no configuration options, and just adding them to the page is sufficient, the ''countcharacters'' tag must be configured.
        

        After inserting this tag or clicking on an existing tag already on the page, a dialog  opens.
        
        [[File:Manual:VE-magicword-countcharacterswords.png|alt=Count characters dialog box|center|thumb|600x600px|Count characters dialog box]]
        
        [[File:Manual:VE-magicword-countcharactersredlink.png|alt=Redlink page|thumb|180x180px|Redlink page]]
        
        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.
        

        ===Inserting tags in wikitext===
        
        If you add the tags in source code edit mode, use the following syntax.
        <pre>
        <bs:countarticles />
        <bs:countusers />
        <bs:countfiles />
        <bs:countcharacters mode="Words">ARTICLENAME</bs:countcharacters>
        </pre>
        

        For the "countcharacters" tag, replace ARTICLENAME with the page name for which you want to get the count values. Also, "mode" can be adjusted as needed. For details, visit the reference page:
        

        {{Box Links-en|Topic1=[[Reference:BlueSpiceCountThings]]}}
        

        {{Translation}}
            
            [[Category:Extension]]
            
            [[Category:BlueSpice free]]
Line 37: Line 37:
  
 
{{Translation}}
 
{{Translation}}
 +
[[Category:Extension]]
 +
[[Category:BlueSpice free]]

Attachments

Discussions