From 815a3de2bb4c4373b3615080cb19a95e64e8270e Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Wed, 27 Dec 2006 01:17:55 +0000 Subject: [PATCH] Revert the conditional un-including of ajax.js from last commit after conversation with brion on IRC. Will someone think of the poor extensions! --- includes/OutputPage.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 74c041fb4d..d83e1e1634 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -535,10 +535,7 @@ class OutputPage { $sk = $wgUser->getSkin(); if ( $wgUseAjax ) { - // No point in enabling it if watching is the only enabled thing and the user isn't logged in - if( $wgAjaxSearch || ( $wgAjaxWatch && $wgUser->isLoggedIn() )) { - $this->addScript( "\n" ); - } + $this->addScript( "\n" ); if( $wgAjaxSearch ) { $this->addScript( "\n" ); $this->addScript( "\n" ); -- 2.20.1