Fix for r57119, remove double-/ in URLs
authorAndrew Garrett <werdna@users.mediawiki.org>
Wed, 30 Sep 2009 17:44:40 +0000 (17:44 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Wed, 30 Sep 2009 17:44:40 +0000 (17:44 +0000)
includes/specials/SpecialWatchlist.php

index 8d3363a..1d04272 100644 (file)
@@ -20,7 +20,7 @@ function wfSpecialWatchlist( $par ) {
                global $wgServer, $wgScriptPath, $wgFeedClasses;
                $apiParams = array( 'action' => 'feedwatchlist', 'allrev' => 'allrev',
                                                        'wlowner' => $wgUser->getName(), 'wltoken' => $wlToken );
-               $feedTemplate = $wgServer . '/' . $wgScriptPath . '/api.php?';
+               $feedTemplate = $wgServer . $wgScriptPath . '/api.php?';
                
                foreach( $wgFeedClasses as $format => $class ) {
                        $theseParams = $apiParams + array( 'feedformat' => $format );