User contributions for 515797455988850689

Jump to navigation Jump to search
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽

(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

4 December 2023

3 December 2023

27 November 2023

26 November 2023

25 November 2023

  • 10:3710:37, 25 November 2023 diff hist +8 m Module:Mw.ext.LuaCacheNo edit summary current
  • 10:3610:36, 25 November 2023 diff hist +2,195 N Module:Mw.ext.LuaCacheCreated 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 --..."
  • 10:3610:36, 25 November 2023 diff hist +7 m Module:VariablesLuaUtilNo edit summary current
  • 10:3610:36, 25 November 2023 diff hist +92 m Module:VariablesLuaUtilNo edit summary
  • 10:3510:35, 25 November 2023 diff hist −41 m Module:VariablesLuaUtilNo edit summary
  • 10:3510:35, 25 November 2023 diff hist +7 m Module:VariablesLuaUtilNo edit summary
  • 10:3510:35, 25 November 2023 diff hist +21,061 N Module:BinserCreated page with "-- binser.lua --[[ Copyright (c) 2016 Calvin Rose Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following co..." current
  • 10:3410:34, 25 November 2023 diff hist +2,635 N Module:VariablesLuaUtilCreated page with "-- Code from: https://lol.fandom.com/wiki/Module:VarsUtil -- Helper module for accessing https://www.mediawiki.org/wiki/Extension:VariablesLua local yesno = require ('Module:Yesno') local binser = require('binser') -- included with install of mw.ext.LuaCache local VariablesLua = mw.ext.VariablesLua local p = {} function p.getVar(var) local val = VariablesLua.var(var) if val == '' then return nil end return val end function p.getBool(var) local val = p.getVar(va..."
  • 10:3310:33, 25 November 2023 diff hist +2,296 N Module:VarsCacheMapCreated page with "local util_vars = require('Module:VariablesLuaUtil') local makeClass = require('Module:Class') require('Module:LibraryUtil') local cache = require('mw.ext.LuaCache') local p = {} local lang = mw.getLanguage('en') local Cache = makeClass "Cache" function Cache.prototype:constructor(attrs) checkType(1, attrs, 'table', true) attrs = attrs or {} self.prefix = attrs.prefix self.dataModule = attrs.dataModule return self end function Cache.prototype:makeKey(local..." current

(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)