Index: trunk/extensions/Wikidata/OmegaWiki/Wikidata.php |
— | — | @@ -151,6 +151,8 @@ |
152 | 152 | global |
153 | 153 | $wgOut, $wgRequest, $wgUser; |
154 | 154 | |
| 155 | + $wgOut->enableClientCache(false); |
| 156 | + |
155 | 157 | $dc=wdGetDataSetContext(); |
156 | 158 | if(!$wgUser->isAllowed('editwikidata-'.$dc)) { |
157 | 159 | $wgOut->addWikiText(wfMsg('ow_noedit',$dc->fetchName())); |
— | — | @@ -173,6 +175,7 @@ |
174 | 176 | global |
175 | 177 | $wgOut, $wgTitle, $wgRequest; |
176 | 178 | |
| 179 | + $wgOut->enableClientCache(false); |
177 | 180 | |
178 | 181 | $title = $wgTitle->getPrefixedText(); |
179 | 182 | |
— | — | @@ -272,7 +275,6 @@ |
273 | 276 | * @return prefix (without underscore) |
274 | 277 | **/ |
275 | 278 | function wdGetDataSetContext($dc=null) { |
276 | | - |
277 | 279 | if (!is_null($dc)) |
278 | 280 | return $dc; |
279 | 281 | global $wgRequest, $wdDefaultViewDataSet, $wdGroupDefaultView, $wgUser; |
Index: trunk/extensions/Wikidata/OmegaWiki/OmegaWiki.php |
— | — | @@ -48,7 +48,6 @@ |
49 | 49 | |
50 | 50 | parent::history(); |
51 | 51 | |
52 | | - |
53 | 52 | $spelling = $wgTitle->getText(); |
54 | 53 | |
55 | 54 | $wgOut->addHTML( |
Index: trunk/extensions/Wikidata/OmegaWiki/DefinedMeaning.php |
— | — | @@ -178,7 +178,7 @@ |
179 | 179 | */ |
180 | 180 | protected function getConceptPanel() { |
181 | 181 | global $wgTitle, $wgUser; |
182 | | - $active=True; # wrong place, but hey |
| 182 | + $active=true; # wrong place, but hey |
183 | 183 | $dm=$this->getDefinedMeaningId(); |
184 | 184 | $dc=wdGetDataSetContext(); |
185 | 185 | $ow_conceptpanel="Concept Panel"; |