Create basic content function

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
2026-05-17 11:16:19 -07:00
parent cbf305dd05
commit d39458d53b
6 changed files with 115 additions and 192 deletions

View File

@@ -0,0 +1,32 @@
<?php
namespace MediaWiki\Extension\AnatImageViewer;
use TextContent;
class AnnotationContent extends TextContent {
public function __construct( $modelId = 'annotation' ) {
parent::__construct( $modelId );
}
/*
public function getTextForSearchIndex() {
}
public function getWikitextForTransclusion() {
}
public function getTextForSummary( $maxLength = 250 ) {
}
public function getSize() {
}
public function copy() {
}
*/
public function isCountable( $hasLinks = null ) {
return false;
}
}