Module:auto cat: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Tag: Reverted
Line 155: Line 155:
     if mw.ustring.find(category_name, "^Rhymes%:%S+%/%S+$") and mw.site.stats.pagesInCategory(category_name, "pages") == 1 then
     if mw.ustring.find(category_name, "^Rhymes%:%S+%/%S+$") and mw.site.stats.pagesInCategory(category_name, "pages") == 1 then
         -- Hide category if only one entry
         -- Hide category if only one entry
         return "__HIDDENCAT__"
         return "__HIDDENCAT__" .. process_category(category_name, p_lua, p_categories)
         end
         end
         -- Process the categories
         -- Process the categories