Topic on User talk:Faure.thomas

Jump to navigation Jump to search

Bug report and fix for Categorize

1 (talkcontribs)

In Categorize.body.php the the category harvesting fails if there is more than one category on a line. To fix:


     $m_pattern = "\[\[({$m_catString}|category):(.*)\]\]";


     $m_pattern = "\[\[({$m_catString}|category):(.*?)\]\]";

(i.e. make the search for closing ]] lazy)

Reply to "Bug report and fix for Categorize"