Jump to content

Help talk:Wikilink: Difference between revisions

From LabVIEW Wiki
 
m Forgot to sign
 
(2 intermediate revisions by the same user not shown)
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)
:: PR was merged. Waiting for official release... --[[User:Logmanoriginal|Logmanoriginal]] ([[User talk:Logmanoriginal|talk]]) 18:27, 11 May 2020 (UTC)

Latest revision as of 18:27, 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)
PR was merged. Waiting for official release... --Logmanoriginal (talk) 18:27, 11 May 2020 (UTC)