(bug 45396) Use IETF example domains, not Britney
I don't know why Britney-Spears was in core parser tests as the example domain name, but....well, suffice it to say she's not any more. We're using example.org now, like sane people. Change-Id: I47b53b94b4d7e8ad4a992de5e112685df48156c2
This commit is contained in:
parent
9bdc558bc4
commit
db6214985a
3 changed files with 7 additions and 7 deletions
|
|
@ -631,7 +631,7 @@ class ParserTest {
|
|||
self::getOptionValue( 'wgLinkHolderBatchSize', $opts, 1000 );
|
||||
|
||||
$settings = array(
|
||||
'wgServer' => 'http://Britney-Spears',
|
||||
'wgServer' => 'http://example.org',
|
||||
'wgScript' => '/index.php',
|
||||
'wgScriptPath' => '/',
|
||||
'wgArticlePath' => '/wiki/$1',
|
||||
|
|
|
|||
|
|
@ -4626,7 +4626,7 @@ Magic Word: {{SERVER}}
|
|||
!! input
|
||||
{{SERVER}}
|
||||
!! result
|
||||
<p><a rel="nofollow" class="external free" href="http://Britney-Spears">http://Britney-Spears</a>
|
||||
<p><a rel="nofollow" class="external free" href="http://example.org">http://example.org</a>
|
||||
</p>
|
||||
!! end
|
||||
|
||||
|
|
@ -4635,7 +4635,7 @@ Magic Word: {{SERVERNAME}}
|
|||
!! input
|
||||
{{SERVERNAME}}
|
||||
!! result
|
||||
<p>Britney-Spears
|
||||
<p>example.org
|
||||
</p>
|
||||
!! end
|
||||
|
||||
|
|
@ -8771,9 +8771,9 @@ Sanitizer: Validating that <meta> and <link> work, but only for Microdata
|
|||
<meta http-equiv="refresh" content="5">
|
||||
<meta itemprop="hello" content="5" />
|
||||
</p>
|
||||
<link itemprop="hello" href="http://Britney-Spears" />
|
||||
<link rel="stylesheet" href="<a rel="nofollow" class="external free" href="http://Britney-Spears">http://Britney-Spears</a>">
|
||||
<link itemprop="hello" href="http://Britney-Spears" />
|
||||
<link itemprop="hello" href="http://example.org" />
|
||||
<link rel="stylesheet" href="<a rel="nofollow" class="external free" href="http://example.org">http://example.org</a>">
|
||||
<link itemprop="hello" href="http://example.org" />
|
||||
</div>
|
||||
|
||||
!! end
|
||||
|
|
|
|||
|
|
@ -275,7 +275,7 @@ class NewParserTest extends MediaWikiTestCase {
|
|||
}
|
||||
|
||||
$settings = array(
|
||||
'wgServer' => 'http://Britney-Spears',
|
||||
'wgServer' => 'http://example.org',
|
||||
'wgScript' => '/index.php',
|
||||
'wgScriptPath' => '/',
|
||||
'wgArticlePath' => '/wiki/$1',
|
||||
|
|
|
|||
Loading…
Reference in a new issue