Per task description, Legoktm says "should be safe to hard deprecate in
1.34", hence, doing so and skipping soft deprecation stage.
Bug: T220996
Change-Id: I5669a06f466787df24ce89e58baeed204f848e17
=== Deprecations in 1.34 ===
* The MWNamespace class is deprecated. Use MediaWikiServices::getNamespaceInfo.
+* ExtensionRegistry->load() is deprecated, as it breaks dependency checking.
+ Instead, use ->queue().
* …
=== Other changes in 1.34 ===
*
* If some extensions are already queued, this will load
* those as well.
- *
+ * TODO: Remove in MediaWiki 1.35
+ * @deprecated since 1.34, use ExtensionRegistry->queue() instead
* @param string $path Absolute path to the JSON file
*/
public function load( $path ) {
+ wfDeprecated( __METHOD__, '1.34' );
$this->loadFromQueue(); // First clear the queue
$this->queue( $path );
$this->loadFromQueue();