48 $config = $this->context->getConfig();
54 MediaWikiServices::getInstance()->getHookContainer()->emitDeprecationWarnings();
57 !$config->get( MainConfigNames::DebugToolbar ) &&
58 $this->getWikiPage()->checkTouched()
61 $redirFromTitle = $this->
getArticle()->getRedirectedFrom();
62 if ( !$redirFromTitle ) {
67 $redirFromTitle->getTouched()
72 if ( $touched && $this->
getOutput()->checkLastModified( $touched ) ) {
73 wfDebug( __METHOD__ .
": done 304" );
wfDebug( $text, $dest='all', array $context=[])
Sends a line to the debug log if enabled or, optionally, to a comment in output.
getWikiPage()
Get a WikiPage object.
getOutput()
Get the OutputPage being used for this instance.
getArticle()
Get a Article object.
A class containing constants representing the names of configuration variables.
An action that views article content.
getName()
Return the name of the action this object responds to.
needsReadRights()
Indicates whether this action requires read rights.
onView()
Show something on GET request.