Index: trunk/extensions/Wikidata/OmegaWiki/DefinedMeaning.php |
— | — | @@ -19,7 +19,8 @@ |
20 | 20 | $wgOut->showErrorPage('errorpagetitle','ow_dm_badtitle'); |
21 | 21 | return false; |
22 | 22 | } |
23 | | - $definedMeaningModel = new DefinedMeaningModel($dmInfo["id"]); |
| 23 | + parent::view(); |
| 24 | + $definedMeaningModel = new DefinedMeaningModel($dmInfo["id"], $this->viewInformation); |
24 | 25 | |
25 | 26 | $copyTo=$wgRequest->getText('CopyTo'); |
26 | 27 | if ($copyTo) { |
— | — | @@ -40,7 +41,6 @@ |
41 | 42 | |
42 | 43 | $definedMeaningModel->loadRecord(); |
43 | 44 | $this->showDataSetPanel=false; |
44 | | - parent::view(); |
45 | 45 | |
46 | 46 | # Raw mode |
47 | 47 | $view_as=$wgRequest->getText('view_as'); |