Difference between revisions of "Mediawiki Extension WhosOnline"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
	
        
		
	
| m (Added infobox and semantic variables) | m (Text replacement - "Template-uk:Class-Infobox-Software" to "Template:Class-Infobox-Software") | ||
| Line 1: | Line 1: | ||
| '''<span style="color:white; background:white">[[PageName::{{PAGENAME}}|]]</span>''' | '''<span style="color:white; background:white">[[PageName::{{PAGENAME}}|]]</span>''' | ||
| <!-- Template Infobox Software --> | <!-- Template Infobox Software --> | ||
| − | {{Template | + | {{Template:Class-Infobox-Software | 
| 	|image = <!-- If an logo is required, enter the link here --> | 	|image = <!-- If an logo is required, enter the link here --> | ||
| 	|Section = [[Section::{{PAGENAME}}]] | 	|Section = [[Section::{{PAGENAME}}]] | ||
Revision as of 13:38, 25 February 2021
Mediawiki Extension WhosOnline
	| Section: | Mediawiki Extension WhosOnline | 
|---|---|
| Source: | DataSource | 
| Language: | English | 
| Subject: | Mediawiki | 
| Document Type : | Extension | 
| Last Edit By: | DochyJP | 
| LastEdit: | 2021-02-25 | 
| Document Status: | Active | 
Description
The WhosOnline extension adds a special page - Special:WhosOnline - for viewing the list of users currently viewing a page on the wiki.
Installation
Download
Download the extension from here.
Activation
Set this in your LocalSettings.php file
wfLoadExtension( 'WhosOnline' );
Configuration
Set
$wgWhosOnlineShowAnons = true;
If you want anonymous users IP addresses shown. Default is not to show them, for privacy reasons.
Usage
Users who login after the extension is installed can be seen at Special:WhosOnline. Refresh the page if it is blank. As of version 1.3.1 it is possible to include the contents of the special page into a page: {{:Special:WhosOnline}}. If you use {{:Special:WhosOnline/10/shownav}} it will only show 10 users and will have the navigation controls.