https://bugzilla.wikimedia.org/show_bug.cgi?id=28415
--- Comment #3 from Brion Vibber <[email protected]> 2011-05-05 18:11:19 UTC --- Dupe bug included some indications that Special:Import also fails in an unpleasant way when given an import file with no pages; that should also be handled better if it hasn't already been. Note that Special:Export works by being given a set of zero or more titles, possibly expanding them into a larger list by fetching category listings, template usage, etc, and then goes through that list exporting whichever pages actually exist. If you ask for 5000 titles and only 4998 pages exist, it's correct behavior to receive an XML output file with 4998 pages in it. If you only asked for one, and it's not there, then yes that's information you may want to know. :) But keep in mind that some folks might even be deliberately asking for nonexistent pages just to get the export's siteinfo section -- this should not break. What's needed presumably is a way to report that the output file doesn't/won't contain specific titles that you asked for (whereas say a template invocation where the template doesn't exist presumably shouldn't warn you, since you didn't explicitly ask for the template but it was brought in from another page you did ask for which did exist). I guess this could be done by doing a separate hit to check all the pages you asked for before (or after? or ?) the actual export file build. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
