Module:HTMLDecode: Difference between revisions
Appearance
m Changed protection settings for "Module:HTMLDecode": High-risk template or module ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite)) |
m 3 revisions imported from wikipedia:Module:HTMLDecode |
(No difference)
| |
Latest revision as of 13:28, 19 November 2026
| Warning | This Lua module is used on approximately 867,000 pages, or roughly 10057% of all pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
Usage
Module:HTMLDecode can be used to remove HTML encoding from any text.
{{#invoke:HTMLDecode | HTMLDecode | text=***text to remove HTML encoding from*** }}
local i = {};
function i.HTMLDecode(frame)
return mw.text.decode(frame.args["text"]);
end
return i;