summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
84f623b)
Change-Id: Id20f632762d705ba5e5eb18088f6e9e551b3f42b
*/
class ApiImageRotate extends ApiBase {
*/
class ApiImageRotate extends ApiBase {
private $mPageSet = null;
public function __construct( $main, $action ) {
private $mPageSet = null;
public function __construct( $main, $action ) {
/**
* Checks that the user has permissions to perform rotations.
/**
* Checks that the user has permissions to perform rotations.
- * @param $user User The user to check.
+ * @param User $user The user to check
+ * @param Title $title
* @return string|null Permission error message, or null if there is no error
*/
protected function checkPermissions( $user, $title ) {
* @return string|null Permission error message, or null if there is no error
*/
protected function checkPermissions( $user, $title ) {
private $mFakePageId = -1;
private $mCacheMode = 'public';
private $mRequestedPageFields = array();
private $mFakePageId = -1;
private $mCacheMode = 'public';
private $mRequestedPageFields = array();
private $mDefaultNamespace = NS_MAIN;
/**
private $mDefaultNamespace = NS_MAIN;
/**
/**
* @param $resultPageSet ApiPageSet
/**
* @param $resultPageSet ApiPageSet
*/
private function run( $resultPageSet = null ) {
if ( $this->getPageSet()->getGoodTitleCount() == 0 ) {
*/
private function run( $resultPageSet = null ) {
if ( $this->getPageSet()->getGoodTitleCount() == 0 ) {
- * @param $resultPageSet ApiPageSet
- * @return
+ * @param ApiPageSet $resultPageSet
*/
private function run( $resultPageSet = null ) {
$params = $this->extractRequestParams();
*/
private function run( $resultPageSet = null ) {
$params = $this->extractRequestParams();
* Returns the descriptions for the properties provided by getPropertyNames()
*
* @param array $filter List of properties to filter out
* Returns the descriptions for the properties provided by getPropertyNames()
*
* @param array $filter List of properties to filter out
+ * @param string $modulePrefix
* @return array
*/
public static function getPropertyDescriptions( $filter = array(), $modulePrefix = '' ) {
* @return array
*/
public static function getPropertyDescriptions( $filter = array(), $modulePrefix = '' ) {