Manual:$wgThumbnailEpoch/zh

From Linux Web Expert

Revision as of 02:02, 6 December 2023 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<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 = 20241229113442;

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

参见