r23716 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23715‎ | r23716 | r23717 >
Date:17:30, 4 July 2007
Author:kim
Status:old
Tags:
Comment:
SAVE WORKS!

Well, at least in our simple tests, now to integrate that with the actual main code
(not to mention figure out how to make it more robust and make sure it shows up
in recent changes)
Modified paths:
  • /trunk/extensions/Wikidata/OmegaWiki/DefinedMeaningModel.php (modified) (history)
  • /trunk/extensions/Wikidata/OmegaWiki/SaveDM.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Wikidata/OmegaWiki/DefinedMeaningModel.php
@@ -81,6 +81,7 @@
8282 $expression=$this->dupDefiningExpression();
8383 # to make the expression really work, we may need to call
8484 # more here?
 85+ $expression->createNewInDatabase();
8586
8687 # shouldn't this stuff be protected?
8788 $expressionId=$expression->id;
Index: trunk/extensions/Wikidata/OmegaWiki/SaveDM.php
@@ -46,7 +46,7 @@
4747
4848 /* insert code here */
4949
50 -$model=getDM(663672,"uw");
 50+$model=getDM(663674,"tt");
5151
5252 $record=$model->getRecord();
5353 echo $record;
@@ -59,7 +59,7 @@
6060
6161 echo "id: $id, spelling:$spelling, language:$language";
6262
63 -saveDM($model,"tt");
 63+saveDM($model,"uw");
6464
6565 $endTime = time();
6666 echo("\n\nTime elapsed: " . durationToString($endTime - $beginTime));

Status & tagging log