2019-05-31 13:46:11 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
// @phpcs:disable MediaWiki.Files.ClassMatchesFilename.NotMatch
|
|
|
|
|
2024-06-10 20:35:51 +00:00
|
|
|
use MediaWiki\Context\ContextSource;
|
2023-08-19 04:21:24 +00:00
|
|
|
use MediaWiki\Title\Title;
|
|
|
|
|
2019-05-31 13:46:11 +00:00
|
|
|
/**
|
|
|
|
* 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 {
|
|
|
|
|
|
|
|
/**
|
2022-08-08 11:03:45 +00:00
|
|
|
* @param Title|MediaWiki\Page\PageIdentity $title
|
2019-05-31 13:46:11 +00:00
|
|
|
* @return self
|
|
|
|
*/
|
2022-08-08 11:03:45 +00:00
|
|
|
public static function newFromTitle( $title ) {
|
2019-05-31 13:46:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return true
|
|
|
|
*/
|
|
|
|
public function displayTag() {
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param bool &$outputDone
|
|
|
|
* @param bool &$useParserCache
|
|
|
|
* @return bool
|
|
|
|
*/
|
|
|
|
public function setPageContent( &$outputDone, &$useParserCache ) {
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|