Permalink
Browse files

Merge "Renamed WB\DifferenceEngine to WB\ItemDiffView"

  • Loading branch information...
2 parents 5c980ba + f8dc683 commit 63ad58a3a6355a778be83e7558517a2b58326115 @tobijat tobijat committed with Gerrit Code Review Jun 25, 2012
View
@@ -84,7 +84,7 @@
// includes
$wgAutoloadClasses['Wikibase\ChangeNotifier'] = $dir . 'includes/ChangeNotifier.php';
-$wgAutoloadClasses['Wikibase\DifferenceEngine'] = $dir . 'includes/DifferenceEngine.php';
+$wgAutoloadClasses['Wikibase\ItemDiffView'] = $dir . 'includes/ItemDiffView.php';
$wgAutoloadClasses['Wikibase\ItemHandler'] = $dir . 'includes/ItemHandler.php';
$wgAutoloadClasses['Wikibase\ItemDeletionUpdate'] = $dir . 'includes/ItemDeletionUpdate.php';
$wgAutoloadClasses['Wikibase\EntityHandler'] = $dir . 'includes/EntityHandler.php';
@@ -4,16 +4,16 @@
use Content, _DiffOp_Add, _DiffOp_Delete, _DiffOp_Change, _DiffOp_Copy, Html;
/**
- * Difference engine for structured data.
+ * Difference view for Wikibase items.
*
* @since 0.1
*
- * @file WikibaseDifferenceEngine.php
+ * @file
* @ingroup Wikibase
*
* @licence GNU GPL v2+
*/
-class DifferenceEngine extends \DifferenceEngine {
+class ItemDiffView extends \DifferenceEngine {
function __construct( $context = null, $old = 0, $new = 0, $rcid = 0, $refreshCache = false, $unhide = false ) {
parent::__construct($context, $old, $new, $rcid, $refreshCache, $unhide);
@@ -105,7 +105,7 @@ public function getSecondaryDataUpdates( Content $content, Title $title, Content
}
protected function getDiffEngineClass() {
- return '\Wikibase\DifferenceEngine';
+ return '\Wikibase\ItemDiffView';
}
}

0 comments on commit 63ad58a

Please sign in to comment.