r23690 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23689‎ | r23690 | r23691 >
Date:22:15, 3 July 2007
Author:kim
Status:old
Tags:
Comment:
Testing Eriks latest change in SaveDM.php
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
@@ -21,7 +21,7 @@
2222 * you can't use this to construct a new DM from scratch (yet)
2323 * you can't (yet) provide a dataset-context ($dc)
2424 * @param $definedMeaningId the database ID of the DM
25 - * @param $viewInformation Specify specific ViewInformation, if needed.
 25+ * @param $viewInformation Optional: Specify specific ViewInformation, if needed.
2626 */
2727 public function __construct($definedMeaningId, $viewInformation=null) {
2828
@@ -66,6 +66,7 @@
6767 /* Sorry, don't know what horrible cannibalised hacks are. Therefore I cannot update code properly.
6868 * Please check if it still works correctly. Peter-Jan Roes.
6969 */
 70+ /* :-D */
7071 public function save() {
7172 initializeOmegaWikiAttributes($this->viewInformation);
7273 initializeObjectAttributeEditors($this->viewInformation);
Index: trunk/extensions/Wikidata/OmegaWiki/SaveDM.php
@@ -51,6 +51,7 @@
5252
5353 $record=$model->getRecord();
5454 echo $record;
 55+echo $record->getAttributeValue(new Attribute("defined-meaning-full-defining-expression"));
5556
5657 $endTime = time();
5758 echo("\n\nTime elapsed: " . durationToString($endTime - $beginTime));

Status & tagging log