-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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 Spanish pages [es] #3898
Comments
I didn't find how to search per page, at the end I find by match. I have counted 36 matches in Web/APIfiles/es/web/api/filereader/readasarraybuffer/index.html:27:{{page("/es-ES/docs/Web/API/FileReader","Specifications")}} files/es/web/api/filereader/readasarraybuffer/index.html:31:{{page("/es-ES/docs/Web/API/FileReader","Browser compatibility")}} files/es/web/api/filereader/readasdataurl/index.html:58:{{page("/en-US/docs/Web/API/FileReader","Specifications")}} files/es/web/api/filereader/readasdataurl/index.html:62:{{page("/en-US/docs/Web/API/FileReader","Browser compatibility")}} files/es/web/api/notifications_api/using_the_notifications_api/index.html:287:{{page("/en-US/Web/API/Notification","Browser compatibility")}} files/es/web/api/mediastreamaudiosourcenode/index.html:51:{{page("/en-US/docs/Web/API/AudioContext.createMediaStreamSource","Example")}} files/es/web/api/document/index.html:79:{{page("/en-US/docs/Web/API/ParentNode","Properties")}} files/es/web/api/geolocation_api/index.html:67:{{page("/en-US/docs/DOM/window.navigator.geolocation.getCurrentPosition","PositionOptions")}} files/es/web/api/geolocation_api/index.html:94:{{page("/en-US/docs/DOM/window.navigator.geolocation.getCurrentPosition","Position")}} files/es/web/api/geolocation_api/index.html:96:{{page("/en-US/docs/DOM/window.navigator.geolocation.getCurrentPosition","Coordinates")}} files/es/web/api/geolocation_api/index.html:107:{{page("/en-US/docs/DOM/window.navigator.geolocation.getCurrentPosition","PositionError")}} files/es/web/api/screen/index.html:61:{{page("/en-US/docs/Web/API/EventTarget","Methods")}} files/es/web/api/battery_status_api/index.html:32:{{page("/en-US/docs/Web/API/BatteryManager","Specifications")}} files/es/web/api/battery_status_api/index.html:34:{{page("/en-US/docs/Web/API/BatteryManager","Browser_compatibility")}} files/es/web/api/element/wheel_event/index.html:33:{{page("/en-US/docs/Web/API/WheelEvent", "Properties")}} files/es/web/api/element/wheel_event/index.html:37:{{page("/en-US/docs/Web/API/MouseEvent", "Properties")}} files/es/web/api/element/wheel_event/index.html:41:{{page("/en-US/docs/Web/API/UIEvent", "Properties")}} files/es/web/api/element/wheel_event/index.html:45:{{page("/en-US/docs/Web/API/Event", "Properties")}} files/es/web/api/element/wheel_event/index.html:53:{{page("/en-US/docs/Web/API/WheelEvent", "Methods")}} files/es/web/api/element/wheel_event/index.html:57:{{page("/en-US/docs/Web/API/MouseEvent", "Methods")}} files/es/web/api/element/wheel_event/index.html:61:{{page("/en-US/docs/Web/API/UIEvent", "Methods")}} files/es/web/api/element/wheel_event/index.html:65:{{page("/en-US/docs/Web/API/Event", "Methods")}} files/es/web/api/dragevent/index.html:110:{{page("/en-US/docs/Web/API/DataTransfer", "Ver también")}} files/es/web/api/batterymanager/chargingtime/index.html:19:{{page("/en-US/docs/Web/API/BatteryManager","Specifications")}} files/es/web/api/batterymanager/chargingtime/index.html:21:{{page("/en-US/docs/Web/API/BatteryManager","Browser_compatibility")}} files/es/web/api/batterymanager/charging/index.html:21:{{page("/en-US/docs/Web/API/BatteryManager","Specifications")}} files/es/web/api/batterymanager/charging/index.html:23:{{page("/en-US/docs/Web/API/BatteryManager","Browser_compatibility")}} files/es/web/api/batterymanager/onlevelchange/index.html:13:{{page("/en-US/docs/Web/API/BatteryManager","Specifications")}} files/es/web/api/batterymanager/onlevelchange/index.html:15:{{page("/en-US/docs/Web/API/BatteryManager","Browser_compatibility")}} files/es/web/api/batterymanager/onchargingchange/index.html:13:{{page("/en-US/docs/Web/API/BatteryManager","Specifications")}} files/es/web/api/batterymanager/onchargingchange/index.html:15:{{page("/en-US/docs/Web/API/BatteryManager","Browser_compatibility")}} files/es/web/api/batterymanager/level/index.html:15:{{page("/es/docs/Web/API/BatteryManager","Especificaciones")}} files/es/web/api/batterymanager/level/index.html:17:{{page("/es/docs/Web/API/BatteryManager","Compatibilidad")}} files/es/web/api/batterymanager/index.html:50:{{page("/en-US/docs/Web/API/EventTarget","Methods")}} files/es/web/api/batterymanager/dischargingtime/index.html:22:{{page("/en-US/docs/Web/API/BatteryManager","Specifications")}} files/es/web/api/batterymanager/dischargingtime/index.html:24:{{page("/en-US/docs/Web/API/BatteryManager","Browser_compatibility")}} I have counted 34 matches in Web/Javascriptfiles/es/web/javascript/reference/global_objects/syntaxerror/index.html:50:{{page('/es/docs/Web/JavaScript/Referencia/Objetos_globales/SyntaxError/prototype', 'Propiedades')}}
files/es/web/javascript/reference/global_objects/syntaxerror/index.html:54:{{page('/es/docs/Web/JavaScript/Referencia/Objetos_globales/SyntaxError/prototype', 'Metodos')}}
files/es/web/javascript/reference/global_objects/intl/numberformat/index.html:87:{{page('en-US/docs/JavaScript/Reference/Global_Objects/NumberFormat/prototype','Properties')}}
files/es/web/javascript/reference/global_objects/intl/numberformat/index.html:93:{{page('en-US/docs/JavaScript/Reference/Global_Objects/NumberFormat/prototype','Methods')}}
files/es/web/javascript/reference/global_objects/intl/numberformat/index.html:189:{{page('en-US/docs/JavaScript/Reference/Global_Objects/Intl','See_also')}} files/es/web/javascript/reference/global_objects/proxy/index.html:49:{{page('/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler', 'Methods') }}
files/es/web/javascript/reference/global_objects/asyncfunction/index.html:58:{{page('/en-US/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction/prototype', 'Properties')}}
files/es/web/javascript/reference/global_objects/urierror/index.html:50:{{page('/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError/prototype', 'Properties')}}
files/es/web/javascript/reference/global_objects/urierror/index.html:54:{{page('/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError/prototype', 'Methods')}}
files/es/web/javascript/reference/global_objects/number/parsefloat/index.html:27:{{page("en-US/docs/Web/JavaScript/Reference/Global_Objects/parseFloat", "Parameters")}} files/es/web/javascript/reference/global_objects/number/parsefloat/index.html:31:{{page("en-US/docs/Web/JavaScript/Reference/Global_Objects/parseFloat", "Return value")}} files/es/web/javascript/reference/global_objects/weakmap/index.html:52:{{page('en-US/Web/JavaScript/Reference/Global_Objects/WeakMap/prototype','Properties')}} files/es/web/javascript/reference/global_objects/weakmap/index.html:56:{{page('en-US/Web/JavaScript/Reference/Global_Objects/WeakMap/prototype','Methods')}} files/es/web/javascript/reference/global_objects/string/localecompare/index.html:26:{{page('/en-US/docs/Web/JavaScript/Reference/Global_Objects/Collator', 'Parameters')}}
files/es/web/javascript/reference/global_objects/date/tolocaledatestring/index.html:32:{{page('/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat', 'Parameters')}}
files/es/web/javascript/reference/global_objects/rangeerror/index.html:49:{{page('/es/docs/Web/JavaScript/Reference/Global_Objects/RangeError/prototype', 'Propiedades')}}
files/es/web/javascript/reference/global_objects/rangeerror/index.html:53:{{page('/es/docs/Web/JavaScript/Reference/Global_Objects/RangeError/prototype', 'Métodos')}}
files/es/web/javascript/reference/global_objects/symbol/index.html:124:{{page('en-US/Web/JavaScript/Reference/Global_Objects/Symbol/prototype','Properties')}} files/es/web/javascript/reference/global_objects/symbol/index.html:128:{{page('en-US/Web/JavaScript/Reference/Global_Objects/Symbol/prototype','Methods')}} files/es/web/javascript/reference/global_objects/arraybuffer/index.html:77:{{page('es/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/prototype','Propiedades')}} files/es/web/javascript/reference/global_objects/arraybuffer/index.html:81:{{page('es/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/prototype','Métodos')}} files/es/web/javascript/reference/global_objects/weakset/index.html:50:{{page('en-US/Web/JavaScript/Reference/Global_Objects/WeakSet/prototype','Properties')}} files/es/web/javascript/reference/global_objects/weakset/index.html:54:{{page('en-US/Web/JavaScript/Reference/Global_Objects/WeakSet/prototype','Methods')}} files/es/web/javascript/reference/global_objects/object/index.html:107:{{page('/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/prototype', 'Properties') }}
files/es/web/javascript/reference/global_objects/object/index.html:111:{{page('/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/prototype', 'Methods') }}
files/es/web/javascript/reference/global_objects/set/index.html:58:{{page('en-US/Web/JavaScript/Reference/Global_Objects/Set/prototype','Properties')}} files/es/web/javascript/reference/global_objects/set/index.html:62:{{page('en-US/Web/JavaScript/Reference/Global_Objects/Set/prototype','Methods')}} files/es/web/javascript/reference/global_objects/evalerror/index.html:49:{{page('/es/docs/Web/JavaScript/Referencia/Objetos_globales/Error/prototype', 'Properties')}}
files/es/web/javascript/reference/global_objects/evalerror/index.html:53:{{page('/es/docs/Web/JavaScript/Referencia/Objetos_globales/Error/prototype', 'Métodos')}}
files/es/web/javascript/reference/global_objects/promise/index.html:86:{{page('en-US/Web/JavaScript/Reference/Global_Objects/Promise/prototype','Properties')}} files/es/web/javascript/reference/global_objects/promise/index.html:90:{{page('en-US/Web/JavaScript/Reference/Global_Objects/Promise/prototype','Methods')}} files/es/web/javascript/reference/index.html:13:{{page('/es/docs/Web/JavaScript/Referencia/Objetos_globales', 'Objetos_est.C3.A1ndar_(por_categor.C3.ADa)')}}
files/es/web/javascript/reference/index.html:17:{{page('/es/docs/Web/JavaScript/Referencia/Sentencias', 'Statements_and_declarations_by_category')}} files/es/web/javascript/reference/index.html:21:{{page('/es/docs/Web/JavaScript/Referencia/Operadores', 'Expressions_and_operators_by_category')}} I have counted 13 matches in Web/CSS and Web/HTMLfiles/es/web/css/max-block-size/index.html:48:{{page("/en-US/docs/Web/CSS/max-width", "Values")}} files/es/web/css/shorthand_properties/index.html:145:{{page("/en-US/docs/Learn/CSS/Introduction_to_CSS/Cascade_and_inheritance", "Controlling_inheritance")}} files/es/web/html/element/input/number/index.html:98:{{page("/en-US/docs/Web/HTML/Element/input/text", "list", 0, 1, 2)}} files/es/web/html/element/input/number/index.html:112:{{page("/en-US/docs/Web/HTML/Element/input/text", "placeholder", 0, 1, 2)}} files/es/web/html/element/input/number/index.html:114:{{page("/en-US/docs/Web/HTML/Element/input/text", "readonly", 0, 1, 2)}} files/es/web/html/element/input/date/index.html:85:{{page("/en-US/docs/Web/HTML/Element/input/number", "step-include")}} files/es/web/html/element/input/date/index.html:136:{{page("/en-US/docs/Web/HTML/Element/input/number", "step-include")}} files/es/web/html/element/input/email/index.html:112:{{page("/es/docs/Web/HTML/Element/input/text", "list", 0, 1, 2)}} files/es/web/html/element/input/email/index.html:136:{{page("/es/docs/Web/HTML/Element/input/text", "pattern-include")}} files/es/web/html/element/input/email/index.html:140:{{page("/es/docs/Web/HTML/Element/input/text", "placeholder", 0, 1, 2)}} files/es/web/html/element/input/email/index.html:142:{{page("/es/docs/Web/HTML/Element/input/text", "readonly", 0, 1, 2)}} files/es/web/html/element/input/email/index.html:144:{{page("/es/docs/Web/HTML/Element/input/text", "size", 0, 1, 2)}} files/es/web/html/element/track/index.html:120:{{page("/es/docs/Web/API/TextTrack/cuechange_event", "En el elemento track")}} Then I did MND and Tools folders manually. 😞 @cw118 Also, I found 13 more matches on WebAPI/notification, Web/API/customevent and Web/API/emenent.files/es/web/api/notification/onclick/index.html:54: {{Page("/en-US/docs/Web/API/Notification","Browser compatibility")}} files/es/web/api/notification/permission/index.html:176: {{Page("/en-US/docs/Web/API/Notifications_API", "Firefox OS notes")}} files/es/web/api/notification/permission/index.html:180: {{Page("/en-US/docs/Web/API/Notifications_API", "Chrome notes")}} files/es/web/api/notification/permission/index.html:184: {{Page("/en-US/docs/Web/API/Notifications_API", "Safari notes")}} files/es/web/api/notification/body/index.html:56: {{Page("/en-US/docs/Web/API/Notification","Browser compatibility")}} files/es/web/api/notification/icon/index.html:51: {{Page("/en-US/docs/Web/API/Notification","Browser compatibility")}} files/es/web/api/notification/dir/index.html:52: {{Page("/en-US/docs/Web/API/Notification","Browser compatibility")}} files/es/web/api/notification/requestpermission/index.html:129: {{Page("/en-US/docs/Web/API/Notifications_API", "Firefox OS notes")}} files/es/web/api/notification/requestpermission/index.html:133: {{Page("/en-US/docs/Web/API/Notifications_API", "Chrome notes")}} files/es/web/api/notification/requestpermission/index.html:137: {{Page("/en-US/docs/Web/API/Notifications_API", "Safari notes")}} files/es/web/api/customevent/index.html:33: {{Page("/es/docs/Web/API/Event", "Propiedades")}} files/es/web/api/customevent/index.html:46: {{Page("/es/docs/Web/API/Event", "Métodos")}} files/es/web/api/element/animate/index.html:39: {{Page("/en-US/docs/Web/API/Web_Animations_API/Animation_timing_properties", "Properties")}} |
@JuanVqz I believe Ctrl + F is a universal "search shortcut" that you can try in a file in your code editor, but I'm not entirely sure. I just looked at the |
And feel free to split the effort across multiple PRs, or possibly even create more issues to keep track of specific sections! |
you are right, that sounds reasonable |
@JuanVqz for what it's worth, I'm using VS Code and looking for the following regexp across the mdn/translated-content folders: |
Finally done! Updating pages and macro removed |
Quoting SphinxKnight:
The
{{page}}
macro must be replaced by the content it was meant to transclude, with the ultimate goal being to match locale files with the en-US pages.As with searches conducted in all other locales, I've excluded the
conflicting
andorphaned
folders since they require "special handling". There are 108 results in 56 files fores
so far:25 pages in Web/API:
19 pages in Web/JavaScript:
Misc, Web/CSS, Web/HTML and MDN (edit: please see #4822 for dealing with the Tools section):
Dividimos este Issue:
The text was updated successfully, but these errors were encountered: