Subramanya Sastry has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/75118


Change subject: (Bug 51726) Fixed typo in url base for RFCs
......................................................................

(Bug 51726) Fixed typo in url base for RFCs

3 more wt2html tests now pass.

Change-Id: If1ab576c1df3315d0697fd9b796c818afc2fa81c
---
M js/lib/pegTokenizer.pegjs.txt
M js/tests/parserTests-blacklist.js
2 files changed, 1 insertion(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Parsoid 
refs/changes/18/75118/1

diff --git a/js/lib/pegTokenizer.pegjs.txt b/js/lib/pegTokenizer.pegjs.txt
index a6e23fc..da1bd6a 100644
--- a/js/lib/pegTokenizer.pegjs.txt
+++ b/js/lib/pegTokenizer.pegjs.txt
@@ -831,7 +831,7 @@
     identifier = identifier.join('');
 
     var base_urls = {
-            'RFC'  : '//tools.ietfs.org/html/rfc%s',
+            'RFC'  : '//tools.ietf.org/html/rfc%s',
             'PMID' : '//www.ncbi.nlm.nih.gov/pubmed/%s?dopt=Abstract'
         },
         url = sprintf(base_urls[ref], identifier);
diff --git a/js/tests/parserTests-blacklist.js 
b/js/tests/parserTests-blacklist.js
index 3132334..c518af8 100644
--- a/js/tests/parserTests-blacklist.js
+++ b/js/tests/parserTests-blacklist.js
@@ -99,7 +99,6 @@
 add("wt2html", "Namespace -1 {{ns:-1}}");
 add("wt2html", "Namespace (lang=de) Benutzer Diskussion {{ns:3}}");
 add("wt2html", "Urlencode");
-add("wt2html", "Magic links: RFC (bug 479)");
 add("wt2html", "Nonexistent template");
 add("wt2html", "Template with invalid target containing tags");
 add("wt2html", "Template with invalid target containing unclosed tag");
@@ -381,8 +380,6 @@
 add("wt2html", "gallery (with showfilename option)");
 add("wt2html", "Gallery (with namespace-less filenames)");
 add("wt2html", "__FORCETOC__ override");
-add("wt2html", "Double RFC");
-add("wt2html", "RFC code coverage");
 add("wt2html", "Centre-aligned image");
 add("wt2html", "None-aligned image");
 add("wt2html", "Width + Height sized image (using px) (height is ignored)");

-- 
To view, visit https://gerrit.wikimedia.org/r/75118
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If1ab576c1df3315d0697fd9b796c818afc2fa81c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: Subramanya Sastry <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to