Module:Mw.ext.LuaCache: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

25 November 2023

  • curprev 10:3610:36, 25 November 2023upgradewastaken#0 talk contribs 2,195 bytes +2,195 Created page with "local LuaCache = {} local php -- Use binser to serialize Lua values for the cache -- Note that attempting to serialize a function will raise because loadstring -- and dump are disabled. local binser = require 'binser' -- This function is called by Scribunto to load the module function LuaCache.setupInterface() -- Clear setupInterface so this isn't loaded twice LuaCache.setupInterface = nil -- Store the mw_interface global php = mw_interface mw_interface = nil --..."