mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateStyles
synced 2024-11-24 00:06:06 +00:00
f8062128bf
Changes to the use statements done automatically via script Addition of missing use statement done manually Change-Id: Ie195f1614237370a19e91bf4e16f704cee678c0c
25 lines
409 B
PHP
25 lines
409 B
PHP
<?php
|
|
|
|
namespace MediaWiki\Extension\TemplateStyles;
|
|
|
|
use MediaWiki\Content\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 );
|
|
}
|
|
}
|