dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convert HTTP links to MediaWiki.org to HTTPS
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
skins
/
SideBarTest.php
diff --git
a/tests/phpunit/skins/SideBarTest.php
b/tests/phpunit/skins/SideBarTest.php
index
dceaf41
..
ec85bb0
100644
(file)
--- a/
tests/phpunit/skins/SideBarTest.php
+++ b/
tests/phpunit/skins/SideBarTest.php
@@
-104,10
+104,10
@@
class SideBarTest extends MediaWikiLangTestCase {
] );
$this->assertSideBar(
[ 'Title' => [
] );
$this->assertSideBar(
[ 'Title' => [
- # ** http://www.mediawiki.org/| Home
+ # ** http
s
://www.mediawiki.org/| Home
[
'text' => 'Home',
[
'text' => 'Home',
- 'href' => 'http://www.mediawiki.org/',
+ 'href' => 'http
s
://www.mediawiki.org/',
'id' => 'n-Home',
'active' => null,
'rel' => 'nofollow',
'id' => 'n-Home',
'active' => null,
'rel' => 'nofollow',
@@
-116,7
+116,7
@@
class SideBarTest extends MediaWikiLangTestCase {
# ... skipped since it is missing a pipe with a description
] ],
'* Title
# ... skipped since it is missing a pipe with a description
] ],
'* Title
-** http://www.mediawiki.org/| Home
+** http
s
://www.mediawiki.org/| Home
** http://valid.no.desc.org/
'
);
** http://valid.no.desc.org/
'
);
@@
-160,7
+160,7
@@
class SideBarTest extends MediaWikiLangTestCase {
private function getAttribs() {
# Sidebar text we will use everytime
$text = '* Title
private function getAttribs() {
# Sidebar text we will use everytime
$text = '* Title
-** http://www.mediawiki.org/| Home';
+** http
s
://www.mediawiki.org/| Home';
$bar = [];
$this->skin->addToSidebarPlain( $bar, $text );
$bar = [];
$this->skin->addToSidebarPlain( $bar, $text );