Jump to content

Help talk:Wikilink: Difference between revisions

From LabVIEW Wiki
 
Link to my PR for the fix
Line 8: Line 8:
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 <code><nowiki></code> 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.
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 <code><nowiki></code> 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.
--[[User:Logmanoriginal|Logmanoriginal]] ([[User talk:Logmanoriginal|talk]]) 09:35, 10 May 2020 (UTC)
--[[User:Logmanoriginal|Logmanoriginal]] ([[User talk:Logmanoriginal|talk]]) 09:35, 10 May 2020 (UTC)
: I opened a PR with a fix for this issue on GitHub: [https://github.com/middlebury/CategorySuggest/pull/35 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. --[[User:Logmanoriginal|Logmanoriginal]] ([[User talk:Logmanoriginal|talk]]) 17:53, 11 May 2020 (UTC)

Revision as of 17:53, 11 May 2020

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)