Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prepare for zh-{TW,CN}/glossary h2m: removing span and font tag #5435

Merged
merged 4 commits into from
May 7, 2022

Conversation

yin1999
Copy link
Member

@yin1999 yin1999 commented May 6, 2022

I've created a script to do this job: https://gist.github.com/yin1999/7db7bea035aed5880f93ea8625a24522

It's a part of #2474, as the first step (not removing the notranslate class)

If this script works ok, I'll continue this work on other sections.

@yin1999 yin1999 requested a review from a team as a code owner May 6, 2022 01:44
@yin1999 yin1999 requested review from dibery and removed request for a team May 6, 2022 01:44
@github-actions github-actions bot added the l10n-zh Issues related to Chinese content. label May 6, 2022
@github-actions
Copy link
Contributor

github-actions bot commented May 6, 2022

Preview URLs

Flaws

Note! 20 documents with no flaws that don't need to be listed. 🎉

URL: /zh-CN/docs/Glossary/Argument
Title: Argument
on GitHub
Flaw count: 5

  • broken_links:
    • Can't resolve https://developer.mozilla.org/en-US/docs/Glossary/value
    • Can't resolve https://developer.mozilla.org/en-US/docs/Glossary/primitive
    • Can't resolve https://developer.mozilla.org/en-US/docs/Glossary/object
    • Can't resolve https://developer.mozilla.org/en-US/docs/Glossary/JavaScript
    • Can't resolve https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/arguments

URL: /zh-CN/docs/Glossary/Number
Title: Number
on GitHub
Flaw count: 1

  • broken_links:
    • Anchor not lowercase

URL: /zh-CN/docs/Glossary/undefined
Title: undefined
on GitHub
Flaw count: 1

  • broken_links:
    • Can't resolve https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures

URL: /zh-CN/docs/Glossary/Forbidden_header_name
Title: 禁止修改的消息首部
on GitHub
Flaw count: 1

  • macros:
    • /zh-CN/docs/Glossary/Forbidden_response_header_name does not exist but fell back to /en-US/docs/Glossary/Forbidden_response_header_name

URL: /zh-CN/docs/Glossary/Type
Title: 类型
on GitHub
Flaw count: 5

  • macros:
    • /zh-CN/docs/Glossary/value does not exist but fell back to /en-US/docs/Glossary/Value
    • /zh-CN/docs/Web/API/Boolean does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean
    • /zh-CN/docs/Web/API/String does not exist
    • /zh-CN/docs/Web/API/Number does not exist
  • broken_links:
    • Can't resolve https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures

URL: /zh-CN/docs/Glossary/ARPA
Title: ARPA
on GitHub
Flaw count: 3

  • macros:
    • /zh-CN/docs/Glossary/TLD does not exist but fell back to /en-US/docs/Glossary/TLD
    • /zh-CN/docs/Glossary/IP_%E5%9C%B0%E5%9D%80 does not exist
  • broken_links:
    • Is currently http:// but can become https://

URL: /zh-CN/docs/Glossary/rtl
Title: RTL(从右到左)
on GitHub
Flaw count: 2

  • macros:
    • /zh-CN/docs/Glossary/locale does not exist but fell back to /en-US/docs/Glossary/Locale
    • /zh-CN/docs/Glossary/LTR does not exist but fell back to /en-US/docs/Glossary/ltr

URL: /zh-CN/docs/Glossary/Expando
Title: Expando
on GitHub
Flaw count: 2

  • macros:
    • /zh-CN/docs/Glossary/%E5%AF%B9%E8%B1%A1 does not exist
    • /zh-CN/docs/Glossary/%E6%95%B0%E7%BB%84 does not exist

URL: /zh-CN/docs/Glossary/Code_splitting
Title: 代码分割
on GitHub
Flaw count: 1

  • broken_links:
    • Can't resolve /en-US/docs/Learn/Performance/Lazy_loading

URL: /zh-CN/docs/Glossary/Semantics
Title: Semantics(语义)
on GitHub
Flaw count: 5

  • macros:
    • /zh-CN/docs/Web/HTML/Element/h1 does not exist but fell back to /en-US/docs/Web/HTML/Element/Heading_Elements
    • /zh-CN/docs/Web/HTML/Element/h1 does not exist but fell back to /en-US/docs/Web/HTML/Element/Heading_Elements
  • broken_links:
    • Anchor not lowercase
    • Anchor not lowercase
    • Can't resolve /en-US/docs/Web/Guide/HTML/Using_HTML_sections_and_outlines#Problems_solved_by_HTML5

URL: /zh-CN/docs/Glossary/BigInt
Title: BigInt
on GitHub
Flaw count: 1

  • broken_links:
    • Anchor not lowercase

URL: /zh-CN/docs/Glossary/World_Wide_Web
Title: World Wide Web
on GitHub
Flaw count: 3

  • macros:
    • /zh-CN/docs/Glossary/W3C does not exist but fell back to /en-US/docs/Glossary/W3C
  • broken_links:
    • Can't resolve https://developer.mozilla.org/en-US/Learn
    • Is currently http:// but can become https://

URL: /zh-CN/docs/Glossary/Data_structure
Title: 数据结构
on GitHub
Flaw count: 2

  • broken_links:
    • Can't resolve https://developer.mozilla.org/en-US/docs/Glossary/Accessibility$edit#Learn_more
  • heading_links:
    • h2 heading contains an <a> tag

URL: /zh-CN/docs/Glossary/Gecko
Title: Gecko
on GitHub
Flaw count: 3

  • macros:
    • /zh-CN/docs/Glossary/Mozilla_Firefox does not exist but fell back to /en-US/docs/Glossary/Mozilla_Firefox
    • /zh-CN/docs/Glossary/Firefox_OS does not exist but fell back to /en-US/docs/Glossary/Firefox_OS
  • broken_links:
    • Can't resolve /en-US/docs/Mozilla/Gecko

URL: /zh-CN/docs/Glossary/HMAC
Title: HMAC(密钥散列消息认证码)
on GitHub
Flaw count: 3

  • macros:
    • /zh-CN/docs/Glossary/cryptography does not exist but fell back to /en-US/docs/Glossary/Cryptography
    • /zh-CN/docs/Glossary/Cryptographic_hash_function does not exist but fell back to /en-US/docs/Glossary/Cryptographic_hash_function
  • broken_links:
    • Is currently http:// but can become https://

URL: /zh-CN/docs/Glossary/User_agent
Title: 用户代理
on GitHub
Flaw count: 1

  • broken_links:
    • Is currently http:// but can become https://

URL: /zh-CN/docs/Glossary/WebRTC
Title: WebRTC
on GitHub
Flaw count: 2

  • macros:
    • /zh-CN/docs/Glossary/P2P does not exist but fell back to /en-US/docs/Glossary/P2P
  • broken_links:
    • Can't resolve /en-US/docs/Web/Guide/API/WebRTC

URL: /zh-CN/docs/Glossary/TCP_slow_start
Title: TCP slow start
on GitHub
Flaw count: 1

  • broken_links:
    • Can't resolve /en-US/docs/Web/Performance/Populating_the_page:_how_browsers_work

URL: /zh-CN/docs/Glossary/Signature/Function
Title: Signature (functions)(函数签名)
on GitHub
Flaw count: 4

  • macros:
    • /zh-CN/docs/Glossary/Parameter does not exist but fell back to /en-US/docs/Glossary/Parameter
    • /zh-CN/docs/Glossary/Exception does not exist but fell back to /en-US/docs/Glossary/Exception
    • /zh-CN/docs/Glossary/instance_method does not exist but fell back to /en-US/docs/Glossary/Method
    • /zh-CN/docs/Glossary/static_method does not exist but fell back to /en-US/docs/Glossary/Static_method

URL: /zh-CN/docs/Glossary/First_paint
Title: First paint
on GitHub
Flaw count: 2

  • broken_links:
    • Can't resolve /en-US/docs/
    • Can't resolve /en-US/docs/

URL: /zh-CN/docs/Glossary/DOM
Title: DOM
on GitHub
Flaw count: 1

  • broken_links:
    • Is currently http:// but can become https://

URL: /zh-CN/docs/Glossary/Attribute
Title: Attribute
on GitHub
Flaw count: 1

  • broken_links:
    • Can't resolve https://developer.mozilla.org/en-US/docs/Glossary/tag

URL: /zh-CN/docs/Glossary/Mixin
Title: 混合
on GitHub
Flaw count: 3

  • macros:
    • /zh-CN/docs/Glossary/interface does not exist
    • /zh-CN/docs/Glossary/property does not exist but fell back to /en-US/docs/Glossary/property
    • /zh-CN/docs/Glossary/interface does not exist

URL: /zh-CN/docs/Glossary/CSS
Title: CSS
on GitHub
Flaw count: 3

  • macros:
    • /zh-CN/docs/Glossary/CSS_Property does not exist but fell back to /en-US/docs/Glossary/property/CSS
  • broken_links:
    • Can't resolve https://developer.mozilla.org/zh-CN/Learn/CSS
    • Is currently http:// but can become https://

URL: /zh-CN/docs/Glossary/Digital_certificate
Title: 数字证书
on GitHub
Flaw count: 2

  • macros:
    • /zh-CN/docs/Glossary/Key does not exist but fell back to /en-US/docs/Glossary/Key
    • /zh-CN/docs/Glossary/certificate_authority does not exist but fell back to /en-US/docs/Glossary/Certificate_authority

URL: /zh-CN/docs/Glossary/Unicode
Title: Unicode
on GitHub
Flaw count: 1

  • broken_links:
    • Is currently http:// but can become https://

URL: /zh-CN/docs/Glossary/CSS_preprocessor
Title: CSS 预处理器
on GitHub
Flaw count: 4

  • macros:
    • /zh-CN/docs/Glossary/%E8%AF%AD%E6%B3%95 does not exist
    • /zh-CN/docs/Glossary/%E6%9C%8D%E5%8A%A1%E5%99%A8 does not exist
  • broken_links:
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://

URL: /zh-CN/docs/Glossary/HTTP_2
Title: HTTP/2
on GitHub
Flaw count: 1

  • macros:
    • /zh-CN/docs/Glossary/%E5%BB%B6%E8%BF%9F does not exist

URL: /zh-TW/docs/Glossary/Key
Title: Key
on GitHub
Flaw count: 6

  • macros:
    • /zh-TW/docs/Glossary/cipher does not exist but fell back to /en-US/docs/Glossary/Cipher
    • /zh-TW/docs/Glossary/encryption does not exist but fell back to /en-US/docs/Glossary/Encryption
    • /zh-TW/docs/Glossary/decryption does not exist but fell back to /en-US/docs/Glossary/Decryption
    • /zh-TW/docs/Glossary/cryptosystem does not exist
    • /zh-TW/docs/Glossary/symmetric-key_cryptography does not exist but fell back to /en-US/docs/Glossary/Symmetric-key_cryptography
    • and 1 more flaws omitted

URL: /zh-TW/docs/Glossary/IIFE
Title: IIFE
on GitHub
Flaw count: 4

  • macros:
    • /zh-TW/docs/Glossary/function does not exist but fell back to /en-US/docs/Glossary/Function
    • /zh-TW/docs/Glossary/Self-Executing_Anonymous_Function does not exist but fell back to /en-US/docs/Glossary/Self-Executing_Anonymous_Function
    • /zh-TW/docs/Web/JavaScript/Reference/Operators/Grouping does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Operators/Grouping
  • broken_links:
    • Anchor not lowercase

URL: /zh-TW/docs/Glossary/Number
Title: Number
on GitHub
Flaw count: 1

  • broken_links:
    • Anchor not lowercase

URL: /zh-TW/docs/Glossary/First_input_delay
Title: 首次輸入延遲
on GitHub
Flaw count: 1

  • broken_links:
    • Can't resolve /en-US/docs/Learn/Performance/Lazy_loading

URL: /zh-TW/docs/Glossary/HTML
Title: HTML
on GitHub
Flaw count: 14

  • macros:
    • /zh-TW/docs/Glossary/World_Wide_Web does not exist but fell back to /en-US/docs/Glossary/World_Wide_Web
    • /zh-TW/docs/Glossary/hypertext does not exist but fell back to /en-US/docs/Glossary/Hypertext
    • /zh-TW/docs/Glossary/IETF does not exist but fell back to /en-US/docs/Glossary/IETF
    • /zh-TW/docs/Glossary/ISO does not exist but fell back to /en-US/docs/Glossary/ISO
    • /zh-TW/docs/Glossary/WHATWG does not exist but fell back to /en-US/docs/Glossary/WHATWG
    • and 4 more flaws omitted
  • images:
    • External image URL
  • image_widths:
    • 'width' and 'height' set in 'style' attribute on <img> tag.
  • broken_links:
    • Can't resolve /zh-TW/Learn/HTML
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://

URL: /zh-TW/docs/Glossary/URI
Title: URI
on GitHub
Flaw count: 2

  • macros:
    • /zh-TW/docs/Glossary/URN does not exist but fell back to /en-US/docs/Glossary/URN
  • broken_links:
    • Is currently http:// but can become https://

URL: /zh-TW/docs/Glossary/jQuery
Title: jQuery
on GitHub
Flaw count: 2

  • macros:
    • /zh-TW/docs/Glossary/%E5%87%BD%E5%BC%8F%E5%BA%AB does not exist
  • bad_pre_tags:
    • <pre><code>CODE can be just <pre>CODE

URL: /zh-TW/docs/Glossary/CSRF
Title: CSRF
on GitHub
Flaw count: 1

  • broken_links:
    • Can't resolve /zh-TW/Learn/tutorial/Information_Security_Basics

URL: /zh-TW/docs/Glossary/Cipher_suite
Title: 密碼套件
on GitHub
Flaw count: 3

  • macros:
    • /zh-TW/docs/Glossary/cipher does not exist but fell back to /en-US/docs/Glossary/Cipher
    • /zh-TW/docs/Glossary/cryptosystem does not exist
    • /zh-TW/docs/Glossary/TLS does not exist but fell back to /en-US/docs/Glossary/TLS

URL: /zh-TW/docs/Glossary/Cryptography
Title: 密碼學
on GitHub
Flaw count: 2

  • macros:
    • /zh-TW/docs/Glossary/cryptanalysis does not exist but fell back to /en-US/docs/Glossary/Cryptanalysis
  • broken_links:
    • Can't resolve https://developer.mozilla.org/en-US/Learn/tutorial/Information_Security_Basics

URL: /zh-TW/docs/Glossary/URL
Title: URL
on GitHub
Flaw count: 3

  • macros:
    • /zh-TW/docs/Glossary/SMTP does not exist but fell back to /en-US/docs/Glossary/SMTP
  • broken_links:
    • Can't resolve /en-US/Learn/Understanding_URLs
    • Can't resolve /zh-TW/Learn/Understanding_URLs

URL: /zh-TW/docs/Glossary/CSS
Title: CSS
on GitHub
Flaw count: 7

  • macros:
    • /zh-TW/docs/Glossary/%E7%80%8F%E8%A6%BD%E5%99%A8 redirects to /zh-TW/docs/Glossary/Browser
    • /zh-TW/docs/Glossary/XML does not exist but fell back to /en-US/docs/Glossary/XML
    • /zh-TW/docs/Glossary/CSS_Property does not exist but fell back to /en-US/docs/Glossary/property/CSS
    • /zh-TW/docs/Glossary/selector does not exist
  • broken_links:
    • Can't resolve https://developer.mozilla.org/zh-TW/docs/Learn/CSS
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://

URL: /zh-TW/docs/Glossary/SQL_Injection
Title: SQL 注入
on GitHub
Flaw count: 3

  • images:
    • Insecure URL
    • Insecure URL
  • image_widths:
    • 'width' and 'height' set in 'style' attribute on <img> tag.

URL: /zh-TW/docs/Glossary/character_set
Title: 字符集
on GitHub
Flaw count: 4

  • macros:
    • /zh-TW/docs/Glossary/%E5%AD%97%E7%AC%A6 does not exist
    • /zh-TW/docs/Glossary/Unicode does not exist but fell back to /en-US/docs/Glossary/Unicode
    • /zh-TW/docs/Glossary/%E5%AD%97%E7%AC%A6 does not exist
    • /zh-TW/docs/Glossary/Unicode does not exist but fell back to /en-US/docs/Glossary/Unicode

URL: /zh-TW/docs/Glossary/CSS_preprocessor
Title: CSS 預處理器
on GitHub
Flaw count: 1

  • macros:
    • /zh-TW/docs/Glossary/%E4%BC%BA%E6%9C%8D%E5%99%A8 does not exist

External URLs

URL: /zh-CN/docs/Glossary/Argument
Title: Argument
on GitHub


URL: /zh-CN/docs/Glossary/Database
Title: 数据库
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/Jank
Title: Jank
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/Number
Title: Number
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/Asynchronous
Title: 异步
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/undefined
Title: undefined
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/Forbidden_header_name
Title: 禁止修改的消息首部
on GitHub


URL: /zh-CN/docs/Glossary/document_environment
Title: document environment
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/Type
Title: 类型
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/ARPA
Title: ARPA
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/Flexbox
Title: Flexbox
on GitHub


URL: /zh-CN/docs/Glossary/Node/DOM
Title: Node (DOM)
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/rtl
Title: RTL(从右到左)
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/Expando
Title: Expando
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/PDF
Title: PDF
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/Vendor_Prefix
Title: 浏览器引擎前缀
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/Code_splitting
Title: 代码分割
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/Semantics
Title: Semantics(语义)
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/BigInt
Title: BigInt
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/IDE
Title: IDE
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/ALPN
Title: 应用层协议协商
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/HTTP_3
Title: HTTP/3
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/World_Wide_Web
Title: World Wide Web
on GitHub


URL: /zh-CN/docs/Glossary/Data_structure
Title: 数据结构
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/Gecko
Title: Gecko
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/HMAC
Title: HMAC(密钥散列消息认证码)
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/User_agent
Title: 用户代理
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/WebRTC
Title: WebRTC
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/TCP_slow_start
Title: TCP slow start
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/Signature/Function
Title: Signature (functions)(函数签名)
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/XHTML
Title: XHTML
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/First_paint
Title: First paint
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/DOM
Title: DOM
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/percent-encoding
Title: Percent-encoding
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/Attribute
Title: Attribute
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/OpenGL
Title: OpenGL
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/Mixin
Title: 混合
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/CSS
Title: CSS
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/Digital_certificate
Title: 数字证书
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/Entity
Title: Entity
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/Unicode
Title: Unicode
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/character_set
Title: Character set
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/CSS_preprocessor
Title: CSS 预处理器
on GitHub

No new external URLs


URL: /zh-CN/docs/Glossary/HTTP_2
Title: HTTP/2
on GitHub

No new external URLs


URL: /zh-TW/docs/Glossary/Key
Title: Key
on GitHub

No new external URLs


URL: /zh-TW/docs/Glossary/IIFE
Title: IIFE
on GitHub

No new external URLs


URL: /zh-TW/docs/Glossary/Number
Title: Number
on GitHub

No new external URLs


URL: /zh-TW/docs/Glossary/SPA
Title: SPA
on GitHub

No new external URLs


URL: /zh-TW/docs/Glossary/First_input_delay
Title: 首次輸入延遲
on GitHub

No new external URLs


URL: /zh-TW/docs/Glossary/HTML
Title: HTML
on GitHub

No new external URLs


URL: /zh-TW/docs/Glossary/URI
Title: URI
on GitHub

No new external URLs


URL: /zh-TW/docs/Glossary/jQuery
Title: jQuery
on GitHub

No new external URLs


URL: /zh-TW/docs/Glossary/CSRF
Title: CSRF
on GitHub

No new external URLs


URL: /zh-TW/docs/Glossary/Cipher_suite
Title: 密碼套件
on GitHub

No new external URLs


URL: /zh-TW/docs/Glossary/Cryptography
Title: 密碼學
on GitHub

No new external URLs


URL: /zh-TW/docs/Glossary/URL
Title: URL
on GitHub

No new external URLs


URL: /zh-TW/docs/Glossary/CSS
Title: CSS
on GitHub

No new external URLs


URL: /zh-TW/docs/Glossary/Algorithm
Title: 演算法
on GitHub

No new external URLs


URL: /zh-TW/docs/Glossary/SQL_Injection
Title: SQL 注入
on GitHub

No new external URLs


URL: /zh-TW/docs/Glossary/Bandwidth
Title: Bandwidth
on GitHub

No new external URLs


URL: /zh-TW/docs/Glossary/First-class_Function
Title: 一級函式(First-class Function)
on GitHub

No new external URLs


URL: /zh-TW/docs/Glossary/character_set
Title: 字符集
on GitHub

No new external URLs


URL: /zh-TW/docs/Glossary/CSS_preprocessor
Title: CSS 預處理器
on GitHub

No new external URLs

@irvin irvin merged commit 511c136 into mdn:main May 7, 2022
@yin1999 yin1999 deleted the dry-run branch May 8, 2022 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-zh Issues related to Chinese content.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants