The WMF websites redirect from HTTP to HTTPS.
Change-Id: I916c97697b4ffa9774eec9c8e6ab650a08bb6edd
// "$wgResourceBasePath/resources/assets/poweredby_mediawiki_88x31.png"
// plus srcset for 1.5x, 2x resolution variants.
"src" => null,
- "url" => "//www.mediawiki.org/",
+ "url" => "https://www.mediawiki.org/",
"alt" => "Powered by MediaWiki",
]
],
$helpUrl = $to;
} else {
$toUrlencoded = wfUrlencode( str_replace( ' ', '_', $to ) );
- $helpUrl = "//www.mediawiki.org/wiki/Special:MyLanguage/$toUrlencoded";
+ $helpUrl = "https://www.mediawiki.org/wiki/Special:MyLanguage/$toUrlencoded";
}
$link = Html::rawElement(
return;
}
- $this->addHelpLink( '//meta.wikimedia.org/wiki/Special:MyLanguage/Help:Page_history', true );
+ $this->addHelpLink(
+ 'https://meta.wikimedia.org/wiki/Special:MyLanguage/Help:Page_history',
+ true
+ );
// Fail nicely if article doesn't exist.
if ( !$this->page->exists() ) {
$url2 = htmlspecialchars(
"$resourceBasePath/resources/assets/poweredby_mediawiki_176x62.png"
);
- $text = '<a href="//www.mediawiki.org/"><img src="' . $url1
+ $text = '<a href="https://www.mediawiki.org/"><img src="' . $url1
. '" srcset="' . $url1_5 . ' 1.5x, ' . $url2 . ' 2x" '
. 'height="31" width="88" alt="Powered by MediaWiki" /></a>';
Hooks::run( 'SkinGetPoweredBy', [ &$text, $this ] );
$action = $this->getPageTitle()->getLocalURL( [ 'action' => 'submit' ] );
$user = $this->getUser();
$out = $this->getOutput();
- $this->addHelpLink( '//meta.wikimedia.org/wiki/Special:MyLanguage/Help:Import', true );
+ $this->addHelpLink( 'https://meta.wikimedia.org/wiki/Special:MyLanguage/Help:Import', true );
if ( $user->isAllowed( 'importupload' ) ) {
$mappingSelection = $this->getMappingFormPart( 'upload' );
}
$this->addHelpLink(
- '//meta.wikimedia.org/wiki/Special:MyLanguage/Help:Recent_changes',
+ 'https://meta.wikimedia.org/wiki/Special:MyLanguage/Help:Recent_changes',
true
);
parent::execute( $subpage );
}
bitDiv( 'mwversion' )
- .append( $( '<a>' ).attr( 'href', '//www.mediawiki.org/' ).text( 'MediaWiki' ) )
+ .append( $( '<a>' ).attr( 'href', 'https://www.mediawiki.org/' ).text( 'MediaWiki' ) )
.append( document.createTextNode( ': ' + this.data.mwVersion + ' ' ) )
.append( gitInfo );