Help talk:Wikilink

From LabVIEW Wiki
Jump to: navigation, search

This page reports many PHP warnings when editing

When editing this page, you may encounter a large number of PHP warnings

Warning: Illegal offset type in /home/labviewwiki/public_html/w/extensions/CategorySuggest/CategorySuggest.body.php on line 132
Warning: Illegal offset type in /home/labviewwiki/public_html/w/extensions/CategorySuggest/CategorySuggest.body.php on line 143

These are caused by the CategorySuggest extension, which parses the content of a page for a list of categories that are put in the Categories box in the edit window. The issue is related to category-like links inside <nowiki> tags (as far as I can tell this can also happen for other HTML tags). This is not fixable here. The page can still be edited fine. --Logmanoriginal (talk) 09:35, 10 May 2020 (UTC)

I opened a PR with a fix for this issue on GitHub: Fix index in fnCategorySuggestGetPageCategories. I have tested this fix on my local environment. Not sure if and when it will be merged into the official repo. --Logmanoriginal (talk) 17:53, 11 May 2020 (UTC)
PR was merged. Waiting for official release... --Logmanoriginal (talk) 18:27, 11 May 2020 (UTC)