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

{{page}} macro calls on simplified Chinese pages #3893

Closed
cw118 opened this issue Jan 29, 2022 · 4 comments
Closed

{{page}} macro calls on simplified Chinese pages #3893

cw118 opened this issue Jan 29, 2022 · 4 comments
Labels
l10n-zh Issues related to Chinese content.

Comments

@cw118
Copy link
Member

cw118 commented Jan 29, 2022

Quoting SphinxKnight:

The old transclusion macro {{page}} has been removed and is not working anymore.

This problem has also been reported several times (e.g. #3680, #3325, #4445 and #1697, the latter seems to have been fixed), thought I'd file an issue with all occurrences. Found 218 results in 135 files:

65 pages in Web/API:
  • web/api/audiobuffersourcenode/buffer/index.html
  • web/api/audiolistener/index.html
  • web/api/audioparamdescriptor/index.html
  • web/api/audiotrack/index.html
  • web/api/batterymanager/index.html
  • web/api/biquadfilternode/index.html
  • web/api/channelmergernode/index.html
  • web/api/customevent/index.html
  • web/api/datatransfer/dropeffect/index.html
  • web/api/datatransfer/effectallowed/index.html
  • web/api/datatransfer/getdata/index.html
  • web/api/datatransfer/items/index.html
  • web/api/datatransfer/setdata/index.html
  • web/api/datatransfer/setdragimage/index.html
  • web/api/datatransfer/types/index.html
  • web/api/datatransferitem/kind/index.html
  • web/api/document/index.html
  • web/api/document/dragend_event/index.html
  • web/api/document/dragenter_event/index.html
  • web/api/document/dragleave_event/index.html
  • web/api/document/dragover_event/index.html
  • web/api/document/drop_event/index.html
  • web/api/dynamicscompressornode/index.html
  • web/api/element/animate/index.html
  • web/api/element/mouseup_event/index.html
  • web/api/element/wheel_event/index.html
  • web/api/filereader/readystate/index.html
  • web/api/filerequest/index.html
  • web/api/filesystemdirectoryreader/readentries/index.html
  • web/api/gainnode/index.html
  • web/api/gainnode/gain/index.html
  • web/api/geolocation_api/index.html
  • web/api/globaleventhandlers/onanimationend/index.html
  • web/api/idbfactory/open/index.html
  • web/api/mediaelementaudiosourcenode/index.html
  • web/api/mediastreamaudiosourcenode/index.html
  • web/api/notification/index.html
  • web/api/notification/actions/index.html
  • web/api/notification/body/index.html
  • web/api/notification/dir/index.html
  • web/api/notification/notification/index.html
  • web/api/notification/onclick/index.html
  • web/api/notification/onclose/index.html
  • web/api/notification/onerror/index.html
  • web/api/notification/onshow/index.html
  • web/api/notification/permission/index.html
  • web/api/periodicwave/index.html
  • web/api/rtcpeerconnection/connectionstate/index.html
  • web/api/rtcpeerconnection/icegatheringstate/index.html
  • web/api/rtcpeerconnection/rtcpeerconnection/index.html
  • web/api/rtcrtptransceiver/direction/index.html
  • web/api/rtcstatsreport/index.html
  • web/api/rtctrackevent/rtctrackevent/index.html
  • web/api/screen/index.html
  • web/api/scriptprocessornode/index.html
  • web/api/waveshapernode/index.html
  • web/api/waveshapernode/curve/index.html
  • web/api/waveshapernode/oversample/index.html
  • web/api/webgl_api/using_extensions/index.html
  • web/api/webglrenderingcontext/index.html
  • web/api/webglrenderingcontext/getextension/index.html
  • web/api/webglrenderingcontext/getsupportedextensions/index.html
  • web/api/window/ondevicemotion/index.html
  • web/api/window/ondeviceorientation/index.html
  • web/api/xmlhttprequest/response/index.html
36 pages in Web/JavaScript:
  • web/javascript/data_structures/index.html
  • web/javascript/guide/indexed_collections/index.html
  • web/javascript/reference/global_objects/arraybuffer/index.html
  • web/javascript/reference/global_objects/asyncfunction/index.html
  • web/javascript/reference/global_objects/bigint/tolocalestring/index.html
  • web/javascript/reference/global_objects/dataview/index.html
  • web/javascript/reference/global_objects/date/index.html
  • web/javascript/reference/global_objects/date/tolocaledatestring/index.html
  • web/javascript/reference/global_objects/date/tolocalestring/index.html
  • web/javascript/reference/global_objects/date/tolocaletimestring/index.html
  • web/javascript/reference/global_objects/error/index.html
  • web/javascript/reference/global_objects/evalerror/index.html
  • web/javascript/reference/global_objects/function/index.html
  • web/javascript/reference/global_objects/generatorfunction/index.html
  • web/javascript/reference/global_objects/internalerror/index.html
  • web/javascript/reference/global_objects/intl/collator/index.html
  • web/javascript/reference/global_objects/intl/datetimeformat/index.html
  • web/javascript/reference/global_objects/intl/listformat/index.html
  • web/javascript/reference/global_objects/intl/numberformat/index.html
  • web/javascript/reference/global_objects/intl/pluralrules/index.html
  • web/javascript/reference/global_objects/intl/relativetimeformat/index.html
  • web/javascript/reference/global_objects/number/index.html
  • web/javascript/reference/global_objects/number/parseint/index.html
  • web/javascript/reference/global_objects/number/tolocalestring/index.html
  • web/javascript/reference/global_objects/rangeerror/index.html
  • web/javascript/reference/global_objects/referenceerror/index.html
  • web/javascript/reference/global_objects/sharedarraybuffer/index.html
  • web/javascript/reference/global_objects/string/index.html
  • web/javascript/reference/global_objects/syntaxerror/index.html
  • web/javascript/reference/global_objects/typedarray/index.html
  • web/javascript/reference/global_objects/typedarray/tolocalestring/index.html
  • web/javascript/reference/global_objects/typeerror/index.html
  • web/javascript/reference/global_objects/urierror/index.html
  • web/javascript/reference/global_objects/weakset/index.html
  • web/javascript/reference/global_objects/webassembly/module/index.html
  • web/javascript/typed_arrays/index.html
Misc, 30 pages in Web/CSS, Web/HTML, Web/SVG, MDN and Mozilla:
  • web/css/@media/index.html
  • web/css/css_transforms/using_css_transforms/index.html
  • web/css/display/index.html
  • web/css/reference/index.html
  • web/css/shorthand_properties/index.html
  • web/html/element/img/index.html
  • web/html/element/input/month/index.html
  • web/html/element/input/range/index.html
  • web/html/element/input/search/index.html
  • web/html/element/input/time/index.html
  • web/html/element/input/url/index.html
  • web/html/element/input/week/index.html
  • web/http/headers/content-security-policy/base-uri/index.html
  • web/http/headers/content-security-policy/child-src/index.html
  • web/http/headers/content-security-policy/connect-src/index.html
  • web/http/headers/content-security-policy/font-src/index.html
  • web/http/headers/content-security-policy/script-src-elem/index.html
  • web/http/headers/content-security-policy/worker-src/index.html
  • web/http/headers/feature-policy/autoplay/index.html
  • web/http/headers/feature-policy/camera/index.html
  • web/svg/attribute/accent-height/index.html
  • web/svg/attribute/fy/index.html
  • web/svg/attribute/height/index.html
  • web/svg/attribute/repeatcount/index.html
  • web/svg/attribute/stddeviation/index.html
  • web/svg/attribute/width/index.html
  • web/svg/attribute/x/index.html
  • web/svg/attribute/y/index.html
  • (mdn/structures/macros/other/index.html — looks like occurrences were found here because the page shows examples of the macro in use, so it seems that this file can be "ignored" for now)
  • mozilla/add-ons/webextensions/native_messaging/index.html
@yin1999
Copy link
Member

yin1999 commented Jul 1, 2022

TODO:

@queengooborg queengooborg added this to the Macros removal milestone Aug 9, 2022
yin1999 added a commit that referenced this issue Sep 26, 2022
* update number/tolocalestring

Remove `{{page}}` occurence and update with newest EN document.

Related issue: #3893

* Apply suggestions from code review

* Update index.md

* Apply suggestions from code review

Co-authored-by: A1lo <[email protected]>

Co-authored-by: A1lo <[email protected]>
yin1999 added a commit that referenced this issue Sep 26, 2022
* Update number/parseInt

Remove {{page}} occurence and update with newest EN document.

Related issue: #3893

* Update files/zh-cn/web/javascript/reference/global_objects/number/parseint/index.md

Co-authored-by: A1lo <[email protected]>
This was referenced Nov 10, 2022
yin1999 pushed a commit that referenced this issue Dec 3, 2022
@fwqaaq
Copy link
Contributor

fwqaaq commented Dec 7, 2022

  • files/zh-cn/web/api/document/dragenter_event/index.md
  • files/zh-cn/web/api/document/dragleave_event/index.md
    ... The documents about drag... should have been removed from document directory.

@yin1999
Copy link
Member

yin1999 commented Dec 7, 2022

  • files/zh-cn/web/api/document/dragenter_event/index.md
  • files/zh-cn/web/api/document/dragleave_event/index.md
    ... The documents about drag... should have been removed from document directory.

Thanks for the notes. I've updated the file path

@yin1999
Copy link
Member

yin1999 commented Dec 31, 2022

Done

@yin1999 yin1999 closed this as completed Dec 31, 2022
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
Status: Done
Development

No branches or pull requests

5 participants