Chad has uploaded a new change for review.
https://gerrit.wikimedia.org/r/95743
Change subject: Deprecate calling Parser::transformMsg() without a Title
......................................................................
Deprecate calling Parser::transformMsg() without a Title
Change-Id: I1346aa88e468a2534c1347a5666235561280c4e1
---
M includes/parser/Parser.php
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/43/95743/1
diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php
index 2df3160..e80593a 100644
--- a/includes/parser/Parser.php
+++ b/includes/parser/Parser.php
@@ -4845,6 +4845,7 @@
wfProfileIn( __METHOD__ );
if ( !$title ) {
+ wfDeprecated( __METHOD__ . ' without parameter $title
(should be a Title object)', '1.23' );
global $wgTitle;
$title = $wgTitle;
}
--
To view, visit https://gerrit.wikimedia.org/r/95743
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1346aa88e468a2534c1347a5666235561280c4e1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Chad <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits