In the 1.31 version. I exported the local data to XML and imported it to the public network. I found that the classification was lost. What is the reason for this?
- MediaWiki:1.31
- PHP:7.1
- Database:mysql5.7
In the 1.31 version. I exported the local data to XML and imported it to the public network. I found that the classification was lost. What is the reason for this?
Thank you very much for your reply!Category added in content,such as[[Category:Category name]]。
I try to add a content category. Found that the same can not be added, it may be because 1.31 is not perfect reason。
Thank you very much for your reply!Category added in content,such as[[Category:Category name]]。
Thank you very much for your answer!I am using WINDOWS + nginx + PHP + MYSQL. How can I automatically set the category when importing data?
When you import data, one or more jobs are added to the queue, which perform the categorization. The same happens when you add a category when editing an article, but if you import several pages, and only one job is picked per page view, it may take longer to make the categorization effectively.
Run the runJobs.php maintenance script, or set up a job runner service as explained in the manual of Job queue
As the manual mentions, from a command terminal on Windows, run something like:
<path_to_locally_installed_PHP>/php.exe <path_to_mediawiki_directory>/maintenance/runJobs.php
Thank you very much for your answer. I open the CMD input C:\ Server \ php-7.2.5-nts-Win32-VC15-x64 \ php.exe C: \ Server \ WWWRoot \ MediaWiki \ maintenance \ runJobs.php. Invalid, please help me
I've never run a PHP command in Windows, so can't be sure what the problem could be.
However, in CMD, did you include the spaces after each backslash (\) too?