From db6214985ab9e27c69c0b9b6d44e980f2a1462ca Mon Sep 17 00:00:00 2001
From: Mark Holmquist
Date: Mon, 25 Feb 2013 15:37:43 -0800
Subject: [PATCH] (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
---
tests/parser/parserTest.inc | 2 +-
tests/parser/parserTests.txt | 10 +++++-----
tests/phpunit/includes/parser/NewParserTest.php | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/tests/parser/parserTest.inc b/tests/parser/parserTest.inc
index aa56e6e3f1..13217e21ff 100644
--- a/tests/parser/parserTest.inc
+++ b/tests/parser/parserTest.inc
@@ -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',
diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt
index d63fb3b18c..ede4ae92f3 100644
--- a/tests/parser/parserTests.txt
+++ b/tests/parser/parserTests.txt
@@ -4626,7 +4626,7 @@ Magic Word: {{SERVER}}
!! input
{{SERVER}}
!! result
-http://Britney-Spears
+
http://example.org
!! end
@@ -4635,7 +4635,7 @@ Magic Word: {{SERVERNAME}}
!! input
{{SERVERNAME}}
!! result
-Britney-Spears
+
example.org
!! end
@@ -8771,9 +8771,9 @@ Sanitizer: Validating that and work, but only for Microdata
<meta http-equiv="refresh" content="5">
-
- <link rel="stylesheet" href="http://Britney-Spears">
-
+
+ <link rel="stylesheet" href="http://example.org">
+
!! end
diff --git a/tests/phpunit/includes/parser/NewParserTest.php b/tests/phpunit/includes/parser/NewParserTest.php
index ec9ee1ab31..f8d0c37f53 100644
--- a/tests/phpunit/includes/parser/NewParserTest.php
+++ b/tests/phpunit/includes/parser/NewParserTest.php
@@ -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',
--
2.20.1