47 $config = $this->context->getConfig();
53 MediaWikiServices::getInstance()->getHookContainer()->emitDeprecationWarnings();
56 $config->get(
'DebugToolbar' ) ==
false &&
57 $this->getWikiPage()->checkTouched()
60 $redirFromTitle = $this->
getArticle()->getRedirectedFrom();
61 if ( !$redirFromTitle ) {
63 } elseif ( $config->get(
'MaxRedirects' ) <= 1 ) {
66 $redirFromTitle->getTouched()
74 if ( $touched && $this->
getOutput()->checkLastModified( $touched ) ) {
75 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.
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.
show()
Stable to override.
onView()
Show something on GET request.