https://bugzilla.wikimedia.org/show_bug.cgi?id=56691
Web browser: ---
Bug ID: 56691
Summary: Problem with Parsoid and article title starting with a
slash ("/")
Product: Parsoid
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
For example:
http://parsoid.wmflabs.org/zh//dev/null gives an error:
TypeError: Cannot read property 'ns' of undefined at
Function.Title.fromPrefixedText
(/data/project/parsoid/js/lib/mediawiki.Title.js:59:40) at
MWParserEnvironment.reset
(/data/project/parsoid/js/lib/mediawiki.parser.environment.js:216:20) at
Function.MWParserEnvironment.getParserEnv
(/data/project/parsoid/js/lib/mediawiki.parser.environment.js:280:7) at
parserEnvMw (/data/project/parsoid/js/api/ParserService.js:432:22) at
callbacks
(/data/project/parsoid/js/node_modules/express/lib/router/index.js:164:37)
at interParams (/data/project/parsoid/js/api/ParserService.js:428:2) at
callbacks
(/data/project/parsoid/js/node_modules/express/lib/router/index.js:164:37)
at param
(/data/project/parsoid/js/node_modules/express/lib/router/index.js:138:11)
at pass
(/data/project/parsoid/js/node_modules/express/lib/router/index.js:145:5) at
Router._dispatch
(/data/project/parsoid/js/node_modules/express/lib/router/index.js:173:5)
This seems to impact all wikis.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l