Subramanya Sastry has uploaded a new change for review.
https://gerrit.wikimedia.org/r/183159
Change subject: Remove hack from 2a931e65 since we can now parse that page
properly.
......................................................................
Remove hack from 2a931e65 since we can now parse that page properly.
* That page now parsers in 75 secs on my laptop.
Change-Id: I301a773f1ddc86911169e83ba65a5977a8350a92
---
M api/routes.js
1 file changed, 0 insertions(+), 6 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/parsoid
refs/changes/59/183159/1
diff --git a/api/routes.js b/api/routes.js
index 74e2caf..2f80434 100644
--- a/api/routes.js
+++ b/api/routes.js
@@ -364,12 +364,6 @@
}
function parsePageWithOldid() {
- if (prefix === 'urwiki' && res.local('pageName') ===
'نام_مقامات_اے') {
- env.log("error", "Returning http 500 for
urwiki:نام_مقامات_اے'");
- return new Promise(function(resolve, reject) {
- reject();
- });
- }
return parse( env, req, res ).then(function( doc ) {
if ( req.headers.cookie || v2 ) {
// Don't cache requests with a session.
--
To view, visit https://gerrit.wikimedia.org/r/183159
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I301a773f1ddc86911169e83ba65a5977a8350a92
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/parsoid
Gerrit-Branch: master
Gerrit-Owner: Subramanya Sastry <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits