Extension:PhpTags Wiki

From Linux Web Expert

MediaWiki extensions manual
PhpTags Wiki
Release status: beta
Implementation PHP
Description Contains features for working with MediaWiki core
Author(s) Pavel Astakhov (pastakhovtalk)
Latest version 1.6.5 (2015-05-28)
MediaWiki >= 1.35.3
PHP 5.3+
License GNU General Public License 2.0 or later
Download
  • $wgPhpTagsWikiExtractAnything
  • $wgPhpTagsWikiExtract
  • $wgPhpTagsWikiExtractOnParserOutput
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Translate the PhpTags Wiki extension if it is available at translatewiki.net

The PhpTags Wiki extension implements features for working with MediaWiki core with the PhpTags extension.

all the features of this extension are available only through the use of the PhpTags extension.

It provides the following classes:

  • W − @todo
  • WCache − manages the cache of page rendering
  • WCategory − representation for a category
  • WPage − representation for a page
  • WStats − accessors for the site-wide statistics
  • WTitle − represents a title within MediaWiki
  • WTitleArray − class to walk into a list of WTitle objects.

Installation

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/PhpTagsWiki</tvar>|Download]] and move the extracted <tvar name=name>PhpTagsWiki</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/PhpTagsWiki
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'PhpTagsWiki' );
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

See also