44 $config = $this->context->getConfig();
47 $config->get(
'DebugToolbar' ) ==
false &&
48 $this->page->checkTouched()
51 $redirFromTitle = $this->page->getRedirectedFrom();
52 if ( !$redirFromTitle ) {
53 $touched = $this->page->getTouched();
54 } elseif ( $config->get(
'MaxRedirects' ) <= 1 ) {
55 $touched = max( $this->page->getTouched(), $redirFromTitle->getTouched() );
62 if ( $touched && $this->
getOutput()->checkLastModified( $touched ) ) {
63 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.