This change changes the CSS URL in the stylesheet link from
<link rel="stylesheet" href="/mediawiki/mw-config/index.php?css=1"/>
to
<link rel="stylesheet" href="/mediawiki/mw-config/?css=1"/>
on the website /mediawiki/mw-config/.
Change-Id: Ib46c4d944df862cf928d3ebd050ff2d1e16ba6a5
* @return string
*/
private function getCssUrl() {
- return Html::linkedStyle( $_SERVER['PHP_SELF'] . '?css=1' );
+ return Html::linkedStyle( $this->parent->getUrl( [ 'css' => 1 ] ) );
}
public function useShortHeader( $use = true ) {