aboutsummaryrefslogtreecommitdiffstats
path: root/wiki.phtml
diff options
context:
space:
mode:
authorBrion Vibber <brion@users.mediawiki.org>2003-12-21 12:01:29 +0000
committerBrion Vibber <brion@users.mediawiki.org>2003-12-21 12:01:29 +0000
commit0020aa84d1209b14e85026cadd262e63faeb417e (patch)
tree4e616e68260cebb22db0102053c162424a836493 /wiki.phtml
parent1baf68953ae2a81d9941d3024f9725a782b448fe (diff)
downloadmediawikicore-0020aa84d1209b14e85026cadd262e63faeb417e.tar.gz
mediawikicore-0020aa84d1209b14e85026cadd262e63faeb417e.zip
Split off page history code to PageHistory.php out of Article.php and Skin.php.
No substantive changes yet.
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2224
Diffstat (limited to 'wiki.phtml')
-rw-r--r--wiki.phtml6
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" );
}