"@metadata": {
"authors": [
"Anomie",
- "Siebrand"
+ "Siebrand",
+ "Zoranzoki21"
]
},
"apihelp-query+exturlusage-param-namespace": "The page namespaces to enumerate.",
"apihelp-query+exturlusage-param-limit": "How many pages to return.",
"apihelp-query+exturlusage-param-expandurl": "Expand protocol-relative URLs with the canonical protocol.",
- "apihelp-query+exturlusage-example-simple": "Show pages linking to <kbd>http://www.mediawiki.org</kbd>.",
+ "apihelp-query+exturlusage-example-simple": "Show pages linking to <kbd>https://www.mediawiki.org</kbd>.",
"apihelp-query+filearchive-summary": "Enumerate all deleted files sequentially.",
"apihelp-query+filearchive-param-from": "The image title to start enumerating from.",
$retval = [];
while ( true ) {
$json = Http::get(
- wfAppendQuery( 'http://www.mediawiki.org/w/api.php', $params ),
+ wfAppendQuery( 'https://www.mediawiki.org/w/api.php', $params ),
[],
__METHOD__
);
] );
$this->assertSideBar(
[ 'Title' => [
- # ** http://www.mediawiki.org/| Home
+ # ** https://www.mediawiki.org/| Home
[
'text' => 'Home',
- 'href' => 'http://www.mediawiki.org/',
+ 'href' => 'https://www.mediawiki.org/',
'id' => 'n-Home',
'active' => null,
'rel' => 'nofollow',
# ... skipped since it is missing a pipe with a description
] ],
'* Title
-** http://www.mediawiki.org/| Home
+** https://www.mediawiki.org/| Home
** http://valid.no.desc.org/
'
);
private function getAttribs() {
# Sidebar text we will use everytime
$text = '* Title
-** http://www.mediawiki.org/| Home';
+** https://www.mediawiki.org/| Home';
$bar = [];
$this->skin->addToSidebarPlain( $bar, $text );