Extension:WikiCategoryTagCloud/ha
WikiCategoryTagCloud Release status: stable |
|
---|---|
Implementation | Tag , Skin |
Description | Allows users to add tag clouds based on categories to a page via the <tagcloud> tag |
Author(s) | |
Latest version | 1.3.3 (2017-09-19) |
Compatibility policy | Snapshots releases along with MediaWiki. Master is not backward compatible. |
MediaWiki | 1.39+ |
PHP | 5.5+ |
Database changes | No |
License | GNU General Public License 2.0 or later |
Download | |
<tagcloud> |
|
Quarterly downloads | 17 (Ranked 123rd) |
Public wikis using | 1,274 (Ranked 216th) |
Translate the WikiCategoryTagCloud extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
Tsawon WikiCategoryTagCloud yana bawa masu amfani damar ƙara alamar gajimare bisa ga rukunan zuwa shafi.
Usage
These in text parameters from the original extension still work the same:
- min_count
- Nuna alama kawai don rukuni, idan rukunin ya ƙunshi aƙalla labaran min_count. Ƙimar ta asali: 0.
- min_size
- Yana bayyana mafi ƙarancin girman rubutu. (Na asali: 77).
- increase_factor
- Yana bayyana dalilin ƙara girman rubutu da adadin makalai. Ƙima ta asali: 100.
- exclude
- Ayyana nau'ikan da ba ku so a nuna su. Yi amfani da nukuda ta ƙasa maimakon sarari a cikin sunayen rukuni, yi amfani da waƙafi don raba rukunoni, kamar haka:
<tagcloud>exclude=television,television_series,celebrities,food,yoga</tagcloud>
yana sanya nau'ikan television
, television series
, celebrities
, food
, yoga
don kada su bayyana a cikin rukunan girgije.
Launi a cikin sigogin rubutu ba ya aiki kuma, maimakon haka muna da sigogin XML:
- class
- Adds CSS classes to the tag cloud itself (The tagcloud class is always included).
- style
- Adds CSS styles to the style parameter of the tag cloud.
- linkclass
- Yana ƙara azuzuwan CSS zuwa mahaɗan.
- linkstyle
- Adds CSS styles to the links' style parameters.
a cikin sigogin rubutu ana sanya su a tsakanin alamun biyu, kuma ana yin sigogin XML a cikin alamar buɗewa. Anan ga misalin amfani da ke nuna inda aka sanya abubuwa.
<tagcloud style="background: black;">
min_size=55
exclude=browse
</tagcloud>
Installation
- Download and move the extracted
WikiCategoryTagCloud
folder to yourextensions/
directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiCategoryTagCloud - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'WikiCategoryTagCloud' );
- Optional: Add the pages to invalidate the cache for to
MediaWiki:Tagcloudpages
(one title per line). - Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
This extension was migrated from Daniel Friesen's Wiki-Tools.com and checked into Wikimedia's software repository. |
This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |