r111561 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111560‎ | r111561 | r111562 >
Date:17:24, 15 February 2012
Author:jeroendedauw
Status:deferred
Tags:
Comment:
fix compat issue
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_ParseData.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_ParseData.php
@@ -413,8 +413,14 @@
414414 * the purpose of adding information there. If the private access ever becomes a problem,
415415 * a global/static variable appears to be the only way to get more article data to
416416 * LinksUpdate.
 417+ *
 418+ * @param WikiPage|Article $article WikiPage on 1.19 and later
 419+ * @param $rev
 420+ * @param $baseID
 421+ *
 422+ * @return true
417423 */
418 - static public function onNewRevisionFromEditComplete( WikiPage $article, $rev, $baseID ) {
 424+ static public function onNewRevisionFromEditComplete( /* WikiPage */ $article, $rev, $baseID ) {
419425 global $smwgPageSpecialProperties;
420426
421427 if ( ( $article->mPreparedEdit ) && ( $article->mPreparedEdit->output instanceof ParserOutput ) ) {