I am in the process of merging my other wikis into one. I can easily import the pages from these other wikis, but they are not added to existing categories until a page is saved. This is becoming a rather large wiki and having to save each and every page to fix the categories has become a large task. Is there a way to mass update the categories with the imported pages? The merged wiki is version 1.41.1.
Topic on Project:Support desk
Appearance
refreshLinks.php cli script will do this
Although in principle they should be added automatically on import, so maybe you are experiencing some sort of bug.
@Andrew Branscom do you have a job runner ? Cause if u do imports without a continuous job runner in the background, you might be behind on processing background jobs
I have no root access to my server. I do have cPanel access. It sounds like refreshLinks.php is what I need. I see it in the maintenance folder, but am not quite sure how to run it. Forgive me for my ignorance in this. Am I able do it from my cPanel or browser?
You don't need root access but you do need shell (also called ssh or terminal) access.
As a work around, if you only have cpanel, sometimes cpanel lets you set cron scripts which can be used as a work around.
I don't have shell access. I have never done anything with cron scripts. My cPanel has a Cron Jobs section that has frequency fields and a command field, but am unsure exactly what to enter. I should mention that there are other databases on my account, like for a phpBB forum. There are a couple of different PHP versions assigned.
I doubt that I can get much help from my hosting service. Another company bought my hosting service and now has lousy support. There is no longer any phone support
My Wikis have pages with code examples and newer versions of the Wikis changed the GeSHi SyntaxHighlight highlighter to requires the installation of Pygments, which broke my highlighting. The new hosting service refuses to install Pygments. I do not bring this up to ask for help with that, but just as an example of how unhelpful their support has been. The previous company had great support.
I had my hosting service run the refreshLinks.php, but it did not help. Note that the only thing that did not work right after importing the pages is the inclusion on the categories. Search works, recent changes work, etc. It does relink with its categories when the page is saved, but we are talking about several 10s of thousands of pages.