Closed
Bug 1378012
Opened 9 years ago
Closed 9 years ago
Internal Server Error (ISE) when viewing zh-CN page with KS error
Categories
(developer.mozilla.org Graveyard :: Wiki pages, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ailoveliquan, Unassigned)
References
()
Details
(Whiteboard: [specification][type:bug])
What did you do?
================
1. This URL
https://developer.mozilla.org/zh-CN/docs/Learn/JavaScript/First_steps/Math
What happened?
==============
Internal Server Error
What should have happened?
==========================
.
Is there anything else we should know?
======================================
Comment 1•9 years ago
|
||
Thank you for the report. It is the same base issue as bug 1375869, but affects all viewers of the page. It also does not reproduce in the development environment.
Updated•9 years ago
|
Depends on: 1375869
Summary: Internal Server Error → Internal Server Error (ISE) when viewing zh-CN page with KS error
Comment 2•9 years ago
|
||
The Internal Server Error is now gone, leaving the parsing error:
任何有 MDN 个人资料的人都可以编辑文档来修正错误。使用KumaScript 故障排除指南作为一个起点。
错误类型: DocumentParsingError 错误全文:
Syntax error at line 64, column 69: Expected "(", "}}" or [ \t\n\r;] but "/" found.
62 | </li>
63 | <li>数值键入不带引号 - 尝试声明和初始化一些更多包含数字的变量。 在你继续前进。</li>
64 | <li>现在我们来看看我们的原始变量是否是相同的数据类型。 在JavaScript中有一个称为{{jsxref(“Operators / typeof”,“typeof”)}}的运算符。 输入如下所示的两行:
----------------------------------------------------------------------------^
65 | <pre class="brush: js">typeof myInt;
66 | typeof myFloat;</pre>
I believe the problem is that "smart quotes" (“) were used instead of plain double quotes ("). I'll see if I can fix that.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 3•9 years ago
|
||
That took many tries to fix! There are characters that looks like the ASCII characters (",) but are not:
( vs (
" vs “
, vs ,
) vs )
They look the same, but our KumaScript macro renderer is not smart enough to treat them the same.
https://developer.mozilla.org/zh-CN/docs/Learn/JavaScript/First_steps/Math$compare?locale=zh-CN&to=1270529&from=1266925
Now the page renders without errors.
Updated•6 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•