* source.
*
* @return array
- * @since 1.26
+ * @since 1.27
*/
public function getAllowedImportSources() {
$importSources = $this->getConfig()->get( 'ImportSources' );
* @file
* @author Kai Nissen
* @author Adam Shorland
- * @since 1.26
+ * @since 1.27
*/
use Wikimedia\Assert\Assert;
* 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
/**
* Clear any process and persistent cache of lag times
- * @since 1.26
+ * @since 1.27
*/
public function clearCaches();
}
*
* @param DataUpdate[] $updates A list of DataUpdate instances
* @return DataUpdate[]
- * @since 1.26
+ * @since 1.27
*/
protected static function enqueueUpdates( array $updates ) {
$remaining = array();
* 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 {
/**
/**
* @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;
* 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 ) {
* 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.
/**
* Get language-specific LESS variables for this module.
*
- * @since 1.26
+ * @since 1.27
* @param ResourceLoaderContext $context
* @return array
*/
* @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();
}
* 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
/**
* 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
*/
* 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
*/
/**
* Expand directories relative to $IP.
*
- * @since 1.26
+ * @since 1.27
* @param array $filePaths
* @return array
*/
/**
* Get module-specific LESS variables, if any.
*
- * @since 1.26
+ * @since 1.27
* @param ResourceLoaderContext $context
* @return array Module-specific LESS variables.
*/