Index: trunk/phase3/includes/specials/SpecialExport.php |
— | — | @@ -210,7 +210,13 @@ |
211 | 211 | */ |
212 | 212 | |
213 | 213 | $pages = array_keys( $pageSet ); |
214 | | - |
| 214 | + |
| 215 | + // Normalize titles to the same format and remove dupes, see bug 17374 |
| 216 | + foreach( $pages as $k => $v ) { |
| 217 | + $pages[$k] = str_replace( " ", "_", $v ); |
| 218 | + } |
| 219 | + $pages = array_unique( $pages ); |
| 220 | + |
215 | 221 | /* Ok, let's get to it... */ |
216 | 222 | if( $history == WikiExporter::CURRENT ) { |
217 | 223 | $lb = false; |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -294,6 +294,7 @@ |
295 | 295 | * (bug 18031) Make namespace selector on Special:Export remember the previous |
296 | 296 | selection |
297 | 297 | * The svn-version version numbers on Special:Version have been removed |
| 298 | +* (bug 17374) Special:Export no longer exports two copies of the same page |
298 | 299 | |
299 | 300 | == API changes in 1.15 == |
300 | 301 | * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions |