r93101 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93100‎ | r93101 | r93102 >
Date:20:05, 25 July 2011
Author:jeroendedauw
Status:deferred
Tags:lamecommitsummary 
Comment:
Modified paths:
  • /trunk/extensions/SemanticWatchlist/SemanticWatchlist.hooks.php (modified) (history)
  • /trunk/extensions/SemanticWatchlist/includes/SWL_ChangeSet.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticWatchlist/includes/SWL_ChangeSet.php
@@ -640,6 +640,17 @@
641641 }
642642
643643 /**
 644+ * Sets the edit this set of changes belong to.
 645+ *
 646+ * @since 0.1
 647+ *
 648+ * @param SWLEdit $edit
 649+ */
 650+ public function setEdit( SWLEdit $edit ) {
 651+ $this->edit = $edit;
 652+ }
 653+
 654+ /**
644655 * Returns if a certain insertion is present in the set of changes.
645656 *
646657 * @since 0.1
Index: trunk/extensions/SemanticWatchlist/SemanticWatchlist.hooks.php
@@ -47,6 +47,7 @@
4848 $edit->writeToDB();
4949 }
5050
 51+ $changeSet->setEdit( $edit );
5152 $setId = $changeSet->writeToStore( $groups, $edit->getId() );
5253
5354 if ( $setId != 0 ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r93102fu r93101jeroendedauw20:08, 25 July 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r93100minor fixjeroendedauw19:59, 25 July 2011

Status & tagging log