minor bug
authorGabriel Wicke <gwicke@users.mediawiki.org>
Sat, 10 Apr 2004 00:05:49 +0000 (00:05 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Sat, 10 Apr 2004 00:05:49 +0000 (00:05 +0000)
includes/PageHistory.php

index 73ac452..323bf4f 100644 (file)
@@ -109,6 +109,7 @@ class PageHistory {
        {
                global $wgTitle;
                $this->lastdate = $this->lastline = "";
+               $url = $wgTitle->getFullURL("-");
                $s = "\n<script type='text/javascript'>
                        /*<![CDATA[*/
                        var sel = -1;
@@ -140,7 +141,6 @@ class PageHistory {
                        /*]]>*/
                </script>";
                $s .= "\n<p>" . wfMsg( "histlegend" ) . "</p>\n<ul class='special'>";
-               $url = $wgTitle->getFullURL("-");
                return $s;
        }