Index: trunk/phase3/includes/specials/SpecialExport.php |
— | — | @@ -65,9 +65,9 @@ |
66 | 66 | } |
67 | 67 | else if( $wgRequest->getCheck( 'addns' ) && $wgExportFromNamespaces ) { |
68 | 68 | $page = $wgRequest->getText( 'pages' ); |
69 | | - $nsindex = $wgRequest->getText( 'nsindex' ); |
| 69 | + $nsindex = $wgRequest->getText( 'nsindex', '' ); |
70 | 70 | |
71 | | - if ( $nsindex !== '' && $nsindex !== NULL && $nsindex !== false ) { |
| 71 | + if ( $nsindex !== '' && $nsindex !== null && $nsindex !== false ) { |
72 | 72 | /** |
73 | 73 | * Same implementation as above, so same @fixme |
74 | 74 | */ |
— | — | @@ -151,7 +151,7 @@ |
152 | 152 | $form .= Xml::submitButton( wfMsg( 'export-addcat' ), array( 'name' => 'addcat' ) ) . '<br />'; |
153 | 153 | |
154 | 154 | if ( $wgExportFromNamespaces ) { |
155 | | - $form .= Xml::namespaceSelector( '', null, 'nsindex', wfMsg( 'export-addnstext' ) ) . ' '; |
| 155 | + $form .= Xml::namespaceSelector( $nsindex, null, 'nsindex', wfMsg( 'export-addnstext' ) ) . ' '; |
156 | 156 | $form .= Xml::submitButton( wfMsg( 'export-addns' ), array( 'name' => 'addns' ) ) . '<br />'; |
157 | 157 | } |
158 | 158 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -290,6 +290,8 @@ |
291 | 291 | * (bug 17241) The diffonly URI parameter should cascade to "Next edit" and "Previous edit" diff links |
292 | 292 | * (bug 16823) 'Sidebar search form should not use Special:Search view URL as target' |
293 | 293 | * (bug 16343) Non-existing, but in use, category pages can be "go" match hits |
| 294 | +* (bug 18031) Make namespace selector on Special:Export remember the previous |
| 295 | + selection |
294 | 296 | |
295 | 297 | == API changes in 1.15 == |
296 | 298 | * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions |