diff options
Diffstat (limited to 'wiki.phtml')
-rw-r--r-- | wiki.phtml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/wiki.phtml b/wiki.phtml index 5141de3adfe9..962a97efb505 100644 --- a/wiki.phtml +++ b/wiki.phtml @@ -74,7 +74,6 @@ if ( Namespace::getSpecial() == $wgTitle->getNamespace() ) { case "view": case "watch": case "unwatch": - case "history": case "delete": case "revert": case "rollback": @@ -91,6 +90,11 @@ if ( Namespace::getSpecial() == $wgTitle->getNamespace() ) { $editor = new EditPage( $wgArticle ); $editor->$action(); break; + case "history": + include_once( "PageHistory.php" ); + $history = new PageHistory( $wgArticle ); + $history->history(); + break; default: $wgOut->errorpage( "nosuchaction", "nosuchactiontext" ); } |