39 $config = $this->context->getConfig();
42 $config->get(
'DebugToolbar' ) ==
false &&
43 $this->page->checkTouched()
46 $redirFromTitle = $this->page->getRedirectedFrom();
47 if ( !$redirFromTitle ) {
48 $touched = $this->page->getTouched();
49 } elseif ( $config->get(
'MaxRedirects' ) <= 1 ) {
50 $touched = max( $this->page->getTouched(), $redirFromTitle->getTouched() );
57 if ( $touched && $this->
getOutput()->checkLastModified( $touched ) ) {
58 wfDebug( __METHOD__ .
": done 304\n" );
wfDebug( $text, $dest='all', array $context=[])
Sends a line to the debug log if enabled or, optionally, to a comment in output.
getOutput()
Get the OutputPage being used for this instance.
An action that views article content.
getName()
Return the name of the action this object responds to.
show()
The main action entry point.
onView()
Show something on GET request.