手册:$wgThumbnailEpoch

From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgThumbnailEpoch and the translation is 44% complete.
Other languages:
English • ‎español • ‎français • ‎italiano • ‎magyar • ‎polski • ‎中文 • ‎日本語
缓存: $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

参见