[WikiImporter::notice] use wfDebug instead of echo in notice()
authorYifei He <eflyjason@gmail.com>
Fri, 22 Dec 2017 03:12:28 +0000 (11:12 +0800)
committerYifei He <eflyjason@gmail.com>
Fri, 22 Dec 2017 04:24:42 +0000 (12:24 +0800)
commit6db33c1a4b81e46c56457e3a433de12e11eeb3b0
treeadfdb291030e07e8c42cddf2d8621b16f9cae9e2
parent983173f3be216070d7bcd2c0930dfe86e39f5b5b
[WikiImporter::notice] use wfDebug instead of echo in notice()

Make the default notice implementation of notice() function to
send the notice to wfDebug() instead of simply echo to prevent XSS

Bug: T177997
Change-Id: I9ffb597e0642afc1603cdd15e2d09c6f2584b448
includes/import/WikiImporter.php
maintenance/dumpIterator.php
maintenance/importDump.php
maintenance/renderDump.php
maintenance/storage/checkStorage.php