Anonymous user
Module:Redirect hatnote: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Updated from sandbox: Migrated p._quote to Module:Hatnote
(Updated from sandbox: Rewrote p._quote to use mw.html, divided functions into helper functions and main functions, and tweaked getTitle) |
(Updated from sandbox: Migrated p._quote to Module:Hatnote) |
||
Line 22:
local success, titleObj = pcall(mw.title.new, ...)
return success and titleObj or nil
end
Line 81 ⟶ 64:
local formattedRedirect = {}
for k,v in pairs(redirect) do
formattedRedirect[k] =
end
local text = {
|