手册:$wgThumbnailEpoch
Jump to navigation
Jump to search
缓存: $wgThumbnailEpoch | |
---|---|
If rendered thumbnail files are older than this timestamp, they will be re-rendered on demand as if the file didn't already exist. |
|
引进版本: | 1.6.0 (r11945) |
移除版本: | 仍在使用 |
允许的值: | 时间戳记(字符串) |
默认值: | '20030516000000' |
其他设置: 按首字母排序 | 按功能排序 |
细节
If rendered thumbnail files are older than this timestamp, they will be re-rendered on demand as if the file didn't already exist. 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 = 20210127142832;
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