Manual:$wgThumbnailEpoch/zh

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<translate> Files and file uploads</translate>: $wgThumbnailEpoch
如果渲染的缩略图文件早于此时间戳,则会根据需要重新渲染它们,就像该文件不存在一样。
<translate> Introduced in version:</translate>1.6.0 (r11945)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>时间戳记(字符串)
<translate> Default value:</translate>'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 = 20241229111449;

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

参见