Changes
Jump to navigation
Jump to search
← Older edit
Module:High-use
(view source)
Revision as of 06:22, 20 January 2022
89 bytes added
,
2 years ago
m
1 revision imported
Line 85:
Line 85:
systemMessages = nil
systemMessages = nil
end
end
−
+
−
local templateCount = ('on [https://
templatecount
.toolforge.org/index.php?
lang=en&namespace
=%s&
name
=%s %s pages]'):format(
+
-- This retrieves the project URL automatically to simplify localiation.
−
mw.title.getCurrentTitle().
namespace
, mw.uri.encode(title.
text
), p.num(frame, count))
+
local templateCount = ('on [https://
linkcount
.toolforge.org/index.php?
project
=%s&
page
=%s %s pages]'):format(
+
mw.title.getCurrentTitle()
:fullUrl():gsub('//(
.
-)/.*'
,
'%1'),
+
mw.uri.encode(title.
fullText
), p.num(frame, count))
local used_on_text = "'''This " .. (mw.title.getCurrentTitle().namespace == 828 and "Lua module" or "template") .. ' is used ';
local used_on_text = "'''This " .. (mw.title.getCurrentTitle().namespace == 828 and "Lua module" or "template") .. ' is used ';
if systemMessages then
if systemMessages then
Kg7qin
ASL-Corp members
,
Bureaucrats
,
Check users
,
Structured Discussions bots
, oversight,
Suppressors
,
Administrators
,
Upload Wizard campaign editors
1,714
edits
Navigation menu
Personal tools
Log in
Request account
Namespaces
Module
Discussion
Variants
Views
Read
View source
View history
More
Search
Links
Web Portal
Help Desk
Node Status
System Status
Mailing List
r/PTTLink on Reddit
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Upload file
Special pages
Printable version