From: Kevin Israel Date: Wed, 7 Oct 2015 04:55:42 +0000 (-0400) Subject: Change 1.26 to 1.27, mostly in doc comments X-Git-Tag: 1.31.0-rc.0~9445^2 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=b52502eec55050219e414b23a0be37c5a4d08c01;p=lhc%2Fweb%2Fwiklou.git Change 1.26 to 1.27, mostly in doc comments Using the following command line, I have found doc comments (and a wfDeprecated() call) mentioning "1.26" when they should mention "1.27" instead, which I have fixed manually: git diff -M REL1_26 | grep --color=always -C 10 -iP \ '^\+.*\D1\.26(\D|$)' | aha > oldver.html Follows-up these commits: * 047b60b96d8218eec5122dbca38e367773267d4b * 169b7b98b5c43db55acfc7e31b089300c0026c80 * 25a44aa3e4fa511d326b373af71762eb7375db7a * 2fb2a3f14b34d4b81de2ca1aec07efc5659f9e90 * 3f1e9fa268cdc9850dd1df2b271dbd814d957488 [1] * 8c84af70b656678dea7845eee6acbfe7ced6d6f9 * c0cb80beac069254edf9f77b7ce149af6568be23 * d04a92a5517d656447d73001e51a8cfb9b130d07 * d3b85592ead7fc1348c20c565fd21375da5417de [1] Release notes moved in I195dd1cf. Because a release note stating that the UserRights hook is deprecated was added in 37062a0c0d0b (before the branch cut), this commit does not change the Hooks::run call that had been changed in 21206c8fbe90. Change-Id: I5a427f003e7e3b4559fe377bcdfdca466a570708 --- diff --git a/includes/api/ApiImport.php b/includes/api/ApiImport.php index a6aae4bb1c..f0ca6fe4ad 100644 --- a/includes/api/ApiImport.php +++ b/includes/api/ApiImport.php @@ -97,7 +97,7 @@ class ApiImport extends ApiBase { * source. * * @return array - * @since 1.26 + * @since 1.27 */ public function getAllowedImportSources() { $importSources = $this->getConfig()->get( 'ImportSources' ); diff --git a/includes/changes/CategoryMembershipChange.php b/includes/changes/CategoryMembershipChange.php index a12a1d870f..9e73ebeacc 100644 --- a/includes/changes/CategoryMembershipChange.php +++ b/includes/changes/CategoryMembershipChange.php @@ -20,7 +20,7 @@ * @file * @author Kai Nissen * @author Adam Shorland - * @since 1.26 + * @since 1.27 */ use Wikimedia\Assert\Assert; diff --git a/includes/changes/RecentChange.php b/includes/changes/RecentChange.php index 2ccc24b5e9..07d1487626 100644 --- a/includes/changes/RecentChange.php +++ b/includes/changes/RecentChange.php @@ -760,7 +760,7 @@ class RecentChange { * Constructs a RecentChange object for the given categorization * This does not call save() on the object and thus does not write to the db * - * @since 1.26 + * @since 1.27 * * @param string $timestamp Timestamp of the recent change to occur * @param Title $categoryTitle Title of the category a page is being added to or removed from diff --git a/includes/db/loadbalancer/LoadMonitor.php b/includes/db/loadbalancer/LoadMonitor.php index 438e4fcb91..d5cd01701e 100644 --- a/includes/db/loadbalancer/LoadMonitor.php +++ b/includes/db/loadbalancer/LoadMonitor.php @@ -56,7 +56,7 @@ interface LoadMonitor { /** * Clear any process and persistent cache of lag times - * @since 1.26 + * @since 1.27 */ public function clearCaches(); } diff --git a/includes/deferred/DataUpdate.php b/includes/deferred/DataUpdate.php index 4a61b2aff3..cb571400c7 100644 --- a/includes/deferred/DataUpdate.php +++ b/includes/deferred/DataUpdate.php @@ -127,7 +127,7 @@ abstract class DataUpdate implements DeferrableUpdate { * * @param DataUpdate[] $updates A list of DataUpdate instances * @return DataUpdate[] - * @since 1.26 + * @since 1.27 */ protected static function enqueueUpdates( array $updates ) { $remaining = array(); @@ -151,7 +151,7 @@ abstract class DataUpdate implements DeferrableUpdate { * Such updates must be representable using IJobSpecification, so that * they can be serialized into jobs and enqueued for later execution * - * @since 1.26 + * @since 1.27 */ interface EnqueueableDataUpdate { /** diff --git a/includes/deferred/DeferredUpdates.php b/includes/deferred/DeferredUpdates.php index 7d02a7a9cf..cdd1fff012 100644 --- a/includes/deferred/DeferredUpdates.php +++ b/includes/deferred/DeferredUpdates.php @@ -136,7 +136,7 @@ class DeferredUpdates { /** * @note This method is intended for testing purposes * @param bool $value Whether to *always* defer updates, even in CLI mode - * @since 1.26 + * @since 1.27 */ public static function forceDeferral( $value ) { self::$forceDeferral = $value; diff --git a/includes/jobqueue/jobs/DeleteLinksJob.php b/includes/jobqueue/jobs/DeleteLinksJob.php index b24109bb74..9767d9fce2 100644 --- a/includes/jobqueue/jobs/DeleteLinksJob.php +++ b/includes/jobqueue/jobs/DeleteLinksJob.php @@ -27,7 +27,7 @@ * Only DataUpdate classes should construct these jobs * * @ingroup JobQueue - * @since 1.26 + * @since 1.27 */ class DeleteLinksJob extends Job { function __construct( Title $title, array $params ) { diff --git a/includes/resourceloader/ResourceLoader.php b/includes/resourceloader/ResourceLoader.php index 77ceff66df..1221a2d321 100644 --- a/includes/resourceloader/ResourceLoader.php +++ b/includes/resourceloader/ResourceLoader.php @@ -1587,7 +1587,7 @@ MESSAGE; * Returns LESS compiler set up for use with MediaWiki * * @since 1.22 - * @since 1.26 added $extraVars parameter + * @since 1.27 added $extraVars parameter * @param Config $config * @param array $extraVars Associative array of extra (i.e., other than the * globally-configured ones) that should be used for compilation. diff --git a/includes/resourceloader/ResourceLoaderEditToolbarModule.php b/includes/resourceloader/ResourceLoaderEditToolbarModule.php index fca7961bcf..f81123162a 100644 --- a/includes/resourceloader/ResourceLoaderEditToolbarModule.php +++ b/includes/resourceloader/ResourceLoaderEditToolbarModule.php @@ -29,7 +29,7 @@ class ResourceLoaderEditToolbarModule extends ResourceLoaderFileModule { /** * Get language-specific LESS variables for this module. * - * @since 1.26 + * @since 1.27 * @param ResourceLoaderContext $context * @return array */ diff --git a/includes/resourceloader/ResourceLoaderFileModule.php b/includes/resourceloader/ResourceLoaderFileModule.php index 0e5354790c..bc17821a15 100644 --- a/includes/resourceloader/ResourceLoaderFileModule.php +++ b/includes/resourceloader/ResourceLoaderFileModule.php @@ -859,12 +859,12 @@ class ResourceLoaderFileModule extends ResourceLoaderModule { * @return array List of concatenated and remapped CSS data from $styles, * keyed by media type * - * @since 1.26 Calling this method without a ResourceLoaderContext instance + * @since 1.27 Calling this method without a ResourceLoaderContext instance * is deprecated. */ public function readStyleFiles( array $styles, $flip, $context = null ) { if ( $context === null ) { - wfDeprecated( __METHOD__ . ' without a ResourceLoader context', '1.26' ); + wfDeprecated( __METHOD__ . ' without a ResourceLoader context', '1.27' ); $context = ResourceLoaderContext::newDummyContext(); } @@ -952,7 +952,7 @@ class ResourceLoaderFileModule extends ResourceLoaderModule { * Keeps track of all used files and adds them to localFileRefs. * * @since 1.22 - * @since 1.26 Added $context paramter. + * @since 1.27 Added $context paramter. * @throws Exception If less.php encounters a parse error * @param string $fileName File path of LESS source * @param ResourceLoaderContext $context Context in which to generate script diff --git a/includes/resourceloader/ResourceLoaderModule.php b/includes/resourceloader/ResourceLoaderModule.php index 4ddfe554af..c50e8b2661 100644 --- a/includes/resourceloader/ResourceLoaderModule.php +++ b/includes/resourceloader/ResourceLoaderModule.php @@ -423,7 +423,7 @@ abstract class ResourceLoaderModule { /** * Set the files this module depends on indirectly for a given skin. * - * @since 1.26 + * @since 1.27 * @param ResourceLoaderContext $context * @param array $localFileRefs List of files */ @@ -457,7 +457,7 @@ abstract class ResourceLoaderModule { * This is used to make file paths safe for storing in a database without the paths * becoming stale or incorrect when MediaWiki is moved or upgraded (T111481). * - * @since 1.26 + * @since 1.27 * @param array $filePaths * @return array */ @@ -471,7 +471,7 @@ abstract class ResourceLoaderModule { /** * Expand directories relative to $IP. * - * @since 1.26 + * @since 1.27 * @param array $filePaths * @return array */ @@ -527,7 +527,7 @@ abstract class ResourceLoaderModule { /** * Get module-specific LESS variables, if any. * - * @since 1.26 + * @since 1.27 * @param ResourceLoaderContext $context * @return array Module-specific LESS variables. */