Foxtrott has uploaded a new change for review. https://gerrit.wikimedia.org/r/57847
Change subject: autoedit: use correct edittime ...................................................................... autoedit: use correct edittime The parser function handler included a cached edit time. Now it clears the timestamp before fetching it, so it really gets the latest. Change-Id: Ia1e903344e11f56f2983826816a5407ee7f425a7 --- M includes/SF_ParserFunctions.php 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticForms refs/changes/47/57847/1 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: newchange Gerrit-Change-Id: Ia1e903344e11f56f2983826816a5407ee7f425a7 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/SemanticForms Gerrit-Branch: master Gerrit-Owner: Foxtrott <s7ep...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits