Hi,
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)
But this should give a valid result like: https://zh.wikipedia.org/wiki//dev/null
It this normal?
Regards Emmanuel
This seems not specific to this page on zhwiki. Any page starting with a slash on any wiki triggers this.
-Liangent
On Mon, Nov 4, 2013 at 3:59 AM, Emmanuel Engelhart kelson@kiwix.org wrote:
Hi,
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)
But this should give a valid result like: https://zh.wikipedia.org/wiki//dev/null
It this normal?
Regards Emmanuel -- Kiwix - Wikipedia Offline & more
- Web: http://www.kiwix.org
- Twitter: https://twitter.com/KiwixOffline
- more: http://www.kiwix.org/wiki/Communication
Wikitext-l mailing list Wikitext-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitext-l
I have open a bug to avoid getting this lost: https://bugzilla.wikimedia.org/show_bug.cgi?id=56691
Emmanuel
Le 04/11/2013 11:45, Liangent a écrit :
This seems not specific to this page on zhwiki. Any page starting with a slash on any wiki triggers this.
-Liangent
On Mon, Nov 4, 2013 at 3:59 AM, Emmanuel Engelhart <kelson@kiwix.org mailto:kelson@kiwix.org> wrote:
Hi, 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) But this should give a valid result like: https://zh.wikipedia.org/wiki//dev/null It this normal? Regards Emmanuel -- Kiwix - Wikipedia Offline & more * Web: http://www.kiwix.org * Twitter: https://twitter.com/KiwixOffline * more: http://www.kiwix.org/wiki/Communication _______________________________________________ Wikitext-l mailing list Wikitext-l@lists.wikimedia.org <mailto:Wikitext-l@lists.wikimedia.org> https://lists.wikimedia.org/mailman/listinfo/wikitext-l
Wikitext-l mailing list Wikitext-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitext-l
On 11/06/2013 01:08 PM, Emmanuel Engelhart wrote:
I have open a bug to avoid getting this lost: https://bugzilla.wikimedia.org/show_bug.cgi?id=56691
Thanks!
Gabriel
wikitext-l@lists.wikimedia.org