Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -129,12 +129,11 @@ |
130 | 130 | $path = "{$wgStylePath}/common/{$file}"; |
131 | 131 | } |
132 | 132 | $this->addScript( |
133 | | - Xml::element( 'script', |
| 133 | + Html::element( 'script', |
134 | 134 | array( |
135 | 135 | 'type' => $wgJsMimeType, |
136 | 136 | 'src' => "$path?$wgStyleVersion", |
137 | | - ), |
138 | | - '', false |
| 137 | + ) |
139 | 138 | ) |
140 | 139 | ); |
141 | 140 | } |