User talk:Ingenuity/AbuseFilterContribs
Latest comment: 6 months ago by Novem Linguae in topic Uncaught TypeError: mw.Api is not a constructor
Spanish translation proposal
editI would like to propose a Spanish translation of this script since some users might use this globally (such as eswiki and other Spanish-language projects). It would appear as:
- 12:36, 10 enero 2023: desencadenó un filtro privado en Example page name
- 12:34, 10 enero 2023 (difs. • hist.) . . (+789) . . Example page name (nada)
- 12:31, 10 enero 2023: desencadenó 2 filtros (384, 135) en Example page name (detalles | examinar)
- 12:29, 10 enero 2023 (difs. • hist.) . . (-10) . . Example page name (Artículo creado con el #Asistentedeartículos)
Thank you. – 64andtim 🤔 (problem?) 02:40, 2 March 2024 (UTC)
Uncaught TypeError: mw.Api is not a constructor
editSteps to reproduce: install script, then visit any page, add ?debug=1 in the URL, then refresh.
Fix: load the library mediawiki.api somewhere in your code. Can do this by wrapping everything in mw.loader.using( [ 'mediawiki.api' ], function() {
.
Motivation: reduce JavaScript console log spam while I am debugging other scripts with this script installed.
Thanks in advance. Happy coding. –Novem Linguae (talk) 16:43, 7 May 2024 (UTC)