MediaWiki类别不会自动更新 [英] MediaWiki categories not updating automatically

查看:91
本文介绍了MediaWiki类别不会自动更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个运行在Linux服务器上的MediaWiki实例,该实例似乎不会在提交页面编辑时自动更新其类别.

I have a MediaWiki instance running on a Linux server that does not seem to automatically update its categories whenever a page edit is submitted.

我从未在其他合作的Wiki上看到过此消息,所以我想知道是否存在一些未正确配置的脚本.

I have never seen this on any other wikis I've worked with, so I'm wondering if there's some script that's not configured correctly.

当我们每小时要进行数百次编辑并且需要即时填充类别时,定期运行rebuildAll.phprefreshLinks.php脚本实际上是不可行的.

Periodically running the rebuildAll.php or refreshLinks.php script isn't really viable when we have hundreds of edits happening per hour and need the categories to be populated instantaneously.

运行rebuildAll.php似乎要花费几个小时.

Running rebuildAll.php seems to take hours anyway.

还有其他人遇到过吗?

谢谢!

推荐答案

什么是 $ wgJobRunRate 设置为?尝试运行 maintenance/runJobs.php .

What's $wgJobRunRate set to? Try running maintenance/runJobs.php.

页面有时可能需要一段时间(可能需要几分钟)才能显示在一个类别中,但是对于大多数Wiki来说,不应该超过此时间.

It can sometimes take a while (minutes perhaps) for a page to appear in a category, but for most wikis it shouldn't be more than that.

这篇关于MediaWiki类别不会自动更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆