follow-up on r67094: fixing presumed cause for php strict standards message and addin...
authorTobias <churchofemacs@users.mediawiki.org>
Sat, 5 Jun 2010 11:59:48 +0000 (11:59 +0000)
committerTobias <churchofemacs@users.mediawiki.org>
Sat, 5 Jun 2010 11:59:48 +0000 (11:59 +0000)
RELEASE-NOTES
includes/specials/SpecialRevisionMove.php

index aac8f01..2e1e67d 100644 (file)
@@ -77,6 +77,9 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   notified about the beginning and finishing of LivePreview actions.
 * (bug 21278) Now the sidebar allows inclusion of wiki markup.
 * (bug 23733) Add IDs to messages used on CSS/JS pages
+* (bug 21312) RevisionMove allows moving individual revisions of a page to 
+  another page. Introducing 'revisionmove' user right; disabled by default;
+  experimental feature.
 
 === Bug fixes in 1.17 ===
 * (bug 17560) Half-broken deletion moved image files to deletion archive
index ab6d1a1..4aa5e10 100644 (file)
@@ -48,12 +48,10 @@ class SpecialRevisionMove extends UnlistedSpecialPage {
 
        /**
         * @param $par subpage part, standard special page parameter, is ignored here
-        * @param $request optional WebRequest object. If it isn't set, $this->request 
-        *                 will be set to $wgRequest
         * 
         * Mostly initializes variables and calls either showForm() or submit()
         */
-       public function execute( $par = '', $request = null ) {
+       public function execute( $par = '' ) {
                global $wgUser, $wgOut, $wgSkin;
 
                $this->setHeaders();
@@ -62,10 +60,8 @@ class SpecialRevisionMove extends UnlistedSpecialPage {
                $this->mIsAllowedRevisionMove = $wgUser->isAllowed( 'revisionmove' );
                $this->user = $wgUser;
                $this->skin = $wgUser->getSkin();
-               if ( !$request instanceof WebRequest ) {
+               if ( !$this->request instanceof WebRequest ) {
                        $this->request = $GLOBALS['wgRequest'];
-               } else {
-                       $this->request = $request;
                }
 
                # Get correct title