SpecialNewimages: Do not add the module when the special page is included
authorFomafix <fomafix@googlemail.com>
Sun, 11 Jun 2017 18:46:41 +0000 (20:46 +0200)
committerFomafix <fomafix@googlemail.com>
Sun, 11 Jun 2017 20:26:14 +0000 (22:26 +0200)
commit599275035e22b36114324ed71d8b12a2438bea7e
tree556e68764f0c876d611f2387114054907906672c
parent783b2a2d4de1bfe4bb2ff82756481ac90987e1cc
SpecialNewimages: Do not add the module when the special page is included

When the special page is included with
{{Special:NewImages}}
the module 'mediawiki.special.newFiles' throws an error.

This change loads the module 'mediawiki.special.newFiles' together with the
form.

Bug: T167601
Change-Id: I5a0589f62388292851664daf1ab5e63008556a64
includes/specials/SpecialNewimages.php