diff --git a/includes/api/ApiEditPage.php b/includes/api/ApiEditPage.php index daa5d1fa6b0..4e1c871142a 100644 --- a/includes/api/ApiEditPage.php +++ b/includes/api/ApiEditPage.php @@ -348,7 +348,6 @@ class ApiEditPage extends ApiBase { if ( !is_null( $params['section'] ) && $contentHandler->supportsSections() && $titleObj->exists() ) { - $sectionTitle = ''; // If sectiontitle is set, use it, otherwise use the summary as the section title (for // backwards compatibility with old forms/bots). if ( $ep->sectiontitle !== '' ) { diff --git a/includes/api/ApiQueryFileRepoInfo.php b/includes/api/ApiQueryFileRepoInfo.php index 3d4d38f7226..da7e0544b5e 100644 --- a/includes/api/ApiQueryFileRepoInfo.php +++ b/includes/api/ApiQueryFileRepoInfo.php @@ -93,8 +93,6 @@ class ApiQueryFileRepoInfo extends ApiQueryBase { } public function getParamDescription() { - $p = $this->getModulePrefix(); - return array( 'prop' => array( 'Which repository properties to get (there may be more available on some wikis):',