Module:High-use: Difference between revisions
Don't auto-categorize redirects |
Koza1brada (talk | contribs) m 3 revisions imported |
||
| (4 intermediate revisions by 4 users not shown) | |||
| Line 89: | Line 89: | ||
-- This retrieves the project URL automatically to simplify localiation. | -- This retrieves the project URL automatically to simplify localiation. | ||
local templateCount = ('on [https://linkcount.toolforge.org/ | local templateCount = ('on [https://linkcount.toolforge.org/?project=%s&page=%s#transclusions %s pages]'):format( | ||
mw.title.getCurrentTitle():fullUrl():gsub('//(.-)/.*', '%1'), | mw.title.getCurrentTitle():fullUrl():gsub('//(.-)/.*', '%1'), | ||
mw.uri.encode(title.fullText), p.num(frame, count)) | mw.uri.encode(title.fullText), p.num(frame, count)) | ||