Foxtrott has submitted this change and it was merged. Change subject: autoedit: use correct edittime ......................................................................
autoedit: use correct edittime The parser function handler included a cached edit time. Now the handler clears the timestamp before fetching it, so it really is the latest. Change-Id: Ia1e903344e11f56f2983826816a5407ee7f425a7 --- M includes/SF_ParserFunctions.php 1 file changed, 1 insertion(+), 0 deletions(-) Approvals: Foxtrott: Verified; Looks good to me, approved diff --git a/includes/SF_ParserFunctions.php b/includes/SF_ParserFunctions.php index 00fc6ee..7064802 100644 --- a/includes/SF_ParserFunctions.php +++ b/includes/SF_ParserFunctions.php @@ -570,6 +570,7 @@ if ( $targetTitle !== null ) { $targetArticle = new Article( $targetTitle ); + $targetArticle->clear(); $editTime = $targetArticle->getTimestamp(); } -- To view, visit https://gerrit.wikimedia.org/r/57847 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ia1e903344e11f56f2983826816a5407ee7f425a7 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/SemanticForms Gerrit-Branch: master Gerrit-Owner: Foxtrott <s7ep...@gmail.com> Gerrit-Reviewer: Foxtrott <s7ep...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits