MediaWiki
REL1_39
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:212
includes
parser
MWTidy.php
Generated on Mon Dec 16 2024 06:35:53 for MediaWiki by
1.10.0