手册:$wgThumbnailEpoch

From mediawiki.org
This page is a translated version of the page Manual:$wgThumbnailEpoch and the translation is 67% complete.
文件及文件上传: $wgThumbnailEpoch
如果渲染的缩略图文件早于此时间戳,则会根据需要重新渲染它们,就像该文件不存在一样。
引进版本:1.6.0 (r11945)
移除版本:仍在使用
允许的值:时间戳记(字符串)
默认值:'20030516000000'

细节

如果渲染的缩略图文件早于此时间戳,则会根据需要重新渲染它们,就像该文件不存在一样。 Update if there is some need to force thumbs and SVG rasterizations to re-render, such as fixes to rendering bugs.

For a quick copy-paste you can use the following line, which was generated using {{CURRENTTIMESTAMP}}:

$wgThumbnailEpoch = 20240319100838;

If you are using a Unix-like system you can get the current date by entering the following on the command-line:

date +%Y%m%d%H%M%S

参见