http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89523
Revision: 89523
Author: reedy
Date: 2011-06-05 19:22:49 +0000 (Sun, 05 Jun 2011)
Log Message:
-----------
* (bug 28002) Internal error in ApiFormatRaw::getMimeType
If we just return when no titles, we don't format anything, and everything
breaks
Might aswell just unconditionally export, as even with no titles, we still get
all the siteinfo and such
Modified Paths:
--------------
trunk/phase3/RELEASE-NOTES-1.19
trunk/phase3/includes/api/ApiQuery.php
Modified: trunk/phase3/RELEASE-NOTES-1.19
===================================================================
--- trunk/phase3/RELEASE-NOTES-1.19 2011-06-05 19:21:51 UTC (rev 89522)
+++ trunk/phase3/RELEASE-NOTES-1.19 2011-06-05 19:22:49 UTC (rev 89523)
@@ -98,6 +98,7 @@
* (bug 29267) always give the servername for meta=siteinfo&siprop=dbrepllag
* (bug 28897) rvparse doesn’t seem to work with rvsection
* (bug 25734) API: possible issue with revids validation
+* (bug 28002) Internal error in ApiFormatRaw::getMimeType
=== Languages updated in 1.19 ===
Modified: trunk/phase3/includes/api/ApiQuery.php
===================================================================
--- trunk/phase3/includes/api/ApiQuery.php 2011-06-05 19:21:51 UTC (rev
89522)
+++ trunk/phase3/includes/api/ApiQuery.php 2011-06-05 19:22:49 UTC (rev
89523)
@@ -484,10 +484,6 @@
}
}
}
- // only export when there are titles
- if ( !count( $exportTitles ) ) {
- return;
- }
$exporter = new WikiExporter( $this->getDB() );
// WikiExporter writes to stdout, so catch its
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs