mediawiki-extensions-Templa.../includes/TemplateStylesContentHandler.php
Kunal Mehta 37fc1df457 Use SPDX 3.0 license identifier
SPDX released version 3 of their license list (<https://spdx.org/licenses/>),
which changed the FSF licenses to explicitly end in -only or -or-later
instead of relying on an easy to miss + symbol.

Bug: T183858
Change-Id: Ic9accb2eb34bc32d455f48dfe81a91d23a2d5f5e
2018-03-03 23:27:16 +00:00

24 lines
409 B
PHP

<?php
/**
* @file
* @license GPL-2.0-or-later
*/
/**
* Content handler for sanitized CSS
*/
class TemplateStylesContentHandler extends CodeContentHandler {
/**
* @param string $modelId
*/
public function __construct( $modelId = 'sanitized-css' ) {
parent::__construct( $modelId, [ CONTENT_FORMAT_CSS ] );
}
protected function getContentClass() {
return TemplateStylesContent::class;
}
}