Fix outputting AJAX
authorMatěj Grabovský <mgrabovsky@users.mediawiki.org>
Sat, 18 Jun 2011 21:13:46 +0000 (21:13 +0000)
committerMatěj Grabovský <mgrabovsky@users.mediawiki.org>
Sat, 18 Jun 2011 21:13:46 +0000 (21:13 +0000)
commitfa5ca6db3dac03ba13eea07e17b59525b322bd63
tree16a0d541aba7258f8b8f9363d0e5111f3788f2ef
parent94035c764f0f33d7734f496a29d7552c26b9b728
Fix outputting AJAX

When calling remote functions, MW was outputting the result followed by page HTML. This was caused by calling the cleanup function, which also output the HTML, even after an AJAX request. Fixed by moving the call after AJAX is all safely handled.
includes/Wiki.php