Temporaray revert of r94031; forgot that this was depending of some other work on...
[lhc/web/wiklou.git] / includes / Wiki.php
index 277bd99..1ba71a5 100644 (file)
@@ -503,6 +503,13 @@ class MediaWiki {
                                        }
                                }
                                break;
+                       case 'history':
+                               if ( $request->getFullRequestURL() == $title->getInternalURL( 'action=history' ) ) {
+                                       $output->setSquidMaxage( $wgSquidMaxage );
+                               }
+                               $history = new HistoryPage( $article );
+                               $history->history();
+                               break;
                        default:
                                if ( wfRunHooks( 'UnknownAction', array( $act, $article ) ) ) {
                                        $output->showErrorPage( 'nosuchaction', 'nosuchactiontext' );