toan added a comment.

  Ok, I've found another way to work with these a bit more reliably. (I think 
originally something got into the WANCache that didn't go away)
  
  1. Configure the shared cache TTL to be `-1` which does not end up getting 
cached 
<https://github.com/wikimedia/mediawiki/blob/master/includes/libs/objectcache/wancache/WANObjectCache.php#L803>.
  
    $wgWBRepoSettings['sharedCacheType'] = CACHE_NONE;
    $wgWBRepoSettings['sharedCacheDuration'] = -1;
  
  
  
  2. Configure property
  
    $wgWBRepoSettings['formatterUrlProperty'] = 'P1';
  
  
  
  3. Create formatter property P1
  4. Create external ID property P2 with formatter property as statement
  5. Create Item that's using P2 and set it's value to something.
  6. Should now render on every page refresh.
  7. (In case it does not this means something is probably already in the 
WANCache, then changing sharedCacheKeyGroup 
<https://doc.wikimedia.org/Wikibase/master/php/md_docs_topics_options.html#autotoc_md292>
 is the only way to get it out)

TASK DETAIL
  https://phabricator.wikimedia.org/T285653

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: toan
Cc: Addshore, Aklapper, danshick-wmde, Invadibot, maantietaja, Akuckartz, 
Iflorez, darthmon_wmde, alaa_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to