mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateStyles
synced 2024-11-27 17:50:29 +00:00
3b337af58d
Change-Id: I7f64539f1c9c4c03088e28e99f77a9acc503f627
25 lines
391 B
PHP
25 lines
391 B
PHP
<?php
|
|
|
|
namespace MediaWiki\Extension\TemplateStyles;
|
|
|
|
use TextContent;
|
|
|
|
/**
|
|
* @file
|
|
* @license GPL-2.0-or-later
|
|
*/
|
|
|
|
/**
|
|
* Content object for sanitized CSS.
|
|
*/
|
|
class TemplateStylesContent extends TextContent {
|
|
|
|
/**
|
|
* @param string $text
|
|
* @param string $modelId
|
|
*/
|
|
public function __construct( $text, $modelId = 'sanitized-css' ) {
|
|
parent::__construct( $text, $modelId );
|
|
}
|
|
}
|