11.314
suntingan
Tidak ada ringkasan suntingan |
Tidak ada ringkasan suntingan |
||
| Baris 88: | Baris 88: | ||
-- This retrieves the project URL automatically to simplify localiation. | -- This retrieves the project URL automatically to simplify localiation. | ||
local templateCount = (' | local templateCount = ('pada [https://linkcount.toolforge.org/index.php?project=%s&page=%s %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)) | ||
local used_on_text = "''' | local used_on_text = "'''" .. (mw.title.getCurrentTitle().namespace == 828 and "Lua module" or "template") .. 'ini digunakan '; | ||
if systemMessages then | if systemMessages then | ||
used_on_text = used_on_text .. systemMessages .. | used_on_text = used_on_text .. systemMessages .. | ||
((count and count > 2000) and ("''', | ((count and count > 2000) and ("''', dan " .. templateCount) or ("'''")) | ||
else | else | ||
used_on_text = used_on_text .. templateCount .. "'''" | used_on_text = used_on_text .. templateCount .. "'''" | ||
| Baris 117: | Baris 117: | ||
'The tested changes can be added to this page in a single edit. ' | 'The tested changes can be added to this page in a single edit. ' | ||
else | else | ||
sandbox_text = (infoArg and ('.<br />' .. infoArg .. ' C') or ' | sandbox_text = (infoArg and ('.<br />' .. infoArg .. ' C') or ' dan p') .. | ||
' | 'erubahan akan diumumkan secara meluas. Uji setiap perubahan dengan menggunakan ' .. sandbox_text | ||
end | end | ||