Jump to content

Module:Template link with magic and Module:Template link with magic/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
update link after Meta page was redirected
 
 
Line 97: Line 97:


["!"] = "mw:Help:Magic words#Other";
["!"] = "mw:Help:Magic words#Other";
["="] = "mw:Help:Magic words#Other";
-- case-insensitive!
-- case-insensitive!
["noexternallanglinks"] = "mw:Extension:Wikibase Client";
["noexternallanglinks"] = "mw:Extension:Wikibase Client";
["wbreponame"] = "mw:Extension:Wikibase Client";
["pendingchangelevel"] = "mw:Extension:FlaggedRevs"; -- not documented yet
["pendingchangelevel"] = "mw:Extension:FlaggedRevs"; -- not documented yet
["numberofwikis"] = "mw:Extension:SiteMatrix";
["numberofwikis"] = "mw:Extension:SiteMatrix";
Line 159: Line 157:
["REVISIONTIMESTAMP"] = "mw:Help:Magic words#Technical metadata of another page";
["REVISIONTIMESTAMP"] = "mw:Help:Magic words#Technical metadata of another page";
["REVISIONUSER"] = "mw:Help:Magic words#Technical metadata of another page";
["REVISIONUSER"] = "mw:Help:Magic words#Technical metadata of another page";

["SHORTDESC"] = "mw:Extension:Wikibase Client";
}
}


Line 215: Line 211:
["#babel"] = "mw:Extension:Babel#Usage";
["#babel"] = "mw:Extension:Babel#Usage";
["#categorytree"] = "mw:Extension:CategoryTree#The {{#categorytree}} parser function";
["#categorytree"] = "mw:Extension:CategoryTree#The {{#categorytree}} parser function";
["#commaseparatedlist"] = "mw:Extension:Wikibase Client";
["#coordinates"] = "mw:Extension:GeoData#Parser function";
["#coordinates"] = "mw:Extension:GeoData#Parser function";
["#invoke"] = "mw:Extension:Scribunto#Usage";
["#invoke"] = "mw:Extension:Scribunto#Usage";
Line 221: Line 216:
["#lsth"] = "mw:Extension:Labeled Section Transclusion#How it works"; -- not available, it seems
["#lsth"] = "mw:Extension:Labeled Section Transclusion#How it works"; -- not available, it seems
["#lstx"] = "mw:Extension:Labeled Section Transclusion#How it works";
["#lstx"] = "mw:Extension:Labeled Section Transclusion#How it works";
["noexternallanglinks"] = "mw:Extension:Wikibase Client";
["noexternallanglinks"] = "mw:Extension:Wikibase Client";
["noreplace"] = "mw:Extension:Wikibase Client";
["pendingchangelevel"] = "mw:Extension:FlaggedRevs"; -- not documented yet
["pendingchangelevel"] = "mw:Extension:FlaggedRevs"; -- not documented yet
["#property"] = "mw:Extension:Wikibase Client";
["#property"] = "mw:Extension:Wikibase Client";
Line 338: Line 332:
templ = rest
templ = rest
-- not the most accurate documentation ever
-- not the most accurate documentation ever
table.insert(output, ("[[mw:Help:Magic words#Transclusion modifiers|%s]]:"):format(marker))
table.insert(output, ("[[m:Help:Magic words#Template modifiers|%s]]:"):format(marker))
else
else
marker, rest = templ:match("^([Mm][Ss][Gg]):(.*)")
marker, rest = templ:match("^([Mm][Ss][Gg]):(.*)")
if marker then
if marker then
templ = rest
templ = rest
table.insert(output, ("[[mw:Help:Magic words#Transclusion modifiers|%s]]:"):format(marker)) -- ditto
table.insert(output, ("[[m:Help:Magic words#Template modifiers|%s]]:"):format(marker)) -- ditto
end
end
end
end
Line 349: Line 343:
marker, rest = templ:match("^([Rr][Aa][Ww]):(.*)")
marker, rest = templ:match("^([Rr][Aa][Ww]):(.*)")
if marker then
if marker then
table.insert(output, ("[[mw:Help:Magic words#Transclusion modifiers|%s]]:"):format(marker)) -- missingno.
table.insert(output, ("[[m:Help:Magic words#Template modifiers|%s]]:"):format(marker)) -- missingno.
templ = rest
templ = rest
end
end