{"action":"opened","issue":{"url":"https://api.github.com/repos/wikimedia/mediawiki-title/issues/18","repository_url":"https://api.github.com/repos/wikimedia/mediawiki-title","labels_url":"https://api.github.com/repos/wikimedia/mediawiki-title/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/wikimedia/mediawiki-title/issues/18/comments","events_url":"https://api.github.com/repos/wikimedia/mediawiki-title/issues/18/events","html_url":"https://github.com/wikimedia/mediawiki-title/issues/18","id":167167758,"number":18,"title":"Bad title parse","user":{"login":"subbuss","id":91608,"avatar_url":"https://avatars.githubusercontent.com/u/91608?v=3","gravatar_id":"","url":"https://api.github.com/users/subbuss","html_url":"https://github.com/subbuss","followers_url":"https://api.github.com/users/subbuss/followers","following_url":"https://api.github.com/users/subbuss/following{/other_user}","gists_url":"https://api.github.com/users/subbuss/gists{/gist_id}","starred_url":"https://api.github.com/users/subbuss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subbuss/subscriptions","organizations_url":"https://api.github.com/users/subbuss/orgs","repos_url":"https://api.github.com/users/subbuss/repos","events_url":"https://api.github.com/users/subbuss/events{/privacy}","received_events_url":"https://api.github.com/users/subbuss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-23T04:59:52Z","updated_at":"2016-07-23T04:59:52Z","closed_at":null,"body":"Parsoid is parsing [[К:Википедия: статьи без изображений (тип: судно)]] as a link after switching to mediawiki-title instead of a category as it used to before.\r\n\r\nThanks to a recently introducing bug in dumping error output (but fixed in https://github.com/wikimedia/parsoid/commit/c77dbee5fb964eea341642dc1aafa832862f09fa), led to crashers in roundtrip testing (https://parsoid-tests.wikimedia.org/resultFlagNew/45beb6c0abc5a313ad75259053d74466a51f91cd/4a5a7ae97bd2b4c6fa70f62c99d2e959d072c65f/ruwiki/HMS_Actaeon_(1775)). I was able to trace the failure in template wrapping to a bad parse of the above wikitext.\r\n\r\nThis is because https://github.com/wikimedia/parsoid/blob/master/lib/wt2html/tt/LinkHandler.js#L283 is no longer parsing. The namespace id is 4 instead of 14. However, siteinfo dump shows \r\n\r\n\"-2\":{\"id\":-2,\"case\":\"first-letter\",\"canonical\":\"Media\",\"*\":\"Медиа\"},\"-1\":{\"id\":-1,\"case\":\"first-letter\",\"canonical\":\"Special\",\"*\":\"Служебная\"}},\"namespacealiases\":[{\"id\":2,\"*\":\"U\"},{\"id\":2,\"*\":\"У\"},{\"id\":2,\"*\":\"Участница\"},{\"id\":3,\"*\":\"UT\"},{\"id\":3,\"*\":\"ОУ\"},{\"id\":3,\"*\":\"Обсуждение участницы\"},{\"id\":4,\"*\":\"Wikipedia\"},{\"id\":4,\"*\":\"ВП\"},{\"id\":6,\"*\":\"Image\"},{\"id\":6,\"*\":\"Изображение\"},{\"id\":7,\"*\":\"Image talk\"},{\"id\":7,\"*\":\"Обсуждение изображения\"},{\"id\":10,\"*\":\"T\"},{\"id\":10,\"*\":\"Ш\"},{\"id\":14,\"*\":\"К\"}\r\n\r\nwhich means this should have been parsed as 14 which would then have been recognized as a category link."}}
{"actor":{"display_login":"subbuss"}}