X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Factions%2FRawAction.php;h=4baf7b9c4aae7220f31dddafaa68cc9ed0e87bde;hb=66d3eb56afc737e4e5ee66f7cad1dc78d1aec6b0;hp=a212915378569d8da547b44e2413c43c0e5da39d;hpb=bd2a78a159ce6d9f7b27fd75d05570228b44c3cb;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/actions/RawAction.php b/includes/actions/RawAction.php index a212915378..4baf7b9c4a 100644 --- a/includes/actions/RawAction.php +++ b/includes/actions/RawAction.php @@ -5,7 +5,7 @@ * Copyright © 2004 Gabriel Wicke * http://wikidev.net/ * - * Based on HistoryPage and SpecialExport + * Based on HistoryAction and SpecialExport * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -252,40 +252,3 @@ class RawAction extends FormlessAction { return $ctype; } } - -/** - * Backward compatibility for extensions - * - * @deprecated since 1.19 - */ -class RawPage extends RawAction { - public $mOldId; - - /** - * @param Page $page - * @param WebRequest|bool $request The WebRequest (default: false). - */ - function __construct( Page $page, $request = false ) { - wfDeprecated( __CLASS__, '1.19' ); - parent::__construct( $page ); - - if ( $request !== false ) { - $context = new DerivativeContext( $this->getContext() ); - $context->setRequest( $request ); - $this->context = $context; - } - } - - public function view() { - $this->onView(); - } - - public function getOldId() { - # Some extensions like to set $mOldId - if ( $this->mOldId !== null ) { - return $this->mOldId; - } - - return parent::getOldId(); - } -}