mediawiki-extensions-Visual.../.phan/stubs/FlaggedRevs.php
gerritbot d5cc6fc32a Replace some moved Title class uses, now MediaWiki\Title\Title
Bug: T321681
Change-Id: I1bb6e39d33b2bdb00fbe70fec0bcca1d71ad3a17
2023-08-19 12:17:42 +00:00

36 lines
739 B
PHP

<?php
// @phpcs:disable MediaWiki.Files.ClassMatchesFilename.NotMatch
use MediaWiki\Title\Title;
/**
* Phan stub for the soft dependency to FlaggedRevs extension
* There is no hard dependency and VisualEditor is a dependency to many other extensions,
* so this class is stubbed and not verified against the original class
*/
class FlaggablePageView extends ContextSource {
/**
* @param Title|MediaWiki\Page\PageIdentity $title
* @return self
*/
public static function newFromTitle( $title ) {
}
/**
* @return true
*/
public function displayTag() {
}
/**
* @param bool &$outputDone
* @param bool &$useParserCache
* @return bool
*/
public function setPageContent( &$outputDone, &$useParserCache ) {
}
}