https://bugzilla.wikimedia.org/show_bug.cgi?id=22808
Summary: Cache #ifexist results and do not count cache hits as "expensive" parser function calls Product: MediaWiki extensions Version: any Platform: All OS/Version: All Status: NEW Severity: minor Priority: Normal Component: ParserFunctions AssignedTo: wikibugs-l@lists.wikimedia.org ReportedBy: malaf...@clix.pt Currently, the parser considers all #ifexist calls as an "expensive" call. The problem occurs when you have a page which includes a template with a single #ifexist call several times. The page checked for existence is always the same but the total function call is multiplied by the number of times the template is included. A solution would be to cache #ifexist results (and other expensive functions') and use them, without incrementing the expensive function call counter. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l