ವಿಕಿಸೋರ್ಸ್
tcywikisource
https://tcy.wikisource.org/wiki/%E0%B2%AE%E0%B3%81%E0%B2%96%E0%B3%8D%E0%B2%AF_%E0%B2%AA%E0%B3%81%E0%B2%9F
MediaWiki 1.44.0-wmf.1
first-letter
ಮಾದ್ಯಮೊ
ವಿಸೇಸೊ
ಪಾತೆರ
ಬಳಕೆದಾರೆ
ಬಳಕೆದಾರೆ ಪಾತೆರ
ವಿಕಿಸೋರ್ಸ್
ವಿಕಿಸೋರ್ಸ್ ಪಾತೆರ
ಫೈಲ್
ಫೈಲ್ ಪಾತೆರ
ಮಾದ್ಯಮೊ ವಿಕಿ
ಮಾದ್ಯಮೊ ವಿಕಿ ಪಾತೆರ
ಟೆಂಪ್ಲೇಟ್
ಟೆಂಪ್ಲೇಟ್ ಪಾತೆರ
ಸಕಾಯೊ
ಸಕಾಯೊ ಪಾತೆರ
ವರ್ಗೊ
ವರ್ಗೊ ಪಾತೆರ
ಸಂಪುಟ
ಸಂಪುಟೊದ ಪಾತೆರ
ಬರೆಯಿನಾರ್
ಬರೆಯಿನಾರೆನ ಪಾತೆರ
ಪುಟ
ಪುಟತ ಪಾತೆರ
ಪರಿವಿಡಿ
ಪರಿವಿಡಿತ ಪಾತೆರ
TimedText
TimedText talk
ಮೋಡ್ಯೂಲ್
ಮೋಡ್ಯೂಲ್ ಪಾತೆರ
ಮುಖ್ಯ ಪುಟ
0
1
1
2024-10-30T00:02:29Z
Maintenance script
1
Created page with "<div dir="ltr" lang="en" class="mw-content-ltr"> ==This subdomain is reserved for the creation of a [[wikimedia:Our projects|Wikisource]] in '''[[w:en:ತುಳು|ತುಳು]]''' language== * Please '''do not start editing''' this new site. This site has a test project on the [[incubator:|Wikimedia Incubator]] (or on the [[betawikiversity:|Beta Wikiversity]] or on the [[oldwikisource:|Old Wikisource]]) and it will be imported to here. * If you would like to help tran..."
1
wikitext
text/x-wiki
<div dir="ltr" lang="en" class="mw-content-ltr">
==This subdomain is reserved for the creation of a [[wikimedia:Our projects|Wikisource]] in '''[[w:en:ತುಳು|ತುಳು]]''' language==
* Please '''do not start editing''' this new site. This site has a test project on the [[incubator:|Wikimedia Incubator]] (or on the [[betawikiversity:|Beta Wikiversity]] or on the [[oldwikisource:|Old Wikisource]]) and it will be imported to here.
* If you would like to help translating the interface to this language, please do not translate here, but go to [[translatewiki:|translatewiki.net]], a special wiki for translating the interface. That way everyone can use it on every wiki using the [[mw:|same software]].
* For information about how to edit and for other general help, see [[m:Help:Contents|Help on Wikimedia's Meta-Wiki]] or [[mw:Help:Contents|Help on MediaWiki.org]].
== Sister projects ==
<span class="plainlinks">
[//www.wikipedia.org Wikipedia] |
[//www.wiktionary.org Wiktionary] |
[//www.wikibooks.org Wikibooks] |
[//www.wikinews.org Wikinews] |
[//www.wikiquote.org Wikiquote] |
[//www.wikisource.org Wikisource] |
[//www.wikiversity.org Wikiversity] |
[//www.wikivoyage.org Wikivoyage] |
[//species.wikimedia.org Wikispecies] |
[//www.wikidata.org Wikidata] |
[//commons.wikimedia.org Commons]
</span>
See Wikimedia's [[m:|Meta-Wiki]] for the coordination of these projects.
</div>
bcgppejv5jz4982o1ryi55g0nx5e1m4
ಮಾದ್ಯಮೊ ವಿಕಿ:Sitesupport-url
8
2
2
2024-10-30T00:02:30Z
Maintenance script
1
Setting sidebar link
2
wikitext
text/x-wiki
https://donate.wikimedia.org/?utm_source=donate&utm_medium=sidebar&utm_campaign=tcy.wikisource.org&uselang=tcy
jle6b4idkj00ixdhg63q78cndbnaqrr
ಬಳಕೆದಾರೆ:Koavf
2
3
3
2024-10-30T07:19:27Z
Koavf
15
ಹೊಸ ಪುಟ: {{#babel:tcy-0|en|es-2|de-1|pt-1}} [https://en.wikipedia.org/wiki/User:Koavf !!!!]
3
wikitext
text/x-wiki
{{#babel:tcy-0|en|es-2|de-1|pt-1}}
[https://en.wikipedia.org/wiki/User:Koavf !!!!]
f0273c83qf593066y9tu9pybgdj02wd
ಬಳಕೆದಾರೆ:Meno25
2
4
4
2024-10-30T08:04:36Z
Meno25
14
Creating
4
wikitext
text/x-wiki
* You can contact me using [[:en:User:Meno25|my English Wikisource userpage]].
55k7gbxerrhng2n5vm3p943z1qsduvv
ಬಳಕೆದಾರೆ ಪಾತೆರ:Meno25
3
5
5
2024-10-30T08:05:03Z
Meno25
14
talk
5
wikitext
text/x-wiki
Please leave messages at [[w:en:User talk:Meno25]].
erhueog4jh9i02hvabsirfst0yl7g0j
ಬಳಕೆದಾರೆ:MenoBot
2
6
6
2024-10-30T08:09:54Z
MenoBot
17
Creating
6
wikitext
text/x-wiki
This is an interwiki bot operated by [[w:en:User:Meno25|Meno25]].
[[ar:مستخدم:MenoBot]]
[[as:সদস্য:MenoBot]]
[[az:İstifadəçi:MenoBot]]
[[be:Удзельнік:MenoBot]]
[[bg:Потребител:MenoBot]]
[[bn:ব্যবহারকারী:MenoBot]]
[[br:Implijer:MenoBot]]
[[bs:Korisnik:MenoBot]]
[[ca:Usuari:MenoBot]]
[[cs:Uživatel:MenoBot]]
[[cy:Defnyddiwr:MenoBot]]
[[da:Bruger:MenoBot]]
[[de:Benutzer:MenoBot]]
[[el:Χρήστης:MenoBot]]
[[en:User:MenoBot]]
[[eo:Uzanto:MenoBot]]
[[es:Usuario:MenoBot]]
[[et:Kasutaja:MenoBot]]
[[fa:کاربر:MenoBot]]
[[fi:Käyttäjä:MenoBot]]
[[fo:Brúkari:MenoBot]]
[[fr:Utilisateur:MenoBot]]
[[gl:Usuario:MenoBot]]
[[gu:સભ્ય:MenoBot]]
[[he:משתמש:MenoBot]]
[[hr:Suradnik:MenoBot]]
[[hu:Szerkesztő:MenoBot]]
[[hy:Մասնակից:MenoBot]]
[[id:Pengguna:MenoBot]]
[[is:Notandi:MenoBot]]
[[it:Utente:MenoBot]]
[[ja:利用者:MenoBot]]
[[kn:ಸದಸ್ಯ:MenoBot]]
[[ko:사용자:MenoBot]]
[[la:Usor:MenoBot]]
[[li:Gebroeker:MenoBot]]
[[lt:Naudotojas:MenoBot]]
[[mk:Корисник:MenoBot]]
[[ml:ഉപയോക്താവ്:MenoBot]]
[[mr:सदस्य:MenoBot]]
[[nl:Gebruiker:MenoBot]]
[[no:Bruker:MenoBot]]
[[pl:Wikiskryba:MenoBot]]
[[pt:Utilizador:MenoBot]]
[[ro:Utilizator:MenoBot]]
[[ru:Участник:MenoBot]]
[[sa:योजकः:MenoBot]]
[[sah:Кыттааччы:MenoBot]]
[[sk:Redaktor:MenoBot]]
[[sl:Uporabnik:MenoBot]]
[[sr:Корисник:MenoBot]]
[[ta:பயனர்:MenoBot]]
[[te:వాడుకరి:MenoBot]]
[[th:ผู้ใช้:MenoBot]]
[[tr:Kullanıcı:MenoBot]]
[[uk:Користувач:MenoBot]]
[[vec:Utente:MenoBot]]
[[vi:Thành viên:MenoBot]]
[[yi:באַניצער:MenoBot]]
[[zh:User:MenoBot]]
[[zh-min-nan:User:MenoBot]]
1hvqhdy3ai4p3wol9taqtsydo47ef23
ಬಳಕೆದಾರೆ ಪಾತೆರ:MenoBot
3
7
7
2024-10-30T08:10:19Z
MenoBot
17
talk
7
wikitext
text/x-wiki
Please leave comments in English [[w:en:User talk:Meno25|here]].
71i1b2lidd8zeajwxudf0mudmfh1lfr
ಪರಿವಿಡಿ:Sahasrārdha tuḷu gādeḷu (IA dli.CiXIV146 4).pdf
252
8
10
9
2024-11-01T12:33:20Z
Soorya Hebbar
37
10
proofread-index
text/x-wiki
{{:MediaWiki:Proofreadpage_index_template
|ಲೇಖಕೆರ್=
|ಪುಸ್ತಕೊದ ಪುದರ್=ಸಹಸ್ರಾರ್ಧ ತುಳು ಗಾದೆಳು
|ವರ್ಸೊ=1874
|ಪ್ರಕಾಶಕೆರ್=ಬಾಸೆಲ್ ಮಿಶನ್ ಪ್ರೆಸ್
|ಮೂಲ=
|ಚಿತ್ರೊಲು=
|ಪುಟೊಕುಲು=<pagelist
/>
|ಅಭಿಪ್ರಾಯೊಲು=
}}
h0m2cq366peabh8dql9umlqcxblgxb3
ವಿಕಿಸೋರ್ಸ್:ಸಮುದಾಯೊ ಪುಟೊ
4
9
11
2024-11-02T22:39:57Z
~aanzx
5
[[ವಿಕಿಸೋರ್ಸ್:ಚಾವಡಿ]] ಪುಟಕ್ಕೆ ಪುನರ್ನಿರ್ದೇಶನ
11
wikitext
text/x-wiki
#REDIRECT [[ವಿಕಿಸೋರ್ಸ್:ಚಾವಡಿ]]
pku7sb4e3x49iejvm6ws46tk5y8o2ag
ಟೆಂಪ್ಲೇಟ್:Process header
10
10
23
22
2024-11-02T23:25:06Z
~aanzx
5
23
wikitext
text/x-wiki
{{#invoke:Process_header|render
| title = {{{title|}}}
| subtitle = {{{subtitle|}}}
| links = {{{links|}}}
| search = {{{search|}}}
}}
0tshlozo71cf8m4nw4dbixt3lr2dyuu
ಮೋಡ್ಯೂಲ್:Process header
828
11
15
13
2024-11-02T23:07:28Z
~aanzx
5
15
Scribunto
text/plain
require('strict')
local p = {}
local getArgs = require('Module:Arguments').getArgs
local construct_header = require('Module:Header structure').construct_header
function p._process_header(args)
args.header_class = 'wst-process-header ws-header ws-noexport noprint'
args.main_class = 'processheadertemplate'
args.main_title = tostring(mw.html.create('span')
:addClass('wst-header-title-text')
:wikitext(args.title or mw.title.getCurrentTitle().subpageText))
if args.section then
args.main_title = args.main_title .. ' ' .. args.section
end
args.notes_class = 'process_notes'
local stylesheet = tostring(mw.html.create('div'):addClass('ws-noexport'):wikitext(mw.getCurrentFrame():extensionTag('templatestyles', '', {src = 'Process header/styles.css'})))
return stylesheet .. construct_header(args)
end
function p.process_header(frame)
return p._process_header(getArgs(frame))
end
return p
kky53c5opj67zorotzgig7h2aq9weqp
ವಿಕಿಸೋರ್ಸ್:ಚಾವಡಿ
4
12
61
28
2024-11-03T18:57:04Z
Suyash.dwivedi
56
/* ಅಭಿನಂದನೆ */ಪೊಸ ವಿಭಾಗ
61
wikitext
text/x-wiki
{{/Navigation}}
__NEWSECTIONLINK__
== ಅಭಿನಂದನೆ ==
ತುಳು ವಿಕಿಸೋರ್ಸ್ ರಚನೆ ಮಲ್ತಿನಕ್ಲೆಗ್ ಸೊಲ್ಮೆಲು.-- [[ಬಳಕೆದಾರೆ:Suyash.dwivedi|Suyash.dwivedi]] ([[ಬಳಕೆದಾರೆ ಪಾತೆರ:Suyash.dwivedi|ಪಾತೆರ್ಲೆ]]) ೦೦:೨೭, ೪ ನವಂಬರ್ ೨೦೨೪ (IST)
q5tce2xfo9601mqqvwuvfo7noxz563o
ಮೋಡ್ಯೂಲ್:Header structure
828
13
17
16
2024-11-02T23:12:44Z
~aanzx
5
17
Scribunto
text/plain
--[=[
This is a module to implement logic for header templates
]=]
require('strict')
local p = {} --p stands for package
local getArgs = require('Module:Arguments').getArgs
local plain_sister = require('Module:Plain sister')._plain_sister
-- return true if any value in list is not nil or empty in args
-- (nil means not present; empty string is not nil)
local function has_any_arg(args, list)
for k, v in pairs(list) do
if args[v] ~= nil then
return true
end
end
return false
end
--[=[
Construct the main block
]=]
local function construct_main_block(args, prefix)
-- header and tracking categories
local main_div = mw.html.create('div')
:addClass('wst-header-mainblock')
:addClass(prefix .. '-mainblock')
-- If an extra main class was provided, add it
-- TODO: Is this used? Is it needed?
if args.main_class ~= nil and args.main_class ~= "" then
main_div:addClass(args.main_class)
end
-- "Previous" field
local prev_div = main_div:tag('div')
:addClass('wst-header-back')
:addClass('searchaux')
:addClass(prefix .. '-back')
:tag('div'):addClass('wst-header-back-arrow'):wikitext('←')
:done()
:tag('div'):addClass('wst-header-back-link'):wikitext(args['previous'])
:done()
if args['previous'] == nil or args['previous'] == "" then
prev_div:addClass('wst-header-nav-empty')
end
-- The central cell
local center_div = main_div:tag('div')
:addClass('wst-header-central-cell')
:addClass(prefix .. '-central-cell')
-- Special case to manage exceptional formatting in disambiguation-like
-- pages; not otherwise documented
local pretitle = ''
if args.pretitle then
local br = '<br/>'
if not args.main_title or args.main_title == '' then
br = ''
end
center_div:tag('span')
:addClass('wst-header-pretitle')
:wikitext(args.pretitle .. br)
end
center_div:tag('span')
:addClass('wst-header-title')
:addClass(prefix .. '-title')
:wikitext(args.main_title or '')
-- "Next" field
local next_div = main_div:tag('div')
:addClass('wst-header-forward')
:addClass('searchaux')
:addClass(prefix .. '-forward')
:tag('div'):addClass('wst-header-forward-link'):wikitext(args['next'])
:done()
:tag('div'):addClass('wst-header-forward-arrow'):wikitext('→')
:done()
if args['next'] == nil or args['next'] == "" then
next_div:addClass('wst-header-nav-empty')
end
return tostring(main_div)
end
--[=[
Construct the notes block
]=]
local function construct_notes_block(args, prefix)
local main_div = mw.html.create('div')
:addClass('wst-header-notes')
:addClass('header_notes')
:addClass('searchaux')
:addClass(prefix .. '-notes')
-- If an extra main class was provided, add it
-- TODO: Is this used? Is it needed?
if args.notes_class ~= nil and args.notes_class ~= "" then
main_div:addClass(args.notes_class)
end
-- Left-floated content has to come first, or it may float below the sisters.
local notes_left_content = ''
if args.notes_left_content then
local notes_left_content_div = mw.html.create('div')
:addClass('wst-header-left')
:addClass('header_notes_left_content')
:addClass(prefix .. '-left')
:wikitext(args.notes_left_content)
notes_left_content = tostring(notes_left_content_div)
end
local shortcut = ''
if args.shortcut then
shortcut = mw.getCurrentFrame():expandTemplate {
title = 'shortcut',
args = {args.shortcut}
}
end
local notes_content = ''
if args.notes then
args.notes = mw.getCurrentFrame():preprocess(args.notes)
-- linebreaks are so notes get paragraph formatting
local notes_content_div = mw.html.create('div')
:addClass('wst-header-content')
:addClass('header_notes_content')
:addClass('wst-header-notes-content')
:addClass(prefix .. '-notes-content')
:wikitext('\n' .. args.notes .. '\n')
notes_content = tostring(notes_content_div)
end
local sister = plain_sister(args)
if not sister and not args.notes and not args.notes_left_content then
return ''
end
return tostring(main_div:wikitext(notes_left_content .. (sister or '') .. shortcut .. notes_content))
end
--[=[
Construct header
]=]
function p.construct_header(args)
-- Make sure the main identifying class for the client template is set
local prefix = "wst-unknown"
if args.template ~= nil and args.template ~= "" then
prefix = "wst-" .. args.template
end
local headerContainer = mw.html.create('div')
:addClass("ws-header")
:addClass("wst-header-structure")
:addClass(prefix)
-- header_class from client modules, class from individual uses
if args.header_class then
headerContainer:addClass(args.header_class)
end
if args.class then
headerContainer:addClass(args.class)
end
headerContainer:wikitext(table.concat({
(args.pre_main or ''),
construct_main_block(args, prefix),
construct_notes_block(args, prefix),
(args.post_notes or '')
}))
local stylesheet = mw.getCurrentFrame():extensionTag('templatestyles', '', {src = 'Header structure/styles.css'})
return stylesheet .. (args.pre_container or '') .. tostring(headerContainer)
end
function p.header_structure(frame)
return p.construct_header(getArgs(frame))
end
return p
971hsxfdvcp7ud5w4balnss3cmkboio
ಮೋಡ್ಯೂಲ್:Arguments
828
14
18
2024-11-02T23:14:49Z
~aanzx
5
ಹೊಸ ಪುಟ: -- This module provides easy processing of arguments passed to Scribunto from -- #invoke. It is intended for use by other Lua modules, and should not be -- called from #invoke directly. local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local arguments = {} -- Generate four different tidyVal functions, so that we don't have to check the -- options every time we call it. local function tidyValDefault(key, val) if type(val) == 'string'...
18
Scribunto
text/plain
-- This module provides easy processing of arguments passed to Scribunto from
-- #invoke. It is intended for use by other Lua modules, and should not be
-- called from #invoke directly.
local libraryUtil = require('libraryUtil')
local checkType = libraryUtil.checkType
local arguments = {}
-- Generate four different tidyVal functions, so that we don't have to check the
-- options every time we call it.
local function tidyValDefault(key, val)
if type(val) == 'string' then
val = val:match('^%s*(.-)%s*$')
if val == '' then
return nil
else
return val
end
else
return val
end
end
local function tidyValTrimOnly(key, val)
if type(val) == 'string' then
return val:match('^%s*(.-)%s*$')
else
return val
end
end
local function tidyValRemoveBlanksOnly(key, val)
if type(val) == 'string' then
if val:find('%S') then
return val
else
return nil
end
else
return val
end
end
local function tidyValNoChange(key, val)
return val
end
local function matchesTitle(given, title)
local tp = type( given )
return (tp == 'string' or tp == 'number') and mw.title.new( given ).prefixedText == title
end
local translate_mt = { __index = function(t, k) return k end }
function arguments.getArgs(frame, options)
checkType('getArgs', 1, frame, 'table', true)
checkType('getArgs', 2, options, 'table', true)
frame = frame or {}
options = options or {}
--[[
-- Set up argument translation.
--]]
options.translate = options.translate or {}
if getmetatable(options.translate) == nil then
setmetatable(options.translate, translate_mt)
end
if options.backtranslate == nil then
options.backtranslate = {}
for k,v in pairs(options.translate) do
options.backtranslate[v] = k
end
end
if options.backtranslate and getmetatable(options.backtranslate) == nil then
setmetatable(options.backtranslate, {
__index = function(t, k)
if options.translate[k] ~= k then
return nil
else
return k
end
end
})
end
--[[
-- Get the argument tables. If we were passed a valid frame object, get the
-- frame arguments (fargs) and the parent frame arguments (pargs), depending
-- on the options set and on the parent frame's availability. If we weren't
-- passed a valid frame object, we are being called from another Lua module
-- or from the debug console, so assume that we were passed a table of args
-- directly, and assign it to a new variable (luaArgs).
--]]
local fargs, pargs, luaArgs
if type(frame.args) == 'table' and type(frame.getParent) == 'function' then
if options.wrappers then
--[[
-- The wrappers option makes Module:Arguments look up arguments in
-- either the frame argument table or the parent argument table, but
-- not both. This means that users can use either the #invoke syntax
-- or a wrapper template without the loss of performance associated
-- with looking arguments up in both the frame and the parent frame.
-- Module:Arguments will look up arguments in the parent frame
-- if it finds the parent frame's title in options.wrapper;
-- otherwise it will look up arguments in the frame object passed
-- to getArgs.
--]]
local parent = frame:getParent()
if not parent then
fargs = frame.args
else
local title = parent:getTitle():gsub('/sandbox$', '')
local found = false
if matchesTitle(options.wrappers, title) then
found = true
elseif type(options.wrappers) == 'table' then
for _,v in pairs(options.wrappers) do
if matchesTitle(v, title) then
found = true
break
end
end
end
-- We test for false specifically here so that nil (the default) acts like true.
if found or options.frameOnly == false then
pargs = parent.args
end
if not found or options.parentOnly == false then
fargs = frame.args
end
end
else
-- options.wrapper isn't set, so check the other options.
if not options.parentOnly then
fargs = frame.args
end
if not options.frameOnly then
local parent = frame:getParent()
pargs = parent and parent.args or nil
end
end
if options.parentFirst then
fargs, pargs = pargs, fargs
end
else
luaArgs = frame
end
-- Set the order of precedence of the argument tables. If the variables are
-- nil, nothing will be added to the table, which is how we avoid clashes
-- between the frame/parent args and the Lua args.
local argTables = {fargs}
argTables[#argTables + 1] = pargs
argTables[#argTables + 1] = luaArgs
--[[
-- Generate the tidyVal function. If it has been specified by the user, we
-- use that; if not, we choose one of four functions depending on the
-- options chosen. This is so that we don't have to call the options table
-- every time the function is called.
--]]
local tidyVal = options.valueFunc
if tidyVal then
if type(tidyVal) ~= 'function' then
error(
"bad value assigned to option 'valueFunc'"
.. '(function expected, got '
.. type(tidyVal)
.. ')',
2
)
end
elseif options.trim ~= false then
if options.removeBlanks ~= false then
tidyVal = tidyValDefault
else
tidyVal = tidyValTrimOnly
end
else
if options.removeBlanks ~= false then
tidyVal = tidyValRemoveBlanksOnly
else
tidyVal = tidyValNoChange
end
end
--[[
-- Set up the args, metaArgs and nilArgs tables. args will be the one
-- accessed from functions, and metaArgs will hold the actual arguments. Nil
-- arguments are memoized in nilArgs, and the metatable connects all of them
-- together.
--]]
local args, metaArgs, nilArgs, metatable = {}, {}, {}, {}
setmetatable(args, metatable)
local function mergeArgs(tables)
--[[
-- Accepts multiple tables as input and merges their keys and values
-- into one table. If a value is already present it is not overwritten;
-- tables listed earlier have precedence. We are also memoizing nil
-- values, which can be overwritten if they are 's' (soft).
--]]
for _, t in ipairs(tables) do
for key, val in pairs(t) do
if metaArgs[key] == nil and nilArgs[key] ~= 'h' then
local tidiedVal = tidyVal(key, val)
if tidiedVal == nil then
nilArgs[key] = 's'
else
metaArgs[key] = tidiedVal
end
end
end
end
end
--[[
-- Define metatable behaviour. Arguments are memoized in the metaArgs table,
-- and are only fetched from the argument tables once. Fetching arguments
-- from the argument tables is the most resource-intensive step in this
-- module, so we try and avoid it where possible. For this reason, nil
-- arguments are also memoized, in the nilArgs table. Also, we keep a record
-- in the metatable of when pairs and ipairs have been called, so we do not
-- run pairs and ipairs on the argument tables more than once. We also do
-- not run ipairs on fargs and pargs if pairs has already been run, as all
-- the arguments will already have been copied over.
--]]
metatable.__index = function (t, key)
--[[
-- Fetches an argument when the args table is indexed. First we check
-- to see if the value is memoized, and if not we try and fetch it from
-- the argument tables. When we check memoization, we need to check
-- metaArgs before nilArgs, as both can be non-nil at the same time.
-- If the argument is not present in metaArgs, we also check whether
-- pairs has been run yet. If pairs has already been run, we return nil.
-- This is because all the arguments will have already been copied into
-- metaArgs by the mergeArgs function, meaning that any other arguments
-- must be nil.
--]]
if type(key) == 'string' then
key = options.translate[key]
end
local val = metaArgs[key]
if val ~= nil then
return val
elseif metatable.donePairs or nilArgs[key] then
return nil
end
for _, argTable in ipairs(argTables) do
local argTableVal = tidyVal(key, argTable[key])
if argTableVal ~= nil then
metaArgs[key] = argTableVal
return argTableVal
end
end
nilArgs[key] = 'h'
return nil
end
metatable.__newindex = function (t, key, val)
-- This function is called when a module tries to add a new value to the
-- args table, or tries to change an existing value.
if type(key) == 'string' then
key = options.translate[key]
end
if options.readOnly then
error(
'could not write to argument table key "'
.. tostring(key)
.. '"; the table is read-only',
2
)
elseif options.noOverwrite and args[key] ~= nil then
error(
'could not write to argument table key "'
.. tostring(key)
.. '"; overwriting existing arguments is not permitted',
2
)
elseif val == nil then
--[[
-- If the argument is to be overwritten with nil, we need to erase
-- the value in metaArgs, so that __index, __pairs and __ipairs do
-- not use a previous existing value, if present; and we also need
-- to memoize the nil in nilArgs, so that the value isn't looked
-- up in the argument tables if it is accessed again.
--]]
metaArgs[key] = nil
nilArgs[key] = 'h'
else
metaArgs[key] = val
end
end
local function translatenext(invariant)
local k, v = next(invariant.t, invariant.k)
invariant.k = k
if k == nil then
return nil
elseif type(k) ~= 'string' or not options.backtranslate then
return k, v
else
local backtranslate = options.backtranslate[k]
if backtranslate == nil then
-- Skip this one. This is a tail call, so this won't cause stack overflow
return translatenext(invariant)
else
return backtranslate, v
end
end
end
metatable.__pairs = function ()
-- Called when pairs is run on the args table.
if not metatable.donePairs then
mergeArgs(argTables)
metatable.donePairs = true
end
return translatenext, { t = metaArgs }
end
local function inext(t, i)
-- This uses our __index metamethod
local v = t[i + 1]
if v ~= nil then
return i + 1, v
end
end
metatable.__ipairs = function (t)
-- Called when ipairs is run on the args table.
return inext, t, 0
end
return args
end
return arguments
5qx9tzlul9ser30uxj9nbasjt92cevn
ಮೋಡ್ಯೂಲ್:Plain sister
828
15
19
2024-11-02T23:17:38Z
~aanzx
5
ಹೊಸ ಪುಟ: require('strict') local p = {} local getArgs = require('Module:Arguments').getArgs local yesno = require('Module:Yesno') local TableTools = require('Module:TableTools') -- table of site data local sites = { -- interwiki prefix: parameter, label and site id (for Wikidata) ['w'] = {'wikipedia', 'Wikipedia article', 'enwiki'}, ['c'] = {'commons', 'Commons gallery', 'commonswiki'}, ['c:Category'] = {'commonscat', 'Commons category', 'commonswiki'}, ['q'...
19
Scribunto
text/plain
require('strict')
local p = {}
local getArgs = require('Module:Arguments').getArgs
local yesno = require('Module:Yesno')
local TableTools = require('Module:TableTools')
-- table of site data
local sites = {
-- interwiki prefix: parameter, label and site id (for Wikidata)
['w'] = {'wikipedia', 'Wikipedia article', 'enwiki'},
['c'] = {'commons', 'Commons gallery', 'commonswiki'},
['c:Category'] = {'commonscat', 'Commons category', 'commonswiki'},
['q'] = {'wikiquote', 'quotes', 'enwikiquote'},
['n'] = {'wikinews', 'news', 'enwikinews'},
['wikt'] = {'wiktionary', 'definition', 'enwiktionary'},
['b'] = {'wikibooks', 'textbook', 'enwikibooks'},
['v'] = {'wikiversity', 'course', 'enwikiversity'},
['wikispecies'] = {'wikispecies', 'taxonomy', 'specieswiki'},
['voy'] = {'wikivoyage', 'travel guide', 'enwikivoyage'},
['d'] = {'wikidata', 'Wikidata item', 'wikidatawiki'},
['m'] = {'meta', 'Meta', 'metawiki'}
}
-- sites is display order (keyed as above)
local sites_in_order = {'w', 'c', 'c:Category', 'q', 'n', 'wikt', 'b', 'v', 'wikispecies', 'voy', 'd', 'm'}
-- some properties are not wanted from certain transitive links
-- for example, the P921 (main topic) should not add the Commons category
-- this is a map of WD property -> WD site ID keys
local transitiveLinkBlacklist = {
P921 = {'commonswiki', 'wikiquote', 'wikinews', 'wiktionary', 'wikiversity', 'wikivoyage', 'meta'},
}
--------------------------------------------------------------------------------
-- Get the item associated with the current page, or specified by the 'wikidata'
-- parameter (of either the module invocation, or the parent template).
-- @return mw.wikibase.entity
local function getItem(args)
local item = nil
-- Firstly, see if the calling tempate or module has a "wikidata" argument.
if args.wikidata then
item = mw.wikibase.getEntity(args.wikidata)
end
-- Failing that just use the current page's item.
if item == nil then
item = mw.wikibase.getEntity()
end
return item
end
--------------------------------------------------------------------------------
-- Get the page title of the first sitelink found on the target item for the
-- given property.
-- @return string|nil
local function getFirstSitelink(item, property, sitename)
local statements = item:getBestStatements(property)
if #statements > 0 then
-- Go through each 'edition of' statement.
for _, statement in pairs(statements) do
-- datavalue is missing if set to "unknown value"
if statement['mainsnak']['datatype'] == 'wikibase-item'
and statement['mainsnak']['datavalue'] then
local otherItemId = statement['mainsnak']['datavalue']['value']['id']
local sitelink = mw.wikibase.getSitelink(otherItemId, sitename)
-- If the parent has the required sitelink, return it.
if sitelink ~= '' and sitelink ~= nil then
-- mw.log(sitename, property, sitelink)
return sitelink
end
end -- if
end
end
return nil
end
local function listContains(list, item)
for _, v in pairs(list) do
if v == item then
return true
end
end
return false
end
local function transitivePropertyBlacklisted(prop, wdSitelinkKey)
-- reject prop/key pairs that we don't want
local blacklisted = transitiveLinkBlacklist[prop] and
listContains(transitiveLinkBlacklist[prop], wdSitelinkKey)
return blacklisted
end
function p.getLinks(args)
local item = getItem(args)
local links = {}
-- Build all the wikitext links.
for prefix, site in pairs(sites) do
local val = nil
local wd_sitelink_key = site[3]
local arg_name = site[1]
-- Allow overriding of individual sitelinks.
if args[arg_name] then
val = args[arg_name]
end
if not val and wd_sitelink_key ~= '' and item then -- fetch it from wikidata
val = item:getSitelink(wd_sitelink_key)
if wd_sitelink_key == 'wikidatawiki' and item.id then
val = item.id
elseif wd_sitelink_key == 'commonswiki' and val then -- we have link to commons
local catFlag = (#val>9 and string.sub(val, 1, 9) == 'Category:')
if (arg_name == 'commonscat' and catFlag==false) or (arg_name=='commons' and catFlag==true) then
val = nil -- link is to a wrong namespace so let's nuke it
elseif (arg_name =='commonscat' and catFlag==true) then
val = string.sub(val,10) -- trim 'Category:' from the front
end
end
end
-- Commons gallery.
if not val and arg_name == 'commons' and item then
local statements = item:getBestStatements('P935') -- get commons gallery page from P935 property
if statements[1] and statements[1].mainsnak.datavalue then
val = statements[1].mainsnak.datavalue.value
end
end
-- Commons category.
if not val and arg_name == 'commonscat' and item then
local statements = item:getBestStatements('P373') -- get commons category page from P373 property
if statements[1] and statements[1].mainsnak.datavalue then
val = statements[1].mainsnak.datavalue.value
end
end
-- edition or translation of (P629)
-- category's main topic (P301)
-- Wikimedia portal's main topic (P1204)
-- main subject (P921)
if item then
for _,prop in pairs({ 'P629', 'P301', 'P1204', 'P921' }) do
if not val and not transitivePropertyBlacklisted(prop, wd_sitelink_key) then
local workSitelink = getFirstSitelink(item, prop, wd_sitelink_key)
if workSitelink ~= nil then
val = workSitelink
break
end
end
end
end
if val then
links[prefix] = val
end
end
-- tidy up redundancies in the WD data
-- strip redundant commons category prefix
if links['c:Category'] then
links['c:Category'] = links['c:Category']:gsub('^Category:', '')
end
-- the gallery is exactly the same as the category, so just keep the category
if links['c'] and links['c:Category']
and ('Category:' .. links['c:Category']) == links['c'] then
links['c'] = nil
end
return links
end
--------
local function construct_sisicon_span(args)
return mw.html.create('span')
:addClass('sisicon')
:wikitext('[[File:' .. args.image .. '|frameless|18px|link=' .. args.link .. '|alt=' .. args.alt .. ']]')
end
-- Get an HTML list of all links to all sister projects.
function p._interprojectPart(args)
local item = getItem(args)
local link_data = p.getLinks(args)
local links = {}
-- iterate the links in the desired order and construct Wikitext links
for k, v in pairs(sites_in_order) do
if link_data[v] then
local display = sites[v][2]
local target = v .. ':' .. link_data[v]
table.insert(links, '[[' .. target .. '|' .. display .. ']]')
end
end
if #links == 0 then -- links table length is zero
return nil
end
return mw.html.create('li')
:addClass('sisitem')
:node(construct_sisicon_span({
image = 'Wikimedia-logo.svg',
link = 'Special:sitematrix',
alt = 'Sister Projects.'
}))
:wikitext('[[Special:sitematrix|sister projects]]: ' .. table.concat(links, ', ') .. '.')
end
function p.interprojectPart(frame)
return p._interprojectPart(getArgs(frame))
end
local function construct_related_links(sourceArgs, linkArgs, sisiconArgs)
local links = {}
for k, v in pairs(sourceArgs) do
local key = string.gsub(string.gsub(string.gsub(string.gsub(k, ' ', ''), '_', ''), '-', ''), 's(%d*)$', '%1')
if string.match(key, '^' .. linkArgs.param .. '%d*$') then
local n = string.gsub(key, '^' .. linkArgs.param .. '(%d*)$', '%1')
n = tonumber(n) or 1
if not links[n] then
local items = mw.text.split(v, '%s*/%s*', false)
local itemLinks = {}
for _, item in pairs(items) do
if item ~= '' then
table.insert(itemLinks, '[[' .. linkArgs.nsPrefix .. item .. '|' .. item .. ']]')
end
end
links[n] = table.concat(itemLinks, ', ')
end
end
end
links = TableTools.compressSparseArray(links)
if #links == 0 then
return nil
end
return mw.html.create('li')
:addClass('sisitem')
:node(construct_sisicon_span(sisiconArgs))
:wikitext(linkArgs.linkPrefix .. table.concat(links, ', ') .. '.')
end
function p._plain_sister(args)
local current_frame = mw.getCurrentFrame()
local current_title = mw.title.getCurrentTitle()
local pagename = current_title.text
local item = getItem(args)
-- construct list
local ul_list = mw.html.create('ul'):addClass('plainSister')
if yesno(args.disambiguation) then
local dabItem = '<span class="dabicon">[[File:Disambiguation.svg|frameless|17px|link=WS:STYLE#Disambiguation.2C_versions_and_translations_pages|alt=Style Guide for disambiguation, version and translation pages.]]</span>'
.. 'Search for titles <span class="selfreference">[[Special:Search/intitle:"' .. pagename .. '"|containing]]</span> or '
if current_title:inNamespaces(14) then
dabItem = dabItem .. '[[Special:Categories/' .. pagename .. '|beginning]]'
elseif current_title:inNamespaces(0) then
dabItem = dabItem .. '[[Special:PrefixIndex/' .. current_title.fullText .. '|beginning]]'
else
dabItem = dabItem .. '[[Special:PrefixIndex/' .. current_title.fullText .. '|beginning (in ' .. current_title.nsText .. 's)]]'
end
dabItem = dabItem .. ' with: "' .. pagename .. '."'
ul_list:tag('li')
:addClass('dabitem')
:wikitext(dabItem)
end
local show_textinfo = args.textinfotitle or yesno(args.textinfo or args.edition)
if show_textinfo then
local edition_title
if args.textinfotitle then
edition_title = mw.title.new(args.textinfotitle)
else
edition_title = current_title
end
ul_list:tag('li')
:addClass('sisitem')
:node(construct_sisicon_span({
image = 'Information_icon.svg',
link = 'Template:Textinfo',
alt = 'Documentation for the TextInfo template.',
}))
:wikitext('[[' .. edition_title.talkNsText .. ':' .. edition_title.text .. '|information about this edition]].')
end
local portalLI = construct_related_links(
args,
{
param = 'portal',
nsPrefix = 'Portal:',
linkPrefix = '[[Portal:Portals|related portals]]: '
},
{
image = 'Wikisource-logo.svg',
link = 'Portal:Portals',
alt = 'Related Portals.'
}
)
if portalLI then
ul_list:node(portalLI)
end
local authorLI = construct_related_links(
args,
{
param = 'relatedauthor',
nsPrefix = 'Author:',
linkPrefix = '[[Wikisource:Authors|related authors]]: '
},
{
image = 'System-users.svg',
link = 'Wikisource:Authors',
alt = 'Related Authors.'
}
)
if authorLI then
ul_list:node(authorLI)
end
local workLI = construct_related_links(
args,
{
param = 'relatedwork',
nsPrefix = '',
linkPrefix = '[[Wikisource:Works|related works]]: '
},
{
image = 'Nuvola apps bookcase.svg',
link = 'Wikisource:Works',
alt = 'Related Works.'
}
)
if workLI then
ul_list:node(workLI)
end
local sisters = p._interprojectPart(args)
if sisters then
ul_list:node(sisters)
end
if yesno(args.wikidataswitch) and not item then
local wdSearch = '<span class="sisicon">[[File:Wikidata-logo.svg|frameless|17px|link=Wikisource:Wikidata|alt=Wikidata.]]</span>'
.. '[[d:Special:Search/' .. pagename .. '|Search Wikidata]].'
ul_list:tag('li')
:addClass('sisitem')
:wikitext(wdSearch)
end
if not yesno(args.disambiguation) and not show_textinfo and not portalLI and not authorLI and not workLI and not sisters and not yesno(args.wikidataswitch) then
return nil
end
return current_frame:extensionTag('templatestyles', '', {src = 'Plain sister/styles.css'}) .. tostring(ul_list)
end
function p.plain_sister(frame)
return p._plain_sister(getArgs(frame))
end
return p
-- Debug console testing:
-- =p.interprojectPart(mw.getCurrentFrame():newChild{title='nop',args={wikidata='Q23308118'}})
b3rta2uz0mymac7379voqwinp89hlkc
ಮೋಡ್ಯೂಲ್:Yesno
828
16
20
2024-11-02T23:19:07Z
~aanzx
5
ಹೊಸ ಪುಟ: -- Function allowing for consistent treatment of boolean-like wikitext input. -- It works similarly to the template {{yesno}}. return function (val, default) -- If your wiki uses non-ascii characters for any of "yes", "no", etc., you -- should replace "val:lower()" with "mw.ustring.lower(val)" in the -- following line. val = type(val) == 'string' and val:lower() or val if val == nil then return nil elseif val == true or val == 'yes' or val == 'y' or val...
20
Scribunto
text/plain
-- Function allowing for consistent treatment of boolean-like wikitext input.
-- It works similarly to the template {{yesno}}.
return function (val, default)
-- If your wiki uses non-ascii characters for any of "yes", "no", etc., you
-- should replace "val:lower()" with "mw.ustring.lower(val)" in the
-- following line.
val = type(val) == 'string' and val:lower() or val
if val == nil then
return nil
elseif val == true
or val == 'yes'
or val == 'y'
or val == 'true'
or val == 't'
or val == 'on'
or tonumber(val) == 1
then
return true
elseif val == false
or val == 'no'
or val == 'n'
or val == 'false'
or val == 'f'
or val == 'off'
or tonumber(val) == 0
then
return false
else
return default
end
end
swdskn7svew8i9wuydn9uj5l3r2ghcs
ಮೋಡ್ಯೂಲ್:TableTools
828
17
24
2024-11-02T23:26:05Z
~aanzx
5
ಹೊಸ ಪುಟ: ------------------------------------------------------------------------------------ -- TableTools -- -- -- -- This module includes a number of functions for dealing with Lua tables. -- -- It is a meta-module, meant to be called from other Lua modules, and should not -- -- be called directly from #invoke....
24
Scribunto
text/plain
------------------------------------------------------------------------------------
-- TableTools --
-- --
-- This module includes a number of functions for dealing with Lua tables. --
-- It is a meta-module, meant to be called from other Lua modules, and should not --
-- be called directly from #invoke. --
------------------------------------------------------------------------------------
local libraryUtil = require('libraryUtil')
local p = {}
-- Define often-used variables and functions.
local floor = math.floor
local infinity = math.huge
local checkType = libraryUtil.checkType
local checkTypeMulti = libraryUtil.checkTypeMulti
------------------------------------------------------------------------------------
-- isPositiveInteger
--
-- This function returns true if the given value is a positive integer, and false
-- if not. Although it doesn't operate on tables, it is included here as it is
-- useful for determining whether a given table key is in the array part or the
-- hash part of a table.
------------------------------------------------------------------------------------
function p.isPositiveInteger(v)
return type(v) == 'number' and v >= 1 and floor(v) == v and v < infinity
end
------------------------------------------------------------------------------------
-- isNan
--
-- This function returns true if the given number is a NaN value, and false if
-- not. Although it doesn't operate on tables, it is included here as it is useful
-- for determining whether a value can be a valid table key. Lua will generate an
-- error if a NaN is used as a table key.
------------------------------------------------------------------------------------
function p.isNan(v)
return type(v) == 'number' and v ~= v
end
------------------------------------------------------------------------------------
-- shallowClone
--
-- This returns a clone of a table. The value returned is a new table, but all
-- subtables and functions are shared. Metamethods are respected, but the returned
-- table will have no metatable of its own.
------------------------------------------------------------------------------------
function p.shallowClone(t)
checkType('shallowClone', 1, t, 'table')
local ret = {}
for k, v in pairs(t) do
ret[k] = v
end
return ret
end
------------------------------------------------------------------------------------
-- removeDuplicates
--
-- This removes duplicate values from an array. Non-positive-integer keys are
-- ignored. The earliest value is kept, and all subsequent duplicate values are
-- removed, but otherwise the array order is unchanged.
------------------------------------------------------------------------------------
function p.removeDuplicates(arr)
checkType('removeDuplicates', 1, arr, 'table')
local isNan = p.isNan
local ret, exists = {}, {}
for _, v in ipairs(arr) do
if isNan(v) then
-- NaNs can't be table keys, and they are also unique, so we don't need to check existence.
ret[#ret + 1] = v
elseif not exists[v] then
ret[#ret + 1] = v
exists[v] = true
end
end
return ret
end
------------------------------------------------------------------------------------
-- numKeys
--
-- This takes a table and returns an array containing the numbers of any numerical
-- keys that have non-nil values, sorted in numerical order.
------------------------------------------------------------------------------------
function p.numKeys(t)
checkType('numKeys', 1, t, 'table')
local isPositiveInteger = p.isPositiveInteger
local nums = {}
for k in pairs(t) do
if isPositiveInteger(k) then
nums[#nums + 1] = k
end
end
table.sort(nums)
return nums
end
------------------------------------------------------------------------------------
-- affixNums
--
-- This takes a table and returns an array containing the numbers of keys with the
-- specified prefix and suffix. For example, for the table
-- {a1 = 'foo', a3 = 'bar', a6 = 'baz'} and the prefix "a", affixNums will return
-- {1, 3, 6}.
------------------------------------------------------------------------------------
function p.affixNums(t, prefix, suffix)
checkType('affixNums', 1, t, 'table')
checkType('affixNums', 2, prefix, 'string', true)
checkType('affixNums', 3, suffix, 'string', true)
local function cleanPattern(s)
-- Cleans a pattern so that the magic characters ()%.[]*+-?^$ are interpreted literally.
return s:gsub('([%(%)%%%.%[%]%*%+%-%?%^%$])', '%%%1')
end
prefix = prefix or ''
suffix = suffix or ''
prefix = cleanPattern(prefix)
suffix = cleanPattern(suffix)
local pattern = '^' .. prefix .. '([1-9]%d*)' .. suffix .. '$'
local nums = {}
for k in pairs(t) do
if type(k) == 'string' then
local num = mw.ustring.match(k, pattern)
if num then
nums[#nums + 1] = tonumber(num)
end
end
end
table.sort(nums)
return nums
end
------------------------------------------------------------------------------------
-- numData
--
-- Given a table with keys like {"foo1", "bar1", "foo2", "baz2"}, returns a table
-- of subtables in the format
-- {[1] = {foo = 'text', bar = 'text'}, [2] = {foo = 'text', baz = 'text'}}.
-- Keys that don't end with an integer are stored in a subtable named "other". The
-- compress option compresses the table so that it can be iterated over with
-- ipairs.
------------------------------------------------------------------------------------
function p.numData(t, compress)
checkType('numData', 1, t, 'table')
checkType('numData', 2, compress, 'boolean', true)
local ret = {}
for k, v in pairs(t) do
local prefix, num = mw.ustring.match(tostring(k), '^([^0-9]*)([1-9][0-9]*)$')
if num then
num = tonumber(num)
local subtable = ret[num] or {}
if prefix == '' then
-- Positional parameters match the blank string; put them at the start of the subtable instead.
prefix = 1
end
subtable[prefix] = v
ret[num] = subtable
else
local subtable = ret.other or {}
subtable[k] = v
ret.other = subtable
end
end
if compress then
local other = ret.other
ret = p.compressSparseArray(ret)
ret.other = other
end
return ret
end
------------------------------------------------------------------------------------
-- compressSparseArray
--
-- This takes an array with one or more nil values, and removes the nil values
-- while preserving the order, so that the array can be safely traversed with
-- ipairs.
------------------------------------------------------------------------------------
function p.compressSparseArray(t)
checkType('compressSparseArray', 1, t, 'table')
local ret = {}
local nums = p.numKeys(t)
for _, num in ipairs(nums) do
ret[#ret + 1] = t[num]
end
return ret
end
------------------------------------------------------------------------------------
-- sparseIpairs
--
-- This is an iterator for sparse arrays. It can be used like ipairs, but can
-- handle nil values.
------------------------------------------------------------------------------------
function p.sparseIpairs(t)
checkType('sparseIpairs', 1, t, 'table')
local nums = p.numKeys(t)
local i = 0
local lim = #nums
return function ()
i = i + 1
if i <= lim then
local key = nums[i]
return key, t[key]
else
return nil, nil
end
end
end
------------------------------------------------------------------------------------
-- size
--
-- This returns the size of a key/value pair table. It will also work on arrays,
-- but for arrays it is more efficient to use the # operator.
------------------------------------------------------------------------------------
function p.size(t)
checkType('size', 1, t, 'table')
local i = 0
for _ in pairs(t) do
i = i + 1
end
return i
end
local function defaultKeySort(item1, item2)
-- "number" < "string", so numbers will be sorted before strings.
local type1, type2 = type(item1), type(item2)
if type1 ~= type2 then
return type1 < type2
elseif type1 == 'table' or type1 == 'boolean' or type1 == 'function' then
return tostring(item1) < tostring(item2)
else
return item1 < item2
end
end
------------------------------------------------------------------------------------
-- keysToList
--
-- Returns an array of the keys in a table, sorted using either a default
-- comparison function or a custom keySort function.
------------------------------------------------------------------------------------
function p.keysToList(t, keySort, checked)
if not checked then
checkType('keysToList', 1, t, 'table')
checkTypeMulti('keysToList', 2, keySort, {'function', 'boolean', 'nil'})
end
local arr = {}
local index = 1
for k in pairs(t) do
arr[index] = k
index = index + 1
end
if keySort ~= false then
keySort = type(keySort) == 'function' and keySort or defaultKeySort
table.sort(arr, keySort)
end
return arr
end
------------------------------------------------------------------------------------
-- sortedPairs
--
-- Iterates through a table, with the keys sorted using the keysToList function.
-- If there are only numerical keys, sparseIpairs is probably more efficient.
------------------------------------------------------------------------------------
function p.sortedPairs(t, keySort)
checkType('sortedPairs', 1, t, 'table')
checkType('sortedPairs', 2, keySort, 'function', true)
local arr = p.keysToList(t, keySort, true)
local i = 0
return function ()
i = i + 1
local key = arr[i]
if key ~= nil then
return key, t[key]
else
return nil, nil
end
end
end
------------------------------------------------------------------------------------
-- isArray
--
-- Returns true if the given value is a table and all keys are consecutive
-- integers starting at 1.
------------------------------------------------------------------------------------
function p.isArray(v)
if type(v) ~= 'table' then
return false
end
local i = 0
for _ in pairs(v) do
i = i + 1
if v[i] == nil then
return false
end
end
return true
end
------------------------------------------------------------------------------------
-- isArrayLike
--
-- Returns true if the given value is iterable and all keys are consecutive
-- integers starting at 1.
------------------------------------------------------------------------------------
function p.isArrayLike(v)
if not pcall(pairs, v) then
return false
end
local i = 0
for _ in pairs(v) do
i = i + 1
if v[i] == nil then
return false
end
end
return true
end
------------------------------------------------------------------------------------
-- invert
--
-- Transposes the keys and values in an array. For example, {"a", "b", "c"} ->
-- {a = 1, b = 2, c = 3}. Duplicates are not supported (result values refer to
-- the index of the last duplicate) and NaN values are ignored.
------------------------------------------------------------------------------------
function p.invert(arr)
checkType("invert", 1, arr, "table")
local isNan = p.isNan
local map = {}
for i, v in ipairs(arr) do
if not isNan(v) then
map[v] = i
end
end
return map
end
------------------------------------------------------------------------------------
-- listToSet
--
-- Creates a set from the array part of the table. Indexing the set by any of the
-- values of the array returns true. For example, {"a", "b", "c"} ->
-- {a = true, b = true, c = true}. NaN values are ignored as Lua considers them
-- never equal to any value (including other NaNs or even themselves).
------------------------------------------------------------------------------------
function p.listToSet(arr)
checkType("listToSet", 1, arr, "table")
local isNan = p.isNan
local set = {}
for _, v in ipairs(arr) do
if not isNan(v) then
set[v] = true
end
end
return set
end
------------------------------------------------------------------------------------
-- deepCopy
--
-- Recursive deep copy function. Preserves identities of subtables.
------------------------------------------------------------------------------------
local function _deepCopy(orig, includeMetatable, already_seen)
if type(orig) ~= "table" then
return orig
end
-- already_seen stores copies of tables indexed by the original table.
local copy = already_seen[orig]
if copy ~= nil then
return copy
end
copy = {}
already_seen[orig] = copy -- memoize before any recursion, to avoid infinite loops
for orig_key, orig_value in pairs(orig) do
copy[_deepCopy(orig_key, includeMetatable, already_seen)] = _deepCopy(orig_value, includeMetatable, already_seen)
end
if includeMetatable then
local mt = getmetatable(orig)
if mt ~= nil then
setmetatable(copy, _deepCopy(mt, true, already_seen))
end
end
return copy
end
function p.deepCopy(orig, noMetatable, already_seen)
checkType("deepCopy", 3, already_seen, "table", true)
return _deepCopy(orig, not noMetatable, already_seen or {})
end
------------------------------------------------------------------------------------
-- sparseConcat
--
-- Concatenates all values in the table that are indexed by a number, in order.
-- sparseConcat{a, nil, c, d} => "acd"
-- sparseConcat{nil, b, c, d} => "bcd"
------------------------------------------------------------------------------------
function p.sparseConcat(t, sep, i, j)
local arr = {}
local arr_i = 0
for _, v in p.sparseIpairs(t) do
arr_i = arr_i + 1
arr[arr_i] = v
end
return table.concat(arr, sep, i, j)
end
------------------------------------------------------------------------------------
-- length
--
-- Finds the length of an array, or of a quasi-array with keys such as "data1",
-- "data2", etc., using an exponential search algorithm. It is similar to the
-- operator #, but may return a different value when there are gaps in the array
-- portion of the table. Intended to be used on data loaded with mw.loadData. For
-- other tables, use #.
-- Note: #frame.args in frame object always be set to 0, regardless of the number
-- of unnamed template parameters, so use this function for frame.args.
------------------------------------------------------------------------------------
function p.length(t, prefix)
-- requiring module inline so that [[Module:Exponential search]] which is
-- only needed by this one function doesn't get millions of transclusions
local expSearch = require("Module:Exponential search")
checkType('length', 1, t, 'table')
checkType('length', 2, prefix, 'string', true)
return expSearch(function (i)
local key
if prefix then
key = prefix .. tostring(i)
else
key = i
end
return t[key] ~= nil
end) or 0
end
------------------------------------------------------------------------------------
-- inArray
--
-- Returns true if searchElement is a member of the array, and false otherwise.
-- Equivalent to JavaScript array.includes(searchElement) or
-- array.includes(searchElement, fromIndex), except fromIndex is 1 indexed
------------------------------------------------------------------------------------
function p.inArray(array, searchElement, fromIndex)
checkType("inArray", 1, array, "table")
-- if searchElement is nil, error?
fromIndex = tonumber(fromIndex)
if fromIndex then
if (fromIndex < 0) then
fromIndex = #array + fromIndex + 1
end
if fromIndex < 1 then fromIndex = 1 end
for _, v in ipairs({unpack(array, fromIndex)}) do
if v == searchElement then
return true
end
end
else
for _, v in pairs(array) do
if v == searchElement then
return true
end
end
end
return false
end
------------------------------------------------------------------------------------
-- merge
--
-- Given the arrays, returns an array containing the elements of each input array
-- in sequence.
------------------------------------------------------------------------------------
function p.merge(...)
local arrays = {...}
local ret = {}
for i, arr in ipairs(arrays) do
checkType('merge', i, arr, 'table')
for _, v in ipairs(arr) do
ret[#ret + 1] = v
end
end
return ret
end
------------------------------------------------------------------------------------
-- extend
--
-- Extends the first array in place by appending all elements from the second
-- array.
------------------------------------------------------------------------------------
function p.extend(arr1, arr2)
checkType('extend', 1, arr1, 'table')
checkType('extend', 2, arr2, 'table')
for _, v in ipairs(arr2) do
arr1[#arr1 + 1] = v
end
end
return p
4n03zk6kcoeg4gz82mieeh94c1szcjy
ವಿಕಿಸೋರ್ಸ್:ಚಾವಡಿ/Navigation
4
18
73
48
2024-11-06T06:10:22Z
~aanzx
5
73
wikitext
text/x-wiki
{| class="wikitable" style="width:100%; border: 2px solid #666666; border-radius: 10px; text-align:center;"
|-
|+ <div style="border: 3px dashed #666666; padding: 10px; border-radius: 10px 10px 0 0;" > ವಿಕಿಸೋರ್ಸ್:ಚಾವಡಿ </div>
|-
| style=" padding: 8px; " | '''[[wikt:scriptorium|ಚಾವಡಿ]]''' ವಿಕಿಸೊರ್ಸ್ದ ಕಾರ್ಯೊನೀತಿಲೆನ ಬಗೆಟ್, ತಾಂತ್ರಿಕ ದೋಸೊಲೆನ ಬಗೆಟ್, ಅಂಚನೆ ಕೆಲಸೊ ಕಾರ್ಯೊಲೆನ ಬಗೆಟ್ ಪಟ್ಟಾಂಗ ಪಾಡುನ ಪುಟ.<span class="plainlinks">[{{fullurl:ವಿಕಿಸೋರ್ಸ್:ಚಾವಡಿ|action=edit§ion=new start}} a new one]</span>
|-
| style=" padding: 8px; " |
|-
| style=" padding: 8px; " | [[ವಿಕಿಸೋರ್ಸ್:ಚಾವಡಿ/archive]]
|-
| style=" padding: 8px; border-radius: 0 0 10px 10px;" | *ಪುಸ್ತಕದ ಪುಟತ ಬಗೆಟ್, ನಿಕ್ಲೆನ ಸಲಹೆ ಬೊಕ್ಕ ಅಭಿಪ್ರಾಯೊಲೆನ್ ಒವ್ವೇ ಪುಟ ಇಜ್ಜಾಂಡ ಟೆಂಪ್ಲೇಟ್ಗ್ ಪುಟಗ್ ಅಯ್ತನೇ ಆಯಿನ ಚರ್ಚಾ ಪುಟನ್ ಗಳಸ್ಲೇ
ಪೊಸ ಸದಸ್ಯೆರ್ ನಕ್ಲೆನ ಗಮನೊಗ್:
*ಆಯಿನಾತ್ ಪುಸ್ತಕದ ಪುಟತ ಬಗೆಟ್ ಅಡಿಕೆ ಸಂಬಂದವಾಯಿನ ಪುಟತ ಚರ್ಚಾಪುಟೊಟ್ ಸೇರ್ಲೆ.
*ವಿಸೇಸ ಪುಟನ್ ಆಯಿನಾತ್ ಗಳಸ್ ಲೇ.[[:mul:Scriptorium|multilingual Wikisource]].
|-
| style=" padding: 8px; border-bottom: 3px dashed #666666; " | <div style="display:flex; justify-content:center; flex-wrap: wrap;">
<div style="padding:5px 1em; max-width: 100%;"><inputbox>
type=comment
hidden=yes
break=no
default=ವಿಕಿಸೋರ್ಸ್:ಚಾವಡಿ
buttonlabel=New Topic
</inputbox></div>
|}
8j1xzrttt583405g2rig486nsasrw04
ವಿಕಿಸೋರ್ಸ್:ಬಳಕೆದಾರರ ಹಕ್ಕುಗಳ ವಿನಂತಿ ಪುಟ
4
19
63
62
2024-11-04T11:48:27Z
Sharanya K H
61
/* discussion */
63
wikitext
text/x-wiki
== Kavitha G. Kana ==
:*user rights: Admin , Interface Admin
:*ನಾನು ತುಳು ವಿಕಿಸೊರ್ಸ್ ನಿರ್ವಾಹಕ ಮತ್ತು ಇಂಟರ್ಫೇಸ್ ಹಕ್ಕುಗಳಿಗಾಗಿ ಅರ್ಜಿ ಸಲ್ಲಿಸುತ್ತಿದ್ದೇನೆ. ತಮ್ಮ ಅಭಿಪ್ರಾಯ ಮತ್ತು ಒಪ್ಪಿಗೆಯನ್ನು ನೀಡಿ.--[[ಬಳಕೆದಾರೆ:Kavitha G. Kana|Kavitha G. Kana]] ([[ಬಳಕೆದಾರೆ ಪಾತೆರ:Kavitha G. Kana|ಪಾತೆರ್ಲೆ]]) ೦೭:೨೫, ೩ ನವಂಬರ್ ೨೦೨೪ (IST)
=== discussion ===
# ✓ thanks for volunteering.--<span style="text-shadow: 0 0 8px silver; padding:4px; font-weight:bold; border: 2px solid grey; border-radius: 5px;">[[User:~aanzx|~aanzx]] · [[user_talk:~aanzx|<big>✉</big>]] · [[Special:Contributions/~aanzx|<big> ©</big>]]</span> ೦೭:೩೧, ೩ ನವಂಬರ್ ೨೦೨೪ (IST)
# ✓ All the best Madam --[[ಬಳಕೆದಾರೆ:Hariprasad Shetty10|Hariprasad Shetty10]] ([[ಬಳಕೆದಾರೆ ಪಾತೆರ:Hariprasad Shetty10|ಪಾತೆರ್ಲೆ]]) ೦೭:೫೨, ೩ ನವಂಬರ್ ೨೦೨೪ (IST)
# ✓ Your hard work and dedication have made a tremendous difference, and we truly appreciate the valuable contributions you've brought to the team. I sincerely acknowledge and appreciate the effort and commitment you've demonstrated; your contributions have been invaluable to our journey in bringing Wikisource to live. Your consistent dedication and exceptional performance make you thoroughly deserving of this position. All the best --[[ಬಳಕೆದಾರೆ:Babitha Shetty|Babitha Shetty]] ([[ಬಳಕೆದಾರೆ ಪಾತೆರ:Babitha Shetty|ಪಾತೆರ್ಲೆ]]) ೧೦:೪೨, ೩ ನವಂಬರ್ ೨೦೨೪ (IST)
# ✓ All the best Madam --[[ಬಳಕೆದಾರೆ:Pragathi. BH|Pragathi. BH]] ([[ಬಳಕೆದಾರೆ ಪಾತೆರ:Pragathi. BH|ಪಾತೆರ್ಲೆ]]) ೧೩:೦೯, ೩ ನವಂಬರ್ ೨೦೨೪ (IST)
#--[[ಬಳಕೆದಾರೆ:BENET G AMANNA|BENET G AMANNA]] ([[ಬಳಕೆದಾರೆ ಪಾತೆರ:BENET G AMANNA|ಪಾತೆರ್ಲೆ]]) ೧೩:೧೩, ೩ ನವಂಬರ್ ೨೦೨೪ (IST) you are librarian, you know the readers,researchers thinking,you will lead this project. All the best
#--[[ಬಳಕೆದಾರೆ:Vinoda mamatharai|Vinoda mamatharai]] ([[ಬಳಕೆದಾರೆ ಪಾತೆರ:Vinoda mamatharai|ಪಾತೆರ್ಲೆ]]) ೧೭:೧೪, ೩ ನವಂಬರ್ ೨೦೨೪ (IST)You have contributed a lot to make Wikisource live. congratulations
#--[[ಬಳಕೆದಾರೆ:Shreelatha.Halemane|Shreelatha.Halemane]] ([[ಬಳಕೆದಾರೆ ಪಾತೆರ:Shreelatha.Halemane|ಪಾತೆರ್ಲೆ]]) ೧೭:೨೩, ೩ ನವಂಬರ್ ೨೦೨೪ (IST) All the best
#--[[ಬಳಕೆದಾರೆ:Shreesha Sharma|Shreesha Sharma]] ([[ಬಳಕೆದಾರೆ ಪಾತೆರ:Shreesha Sharma|ಪಾತೆರ್ಲೆ]]) ೧೭:೩೬, ೩ ನವಂಬರ್ ೨೦೨೪ (IST) #All the best for all
#--[[ಬಳಕೆದಾರೆ:Athmi.J|Athmi.J]] ([[ಬಳಕೆದಾರೆ ಪಾತೆರ:Athmi.J|ಪಾತೆರ್ಲೆ]]) ೧೭:೫೨, ೩ ನವಂಬರ್ ೨೦೨೪ (IST)
#--[[ಬಳಕೆದಾರೆ:Adhya.B|Adhya.B]] ([[ಬಳಕೆದಾರೆ ಪಾತೆರ:Adhya.B|ಪಾತೆರ್ಲೆ]]) ೧೮:೧೩, ೩ ನವಂಬರ್ ೨೦೨೪ (IST)
# --[[ಬಳಕೆದಾರೆ:Susheela Naik K|Susheela Naik K]] ([[ಬಳಕೆದಾರೆ ಪಾತೆರ:Susheela Naik K|ಪಾತೆರ್ಲೆ]]) ೧೫:೩೮, ೪ ನವಂಬರ್ ೨೦೨೪ (IST)
#--[[ಬಳಕೆದಾರೆ:Sharanya K H|Sharanya K H]] ([[ಬಳಕೆದಾರೆ ಪಾತೆರ:Sharanya K H|ಪಾತೆರ್ಲೆ]]) ೧೭:೧೮, ೪ ನವಂಬರ್ ೨೦೨೪ (IST)
bnz6560a9qkrvpv7fq3o0w20yc6x46s
ಟೆಂಪ್ಲೇಟ್:Welcome
10
20
64
2024-11-05T11:58:20Z
~aanzx
5
ಹೊಸ ಪುಟ: <div style="border: 4px solid #800000; padding: 20px; margin: 20px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);"> <div style="width: 20%; float:left;"> [[File:ವಿಕಿಸೋರ್ಸ್.svg|200px|class=skin-invert-image]]</div> <div style="border: 2px solid #800000; padding: 10px; margin: 10px 0; border-radius: 8px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); width: 60%; float:right;"> ;Welcome to Wikisource! Hello, and welcome to Wikisource! We...
64
wikitext
text/x-wiki
<div style="border: 4px solid #800000; padding: 20px; margin: 20px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);">
<div style="width: 20%; float:left;">
[[File:ವಿಕಿಸೋರ್ಸ್.svg|200px|class=skin-invert-image]]</div>
<div style="border: 2px solid #800000; padding: 10px; margin: 10px 0; border-radius: 8px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); width: 60%; float:right;">
;Welcome to Wikisource!
Hello, and welcome to Wikisource! We are glad to have you here.Wikisource is a free online library of source texts in many languages. If you are new to Wikisource, feel free to explore, contribute, and help improve this valuable resource.
</div>
<br clear="all" />
<div style="border: 2px solid #800000; padding: 10px; margin: 10px 0; border-radius: 8px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);">
;How to Get Started
* [[:en:Help:Contents|Help:Contents]] — Learn how to contribute, format pages, and more.
* [[:en:Wikisource:Main_Page|Main Page]] — Explore featured texts, portals, and categories.
<br clear="all" />
;Ask Questions
* If you have any questions, don’t hesitate to reach out. You can ask at: [[ವಿಕಿಸೋರ್ಸ್:ಚಾವಡಿ|ಚಾವಡಿ]]
<br clear="all" />
;Happy editing, and thanks for contributing to Wikisource!
</div>
</div>
pvd73chito0ojie096x8995lagu29a9
ಟೆಂಪ್ಲೇಟ್:ಇತರ ಯೋಜನೆಗಳು/1/styles.css
10
21
65
2024-11-06T05:24:55Z
~aanzx
5
ಹೊಸ ಪುಟ: /* {{pp-template}} */ #sister-projects-list { display: flex; flex-wrap: wrap; } #sister-projects-list li { display: inline-block; } #sister-projects-list li span { font-weight: bold; } #sister-projects-list li > div { display: inline-block; vertical-align: middle; padding: 6px 4px; } #sister-projects-list li > div:first-child { text-align: center; } @media (min-width: 360px) { #sister-projects-list li { width: 33%; min-width: 20em; white-space: nowra...
65
sanitized-css
text/css
/* {{pp-template}} */
#sister-projects-list {
display: flex;
flex-wrap: wrap;
}
#sister-projects-list li {
display: inline-block;
}
#sister-projects-list li span {
font-weight: bold;
}
#sister-projects-list li > div {
display: inline-block;
vertical-align: middle;
padding: 6px 4px;
}
#sister-projects-list li > div:first-child {
text-align: center;
}
@media (min-width: 360px) {
#sister-projects-list li {
width: 33%;
min-width: 20em;
white-space: nowrap;
flex: 1 0 25%;
}
#sister-projects-list li > div:first-child {
min-width: 50px;
}
}
hu453hgf4nd9lw0zgjua4xwm6gl375j
ಮುಖ್ಯ ಪುಟ/a
0
22
76
75
2024-11-06T07:52:02Z
~aanzx
5
76
wikitext
text/x-wiki
<div style="border: 4px double #000; border-radius: 15px; padding: 10px; box-sizing: border-box; box-shadow: 0 0 10px #000;">
<templatestyles src="ಮುಖ್ಯ_ಪುಟ/styles.css" />
{| style="width: 100%; border: 1px solid #a2a9b1; padding: 15px; border-radius: 10px; text-align: center; margin-bottom: 15px;"
|-
| [[File:Wikisource-logo.svg|120px|center|link=:wikisource:|Tulu Wikisource]]
| <div style="font-size: 200%; font-weight: bold; color: #333333; text-shadow: 0 0 4px maroon;">'''ತುಳು ವಿಕಿಸೋರ್ಸ್ಗ್ ಸ್ವಾಗತ'''</div><br />
<div style="font-size: 120%; font-style: italic; color: #555555; text-shadow: 0 0 4px maroon;">'''ಏರ್ಲ ಸುದಾರ್ಪುನಾ ಮುಕ್ತ ಬೂಕ್ ಪತ್ತೊಯೊ'''</div>
| [[File:Accueil_scribe_invert.png|link=|120px]]
|}
<!-- Navigation Links -->
{| style="width: 100%; margin-top: 20px; border: none;"
|-
! style="width: 25%; flex: 1; text-align: center; padding: 10px; font-size: 120%; border-radius: 8px; background-color: #f0f0f0; text-decoration: none; color: black; border: 1px solid #54595d;" | [[:Category:Tulu_literature|Tulu Literature]]
! style="width: 25%; flex: 1; text-align: center; padding: 10px; font-size: 120%; border-radius: 8px; background-color: #f0f0f0; text-decoration: none; color: black; border: 1px solid #54595d;" | [[:Category:Folklore|Folklore]]
! style="width: 25%; flex: 1; text-align: center; padding: 10px; font-size: 120%; border-radius: 8px; background-color: #f0f0f0; text-decoration: none; color: black; border: 1px solid #54595d;" | [[:Category:Poetry|Poetry]]
! style="width: 25%; flex: 1; text-align: center; padding: 10px; font-size: 120%; border-radius: 8px; background-color: #f0f0f0; text-decoration: none; color: black; border: 1px solid #54595d;" | [[:en:Help:Contents|Help (enwikisource)]]
|}
;About Tulu Wikisource
''Tulu Wikisource'' is a free online library that preserves and makes accessible Tulu language and cultural content for everyone. It includes literature, folklore, historical texts, and translations of ancient works.
;Featured Literature
{{#ifexist:Template:Featured text|
{{Featured text}}
|
;Indexed Works
* [[Index:Tulu Patero 2017bmr.pdf]]
* [[Index:ಕತ್ತುರಿ ಕಮ್ಮೆನ - ಜೋಕುಲೆ ಪದಜೊಂಕುಲಿ.pdf]]
* [[Index:ಗುರ್ತ.pdf]]
* [[Index:ಜೋಕುಲೆ ಉಜ್ಜಾಲ್ - ಜೋಕುಲೆ ಪದಜೊಂಕುಲಿ.pdf]]
* [[Index:ತುಳುನಾಡಿನಲ್ಲಿ ಬಾಸೆಲ್ ಮಿಶನ್ ಮತ್ತಿತರ ಲೇಖನಗಳು.pdf]]
* [[Index:ಮಂದಾರ ಕೇಶವ ಬಟ್ರ್.pdf]]
}}
;Quote of the Day
<blockquote style="font-style: italic; border-left: 3px solid #a2a9b1; padding-left: 10px; color: #555555;">
Test
<br>
<span style="font-size: smaller;">— Unknown</span>
</blockquote>
;Help
* '''[[Help:Contents|Help Page]]''' - Find information on how to contribute, edit, and more.
* '''[[wikisource:Community Portal|Community Portal]]''' - Join community discussions and collaborative projects.
;Sister Projects
<ul id="sister-projects-list">
<li>
<div>[[File:Commons-logo.svg|31px|link=c:|ಕಾಮನ್ಸ್|alt=ಕಾಮನ್ಸ್ ಲೋಗೋ]]</div>
<div><span>[[:c:|ಕಾಮನ್ಸ್]]</span><br/>ಮಾಧ್ಯಮಗಳ ಸಂಗ್ರಹ</div>
</li>
<li>
<div>[[File:MediaWiki-2020-icon.svg|35px|link=mw:|ಮೀಡಿಯಾವಿಕಿ|alt=ಮೀಡಿಯಾವಿಕಿ ಲೋಗೋ]]</div>
<div><span>[[:mw:|ಮೀಡಿಯಾವಿಕಿ]]</span><br/>ವಿಕಿ ತಂತ್ರಾಂಶ ಅಭಿವೃದ್ಧಿ</div>
</li>
<li>
<div>[[File:Wikimedia-logo.svg|35px|link=m:|ಮೆಟಾವಿಕಿ|alt=ಮೆಟಾವಿಕಿ ಲೋಗೋ]]</div>
<div><span>[[:m:|ಮೆಟಾವಿಕಿ]]</span><br/>ವಿಕಿಮೀಡಿಯಾ ಸಂಯೋಜನೆ</div>
</li>
<li>
<div>[[File:Wikibooks-logo.svg|35px|link=b:|ವಿಕಿ ಬುಕ್ಸ್|alt=ವಿಕಿ ಬುಕ್ಸ್ ಲೋಗೋ]]</div>
<div><span>[[:b:|ವಿಕಿ ಬುಕ್ಸ್]]</span><br/>ಉಚಿತ ಪಠ್ಯಪುಸ್ತಕಗಳು ಮತ್ತು ಕೈಪಿಡಿಗಳು</div>
</li>
<li>
<div>[[File:Wikidata-logo.svg|47px|link=d:|ವಿಕಿಡಾಟ|alt=ವಿಕಿಡಾಟ ಲೋಗೋ]]</div>
<div><span>[[:d:|ವಿಕಿಡಾಟ]]</span><br/>ಉಚಿತ ಜ್ಞಾನದ ಮೂಲ</div>
</li>
<li>
<div>[[File:Wikinews-logo.svg|51px|link=n:|ವಿಕಿನ್ಯೂಸ್|alt=ವಿಕಿನ್ಯೂಸ್ ಲೋಗೋ]]</div>
<div><span>[[:n:|ವಿಕಿನ್ಯೂಸ್]]</span><br/>ಉಚಿತ ವಿಷಯ ಸುದ್ದಿ</div>
</li>
<li>
<div>[[File:Wikiquote-logo.svg|35px|link=q:|ವಿಕಿಕೋಟ್|alt=ವಿಕಿಕೋಟ್ ಲೋಗೋ]]</div>
<div><span>[[:q:|ವಿಕಿಕೋಟ್]]</span><br/>ಉಲ್ಲೇಖಗಳ ಸಂಗ್ರಹ</div>
</li>
<li>
<div>[[File:Wikipedia-logo-v2.svg|41px|link=:w:|ವಿಕಿಪೀಡಿಯ|alt=ವಿಕಿಪೀಡಿಯ ಲೋಗೋ]]</div>
<div><span>[[:w:|ವಿಕಿಪೀಡಿಯ]]</span><br/>ಒಂದು ಸ್ವತಂತ್ರ ವಿಶ್ವಕೋಶ</div>
</li>
<li>
<div>[[File:Wikispecies-logo.svg|35px|link=species:|ವಿಕಿ ಸ್ಪೀಷೀಸ್|alt=ವಿಕಿ ಸ್ಪೀಷೀಸ್ ಲೋಗೋ]]</div>
<div><span>[[wikispecies:|ವಿಕಿ ಸ್ಪೀಷೀಸ್]]</span><br/>ಜೈವಿಕ ಮಾಹಿತಿ</div>
</li>
<li>
<div>[[File:Wikiversity logo 2017.svg|41px|link=v:|ವಿಕಿವರ್ಸಿಟಿ|alt=ವಿಕಿವರ್ಸಿಟಿ ಲೋಗೋ]]</div>
<div><span>[[:v:|ವಿಕಿವರ್ಸಿಟಿ]]</span><br/>ಉಚಿತ ಕಲಿಕೆಯ ಪರಿಕರಗಳು</div>
</li>
<li>
<div>[[File:Wikivoyage-Logo-v3-icon.svg|35px|link=voy:|ವಿಕಿವಾಯೇಜ್|alt=ವಿಕಿವಾಯೇಜ್ ಲೋಗೋ]]</div>
<div><span>[[:voy:|ವಿಕಿವಾಯೇಜ್]]</span><br/>ಉಚಿತ ಪ್ರಯಾಣ ಮಾರ್ಗದರ್ಶಿ</div>
</li>
<li>
<div>[[File:Wiktionary-logo-v2.svg|35px|link=wikt:|ವಿಕ್ಷನರಿ|alt=ವಿಕ್ಷನರಿ ಲೋಗೋ]]</div>
<div><span>[[:wikt:|ವಿಕ್ಷನರಿ ]]</span><br/>ಶಬ್ದಕೋಶ</div>
</li>
<li>
<div>[[File:Wikifunctions-logo-en.svg|31px|link=c:|ವಿಕಿಫಂಕ್ಷನ್ಸ್|alt=ವಿಕಿಫಂಕ್ಷನ್ಸ್ ಲೋಗೋ]]</div>
<div><span>[[:f:|ವಿಕಿಫಂಕ್ಷನ್ಸ್]]</span><br/>ವಿಕಿಫಂಕ್ಷನ್ಸ್ ಸಂಗ್ರಹ</div>
</li>
</ul>
</div>
[[Category:ಮುಖ್ಯ_ಪುಟ]]
ttik34ep830yxxnbrbqwsbxu51p5bua
ಟೆಂಪ್ಲೇಟ್:ಮುಖ್ಯ ಪುಟ/styles.css
10
23
68
67
2024-11-06T05:37:11Z
~aanzx
5
68
sanitized-css
text/css
/* {{pp-template}} */
#sister-projects-list {
display: flex;
flex-wrap: wrap;
}
#sister-projects-list li {
flex: 1 0 25%; /* Adjusts each item to take up 25% of the row */
box-sizing: border-box;
}
#sister-projects-list li span {
font-weight: bold;
}
#sister-projects-list li > div {
display: inline-block;
vertical-align: middle;
padding: 6px 4px;
}
#sister-projects-list li > div:first-child {
text-align: center;
}
@media (min-width: 360px) {
#sister-projects-list li {
width: 33%;
min-width: 20em;
white-space: nowrap;
flex: 1 0 25%;
}
#sister-projects-list li > div:first-child {
min-width: 50px;
}
}
pypmxqq02t0it1giit6oe1ckkal64ul