Amire80 has uploaded a new change for review.
https://gerrit.wikimedia.org/r/243019
Change subject: Fix spelling of "fragment" in test descriptions
......................................................................
Fix spelling of "fragment" in test descriptions
Change-Id: I97ca75b9c587443e195b1c162dcfee7880a5e226
---
M tests/phpunit/includes/WikiMapTest.php
M tests/phpunit/includes/WikiReferenceTest.php
M tests/qunit/suites/resources/mediawiki/mediawiki.Uri.test.js
3 files changed, 8 insertions(+), 8 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/19/243019/1
diff --git a/tests/phpunit/includes/WikiMapTest.php
b/tests/phpunit/includes/WikiMapTest.php
index 2092e0c..08ba41d 100644
--- a/tests/phpunit/includes/WikiMapTest.php
+++ b/tests/phpunit/includes/WikiMapTest.php
@@ -118,7 +118,7 @@
return array(
'unknown' => array( false, 'xyzzy', 'Foo' ),
'enwiki' => array( 'http://en.example.org/w/Foo',
'enwiki', 'Foo' ),
- 'ruwiki with fragement' => array(
+ 'ruwiki with fragment' => array(
'//ru.example.org/wiki/%D0%A4%D1%83#%D0%B2%D0%B0%D1%80',
'ruwiki',
'Фу',
diff --git a/tests/phpunit/includes/WikiReferenceTest.php
b/tests/phpunit/includes/WikiReferenceTest.php
index 308851a..85ddafc 100644
--- a/tests/phpunit/includes/WikiReferenceTest.php
+++ b/tests/phpunit/includes/WikiReferenceTest.php
@@ -31,7 +31,7 @@
public function provideGetCanonicalUrl() {
return array(
- 'no fragement' => array(
+ 'no fragment' => array(
'https://acme.com/wiki/Foo',
'https://acme.com',
'//acme.com',
@@ -39,7 +39,7 @@
'Foo',
null
),
- 'empty fragement' => array(
+ 'empty fragment' => array(
'https://acme.com/wiki/Foo',
'https://acme.com',
'//acme.com',
@@ -63,7 +63,7 @@
'Foo',
'Bar#Xus'
),
- 'escaped fragement' => array(
+ 'escaped fragment' => array(
'https://acme.com/wiki/Foo%23Bar',
'https://acme.com',
'//acme.com',
@@ -101,7 +101,7 @@
public function provideGetFullUrl() {
return array(
- 'no fragement' => array(
+ 'no fragment' => array(
'//acme.com/wiki/Foo',
'https://acme.com',
'//acme.com',
@@ -109,7 +109,7 @@
'Foo',
null
),
- 'empty fragement' => array(
+ 'empty fragment' => array(
'//acme.com/wiki/Foo',
'https://acme.com',
'//acme.com',
@@ -133,7 +133,7 @@
'Foo',
'Bar#Xus'
),
- 'escaped fragement' => array(
+ 'escaped fragment' => array(
'//acme.com/wiki/Foo%23Bar',
'https://acme.com',
'//acme.com',
diff --git a/tests/qunit/suites/resources/mediawiki/mediawiki.Uri.test.js
b/tests/qunit/suites/resources/mediawiki/mediawiki.Uri.test.js
index 51374bd..5441248 100644
--- a/tests/qunit/suites/resources/mediawiki/mediawiki.Uri.test.js
+++ b/tests/qunit/suites/resources/mediawiki/mediawiki.Uri.test.js
@@ -418,7 +418,7 @@
relativePath = uri.getRelativePath();
assert.ok( relativePath.indexOf( uri.path ) >= 0, 'path in
relative path' );
assert.ok( relativePath.indexOf( uri.getQueryString() ) >= 0,
'query string in relative path' );
- assert.ok( relativePath.indexOf( uri.fragment ) >= 0,
'fragement in relative path' );
+ assert.ok( relativePath.indexOf( uri.fragment ) >= 0, 'fragment
in relative path' );
} );
QUnit.test( 'Parse a uri with an @ symbol in the path and query', 1,
function ( assert ) {
--
To view, visit https://gerrit.wikimedia.org/r/243019
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I97ca75b9c587443e195b1c162dcfee7880a5e226
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Amire80 <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits