SemanticMediaWiki/includes/SMW_RefreshTab.php File Reference

Go to the source code of this file.

Functions

 smwfAddRefreshTab ($skin, &$content_actions)
 Extends the provided array of content actions with an action that refreshes the article, i.e.
 smwfAddStructuredRefreshTab ($skin, &$links)
 Adds the refresh action like smwfAddRefreshTab(), but places it into the structure of actions as used in new "Vector"-type skins.

Variables

if(!defined( 'MEDIAWIKI')) global $wgHooks
 Protect against register_globals vulnerabilities.
 $wgHooks ['SkinTemplateTabs'][] = 'smwfAddRefreshTab'
 $wgHooks ['SkinTemplateNavigation'][] = 'smwfAddStructuredRefreshTab'


Detailed Description

Definition in file SMW_RefreshTab.php.


Function Documentation

smwfAddRefreshTab ( skin,
&$  content_actions 
)

Extends the provided array of content actions with an action that refreshes the article, i.e.

it purges the article from the cache and thus refreshes the inline queries.

Definition at line 24 of file SMW_RefreshTab.php.

Referenced by smwfAddStructuredRefreshTab().

smwfAddStructuredRefreshTab ( skin,
&$  links 
)

Adds the refresh action like smwfAddRefreshTab(), but places it into the structure of actions as used in new "Vector"-type skins.

Definition at line 42 of file SMW_RefreshTab.php.

References smwfAddRefreshTab().


Variable Documentation

$wgHooks['SkinTemplateNavigation'][] = 'smwfAddStructuredRefreshTab'

Definition at line 18 of file SMW_RefreshTab.php.

$wgHooks['SkinTemplateTabs'][] = 'smwfAddRefreshTab'

Definition at line 17 of file SMW_RefreshTab.php.

if (!defined( 'MEDIAWIKI')) global $wgHooks

Protect against register_globals vulnerabilities.

This line must be present before any global variable is referenced.

Definition at line 11 of file SMW_RefreshTab.php.


Generated on Sun Mar 18 07:15:41 2012 for Semantic MediaWiki by  doxygen 1.5.6