Fixed bug that caused the last parameter of the generated users scripts (see Skin...
authorTrevor Parscal <tparscal@users.mediawiki.org>
Thu, 16 Jul 2009 19:27:06 +0000 (19:27 +0000)
committerTrevor Parscal <tparscal@users.mediawiki.org>
Thu, 16 Jul 2009 19:27:06 +0000 (19:27 +0000)
includes/OutputPage.php

index e317827..614b812 100644 (file)
@@ -158,7 +158,7 @@ class OutputPage {
                        Xml::element( 'script',
                                array(
                                        'type' => $wgJsMimeType,
-                                       'src' => "$path?" . $this->getURIDparam(),
+                                       'src' => wfAppendQuery( $path, $this->getURIDparam() ),
                                ),
                                '', false
                        )