Doing wiki.getPage on /zh-CN/docs/Web_Standards returns an empty object (not null, but an empty object). See https://developer.mozilla.org/en-US/docs/User:Sheppy/TemplateTests for an example of this in action. What's happening here? This shouldn't happen. It's breaking macros.
Are all wiki.getPage usages causing a problem, or just this specific URL?
(In reply to David Walsh :davidwalsh from comment #1) > Are all wiki.getPage usages causing a problem, or just this specific URL? Just specific URLs; I've seen two so far, both in the Chinese locale. I do not know if it happens with others.
As follow up, the problem in this case was an invalid URL -- the page had been moved and contained chinese characters.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 906085
You need to log in before you can comment on or make changes to this bug.