MediaWiki
REL1_37
MWTidy.php
Go to the documentation of this file.
1
<?php
24
use
MediaWiki\MediaWikiServices
;
25
31
class
MWTidy
{
43
public
static
function
tidy
( $text ) {
44
return
MediaWikiServices::getInstance()->getTidy()->tidy( $text );
45
}
46
}
MWTidy
Class to interact with and configure Remex tidy.
Definition
MWTidy.php:31
MWTidy\tidy
static tidy( $text)
Interface with Remex tidy.
Definition
MWTidy.php:43
MediaWiki\MediaWikiServices
MediaWikiServices is the service locator for the application scope of MediaWiki.
Definition
MediaWikiServices.php:190
includes
parser
MWTidy.php
Generated on Fri Apr 5 2024 23:40:40 for MediaWiki by
1.9.8