Index: trunk/extensions/Wikidata/OmegaWiki/Editor.php |
— | — | @@ -1062,9 +1062,6 @@ |
1063 | 1063 | |
1064 | 1064 | class LinkEditor extends ShortTextEditor { |
1065 | 1065 | public function getViewHTML(IdStack $idPath, $value) { |
1066 | | - |
1067 | | - $o=OmegaWikiAttributes::getInstance(); |
1068 | | - |
1069 | 1066 | $label = htmlspecialchars($value->linkLabel); |
1070 | 1067 | $url = htmlspecialchars($value->linkURL); |
1071 | 1068 | |
— | — | @@ -1136,8 +1133,6 @@ |
1137 | 1134 | } |
1138 | 1135 | |
1139 | 1136 | public function getViewHTML(IdStack $idPath, $value) { |
1140 | | - |
1141 | | - $o=OmegaWikiAttributes::getInstance(); |
1142 | 1137 | $definedMeaningId = $value->definedMeaningId; |
1143 | 1138 | $definedMeaningLabel = $value->definedMeaningLabel; |
1144 | 1139 | $definedMeaningDefiningExpression = $value->definedMeaningDefiningExpression; |
— | — | @@ -1152,9 +1147,6 @@ |
1153 | 1148 | } |
1154 | 1149 | |
1155 | 1150 | public function getViewHTML(IdStack $idPath, $value) { |
1156 | | - |
1157 | | - $o=OmegaWikiAttributes::getInstance(); |
1158 | | - |
1159 | 1151 | $definedMeaningId = $value->definedMeaningId; |
1160 | 1152 | $definedMeaningLabel = $value->definedMeaningLabel; |
1161 | 1153 | $definedMeaningDefiningExpression = $value->definedMeaningDefiningExpression; |
— | — | @@ -1208,9 +1200,6 @@ |
1209 | 1201 | } |
1210 | 1202 | |
1211 | 1203 | public function getViewHTML(IdStack $idPath, $value) { |
1212 | | - |
1213 | | - $o=OmegaWikiAttributes::getInstance(); |
1214 | | - |
1215 | 1204 | $definedMeaningId = $value->definedMeaningId; |
1216 | 1205 | $definedMeaningLabel = $value->definedMeaningLabel; |
1217 | 1206 | $definedMeaningDefiningExpression = $value->definedMeaningDefiningExpression; |
— | — | @@ -1915,9 +1904,6 @@ |
1916 | 1905 | } |
1917 | 1906 | |
1918 | 1907 | public function getViewHTML(IdStack $idPath, $value) { |
1919 | | - |
1920 | | - $o=OmegaWikiAttributes::getInstance(); |
1921 | | - |
1922 | 1908 | $isLatest = $value->isLatest; |
1923 | 1909 | $operation = $value->operation; |
1924 | 1910 | |
— | — | @@ -2193,8 +2179,6 @@ |
2194 | 2180 | |
2195 | 2181 | class GotoSourceEditor extends Viewer { |
2196 | 2182 | public function view(IdStack $idPath, $value) { |
2197 | | - |
2198 | | - $o=OmegaWikiAttributes::getInstance(); |
2199 | 2183 | global |
2200 | 2184 | $wgGotoSourceTemplates; |
2201 | 2185 | |