Jump to content
Main menu
Main menu
move to sidebar
hide
Ilalcha
Fuula duraa
Ummataf Bana
Jijjirama Dhiho
Fuula Garagara
Gargaarsa
Fuula Adaa Ta'e
Barbadu
Barbadu
Appearance
Keena
Eenyummeessa uumi
Saaqii seeni
Meeshaalee dhuunfaa
Keena
Eenyummeessa uumi
Saaqii seeni
Pages for logged out editors
learn more
Gumaacha
Dubii IP kanaaf
Module:Deprecated
gulaalamaara
Add languages
Module
Marii
English
Dubbisi
Lakkaddaa gulaali
Seenaa laali
Meeshaalee
Tools
move to sidebar
hide
Actions
Dubbisi
Lakkaddaa gulaali
Seenaa laali
General
Mannin akka asiin walitti qabatte
Jijjiiramoota walidhihaatan
Faayila fe'i
Odeeffannoo fuulaa
Get shortened URL
Download QR code
Appearance
move to sidebar
hide
Eggano:
Hin senne. Tesson IP kankee senna barrefamma fulla kessatti gabafama.
Anti-spam check. Do
not
fill this in!
--- Marks items as deprecated, and provides a warning when they are called. -- @release alpha -- @author [[User:Awesome_Aasim|Awesome Aasim]] -- @function deprecated -- @param {table} p package frame -- @param deprecatedTable -- @return package return function(p, deprecatedTable, replacement) local pckg = {} --- Warn -- @param {string} text warning text function warn(text) local tb = debug.traceback() mw.log(text .. '\n' .. tb) mw.addWarning(text .. tb:gsub("\n", "<br/>"):gsub("\t", " ")) end if deprecatedTable == nil or deprecatedTable == true then deprecatedTable = {} for k,_ in pairs(p) do deprecatedTable[k] = { deprecated = true, replacement = replacement or "" } end end setmetatable(pckg, { __index = function(t, index) if deprecatedTable[index] and deprecatedTable[index]["deprecated"] then warn( mw.ustring.format( "Deprecated member <code>%s</code> called. ", index ) .. ( deprecatedTable[index]["replacement"] and mw.ustring.format("Please %s instead.", deprecatedTable[index]["replacement"]) or '' ) ) end return p[index] end }) return pckg end
Guduunfaa:
By saving changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Ballesi
Gargaarsa gulaaluu
(Foodda haaraa keessa banama)
Preview page with this template
Wikidata entities used in this page
Module:Deprecated
: Sitelink, Description: en
Qajojii fuulbarruu kanarratti fayyadan:
Module:Deprecated/doc
(
gulaali
)
Barbadu
Barbadu
Module:Deprecated
gulaalamaara
Add languages
Mata duree ida'i