Sequencing:

  1. Create a page
  2. At the very bottom I write [[Category: My Category]]
  3. Save

After saving, the category dash does not appear. If you explicitly go into the category, the page is also missing there.

In order for everything to work, I go to the maintenance folder and execute in the console:

php refreshLinks.php 

After executing this command, the category plate appears on the page and, also, the page itself begins to appear in the list of category pages.

Why are links not updated automatically?

MediaWiki 1.28

Sub PostgreSql 9.6

    1 answer 1

    Because caching. Before giving the data, they are stored in the cache, for speed and to avoid errors of the executable code.

    You can disable it by adding the following lines to your LocalSettings.php :

     $wgEnableParserCache = false; $wgCachePages = false;