2014-07-21 09:13:23 +00:00
|
|
|
<?php
|
|
|
|
|
/**
|
|
|
|
|
* 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
|
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
|
* (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
|
* http://www.gnu.org/copyleft/gpl.html
|
|
|
|
|
*
|
|
|
|
|
* @file
|
|
|
|
|
*/
|
|
|
|
|
|
2021-02-18 06:38:52 +00:00
|
|
|
use MediaWiki\Permissions\Authority;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Request-dependent objects containers.
|
|
|
|
|
*
|
|
|
|
|
* @since 1.26
|
|
|
|
|
*/
|
2014-07-21 09:13:23 +00:00
|
|
|
interface MutableContext {
|
2017-12-28 18:59:53 +00:00
|
|
|
|
2014-07-21 09:13:23 +00:00
|
|
|
/**
|
2017-12-28 15:31:56 +00:00
|
|
|
* @param Config $config
|
2014-07-21 09:13:23 +00:00
|
|
|
*/
|
2017-12-28 15:31:56 +00:00
|
|
|
public function setConfig( Config $config );
|
2014-07-21 09:13:23 +00:00
|
|
|
|
|
|
|
|
/**
|
2017-12-28 18:59:53 +00:00
|
|
|
* @param WebRequest $request
|
2014-07-21 09:13:23 +00:00
|
|
|
*/
|
2017-12-28 18:59:53 +00:00
|
|
|
public function setRequest( WebRequest $request );
|
2014-07-21 09:13:23 +00:00
|
|
|
|
|
|
|
|
/**
|
2017-12-28 18:59:53 +00:00
|
|
|
* @param Title $title
|
2014-07-21 09:13:23 +00:00
|
|
|
*/
|
2017-12-28 18:59:53 +00:00
|
|
|
public function setTitle( Title $title );
|
2014-07-21 09:13:23 +00:00
|
|
|
|
|
|
|
|
/**
|
2017-12-28 18:59:53 +00:00
|
|
|
* @param WikiPage $wikiPage
|
2014-07-21 09:13:23 +00:00
|
|
|
*/
|
2017-12-28 18:59:53 +00:00
|
|
|
public function setWikiPage( WikiPage $wikiPage );
|
2014-07-21 09:13:23 +00:00
|
|
|
|
|
|
|
|
/**
|
2017-12-28 18:59:53 +00:00
|
|
|
* @param OutputPage $output
|
2014-07-21 09:13:23 +00:00
|
|
|
*/
|
2017-12-28 18:59:53 +00:00
|
|
|
public function setOutput( OutputPage $output );
|
2014-07-21 09:13:23 +00:00
|
|
|
|
|
|
|
|
/**
|
2017-12-28 18:59:53 +00:00
|
|
|
* @param User $user
|
2014-07-21 09:13:23 +00:00
|
|
|
*/
|
2017-12-28 18:59:53 +00:00
|
|
|
public function setUser( User $user );
|
2014-07-21 09:13:23 +00:00
|
|
|
|
2021-01-08 01:01:28 +00:00
|
|
|
/**
|
|
|
|
|
* @unstable
|
|
|
|
|
* @param Authority $authority
|
|
|
|
|
*/
|
|
|
|
|
public function setAuthority( Authority $authority );
|
|
|
|
|
|
2014-07-21 09:13:23 +00:00
|
|
|
/**
|
2017-12-28 18:59:53 +00:00
|
|
|
* @param Language|string $language Language instance or language code
|
2014-07-21 09:13:23 +00:00
|
|
|
*/
|
2017-12-28 18:59:53 +00:00
|
|
|
public function setLanguage( $language );
|
2014-07-21 09:13:23 +00:00
|
|
|
|
|
|
|
|
/**
|
2017-12-28 18:59:53 +00:00
|
|
|
* @param Skin $skin
|
2014-07-21 09:13:23 +00:00
|
|
|
*/
|
2017-12-28 18:59:53 +00:00
|
|
|
public function setSkin( Skin $skin );
|
2014-07-21 09:13:23 +00:00
|
|
|
|
|
|
|
|
}
|