谁能告诉我如何在 mediawiki 中生成图像文件夹?或者图像如何存储在 mediawiki 中?

发布于 2024-12-18 20:06:39 字数 420 浏览 3 评论 0原文

我需要一个逻辑,通过该逻辑 mediwiki 生成图像文件夹并将任何页面的图像保存在该文件夹中。 假设例如 - http://en.wikipedia.org/wiki/Computer 在此页面中显示计算机图像。现在我想知道该图像如何存储在服务器中。 图片的网址是 http://upload.wikimedia.org/wikipedia/commons/4/47 /Acer_Aspire_8920_Gemstone_by_Georgy.JPG

I need a logic by which mediwiki generate the image folder and save the image of any page in that folder.
Suppose For Ex - http://en.wikipedia.org/wiki/Computer in this page a computer image is shown .Now I want to know that how that image is sotred in the server.
The url of the image is
http://upload.wikimedia.org/wikipedia/commons/4/47/Acer_Aspire_8920_Gemstone_by_Georgy.JPG

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

无法言说的痛 2024-12-25 20:06:39

你的意思是图片URL是如何生成的?这些数字来自图像名称的 md5 哈希值的前两个字符。

You mean how the image URL is generated? The numbers come from the first two characters of the md5 hash of the image name.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文