Сломались оглавления

Добрый день, господа. Интересует такой вопрос: сломались ссылки на оглавления.
Функция {{toc}} ничего не показывает.


Где чинить?




Спасибо.


Show Files (2 files)

Comments

  1. body_toc

    What is the WackoWiki version you use and did you upgrade from another version?

    The upgrade process purges the old body_toc field along the body_r field.

    $update_page_r5_4_0 = "UPDATE {$pref}page SET body_toc = ''";
    $update_page_r5_4_1 = "UPDATE {$pref}page SET body_r = ''";


    It seems that in your case that the toc action is using the new patterns while the body_r / body_toc still uses the old ones.
    Please create a new page and test the toc action again.

  2. Комментарий 555

    This is a modified version of the engine version of 2014.
    Apparently, I myself broke something.

    What file is responsible for creating a table of contents?

    sorry for my English.

  3. What file is responsible for creating a table of contents?

    Please look into the toc action and functions in the wacko class, additional the paragrafica class and the wackoformatter class.
    More details later, the weekend was short.

    It would be helpful to know more about what you have done. Did you back port the wacko formatter or toc action?

    For changes in R5.5 see

    • WikiAdmin
    • edited
  4. Комментарий 560

    Please look into the toc action and functions in wacko class, additional the paragrafica class and the wackoformatter class.


    In which file?

  5. toc functions

    you find the files also in the related change sets in the mentioned bug reports above:

    wacko/actions/toc.php
    wacko/classes/wacko.php
    wacko/formatters/classes/paragrafica.php
    wacko/formatters/classes/wackoformatter.php