MediaWiki
REL1_40
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
Service locator for MediaWiki core services.
Definition
MediaWikiServices.php:223
includes
parser
MWTidy.php
Generated on Thu Jun 27 2024 14:03:40 for MediaWiki by
1.10.0