Change 1.26 to 1.27, mostly in doc comments
authorKevin Israel <pleasestand@live.com>
Wed, 7 Oct 2015 04:55:42 +0000 (00:55 -0400)
committerKevin Israel <pleasestand@live.com>
Wed, 7 Oct 2015 05:41:41 +0000 (01:41 -0400)
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

includes/api/ApiImport.php
includes/changes/CategoryMembershipChange.php
includes/changes/RecentChange.php
includes/db/loadbalancer/LoadMonitor.php
includes/deferred/DataUpdate.php
includes/deferred/DeferredUpdates.php
includes/jobqueue/jobs/DeleteLinksJob.php
includes/resourceloader/ResourceLoader.php
includes/resourceloader/ResourceLoaderEditToolbarModule.php
includes/resourceloader/ResourceLoaderFileModule.php
includes/resourceloader/ResourceLoaderModule.php

index a6aae4b..f0ca6fe 100644 (file)
@@ -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' );
index a12a1d8..9e73ebe 100644 (file)
@@ -20,7 +20,7 @@
  * @file
  * @author Kai Nissen
  * @author Adam Shorland
- * @since 1.26
+ * @since 1.27
  */
 
 use Wikimedia\Assert\Assert;
index 2ccc24b..07d1487 100644 (file)
@@ -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
index 438e4fc..d5cd017 100644 (file)
@@ -56,7 +56,7 @@ interface LoadMonitor {
 
        /**
         * Clear any process and persistent cache of lag times
-        * @since 1.26
+        * @since 1.27
         */
        public function clearCaches();
 }
index 4a61b2a..cb57140 100644 (file)
@@ -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 {
        /**
index 7d02a7a..cdd1fff 100644 (file)
@@ -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;
index b24109b..9767d9f 100644 (file)
@@ -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 ) {
index 77ceff6..1221a2d 100644 (file)
@@ -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.
index fca7961..f811231 100644 (file)
@@ -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
         */
index 0e53547..bc17821 100644 (file)
@@ -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
index 4ddfe55..c50e8b2 100644 (file)
@@ -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.
         */