Arlolra has uploaded a new change for review.
https://gerrit.wikimedia.org/r/284740
Change subject: Rename pp/dom.t.* files
......................................................................
Rename pp/dom.t.* files
* Could have been part of T115665
Change-Id: I7b86f82069e7c1ba26570f281ba0de5303ca6fab
---
M lib/wt2html/DOMPostProcessor.js
R lib/wt2html/pp/handleLinkNeighbours.js
R lib/wt2html/pp/liFixups.js
R lib/wt2html/pp/tableFixups.js
R lib/wt2html/pp/unpackDOMFragments.js
M lib/wt2html/tt/Sanitizer.js
6 files changed, 6 insertions(+), 6 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/parsoid
refs/changes/40/284740/1
diff --git a/lib/wt2html/DOMPostProcessor.js b/lib/wt2html/DOMPostProcessor.js
index ac1f45e..c7e2fd4 100644
--- a/lib/wt2html/DOMPostProcessor.js
+++ b/lib/wt2html/DOMPostProcessor.js
@@ -13,8 +13,8 @@
var dumpDOM = require('./pp/dumper.js').dumpDOM;
var CleanUp = require('./pp/cleanup.js');
var computeDSR = require('./pp/computeDSR.js').computeDSR;
-var handleLinkNeighbours =
require('./pp/dom.t.handleLinkNeighbours.js').handleLinkNeighbours;
-var liFixups = require('./pp/dom.t.liFixups.js');
+var handleLinkNeighbours =
require('./pp/handleLinkNeighbours.js').handleLinkNeighbours;
+var liFixups = require('./pp/liFixups.js');
var handlePres = require('./pp/handlePres.js').handlePres;
var handleUnbalancedTables =
require('./pp/handleUnbalancedTables.js').handleUnbalancedTables;
var markFosteredContent =
require('./pp/markFosteredContent.js').markFosteredContent;
@@ -23,8 +23,8 @@
var cleanupFormattingTagFixup =
require('./pp/cleanupFormattingTagFixup.js').cleanupFormattingTagFixup;
var migrateTemplateMarkerMetas =
require('./pp/migrateTemplateMarkerMetas.js').migrateTemplateMarkerMetas;
var migrateTrailingNLs =
require('./pp/migrateTrailingNLs.js').migrateTrailingNLs;
-var TableFixups = require('./pp/dom.t.TableFixups.js');
-var unpackDOMFragments =
require('./pp/dom.t.unpackDOMFragments.js').unpackDOMFragments;
+var TableFixups = require('./pp/tableFixups.js').TableFixups;
+var unpackDOMFragments =
require('./pp/unpackDOMFragments.js').unpackDOMFragments;
var wrapTemplates = require('./pp/wrapTemplates.js').wrapTemplates;
var logWikitextFixup = require('./pp/linter.js').logWikitextFixups;
@@ -140,7 +140,7 @@
}
domVisitor = new DOMTraverser(env);
- var tableFixer = new TableFixups.TableFixups(env);
+ var tableFixer = new TableFixups(env);
// 1. Strip marker metas -- removes left over marker metas (ex: metas
// nested in expanded tpl/extension output).
domVisitor.addHandler('meta',
diff --git a/lib/wt2html/pp/dom.t.handleLinkNeighbours.js
b/lib/wt2html/pp/handleLinkNeighbours.js
similarity index 100%
rename from lib/wt2html/pp/dom.t.handleLinkNeighbours.js
rename to lib/wt2html/pp/handleLinkNeighbours.js
diff --git a/lib/wt2html/pp/dom.t.liFixups.js b/lib/wt2html/pp/liFixups.js
similarity index 100%
rename from lib/wt2html/pp/dom.t.liFixups.js
rename to lib/wt2html/pp/liFixups.js
diff --git a/lib/wt2html/pp/dom.t.TableFixups.js b/lib/wt2html/pp/tableFixups.js
similarity index 100%
rename from lib/wt2html/pp/dom.t.TableFixups.js
rename to lib/wt2html/pp/tableFixups.js
diff --git a/lib/wt2html/pp/dom.t.unpackDOMFragments.js
b/lib/wt2html/pp/unpackDOMFragments.js
similarity index 100%
rename from lib/wt2html/pp/dom.t.unpackDOMFragments.js
rename to lib/wt2html/pp/unpackDOMFragments.js
diff --git a/lib/wt2html/tt/Sanitizer.js b/lib/wt2html/tt/Sanitizer.js
index ee3a393..c079ce3 100644
--- a/lib/wt2html/tt/Sanitizer.js
+++ b/lib/wt2html/tt/Sanitizer.js
@@ -580,7 +580,7 @@
/**
* Utility function: Sanitize an array of tokens. Not used in normal token
- * pipelines. The only caller is currently in dom.t.TDFixups.js.
+ * pipelines. The only caller is currently in tableFixups.js.
*
* TODO: Move to Util / generalize when working on T54941?
*/
--
To view, visit https://gerrit.wikimedia.org/r/284740
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7b86f82069e7c1ba26570f281ba0de5303ca6fab
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/parsoid
Gerrit-Branch: master
Gerrit-Owner: Arlolra <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits