Index: trunk/phase3/includes/specials/SpecialRevisionMove.php |
— | — | @@ -48,12 +48,10 @@ |
49 | 49 | |
50 | 50 | /** |
51 | 51 | * @param $par subpage part, standard special page parameter, is ignored here |
52 | | - * @param $request optional WebRequest object. If it isn't set, $this->request |
53 | | - * will be set to $wgRequest |
54 | 52 | * |
55 | 53 | * Mostly initializes variables and calls either showForm() or submit() |
56 | 54 | */ |
57 | | - public function execute( $par = '', $request = null ) { |
| 55 | + public function execute( $par = '' ) { |
58 | 56 | global $wgUser, $wgOut, $wgSkin; |
59 | 57 | |
60 | 58 | $this->setHeaders(); |
— | — | @@ -62,10 +60,8 @@ |
63 | 61 | $this->mIsAllowedRevisionMove = $wgUser->isAllowed( 'revisionmove' ); |
64 | 62 | $this->user = $wgUser; |
65 | 63 | $this->skin = $wgUser->getSkin(); |
66 | | - if ( !$request instanceof WebRequest ) { |
| 64 | + if ( !$this->request instanceof WebRequest ) { |
67 | 65 | $this->request = $GLOBALS['wgRequest']; |
68 | | - } else { |
69 | | - $this->request = $request; |
70 | 66 | } |
71 | 67 | |
72 | 68 | # Get correct title |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -77,6 +77,9 @@ |
78 | 78 | notified about the beginning and finishing of LivePreview actions. |
79 | 79 | * (bug 21278) Now the sidebar allows inclusion of wiki markup. |
80 | 80 | * (bug 23733) Add IDs to messages used on CSS/JS pages |
| 81 | +* (bug 21312) RevisionMove allows moving individual revisions of a page to |
| 82 | + another page. Introducing 'revisionmove' user right; disabled by default; |
| 83 | + experimental feature. |
81 | 84 | |
82 | 85 | === Bug fixes in 1.17 === |
83 | 86 | * (bug 17560) Half-broken deletion moved image files to deletion archive |