* (bug 6971) Fix regression in Special:Export history view
* Revamped Special:Imagelist
* (bug 7000) updated MessagesPl.php
+* (bug 6946) Fix unexpected behavior change with GET hits to Special:Export
== Languages updated ==
'offset' => false,
'limit' => $maxLimit,
);
- if( $wgRequest->getVal( 'action' ) == 'submit') {
+ if( $wgRequest->wasPosted() ) {
$page = $wgRequest->getText( 'pages' );
$curonly = $wgRequest->getCheck( 'curonly' );
$rawOffset = $wgRequest->getVal( 'offset' );
$history['dir'] = 'desc';
}
}
+ } else {
+ // Default to current-only for GET requests
+ $page = $wgRequest->getText( 'pages' );
+ $historyCheck = $wgRequest->getCheck( 'history' );
+ if( $historyCheck ) {
+ $history = MW_EXPORT_FULL;
+ } else {
+ $history = MW_EXPORT_CURRENT;
+ }
}
if( !$wgExportAllowHistory ) {
// Override