ವಿಕಿಸೋರ್ಸ್
knwikisource
https://kn.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.46.0-wmf.22
first-letter
ಮೀಡಿಯ
ವಿಶೇಷ
ಚರ್ಚೆಪುಟ
ಸದಸ್ಯ
ಸದಸ್ಯರ ಚರ್ಚೆಪುಟ
ವಿಕಿಸೋರ್ಸ್
ವಿಕಿಸೋರ್ಸ್ ಚರ್ಚೆ
ಚಿತ್ರ
ಚಿತ್ರ ಚರ್ಚೆಪುಟ
ಮೀಡಿಯವಿಕಿ
ಮೀಡಿಯವಿಕಿ ಚರ್ಚೆಪುಟ
ಟೆಂಪ್ಲೇಟು
ಟೆಂಪ್ಲೇಟು ಚರ್ಚೆಪುಟ
ಸಹಾಯ
ಸಹಾಯ ಚರ್ಚೆಪುಟ
ವರ್ಗ
ವರ್ಗ ಚರ್ಚೆಪುಟ
ಸಂಪುಟ
ಸಂಪುಟ ಚರ್ಚೆ
ಕರ್ತೃ
ಕರ್ತೃ ಚರ್ಚೆ
ಪುಟ
ಪುಟ ಚರ್ಚೆ
ಪರಿವಿಡಿ
ಪರಿವಿಡಿ ಚರ್ಚೆ
ಅನುವಾದ
ಅನುವಾದ ಚರ್ಚೆ
TimedText
TimedText talk
ಮಾಡ್ಯೂಲ್
ಮಾಡ್ಯೂಲ್ ಚರ್ಚೆಪುಟ
Event
Event talk
ಟೆಂಪ್ಲೇಟು:Documentation subpage
10
2219
282515
278079
2025-12-20T16:57:59Z
w:en>Pppery
0
Fix link
282515
wikitext
text/x-wiki
<includeonly><!--
-->{{#ifeq:{{lc:{{SUBPAGENAME}}}} |{{{override|doc}}}
| <!--(this template has been transcluded on a /doc or /{{{override}}} page)-->
</includeonly><!--
-->{{#ifeq:{{{doc-notice|show}}} |show
| {{Mbox
| type = notice
| style = margin-bottom:1.0em;
| image = [[File:Edit-copy green.svg|40px|alt=icon]]
| text =
{{strong|This is a [[Wikipedia:Template documentation|documentation subpage]]}} for {{terminate sentence|{{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}}}<br />It may contain usage information, [[Wikipedia:Categorization|categories]] and other content that is not part of the original {{#if:{{{text2|}}} |{{{text2}}} |{{#if:{{{text1|}}} |{{{text1}}} |{{#ifeq:{{SUBJECTSPACE}} |{{ns:User}} |{{lc:{{SUBJECTSPACE}}}} template page |{{#if:{{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}.
}}
}}<!--
-->{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}<!--
-->{{#if:{{{nocat|}}}{{{inhibit|}}}|<!--(don't categorize)-->
|<includeonly><!--
-->{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}
| [[Category:{{#switch:{{SUBJECTSPACE}} |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
| [[Category:Documentation subpages without corresponding pages]]
}}<!--
--></includeonly>
}}<!--
(completing initial #ifeq: at start of template:)
--><includeonly>
| <!--(this template has not been transcluded on a /doc or /{{{override}}} page)-->
}}<!--
--></includeonly><noinclude>{{Documentation}}</noinclude>
ngbz78vpmpnny1xbfvkmebdalzs512j
282516
282515
2026-04-03T05:07:33Z
A826
6806
೧ ಬದಲಾವಣೆ
282515
wikitext
text/x-wiki
<includeonly><!--
-->{{#ifeq:{{lc:{{SUBPAGENAME}}}} |{{{override|doc}}}
| <!--(this template has been transcluded on a /doc or /{{{override}}} page)-->
</includeonly><!--
-->{{#ifeq:{{{doc-notice|show}}} |show
| {{Mbox
| type = notice
| style = margin-bottom:1.0em;
| image = [[File:Edit-copy green.svg|40px|alt=icon]]
| text =
{{strong|This is a [[Wikipedia:Template documentation|documentation subpage]]}} for {{terminate sentence|{{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}}}<br />It may contain usage information, [[Wikipedia:Categorization|categories]] and other content that is not part of the original {{#if:{{{text2|}}} |{{{text2}}} |{{#if:{{{text1|}}} |{{{text1}}} |{{#ifeq:{{SUBJECTSPACE}} |{{ns:User}} |{{lc:{{SUBJECTSPACE}}}} template page |{{#if:{{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}.
}}
}}<!--
-->{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}<!--
-->{{#if:{{{nocat|}}}{{{inhibit|}}}|<!--(don't categorize)-->
|<includeonly><!--
-->{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}
| [[Category:{{#switch:{{SUBJECTSPACE}} |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
| [[Category:Documentation subpages without corresponding pages]]
}}<!--
--></includeonly>
}}<!--
(completing initial #ifeq: at start of template:)
--><includeonly>
| <!--(this template has not been transcluded on a /doc or /{{{override}}} page)-->
}}<!--
--></includeonly><noinclude>{{Documentation}}</noinclude>
ngbz78vpmpnny1xbfvkmebdalzs512j
ಟೆಂಪ್ಲೇಟು:Tlx
10
2222
282491
185699
2020-11-20T18:53:35Z
w:en>Primefac
0
Primefac moved page [[Template:Tlx]] to [[Template:Template link expanded]] over redirect: expand name, make it more obvious
282491
wikitext
text/x-wiki
#REDIRECT [[Template:Template link expanded]]
{{Redirect category shell|
{{R from move}}
}}
3q8x11tutc2rrxvxoewmgkhc3iqdc08
282492
259546
2026-04-03T05:07:32Z
A826
6806
೧ ಬದಲಾವಣೆ
254581
wikitext
text/x-wiki
<onlyinclude><kbd><nowiki>{{</nowiki>{{#if:{{{subst|}}}|[[w:Help:Substitution|subst]]:}}[[{{{LANG|}}}{{{SISTER|{{{sister|}}}}}}{{ns:Template}}:{{{1|}}}|{{#ifeq:{{lcfirst:{{{1|}}}}}|{{lc:{{{1|}}}}}|{{lcfirst:{{{1|}}}}}|{{{1}}}}}]]<!--
-->{{#if:{{{2|}}}|
|{{{2}}}
}}<!--
-->{{#if:{{{3|}}}|
|{{{3}}}
}}<!--
-->{{#if:{{{4|}}}|
|{{{4}}}
}}<!--
-->{{#if:{{{5|}}}|
|{{{5}}}
}}<!--
-->{{#if:{{{6|}}}|
|{{{6}}}
}}<!--
-->{{#if:{{{7|}}}|
|{{{7}}}
}}<!--
-->{{#if:{{{8|}}}|
|{{{8}}}
}}<!--
-->{{#if:{{{9|}}}|
|{{{9}}}
}}<!--
-->{{#if:{{{10|}}}|
|{{{10}}}
}}<!--
-->{{#if:{{{11|}}}|
|{{{11}}}
}}<!--
-->{{#if:{{{12|}}}|
|<i>...</i>
}}<nowiki>}}</nowiki></kbd></onlyinclude>
{{documentation}}
j4jj26up3t4z06w2jxz8ydyrlqa3zv1
ಟೆಂಪ್ಲೇಟು:TemplateData header
10
9079
282517
166487
2023-12-01T11:27:04Z
w:en>Gonnym
0
fix website link if |1= is used
282517
wikitext
text/x-wiki
<div class="templatedata-header">{{#if:{{{noheader|}}}|<!--
noheader:
-->{{Template parameter usage|{{{1|{{BASEPAGENAME}}}}}|based=y}}|<!--
+header:
-->This is the {{#if:{{{nolink|}}}|<!--
+header, nolink TD
-->TemplateData|<!--
+header, +link [[TD]]; DEFAULT:
-->[[Wikipedia:TemplateData|TemplateData]]}}<!--
e.o. #if:nolink; DEFAULT:
--> for this template used by [[mw:Extension:TemplateWizard|TemplateWizard]], [[Wikipedia:VisualEditor|VisualEditor]] and other tools. {{Template parameter usage|{{{1|{{BASEPAGENAME}}}}}|based=y}}<!--
e.o. #if:noheader
-->}}
'''TemplateData for {{{1|{{BASEPAGENAME}}}}}'''
</div><includeonly><!--
check parameters
-->{{#invoke:Check for unknown parameters|check
|unknown={{template other|1=[[Category:Pages using TemplateData header with unknown parameters|_VALUE_]]}}
|template=Template:TemplateData header
|1 |nolink |noheader
|preview=<div class="error" style="font-weight:normal">Unknown parameter '_VALUE_' in [[Template:TemplateData header]].</div>
}}<!--
-->{{template other|{{sandbox other||
[[Category:Templates using TemplateData]]
}}}}</includeonly><!--
--><noinclude>{{Documentation}}</noinclude>
dm3fsfuowxw0chxh4fnnh51ar884k3v
282518
254765
2026-04-03T05:07:33Z
A826
6806
೧ ಬದಲಾವಣೆ
254764
wikitext
text/x-wiki
<div class="templatedata-header">{{#if:{{{noheader|}}}|<!--
noheader:
-->{{Template parameter usage|{{{1|{{BASEPAGENAME}}}}}|based=y}}|<!--
+header:
-->This is the {{#if:{{{nolink|}}}|<!--
+header, nolink TD
-->TemplateData|<!--
+header, +link [[TD]]; DEFAULT:
-->[[Wikipedia:TemplateData|TemplateData]]}}<!--
e.o. #if:nolink; DEFAULT:
--> for this template used by [[mw:Extension:TemplateWizard|TemplateWizard]], [[Wikipedia:VisualEditor|VisualEditor]] and other tools. {{Template parameter usage|{{{1|{{BASEPAGENAME}}}}}|based=y}}<!--
e.o. #if:noheader
-->}}
'''TemplateData for {{{1|{{BASEPAGENAME}}}}}'''
</div><includeonly><!--
check parameters
-->{{#invoke:Check for unknown parameters|check
|unknown={{template other|1=[[Category:Pages using TemplateData header with unknown parameters|_VALUE_]]}}
|template=Template:TemplateData header
|1 |nolink |noheader
|preview=<div class="error" style="font-weight:normal">Unknown parameter '_VALUE_' in [[Template:TemplateData header]].</div>
}}<!--
-->{{template other|{{sandbox other||
[[Category:Templates using TemplateData]]
}}}}</includeonly><!--
--><noinclude>{{Documentation}}</noinclude>
dm3fsfuowxw0chxh4fnnh51ar884k3v
ಮಾಡ್ಯೂಲ್:Documentation
828
11460
282507
273153
2025-03-12T03:38:41Z
w:en>Paine Ellsworth
0
per edit request on talk page - make the doc environment behave correctly, giving the actual template name on the doc page rather than the name of the "doc" subpage
282507
Scribunto
text/plain
-- This module implements {{documentation}}.
-- Get required modules.
local getArgs = require('Module:Arguments').getArgs
-- Get the config table.
local cfg = mw.loadData('Module:Documentation/config')
local p = {}
-- Often-used functions.
local ugsub = mw.ustring.gsub
local format = mw.ustring.format
----------------------------------------------------------------------------
-- Helper functions
--
-- These are defined as local functions, but are made available in the p
-- table for testing purposes.
----------------------------------------------------------------------------
local function message(cfgKey, valArray, expectType)
--[[
-- Gets a message from the cfg table and formats it if appropriate.
-- The function raises an error if the value from the cfg table is not
-- of the type expectType. The default type for expectType is 'string'.
-- If the table valArray is present, strings such as $1, $2 etc. in the
-- message are substituted with values from the table keys [1], [2] etc.
-- For example, if the message "foo-message" had the value 'Foo $2 bar $1.',
-- message('foo-message', {'baz', 'qux'}) would return "Foo qux bar baz."
--]]
local msg = cfg[cfgKey]
expectType = expectType or 'string'
if type(msg) ~= expectType then
error('message: type error in message cfg.' .. cfgKey .. ' (' .. expectType .. ' expected, got ' .. type(msg) .. ')', 2)
end
if not valArray then
return msg
end
local function getMessageVal(match)
match = tonumber(match)
return valArray[match] or error('message: no value found for key $' .. match .. ' in message cfg.' .. cfgKey, 4)
end
return ugsub(msg, '$([1-9][0-9]*)', getMessageVal)
end
p.message = message
local function makeWikilink(page, display)
if display then
return format('[[%s|%s]]', page, display)
else
return format('[[%s]]', page)
end
end
p.makeWikilink = makeWikilink
local function makeCategoryLink(cat, sort)
local catns = mw.site.namespaces[14].name
return makeWikilink(catns .. ':' .. cat, sort)
end
p.makeCategoryLink = makeCategoryLink
local function makeUrlLink(url, display)
return format('[%s %s]', url, display)
end
p.makeUrlLink = makeUrlLink
local function makeToolbar(...)
local ret = {}
local lim = select('#', ...)
if lim < 1 then
return nil
end
for i = 1, lim do
ret[#ret + 1] = select(i, ...)
end
-- 'documentation-toolbar'
return format(
'<span class="%s">(%s)</span>',
message('toolbar-class'),
table.concat(ret, ' | ')
)
end
p.makeToolbar = makeToolbar
----------------------------------------------------------------------------
-- Argument processing
----------------------------------------------------------------------------
local function makeInvokeFunc(funcName)
return function (frame)
local args = getArgs(frame, {
valueFunc = function (key, value)
if type(value) == 'string' then
value = value:match('^%s*(.-)%s*$') -- Remove whitespace.
if key == 'heading' or value ~= '' then
return value
else
return nil
end
else
return value
end
end
})
return p[funcName](args)
end
end
----------------------------------------------------------------------------
-- Entry points
----------------------------------------------------------------------------
function p.nonexistent(frame)
if mw.title.getCurrentTitle().subpageText == 'testcases' then
return frame:expandTemplate{title = 'module test cases notice'}
else
return p.main(frame)
end
end
p.main = makeInvokeFunc('_main')
function p._main(args)
--[[
-- This function defines logic flow for the module.
-- @args - table of arguments passed by the user
--]]
local env = p.getEnvironment(args)
local root = mw.html.create()
root
:wikitext(p._getModuleWikitext(args, env))
:wikitext(p.protectionTemplate(env))
:wikitext(p.sandboxNotice(args, env))
:tag('div')
-- 'documentation-container'
:addClass(message('container'))
:attr('role', 'complementary')
:attr('aria-labelledby', args.heading ~= '' and 'documentation-heading' or nil)
:attr('aria-label', args.heading == '' and 'Documentation' or nil)
:newline()
:tag('div')
-- 'documentation'
:addClass(message('main-div-classes'))
:newline()
:wikitext(p._startBox(args, env))
:wikitext(p._content(args, env))
:tag('div')
-- 'documentation-clear'
:addClass(message('clear'))
:done()
:newline()
:done()
:wikitext(p._endBox(args, env))
:done()
:wikitext(p.addTrackingCategories(env))
-- 'Module:Documentation/styles.css'
return mw.getCurrentFrame():extensionTag (
'templatestyles', '', {src=cfg['templatestyles']
}) .. tostring(root)
end
----------------------------------------------------------------------------
-- Environment settings
----------------------------------------------------------------------------
function p.getEnvironment(args)
--[[
-- Returns a table with information about the environment, including title
-- objects and other namespace- or path-related data.
-- @args - table of arguments passed by the user
--
-- Title objects include:
-- env.title - the page we are making documentation for (usually the current title)
-- env.templateTitle - the template (or module, file, etc.)
-- env.docTitle - the /doc subpage.
-- env.sandboxTitle - the /sandbox subpage.
-- env.testcasesTitle - the /testcases subpage.
--
-- Data includes:
-- env.protectionLevels - the protection levels table of the title object.
-- env.subjectSpace - the number of the title's subject namespace.
-- env.docSpace - the number of the namespace the title puts its documentation in.
-- env.docpageBase - the text of the base page of the /doc, /sandbox and /testcases pages, with namespace.
-- env.compareUrl - URL of the Special:ComparePages page comparing the sandbox with the template.
--
-- All table lookups are passed through pcall so that errors are caught. If an error occurs, the value
-- returned will be nil.
--]]
local env, envFuncs = {}, {}
-- Set up the metatable. If triggered we call the corresponding function in the envFuncs table. The value
-- returned by that function is memoized in the env table so that we don't call any of the functions
-- more than once. (Nils won't be memoized.)
setmetatable(env, {
__index = function (t, key)
local envFunc = envFuncs[key]
if envFunc then
local success, val = pcall(envFunc)
if success then
env[key] = val -- Memoise the value.
return val
end
end
return nil
end
})
function envFuncs.title()
-- The title object for the current page, or a test page passed with args.page.
local title
local titleArg = args.page
if titleArg then
title = mw.title.new(titleArg)
else
title = mw.title.getCurrentTitle()
end
return title
end
function envFuncs.templateTitle()
--[[
-- The template (or module, etc.) title object.
-- Messages:
-- 'sandbox-subpage' --> 'sandbox'
-- 'testcases-subpage' --> 'testcases'
--]]
local subjectSpace = env.subjectSpace
local title = env.title
local subpage = title.subpageText
if subpage == message('sandbox-subpage') or subpage == message('testcases-subpage') or (subpage == message('doc-subpage') and mw.title.getCurrentTitle().namespace == env.docSpace) then
return mw.title.makeTitle(subjectSpace, title.baseText)
else
return mw.title.makeTitle(subjectSpace, title.text)
end
end
function envFuncs.docTitle()
--[[
-- Title object of the /doc subpage.
-- Messages:
-- 'doc-subpage' --> 'doc'
--]]
local title = env.title
local docname = args[1] -- User-specified doc page.
local docpage
if docname then
docpage = docname
else
docpage = env.docpageBase .. '/' .. message('doc-subpage')
end
return mw.title.new(docpage)
end
function envFuncs.sandboxTitle()
--[[
-- Title object for the /sandbox subpage.
-- Messages:
-- 'sandbox-subpage' --> 'sandbox'
--]]
return mw.title.new(env.docpageBase .. '/' .. message('sandbox-subpage'))
end
function envFuncs.testcasesTitle()
--[[
-- Title object for the /testcases subpage.
-- Messages:
-- 'testcases-subpage' --> 'testcases'
--]]
return mw.title.new(env.docpageBase .. '/' .. message('testcases-subpage'))
end
function envFuncs.protectionLevels()
-- The protection levels table of the title object.
return env.title.protectionLevels
end
function envFuncs.subjectSpace()
-- The subject namespace number.
return mw.site.namespaces[env.title.namespace].subject.id
end
function envFuncs.docSpace()
-- The documentation namespace number. For most namespaces this is the
-- same as the subject namespace. However, pages in the Article, File,
-- MediaWiki or Category namespaces must have their /doc, /sandbox and
-- /testcases pages in talk space.
local subjectSpace = env.subjectSpace
if subjectSpace == 0 or subjectSpace == 6 or subjectSpace == 8 or subjectSpace == 14 then
return subjectSpace + 1
else
return subjectSpace
end
end
function envFuncs.docpageBase()
-- The base page of the /doc, /sandbox, and /testcases subpages.
-- For some namespaces this is the talk page, rather than the template page.
local templateTitle = env.templateTitle
local docSpace = env.docSpace
local docSpaceText = mw.site.namespaces[docSpace].name
-- Assemble the link. docSpace is never the main namespace, so we can hardcode the colon.
return docSpaceText .. ':' .. templateTitle.text
end
function envFuncs.compareUrl()
-- Diff link between the sandbox and the main template using [[Special:ComparePages]].
local templateTitle = env.templateTitle
local sandboxTitle = env.sandboxTitle
if templateTitle.exists and sandboxTitle.exists then
local compareUrl = mw.uri.canonicalUrl(
'Special:ComparePages',
{ page1 = templateTitle.prefixedText, page2 = sandboxTitle.prefixedText}
)
return tostring(compareUrl)
else
return nil
end
end
return env
end
----------------------------------------------------------------------------
-- Auxiliary templates
----------------------------------------------------------------------------
p.getModuleWikitext = makeInvokeFunc('_getModuleWikitext')
function p._getModuleWikitext(args, env)
local currentTitle = mw.title.getCurrentTitle()
if currentTitle.contentModel ~= 'Scribunto' then return end
pcall(require, currentTitle.prefixedText) -- if it fails, we don't care
local moduleWikitext = package.loaded["Module:Module wikitext"]
if moduleWikitext then
return moduleWikitext.main()
end
end
function p.sandboxNotice(args, env)
--[=[
-- Generates a sandbox notice for display above sandbox pages.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'sandbox-notice-image' --> '[[File:Sandbox.svg|50px|alt=|link=]]'
-- 'sandbox-notice-blurb' --> 'This is the $1 for $2.'
-- 'sandbox-notice-diff-blurb' --> 'This is the $1 for $2 ($3).'
-- 'sandbox-notice-pagetype-template' --> '[[Wikipedia:Template test cases|template sandbox]] page'
-- 'sandbox-notice-pagetype-module' --> '[[Wikipedia:Template test cases|module sandbox]] page'
-- 'sandbox-notice-pagetype-other' --> 'sandbox page'
-- 'sandbox-notice-compare-link-display' --> 'diff'
-- 'sandbox-notice-testcases-blurb' --> 'See also the companion subpage for $1.'
-- 'sandbox-notice-testcases-link-display' --> 'test cases'
-- 'sandbox-category' --> 'Template sandboxes'
-- 'module-sandbox-category' --> 'Module sandboxes'
-- 'other-sandbox-category' --> 'Sandboxes outside of template or module namespace'
--]=]
local title = env.title
local sandboxTitle = env.sandboxTitle
local templateTitle = env.templateTitle
local subjectSpace = env.subjectSpace
if not (subjectSpace and title and sandboxTitle and templateTitle
and mw.title.equals(title, sandboxTitle)) then
return nil
end
-- Build the table of arguments to pass to {{ombox}}. We need just two fields, "image" and "text".
local omargs = {}
omargs.image = message('sandbox-notice-image')
-- Get the text. We start with the opening blurb, which is something like
-- "This is the template sandbox for [[Template:Foo]] (diff)."
local text = '__EXPECTUNUSEDTEMPLATE__'
local pagetype, sandboxCat
if subjectSpace == 10 then
pagetype = message('sandbox-notice-pagetype-template')
sandboxCat = message('sandbox-category')
elseif subjectSpace == 828 then
pagetype = message('sandbox-notice-pagetype-module')
sandboxCat = message('module-sandbox-category')
else
pagetype = message('sandbox-notice-pagetype-other')
sandboxCat = message('other-sandbox-category')
end
local templateLink = makeWikilink(templateTitle.prefixedText)
local compareUrl = env.compareUrl
if compareUrl then
local compareDisplay = message('sandbox-notice-compare-link-display')
local compareLink = makeUrlLink(compareUrl, compareDisplay)
text = text .. message('sandbox-notice-diff-blurb', {pagetype, templateLink, compareLink})
else
text = text .. message('sandbox-notice-blurb', {pagetype, templateLink})
end
-- Get the test cases page blurb if the page exists. This is something like
-- "See also the companion subpage for [[Template:Foo/testcases|test cases]]."
local testcasesTitle = env.testcasesTitle
if testcasesTitle and testcasesTitle.exists then
if testcasesTitle.contentModel == "Scribunto" then
local testcasesLinkDisplay = message('sandbox-notice-testcases-link-display')
local testcasesRunLinkDisplay = message('sandbox-notice-testcases-run-link-display')
local testcasesLink = makeWikilink(testcasesTitle.prefixedText, testcasesLinkDisplay)
local testcasesRunLink = makeWikilink(testcasesTitle.talkPageTitle.prefixedText, testcasesRunLinkDisplay)
text = text .. '<br />' .. message('sandbox-notice-testcases-run-blurb', {testcasesLink, testcasesRunLink})
else
local testcasesLinkDisplay = message('sandbox-notice-testcases-link-display')
local testcasesLink = makeWikilink(testcasesTitle.prefixedText, testcasesLinkDisplay)
text = text .. '<br />' .. message('sandbox-notice-testcases-blurb', {testcasesLink})
end
end
-- Add the sandbox to the sandbox category.
omargs.text = text .. makeCategoryLink(sandboxCat)
-- 'documentation-clear'
return '<div class="' .. message('clear') .. '"></div>'
.. require('Module:Message box').main('ombox', omargs)
end
function p.protectionTemplate(env)
-- Generates the padlock icon in the top right.
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'protection-template' --> 'pp-template'
-- 'protection-template-args' --> {docusage = 'yes'}
local protectionLevels = env.protectionLevels
if not protectionLevels then
return nil
end
local editProt = protectionLevels.edit and protectionLevels.edit[1]
local moveProt = protectionLevels.move and protectionLevels.move[1]
if editProt then
-- The page is edit-protected.
return require('Module:Protection banner')._main{
message('protection-reason-edit'), small = true
}
elseif moveProt and moveProt ~= 'autoconfirmed' then
-- The page is move-protected but not edit-protected. Exclude move
-- protection with the level "autoconfirmed", as this is equivalent to
-- no move protection at all.
return require('Module:Protection banner')._main{
action = 'move', small = true
}
else
return nil
end
end
----------------------------------------------------------------------------
-- Start box
----------------------------------------------------------------------------
p.startBox = makeInvokeFunc('_startBox')
function p._startBox(args, env)
--[[
-- This function generates the start box.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- The actual work is done by p.makeStartBoxLinksData and p.renderStartBoxLinks which make
-- the [view] [edit] [history] [purge] links, and by p.makeStartBoxData and p.renderStartBox
-- which generate the box HTML.
--]]
env = env or p.getEnvironment(args)
local links
local content = args.content
if not content or args[1] then
-- No need to include the links if the documentation is on the template page itself.
local linksData = p.makeStartBoxLinksData(args, env)
if linksData then
links = p.renderStartBoxLinks(linksData)
end
end
-- Generate the start box html.
local data = p.makeStartBoxData(args, env, links)
if data then
return p.renderStartBox(data)
else
-- User specified no heading.
return nil
end
end
function p.makeStartBoxLinksData(args, env)
--[[
-- Does initial processing of data to make the [view] [edit] [history] [purge] links.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'view-link-display' --> 'view'
-- 'edit-link-display' --> 'edit'
-- 'history-link-display' --> 'history'
-- 'purge-link-display' --> 'purge'
-- 'module-preload' --> 'Template:Documentation/preload-module-doc'
-- 'docpage-preload' --> 'Template:Documentation/preload'
-- 'create-link-display' --> 'create'
--]]
local subjectSpace = env.subjectSpace
local title = env.title
local docTitle = env.docTitle
if not title or not docTitle then
return nil
end
if docTitle.isRedirect then
docTitle = docTitle.redirectTarget
end
-- Create link if /doc doesn't exist.
local preload = args.preload
if not preload then
if subjectSpace == 828 then -- Module namespace
preload = message('module-preload')
else
preload = message('docpage-preload')
end
end
return {
title = title,
docTitle = docTitle,
-- View, display, edit, and purge links if /doc exists.
viewLinkDisplay = message('view-link-display'),
editLinkDisplay = message('edit-link-display'),
historyLinkDisplay = message('history-link-display'),
purgeLinkDisplay = message('purge-link-display'),
preload = preload,
createLinkDisplay = message('create-link-display')
}
end
function p.renderStartBoxLinks(data)
--[[
-- Generates the [view][edit][history][purge] or [create][purge] links from the data table.
-- @data - a table of data generated by p.makeStartBoxLinksData
--]]
local docTitle = data.docTitle
-- yes, we do intend to purge the template page on which the documentation appears
local purgeLink = makeWikilink("Special:Purge/" .. data.title.prefixedText, data.purgeLinkDisplay)
if docTitle.exists then
local viewLink = makeWikilink(docTitle.prefixedText, data.viewLinkDisplay)
local editLink = makeWikilink("Special:EditPage/" .. docTitle.prefixedText, data.editLinkDisplay)
local historyLink = makeWikilink("Special:PageHistory/" .. docTitle.prefixedText, data.historyLinkDisplay)
return "[" .. viewLink .. "] [" .. editLink .. "] [" .. historyLink .. "] [" .. purgeLink .. "]"
else
local createLink = makeUrlLink(docTitle:canonicalUrl{action = 'edit', preload = data.preload}, data.createLinkDisplay)
return "[" .. createLink .. "] [" .. purgeLink .. "]"
end
return ret
end
function p.makeStartBoxData(args, env, links)
--[=[
-- Does initial processing of data to pass to the start-box render function, p.renderStartBox.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- @links - a string containing the [view][edit][history][purge] links - could be nil if there's an error.
--
-- Messages:
-- 'documentation-icon-wikitext' --> '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]'
-- 'template-namespace-heading' --> 'Template documentation'
-- 'module-namespace-heading' --> 'Module documentation'
-- 'file-namespace-heading' --> 'Summary'
-- 'other-namespaces-heading' --> 'Documentation'
-- 'testcases-create-link-display' --> 'create'
--]=]
local subjectSpace = env.subjectSpace
if not subjectSpace then
-- Default to an "other namespaces" namespace, so that we get at least some output
-- if an error occurs.
subjectSpace = 2
end
local data = {}
-- Heading
local heading = args.heading -- Blank values are not removed.
if heading == '' then
-- Don't display the start box if the heading arg is defined but blank.
return nil
end
if heading then
data.heading = heading
elseif subjectSpace == 10 then -- Template namespace
data.heading = message('documentation-icon-wikitext') .. ' ' .. message('template-namespace-heading')
elseif subjectSpace == 828 then -- Module namespace
data.heading = message('documentation-icon-wikitext') .. ' ' .. message('module-namespace-heading')
elseif subjectSpace == 6 then -- File namespace
data.heading = message('file-namespace-heading')
else
data.heading = message('other-namespaces-heading')
end
-- Heading CSS
local headingStyle = args['heading-style']
if headingStyle then
data.headingStyleText = headingStyle
else
-- 'documentation-heading'
data.headingClass = message('main-div-heading-class')
end
-- Data for the [view][edit][history][purge] or [create] links.
if links then
-- 'mw-editsection-like plainlinks'
data.linksClass = message('start-box-link-classes')
data.links = links
end
return data
end
function p.renderStartBox(data)
-- Renders the start box html.
-- @data - a table of data generated by p.makeStartBoxData.
local sbox = mw.html.create('div')
sbox
-- 'documentation-startbox'
:addClass(message('start-box-class'))
:newline()
:tag('span')
:addClass(data.headingClass)
:attr('id', 'documentation-heading')
:cssText(data.headingStyleText)
:wikitext(data.heading)
local links = data.links
if links then
sbox:tag('span')
:addClass(data.linksClass)
:attr('id', data.linksId)
:wikitext(links)
end
return tostring(sbox)
end
----------------------------------------------------------------------------
-- Documentation content
----------------------------------------------------------------------------
p.content = makeInvokeFunc('_content')
function p._content(args, env)
-- Displays the documentation contents
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
env = env or p.getEnvironment(args)
local docTitle = env.docTitle
local content = args.content
if not content and docTitle and docTitle.exists then
content = args._content or mw.getCurrentFrame():expandTemplate{title = docTitle.prefixedText}
end
-- The line breaks below are necessary so that "=== Headings ===" at the start and end
-- of docs are interpreted correctly.
return '\n' .. (content or '') .. '\n'
end
p.contentTitle = makeInvokeFunc('_contentTitle')
function p._contentTitle(args, env)
env = env or p.getEnvironment(args)
local docTitle = env.docTitle
if not args.content and docTitle and docTitle.exists then
return docTitle.prefixedText
else
return ''
end
end
----------------------------------------------------------------------------
-- End box
----------------------------------------------------------------------------
p.endBox = makeInvokeFunc('_endBox')
function p._endBox(args, env)
--[=[
-- This function generates the end box (also known as the link box).
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
--]=]
-- Get environment data.
env = env or p.getEnvironment(args)
local subjectSpace = env.subjectSpace
local docTitle = env.docTitle
if not subjectSpace or not docTitle then
return nil
end
-- Check whether we should output the end box at all. Add the end
-- box by default if the documentation exists or if we are in the
-- user, module or template namespaces.
local linkBox = args['link box']
if linkBox == 'off'
or not (
docTitle.exists
or subjectSpace == 2
or subjectSpace == 828
or subjectSpace == 10
)
then
return nil
end
-- Assemble the link box.
local text = ''
if linkBox then
text = text .. linkBox
else
text = text .. (p.makeDocPageBlurb(args, env) or '') -- "This documentation is transcluded from [[Foo]]."
if subjectSpace == 2 or subjectSpace == 10 or subjectSpace == 828 then
-- We are in the user, template or module namespaces.
-- Add sandbox and testcases links.
-- "Editors can experiment in this template's sandbox and testcases pages."
text = text .. (p.makeExperimentBlurb(args, env) or '') .. '<br />'
if not args.content and not args[1] then
-- "Please add categories to the /doc subpage."
-- Don't show this message with inline docs or with an explicitly specified doc page,
-- as then it is unclear where to add the categories.
text = text .. (p.makeCategoriesBlurb(args, env) or '')
end
text = text .. ' ' .. (p.makeSubpagesBlurb(args, env) or '') --"Subpages of this template"
end
end
local box = mw.html.create('div')
-- 'documentation-metadata'
box:attr('role', 'note')
:addClass(message('end-box-class'))
-- 'plainlinks'
:addClass(message('end-box-plainlinks'))
:wikitext(text)
:done()
return '\n' .. tostring(box)
end
function p.makeDocPageBlurb(args, env)
--[=[
-- Makes the blurb "This documentation is transcluded from [[Template:Foo]] (edit, history)".
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'edit-link-display' --> 'edit'
-- 'history-link-display' --> 'history'
-- 'transcluded-from-blurb' -->
-- 'The above [[Wikipedia:Template documentation|documentation]]
-- is [[Help:Transclusion|transcluded]] from $1.'
-- 'module-preload' --> 'Template:Documentation/preload-module-doc'
-- 'create-link-display' --> 'create'
-- 'create-module-doc-blurb' -->
-- 'You might want to $1 a documentation page for this [[Wikipedia:Lua|Scribunto module]].'
--]=]
local docTitle = env.docTitle
if not docTitle then
return nil
end
if docTitle.exists then
-- /doc exists; link to it.
local docLink = makeWikilink(docTitle.prefixedText)
local editDisplay = message('edit-link-display')
local editLink = makeWikilink("Special:EditPage/" .. docTitle.prefixedText, editDisplay)
local historyDisplay = message('history-link-display')
local historyLink = makeWikilink("Special:PageHistory/" .. docTitle.prefixedText, historyDisplay)
return message('transcluded-from-blurb', {docLink})
.. ' '
.. makeToolbar(editLink, historyLink)
.. '<br />'
elseif env.subjectSpace == 828 then
-- /doc does not exist; ask to create it.
local createUrl = docTitle:canonicalUrl{action = 'edit', preload = message('module-preload')}
local createDisplay = message('create-link-display')
local createLink = makeUrlLink(createUrl, createDisplay)
return message('create-module-doc-blurb', {createLink})
.. '<br />'
end
end
function p.makeExperimentBlurb(args, env)
--[[
-- Renders the text "Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages."
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'sandbox-link-display' --> 'sandbox'
-- 'sandbox-edit-link-display' --> 'edit'
-- 'compare-link-display' --> 'diff'
-- 'module-sandbox-preload' --> 'Template:Documentation/preload-module-sandbox'
-- 'template-sandbox-preload' --> 'Template:Documentation/preload-sandbox'
-- 'sandbox-create-link-display' --> 'create'
-- 'mirror-edit-summary' --> 'Create sandbox version of $1'
-- 'mirror-link-display' --> 'mirror'
-- 'mirror-link-preload' --> 'Template:Documentation/mirror'
-- 'sandbox-link-display' --> 'sandbox'
-- 'testcases-link-display' --> 'testcases'
-- 'testcases-edit-link-display'--> 'edit'
-- 'template-sandbox-preload' --> 'Template:Documentation/preload-sandbox'
-- 'testcases-create-link-display' --> 'create'
-- 'testcases-link-display' --> 'testcases'
-- 'testcases-edit-link-display' --> 'edit'
-- 'module-testcases-preload' --> 'Template:Documentation/preload-module-testcases'
-- 'template-testcases-preload' --> 'Template:Documentation/preload-testcases'
-- 'experiment-blurb-module' --> 'Editors can experiment in this module's $1 and $2 pages.'
-- 'experiment-blurb-template' --> 'Editors can experiment in this template's $1 and $2 pages.'
--]]
local subjectSpace = env.subjectSpace
local templateTitle = env.templateTitle
local sandboxTitle = env.sandboxTitle
local testcasesTitle = env.testcasesTitle
local templatePage = templateTitle.prefixedText
if not subjectSpace or not templateTitle or not sandboxTitle or not testcasesTitle then
return nil
end
-- Make links.
local sandboxLinks, testcasesLinks
if sandboxTitle.exists then
local sandboxPage = sandboxTitle.prefixedText
local sandboxDisplay = message('sandbox-link-display')
local sandboxLink = makeWikilink(sandboxPage, sandboxDisplay)
local sandboxEditDisplay = message('sandbox-edit-link-display')
local sandboxEditLink = makeWikilink("Special:EditPage/" .. sandboxPage, sandboxEditDisplay)
local compareUrl = env.compareUrl
local compareLink
if compareUrl then
local compareDisplay = message('compare-link-display')
compareLink = makeUrlLink(compareUrl, compareDisplay)
end
sandboxLinks = sandboxLink .. ' ' .. makeToolbar(sandboxEditLink, compareLink)
else
local sandboxPreload
if subjectSpace == 828 then
sandboxPreload = message('module-sandbox-preload')
else
sandboxPreload = message('template-sandbox-preload')
end
local sandboxCreateUrl = sandboxTitle:canonicalUrl{action = 'edit', preload = sandboxPreload}
local sandboxCreateDisplay = message('sandbox-create-link-display')
local sandboxCreateLink = makeUrlLink(sandboxCreateUrl, sandboxCreateDisplay)
local mirrorSummary = message('mirror-edit-summary', {makeWikilink(templatePage)})
local mirrorPreload = message('mirror-link-preload')
local mirrorUrl = sandboxTitle:canonicalUrl{action = 'edit', preload = mirrorPreload, summary = mirrorSummary}
if subjectSpace == 828 then
mirrorUrl = sandboxTitle:canonicalUrl{action = 'edit', preload = templateTitle.prefixedText, summary = mirrorSummary}
end
local mirrorDisplay = message('mirror-link-display')
local mirrorLink = makeUrlLink(mirrorUrl, mirrorDisplay)
sandboxLinks = message('sandbox-link-display') .. ' ' .. makeToolbar(sandboxCreateLink, mirrorLink)
end
if testcasesTitle.exists then
local testcasesPage = testcasesTitle.prefixedText
local testcasesDisplay = message('testcases-link-display')
local testcasesLink = makeWikilink(testcasesPage, testcasesDisplay)
local testcasesEditUrl = testcasesTitle:canonicalUrl{action = 'edit'}
local testcasesEditDisplay = message('testcases-edit-link-display')
local testcasesEditLink = makeWikilink("Special:EditPage/" .. testcasesPage, testcasesEditDisplay)
-- for Modules, add testcases run link if exists
if testcasesTitle.contentModel == "Scribunto" and testcasesTitle.talkPageTitle and testcasesTitle.talkPageTitle.exists then
local testcasesRunLinkDisplay = message('testcases-run-link-display')
local testcasesRunLink = makeWikilink(testcasesTitle.talkPageTitle.prefixedText, testcasesRunLinkDisplay)
testcasesLinks = testcasesLink .. ' ' .. makeToolbar(testcasesEditLink, testcasesRunLink)
else
testcasesLinks = testcasesLink .. ' ' .. makeToolbar(testcasesEditLink)
end
else
local testcasesPreload
if subjectSpace == 828 then
testcasesPreload = message('module-testcases-preload')
else
testcasesPreload = message('template-testcases-preload')
end
local testcasesCreateUrl = testcasesTitle:canonicalUrl{action = 'edit', preload = testcasesPreload}
local testcasesCreateDisplay = message('testcases-create-link-display')
local testcasesCreateLink = makeUrlLink(testcasesCreateUrl, testcasesCreateDisplay)
testcasesLinks = message('testcases-link-display') .. ' ' .. makeToolbar(testcasesCreateLink)
end
local messageName
if subjectSpace == 828 then
messageName = 'experiment-blurb-module'
else
messageName = 'experiment-blurb-template'
end
return message(messageName, {sandboxLinks, testcasesLinks})
end
function p.makeCategoriesBlurb(args, env)
--[[
-- Generates the text "Please add categories to the /doc subpage."
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'doc-link-display' --> '/doc'
-- 'add-categories-blurb' --> 'Please add categories to the $1 subpage.'
--]]
local docTitle = env.docTitle
if not docTitle then
return nil
end
local docPathLink = makeWikilink(docTitle.prefixedText, message('doc-link-display'))
return message('add-categories-blurb', {docPathLink})
end
function p.makeSubpagesBlurb(args, env)
--[[
-- Generates the "Subpages of this template" link.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'template-pagetype' --> 'template'
-- 'module-pagetype' --> 'module'
-- 'default-pagetype' --> 'page'
-- 'subpages-link-display' --> 'Subpages of this $1'
--]]
local subjectSpace = env.subjectSpace
local templateTitle = env.templateTitle
if not subjectSpace or not templateTitle then
return nil
end
local pagetype
if subjectSpace == 10 then
pagetype = message('template-pagetype')
elseif subjectSpace == 828 then
pagetype = message('module-pagetype')
else
pagetype = message('default-pagetype')
end
local subpagesLink = makeWikilink(
'Special:PrefixIndex/' .. templateTitle.prefixedText .. '/',
message('subpages-link-display', {pagetype})
)
return message('subpages-blurb', {subpagesLink})
end
----------------------------------------------------------------------------
-- Tracking categories
----------------------------------------------------------------------------
function p.addTrackingCategories(env)
--[[
-- Check if {{documentation}} is transcluded on a /doc or /testcases page.
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'display-strange-usage-category' --> true
-- 'doc-subpage' --> 'doc'
-- 'testcases-subpage' --> 'testcases'
-- 'strange-usage-category' --> 'Wikipedia pages with strange ((documentation)) usage'
--
-- /testcases pages in the module namespace are not categorised, as they may have
-- {{documentation}} transcluded automatically.
--]]
local title = env.title
local subjectSpace = env.subjectSpace
if not title or not subjectSpace then
return nil
end
local subpage = title.subpageText
if message('display-strange-usage-category', nil, 'boolean')
and (
subpage == message('doc-subpage')
or subjectSpace ~= 828 and subpage == message('testcases-subpage')
)
then
return makeCategoryLink(message('strange-usage-category'))
end
return ''
end
return p
fttwrouvv52xj3xc0iv9fbm0og9nf2z
282508
282507
2026-04-03T05:07:33Z
A826
6806
೧ ಬದಲಾವಣೆ
282507
Scribunto
text/plain
-- This module implements {{documentation}}.
-- Get required modules.
local getArgs = require('Module:Arguments').getArgs
-- Get the config table.
local cfg = mw.loadData('Module:Documentation/config')
local p = {}
-- Often-used functions.
local ugsub = mw.ustring.gsub
local format = mw.ustring.format
----------------------------------------------------------------------------
-- Helper functions
--
-- These are defined as local functions, but are made available in the p
-- table for testing purposes.
----------------------------------------------------------------------------
local function message(cfgKey, valArray, expectType)
--[[
-- Gets a message from the cfg table and formats it if appropriate.
-- The function raises an error if the value from the cfg table is not
-- of the type expectType. The default type for expectType is 'string'.
-- If the table valArray is present, strings such as $1, $2 etc. in the
-- message are substituted with values from the table keys [1], [2] etc.
-- For example, if the message "foo-message" had the value 'Foo $2 bar $1.',
-- message('foo-message', {'baz', 'qux'}) would return "Foo qux bar baz."
--]]
local msg = cfg[cfgKey]
expectType = expectType or 'string'
if type(msg) ~= expectType then
error('message: type error in message cfg.' .. cfgKey .. ' (' .. expectType .. ' expected, got ' .. type(msg) .. ')', 2)
end
if not valArray then
return msg
end
local function getMessageVal(match)
match = tonumber(match)
return valArray[match] or error('message: no value found for key $' .. match .. ' in message cfg.' .. cfgKey, 4)
end
return ugsub(msg, '$([1-9][0-9]*)', getMessageVal)
end
p.message = message
local function makeWikilink(page, display)
if display then
return format('[[%s|%s]]', page, display)
else
return format('[[%s]]', page)
end
end
p.makeWikilink = makeWikilink
local function makeCategoryLink(cat, sort)
local catns = mw.site.namespaces[14].name
return makeWikilink(catns .. ':' .. cat, sort)
end
p.makeCategoryLink = makeCategoryLink
local function makeUrlLink(url, display)
return format('[%s %s]', url, display)
end
p.makeUrlLink = makeUrlLink
local function makeToolbar(...)
local ret = {}
local lim = select('#', ...)
if lim < 1 then
return nil
end
for i = 1, lim do
ret[#ret + 1] = select(i, ...)
end
-- 'documentation-toolbar'
return format(
'<span class="%s">(%s)</span>',
message('toolbar-class'),
table.concat(ret, ' | ')
)
end
p.makeToolbar = makeToolbar
----------------------------------------------------------------------------
-- Argument processing
----------------------------------------------------------------------------
local function makeInvokeFunc(funcName)
return function (frame)
local args = getArgs(frame, {
valueFunc = function (key, value)
if type(value) == 'string' then
value = value:match('^%s*(.-)%s*$') -- Remove whitespace.
if key == 'heading' or value ~= '' then
return value
else
return nil
end
else
return value
end
end
})
return p[funcName](args)
end
end
----------------------------------------------------------------------------
-- Entry points
----------------------------------------------------------------------------
function p.nonexistent(frame)
if mw.title.getCurrentTitle().subpageText == 'testcases' then
return frame:expandTemplate{title = 'module test cases notice'}
else
return p.main(frame)
end
end
p.main = makeInvokeFunc('_main')
function p._main(args)
--[[
-- This function defines logic flow for the module.
-- @args - table of arguments passed by the user
--]]
local env = p.getEnvironment(args)
local root = mw.html.create()
root
:wikitext(p._getModuleWikitext(args, env))
:wikitext(p.protectionTemplate(env))
:wikitext(p.sandboxNotice(args, env))
:tag('div')
-- 'documentation-container'
:addClass(message('container'))
:attr('role', 'complementary')
:attr('aria-labelledby', args.heading ~= '' and 'documentation-heading' or nil)
:attr('aria-label', args.heading == '' and 'Documentation' or nil)
:newline()
:tag('div')
-- 'documentation'
:addClass(message('main-div-classes'))
:newline()
:wikitext(p._startBox(args, env))
:wikitext(p._content(args, env))
:tag('div')
-- 'documentation-clear'
:addClass(message('clear'))
:done()
:newline()
:done()
:wikitext(p._endBox(args, env))
:done()
:wikitext(p.addTrackingCategories(env))
-- 'Module:Documentation/styles.css'
return mw.getCurrentFrame():extensionTag (
'templatestyles', '', {src=cfg['templatestyles']
}) .. tostring(root)
end
----------------------------------------------------------------------------
-- Environment settings
----------------------------------------------------------------------------
function p.getEnvironment(args)
--[[
-- Returns a table with information about the environment, including title
-- objects and other namespace- or path-related data.
-- @args - table of arguments passed by the user
--
-- Title objects include:
-- env.title - the page we are making documentation for (usually the current title)
-- env.templateTitle - the template (or module, file, etc.)
-- env.docTitle - the /doc subpage.
-- env.sandboxTitle - the /sandbox subpage.
-- env.testcasesTitle - the /testcases subpage.
--
-- Data includes:
-- env.protectionLevels - the protection levels table of the title object.
-- env.subjectSpace - the number of the title's subject namespace.
-- env.docSpace - the number of the namespace the title puts its documentation in.
-- env.docpageBase - the text of the base page of the /doc, /sandbox and /testcases pages, with namespace.
-- env.compareUrl - URL of the Special:ComparePages page comparing the sandbox with the template.
--
-- All table lookups are passed through pcall so that errors are caught. If an error occurs, the value
-- returned will be nil.
--]]
local env, envFuncs = {}, {}
-- Set up the metatable. If triggered we call the corresponding function in the envFuncs table. The value
-- returned by that function is memoized in the env table so that we don't call any of the functions
-- more than once. (Nils won't be memoized.)
setmetatable(env, {
__index = function (t, key)
local envFunc = envFuncs[key]
if envFunc then
local success, val = pcall(envFunc)
if success then
env[key] = val -- Memoise the value.
return val
end
end
return nil
end
})
function envFuncs.title()
-- The title object for the current page, or a test page passed with args.page.
local title
local titleArg = args.page
if titleArg then
title = mw.title.new(titleArg)
else
title = mw.title.getCurrentTitle()
end
return title
end
function envFuncs.templateTitle()
--[[
-- The template (or module, etc.) title object.
-- Messages:
-- 'sandbox-subpage' --> 'sandbox'
-- 'testcases-subpage' --> 'testcases'
--]]
local subjectSpace = env.subjectSpace
local title = env.title
local subpage = title.subpageText
if subpage == message('sandbox-subpage') or subpage == message('testcases-subpage') or (subpage == message('doc-subpage') and mw.title.getCurrentTitle().namespace == env.docSpace) then
return mw.title.makeTitle(subjectSpace, title.baseText)
else
return mw.title.makeTitle(subjectSpace, title.text)
end
end
function envFuncs.docTitle()
--[[
-- Title object of the /doc subpage.
-- Messages:
-- 'doc-subpage' --> 'doc'
--]]
local title = env.title
local docname = args[1] -- User-specified doc page.
local docpage
if docname then
docpage = docname
else
docpage = env.docpageBase .. '/' .. message('doc-subpage')
end
return mw.title.new(docpage)
end
function envFuncs.sandboxTitle()
--[[
-- Title object for the /sandbox subpage.
-- Messages:
-- 'sandbox-subpage' --> 'sandbox'
--]]
return mw.title.new(env.docpageBase .. '/' .. message('sandbox-subpage'))
end
function envFuncs.testcasesTitle()
--[[
-- Title object for the /testcases subpage.
-- Messages:
-- 'testcases-subpage' --> 'testcases'
--]]
return mw.title.new(env.docpageBase .. '/' .. message('testcases-subpage'))
end
function envFuncs.protectionLevels()
-- The protection levels table of the title object.
return env.title.protectionLevels
end
function envFuncs.subjectSpace()
-- The subject namespace number.
return mw.site.namespaces[env.title.namespace].subject.id
end
function envFuncs.docSpace()
-- The documentation namespace number. For most namespaces this is the
-- same as the subject namespace. However, pages in the Article, File,
-- MediaWiki or Category namespaces must have their /doc, /sandbox and
-- /testcases pages in talk space.
local subjectSpace = env.subjectSpace
if subjectSpace == 0 or subjectSpace == 6 or subjectSpace == 8 or subjectSpace == 14 then
return subjectSpace + 1
else
return subjectSpace
end
end
function envFuncs.docpageBase()
-- The base page of the /doc, /sandbox, and /testcases subpages.
-- For some namespaces this is the talk page, rather than the template page.
local templateTitle = env.templateTitle
local docSpace = env.docSpace
local docSpaceText = mw.site.namespaces[docSpace].name
-- Assemble the link. docSpace is never the main namespace, so we can hardcode the colon.
return docSpaceText .. ':' .. templateTitle.text
end
function envFuncs.compareUrl()
-- Diff link between the sandbox and the main template using [[Special:ComparePages]].
local templateTitle = env.templateTitle
local sandboxTitle = env.sandboxTitle
if templateTitle.exists and sandboxTitle.exists then
local compareUrl = mw.uri.canonicalUrl(
'Special:ComparePages',
{ page1 = templateTitle.prefixedText, page2 = sandboxTitle.prefixedText}
)
return tostring(compareUrl)
else
return nil
end
end
return env
end
----------------------------------------------------------------------------
-- Auxiliary templates
----------------------------------------------------------------------------
p.getModuleWikitext = makeInvokeFunc('_getModuleWikitext')
function p._getModuleWikitext(args, env)
local currentTitle = mw.title.getCurrentTitle()
if currentTitle.contentModel ~= 'Scribunto' then return end
pcall(require, currentTitle.prefixedText) -- if it fails, we don't care
local moduleWikitext = package.loaded["Module:Module wikitext"]
if moduleWikitext then
return moduleWikitext.main()
end
end
function p.sandboxNotice(args, env)
--[=[
-- Generates a sandbox notice for display above sandbox pages.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'sandbox-notice-image' --> '[[File:Sandbox.svg|50px|alt=|link=]]'
-- 'sandbox-notice-blurb' --> 'This is the $1 for $2.'
-- 'sandbox-notice-diff-blurb' --> 'This is the $1 for $2 ($3).'
-- 'sandbox-notice-pagetype-template' --> '[[Wikipedia:Template test cases|template sandbox]] page'
-- 'sandbox-notice-pagetype-module' --> '[[Wikipedia:Template test cases|module sandbox]] page'
-- 'sandbox-notice-pagetype-other' --> 'sandbox page'
-- 'sandbox-notice-compare-link-display' --> 'diff'
-- 'sandbox-notice-testcases-blurb' --> 'See also the companion subpage for $1.'
-- 'sandbox-notice-testcases-link-display' --> 'test cases'
-- 'sandbox-category' --> 'Template sandboxes'
-- 'module-sandbox-category' --> 'Module sandboxes'
-- 'other-sandbox-category' --> 'Sandboxes outside of template or module namespace'
--]=]
local title = env.title
local sandboxTitle = env.sandboxTitle
local templateTitle = env.templateTitle
local subjectSpace = env.subjectSpace
if not (subjectSpace and title and sandboxTitle and templateTitle
and mw.title.equals(title, sandboxTitle)) then
return nil
end
-- Build the table of arguments to pass to {{ombox}}. We need just two fields, "image" and "text".
local omargs = {}
omargs.image = message('sandbox-notice-image')
-- Get the text. We start with the opening blurb, which is something like
-- "This is the template sandbox for [[Template:Foo]] (diff)."
local text = '__EXPECTUNUSEDTEMPLATE__'
local pagetype, sandboxCat
if subjectSpace == 10 then
pagetype = message('sandbox-notice-pagetype-template')
sandboxCat = message('sandbox-category')
elseif subjectSpace == 828 then
pagetype = message('sandbox-notice-pagetype-module')
sandboxCat = message('module-sandbox-category')
else
pagetype = message('sandbox-notice-pagetype-other')
sandboxCat = message('other-sandbox-category')
end
local templateLink = makeWikilink(templateTitle.prefixedText)
local compareUrl = env.compareUrl
if compareUrl then
local compareDisplay = message('sandbox-notice-compare-link-display')
local compareLink = makeUrlLink(compareUrl, compareDisplay)
text = text .. message('sandbox-notice-diff-blurb', {pagetype, templateLink, compareLink})
else
text = text .. message('sandbox-notice-blurb', {pagetype, templateLink})
end
-- Get the test cases page blurb if the page exists. This is something like
-- "See also the companion subpage for [[Template:Foo/testcases|test cases]]."
local testcasesTitle = env.testcasesTitle
if testcasesTitle and testcasesTitle.exists then
if testcasesTitle.contentModel == "Scribunto" then
local testcasesLinkDisplay = message('sandbox-notice-testcases-link-display')
local testcasesRunLinkDisplay = message('sandbox-notice-testcases-run-link-display')
local testcasesLink = makeWikilink(testcasesTitle.prefixedText, testcasesLinkDisplay)
local testcasesRunLink = makeWikilink(testcasesTitle.talkPageTitle.prefixedText, testcasesRunLinkDisplay)
text = text .. '<br />' .. message('sandbox-notice-testcases-run-blurb', {testcasesLink, testcasesRunLink})
else
local testcasesLinkDisplay = message('sandbox-notice-testcases-link-display')
local testcasesLink = makeWikilink(testcasesTitle.prefixedText, testcasesLinkDisplay)
text = text .. '<br />' .. message('sandbox-notice-testcases-blurb', {testcasesLink})
end
end
-- Add the sandbox to the sandbox category.
omargs.text = text .. makeCategoryLink(sandboxCat)
-- 'documentation-clear'
return '<div class="' .. message('clear') .. '"></div>'
.. require('Module:Message box').main('ombox', omargs)
end
function p.protectionTemplate(env)
-- Generates the padlock icon in the top right.
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'protection-template' --> 'pp-template'
-- 'protection-template-args' --> {docusage = 'yes'}
local protectionLevels = env.protectionLevels
if not protectionLevels then
return nil
end
local editProt = protectionLevels.edit and protectionLevels.edit[1]
local moveProt = protectionLevels.move and protectionLevels.move[1]
if editProt then
-- The page is edit-protected.
return require('Module:Protection banner')._main{
message('protection-reason-edit'), small = true
}
elseif moveProt and moveProt ~= 'autoconfirmed' then
-- The page is move-protected but not edit-protected. Exclude move
-- protection with the level "autoconfirmed", as this is equivalent to
-- no move protection at all.
return require('Module:Protection banner')._main{
action = 'move', small = true
}
else
return nil
end
end
----------------------------------------------------------------------------
-- Start box
----------------------------------------------------------------------------
p.startBox = makeInvokeFunc('_startBox')
function p._startBox(args, env)
--[[
-- This function generates the start box.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- The actual work is done by p.makeStartBoxLinksData and p.renderStartBoxLinks which make
-- the [view] [edit] [history] [purge] links, and by p.makeStartBoxData and p.renderStartBox
-- which generate the box HTML.
--]]
env = env or p.getEnvironment(args)
local links
local content = args.content
if not content or args[1] then
-- No need to include the links if the documentation is on the template page itself.
local linksData = p.makeStartBoxLinksData(args, env)
if linksData then
links = p.renderStartBoxLinks(linksData)
end
end
-- Generate the start box html.
local data = p.makeStartBoxData(args, env, links)
if data then
return p.renderStartBox(data)
else
-- User specified no heading.
return nil
end
end
function p.makeStartBoxLinksData(args, env)
--[[
-- Does initial processing of data to make the [view] [edit] [history] [purge] links.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'view-link-display' --> 'view'
-- 'edit-link-display' --> 'edit'
-- 'history-link-display' --> 'history'
-- 'purge-link-display' --> 'purge'
-- 'module-preload' --> 'Template:Documentation/preload-module-doc'
-- 'docpage-preload' --> 'Template:Documentation/preload'
-- 'create-link-display' --> 'create'
--]]
local subjectSpace = env.subjectSpace
local title = env.title
local docTitle = env.docTitle
if not title or not docTitle then
return nil
end
if docTitle.isRedirect then
docTitle = docTitle.redirectTarget
end
-- Create link if /doc doesn't exist.
local preload = args.preload
if not preload then
if subjectSpace == 828 then -- Module namespace
preload = message('module-preload')
else
preload = message('docpage-preload')
end
end
return {
title = title,
docTitle = docTitle,
-- View, display, edit, and purge links if /doc exists.
viewLinkDisplay = message('view-link-display'),
editLinkDisplay = message('edit-link-display'),
historyLinkDisplay = message('history-link-display'),
purgeLinkDisplay = message('purge-link-display'),
preload = preload,
createLinkDisplay = message('create-link-display')
}
end
function p.renderStartBoxLinks(data)
--[[
-- Generates the [view][edit][history][purge] or [create][purge] links from the data table.
-- @data - a table of data generated by p.makeStartBoxLinksData
--]]
local docTitle = data.docTitle
-- yes, we do intend to purge the template page on which the documentation appears
local purgeLink = makeWikilink("Special:Purge/" .. data.title.prefixedText, data.purgeLinkDisplay)
if docTitle.exists then
local viewLink = makeWikilink(docTitle.prefixedText, data.viewLinkDisplay)
local editLink = makeWikilink("Special:EditPage/" .. docTitle.prefixedText, data.editLinkDisplay)
local historyLink = makeWikilink("Special:PageHistory/" .. docTitle.prefixedText, data.historyLinkDisplay)
return "[" .. viewLink .. "] [" .. editLink .. "] [" .. historyLink .. "] [" .. purgeLink .. "]"
else
local createLink = makeUrlLink(docTitle:canonicalUrl{action = 'edit', preload = data.preload}, data.createLinkDisplay)
return "[" .. createLink .. "] [" .. purgeLink .. "]"
end
return ret
end
function p.makeStartBoxData(args, env, links)
--[=[
-- Does initial processing of data to pass to the start-box render function, p.renderStartBox.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- @links - a string containing the [view][edit][history][purge] links - could be nil if there's an error.
--
-- Messages:
-- 'documentation-icon-wikitext' --> '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]'
-- 'template-namespace-heading' --> 'Template documentation'
-- 'module-namespace-heading' --> 'Module documentation'
-- 'file-namespace-heading' --> 'Summary'
-- 'other-namespaces-heading' --> 'Documentation'
-- 'testcases-create-link-display' --> 'create'
--]=]
local subjectSpace = env.subjectSpace
if not subjectSpace then
-- Default to an "other namespaces" namespace, so that we get at least some output
-- if an error occurs.
subjectSpace = 2
end
local data = {}
-- Heading
local heading = args.heading -- Blank values are not removed.
if heading == '' then
-- Don't display the start box if the heading arg is defined but blank.
return nil
end
if heading then
data.heading = heading
elseif subjectSpace == 10 then -- Template namespace
data.heading = message('documentation-icon-wikitext') .. ' ' .. message('template-namespace-heading')
elseif subjectSpace == 828 then -- Module namespace
data.heading = message('documentation-icon-wikitext') .. ' ' .. message('module-namespace-heading')
elseif subjectSpace == 6 then -- File namespace
data.heading = message('file-namespace-heading')
else
data.heading = message('other-namespaces-heading')
end
-- Heading CSS
local headingStyle = args['heading-style']
if headingStyle then
data.headingStyleText = headingStyle
else
-- 'documentation-heading'
data.headingClass = message('main-div-heading-class')
end
-- Data for the [view][edit][history][purge] or [create] links.
if links then
-- 'mw-editsection-like plainlinks'
data.linksClass = message('start-box-link-classes')
data.links = links
end
return data
end
function p.renderStartBox(data)
-- Renders the start box html.
-- @data - a table of data generated by p.makeStartBoxData.
local sbox = mw.html.create('div')
sbox
-- 'documentation-startbox'
:addClass(message('start-box-class'))
:newline()
:tag('span')
:addClass(data.headingClass)
:attr('id', 'documentation-heading')
:cssText(data.headingStyleText)
:wikitext(data.heading)
local links = data.links
if links then
sbox:tag('span')
:addClass(data.linksClass)
:attr('id', data.linksId)
:wikitext(links)
end
return tostring(sbox)
end
----------------------------------------------------------------------------
-- Documentation content
----------------------------------------------------------------------------
p.content = makeInvokeFunc('_content')
function p._content(args, env)
-- Displays the documentation contents
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
env = env or p.getEnvironment(args)
local docTitle = env.docTitle
local content = args.content
if not content and docTitle and docTitle.exists then
content = args._content or mw.getCurrentFrame():expandTemplate{title = docTitle.prefixedText}
end
-- The line breaks below are necessary so that "=== Headings ===" at the start and end
-- of docs are interpreted correctly.
return '\n' .. (content or '') .. '\n'
end
p.contentTitle = makeInvokeFunc('_contentTitle')
function p._contentTitle(args, env)
env = env or p.getEnvironment(args)
local docTitle = env.docTitle
if not args.content and docTitle and docTitle.exists then
return docTitle.prefixedText
else
return ''
end
end
----------------------------------------------------------------------------
-- End box
----------------------------------------------------------------------------
p.endBox = makeInvokeFunc('_endBox')
function p._endBox(args, env)
--[=[
-- This function generates the end box (also known as the link box).
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
--]=]
-- Get environment data.
env = env or p.getEnvironment(args)
local subjectSpace = env.subjectSpace
local docTitle = env.docTitle
if not subjectSpace or not docTitle then
return nil
end
-- Check whether we should output the end box at all. Add the end
-- box by default if the documentation exists or if we are in the
-- user, module or template namespaces.
local linkBox = args['link box']
if linkBox == 'off'
or not (
docTitle.exists
or subjectSpace == 2
or subjectSpace == 828
or subjectSpace == 10
)
then
return nil
end
-- Assemble the link box.
local text = ''
if linkBox then
text = text .. linkBox
else
text = text .. (p.makeDocPageBlurb(args, env) or '') -- "This documentation is transcluded from [[Foo]]."
if subjectSpace == 2 or subjectSpace == 10 or subjectSpace == 828 then
-- We are in the user, template or module namespaces.
-- Add sandbox and testcases links.
-- "Editors can experiment in this template's sandbox and testcases pages."
text = text .. (p.makeExperimentBlurb(args, env) or '') .. '<br />'
if not args.content and not args[1] then
-- "Please add categories to the /doc subpage."
-- Don't show this message with inline docs or with an explicitly specified doc page,
-- as then it is unclear where to add the categories.
text = text .. (p.makeCategoriesBlurb(args, env) or '')
end
text = text .. ' ' .. (p.makeSubpagesBlurb(args, env) or '') --"Subpages of this template"
end
end
local box = mw.html.create('div')
-- 'documentation-metadata'
box:attr('role', 'note')
:addClass(message('end-box-class'))
-- 'plainlinks'
:addClass(message('end-box-plainlinks'))
:wikitext(text)
:done()
return '\n' .. tostring(box)
end
function p.makeDocPageBlurb(args, env)
--[=[
-- Makes the blurb "This documentation is transcluded from [[Template:Foo]] (edit, history)".
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'edit-link-display' --> 'edit'
-- 'history-link-display' --> 'history'
-- 'transcluded-from-blurb' -->
-- 'The above [[Wikipedia:Template documentation|documentation]]
-- is [[Help:Transclusion|transcluded]] from $1.'
-- 'module-preload' --> 'Template:Documentation/preload-module-doc'
-- 'create-link-display' --> 'create'
-- 'create-module-doc-blurb' -->
-- 'You might want to $1 a documentation page for this [[Wikipedia:Lua|Scribunto module]].'
--]=]
local docTitle = env.docTitle
if not docTitle then
return nil
end
if docTitle.exists then
-- /doc exists; link to it.
local docLink = makeWikilink(docTitle.prefixedText)
local editDisplay = message('edit-link-display')
local editLink = makeWikilink("Special:EditPage/" .. docTitle.prefixedText, editDisplay)
local historyDisplay = message('history-link-display')
local historyLink = makeWikilink("Special:PageHistory/" .. docTitle.prefixedText, historyDisplay)
return message('transcluded-from-blurb', {docLink})
.. ' '
.. makeToolbar(editLink, historyLink)
.. '<br />'
elseif env.subjectSpace == 828 then
-- /doc does not exist; ask to create it.
local createUrl = docTitle:canonicalUrl{action = 'edit', preload = message('module-preload')}
local createDisplay = message('create-link-display')
local createLink = makeUrlLink(createUrl, createDisplay)
return message('create-module-doc-blurb', {createLink})
.. '<br />'
end
end
function p.makeExperimentBlurb(args, env)
--[[
-- Renders the text "Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages."
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'sandbox-link-display' --> 'sandbox'
-- 'sandbox-edit-link-display' --> 'edit'
-- 'compare-link-display' --> 'diff'
-- 'module-sandbox-preload' --> 'Template:Documentation/preload-module-sandbox'
-- 'template-sandbox-preload' --> 'Template:Documentation/preload-sandbox'
-- 'sandbox-create-link-display' --> 'create'
-- 'mirror-edit-summary' --> 'Create sandbox version of $1'
-- 'mirror-link-display' --> 'mirror'
-- 'mirror-link-preload' --> 'Template:Documentation/mirror'
-- 'sandbox-link-display' --> 'sandbox'
-- 'testcases-link-display' --> 'testcases'
-- 'testcases-edit-link-display'--> 'edit'
-- 'template-sandbox-preload' --> 'Template:Documentation/preload-sandbox'
-- 'testcases-create-link-display' --> 'create'
-- 'testcases-link-display' --> 'testcases'
-- 'testcases-edit-link-display' --> 'edit'
-- 'module-testcases-preload' --> 'Template:Documentation/preload-module-testcases'
-- 'template-testcases-preload' --> 'Template:Documentation/preload-testcases'
-- 'experiment-blurb-module' --> 'Editors can experiment in this module's $1 and $2 pages.'
-- 'experiment-blurb-template' --> 'Editors can experiment in this template's $1 and $2 pages.'
--]]
local subjectSpace = env.subjectSpace
local templateTitle = env.templateTitle
local sandboxTitle = env.sandboxTitle
local testcasesTitle = env.testcasesTitle
local templatePage = templateTitle.prefixedText
if not subjectSpace or not templateTitle or not sandboxTitle or not testcasesTitle then
return nil
end
-- Make links.
local sandboxLinks, testcasesLinks
if sandboxTitle.exists then
local sandboxPage = sandboxTitle.prefixedText
local sandboxDisplay = message('sandbox-link-display')
local sandboxLink = makeWikilink(sandboxPage, sandboxDisplay)
local sandboxEditDisplay = message('sandbox-edit-link-display')
local sandboxEditLink = makeWikilink("Special:EditPage/" .. sandboxPage, sandboxEditDisplay)
local compareUrl = env.compareUrl
local compareLink
if compareUrl then
local compareDisplay = message('compare-link-display')
compareLink = makeUrlLink(compareUrl, compareDisplay)
end
sandboxLinks = sandboxLink .. ' ' .. makeToolbar(sandboxEditLink, compareLink)
else
local sandboxPreload
if subjectSpace == 828 then
sandboxPreload = message('module-sandbox-preload')
else
sandboxPreload = message('template-sandbox-preload')
end
local sandboxCreateUrl = sandboxTitle:canonicalUrl{action = 'edit', preload = sandboxPreload}
local sandboxCreateDisplay = message('sandbox-create-link-display')
local sandboxCreateLink = makeUrlLink(sandboxCreateUrl, sandboxCreateDisplay)
local mirrorSummary = message('mirror-edit-summary', {makeWikilink(templatePage)})
local mirrorPreload = message('mirror-link-preload')
local mirrorUrl = sandboxTitle:canonicalUrl{action = 'edit', preload = mirrorPreload, summary = mirrorSummary}
if subjectSpace == 828 then
mirrorUrl = sandboxTitle:canonicalUrl{action = 'edit', preload = templateTitle.prefixedText, summary = mirrorSummary}
end
local mirrorDisplay = message('mirror-link-display')
local mirrorLink = makeUrlLink(mirrorUrl, mirrorDisplay)
sandboxLinks = message('sandbox-link-display') .. ' ' .. makeToolbar(sandboxCreateLink, mirrorLink)
end
if testcasesTitle.exists then
local testcasesPage = testcasesTitle.prefixedText
local testcasesDisplay = message('testcases-link-display')
local testcasesLink = makeWikilink(testcasesPage, testcasesDisplay)
local testcasesEditUrl = testcasesTitle:canonicalUrl{action = 'edit'}
local testcasesEditDisplay = message('testcases-edit-link-display')
local testcasesEditLink = makeWikilink("Special:EditPage/" .. testcasesPage, testcasesEditDisplay)
-- for Modules, add testcases run link if exists
if testcasesTitle.contentModel == "Scribunto" and testcasesTitle.talkPageTitle and testcasesTitle.talkPageTitle.exists then
local testcasesRunLinkDisplay = message('testcases-run-link-display')
local testcasesRunLink = makeWikilink(testcasesTitle.talkPageTitle.prefixedText, testcasesRunLinkDisplay)
testcasesLinks = testcasesLink .. ' ' .. makeToolbar(testcasesEditLink, testcasesRunLink)
else
testcasesLinks = testcasesLink .. ' ' .. makeToolbar(testcasesEditLink)
end
else
local testcasesPreload
if subjectSpace == 828 then
testcasesPreload = message('module-testcases-preload')
else
testcasesPreload = message('template-testcases-preload')
end
local testcasesCreateUrl = testcasesTitle:canonicalUrl{action = 'edit', preload = testcasesPreload}
local testcasesCreateDisplay = message('testcases-create-link-display')
local testcasesCreateLink = makeUrlLink(testcasesCreateUrl, testcasesCreateDisplay)
testcasesLinks = message('testcases-link-display') .. ' ' .. makeToolbar(testcasesCreateLink)
end
local messageName
if subjectSpace == 828 then
messageName = 'experiment-blurb-module'
else
messageName = 'experiment-blurb-template'
end
return message(messageName, {sandboxLinks, testcasesLinks})
end
function p.makeCategoriesBlurb(args, env)
--[[
-- Generates the text "Please add categories to the /doc subpage."
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'doc-link-display' --> '/doc'
-- 'add-categories-blurb' --> 'Please add categories to the $1 subpage.'
--]]
local docTitle = env.docTitle
if not docTitle then
return nil
end
local docPathLink = makeWikilink(docTitle.prefixedText, message('doc-link-display'))
return message('add-categories-blurb', {docPathLink})
end
function p.makeSubpagesBlurb(args, env)
--[[
-- Generates the "Subpages of this template" link.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'template-pagetype' --> 'template'
-- 'module-pagetype' --> 'module'
-- 'default-pagetype' --> 'page'
-- 'subpages-link-display' --> 'Subpages of this $1'
--]]
local subjectSpace = env.subjectSpace
local templateTitle = env.templateTitle
if not subjectSpace or not templateTitle then
return nil
end
local pagetype
if subjectSpace == 10 then
pagetype = message('template-pagetype')
elseif subjectSpace == 828 then
pagetype = message('module-pagetype')
else
pagetype = message('default-pagetype')
end
local subpagesLink = makeWikilink(
'Special:PrefixIndex/' .. templateTitle.prefixedText .. '/',
message('subpages-link-display', {pagetype})
)
return message('subpages-blurb', {subpagesLink})
end
----------------------------------------------------------------------------
-- Tracking categories
----------------------------------------------------------------------------
function p.addTrackingCategories(env)
--[[
-- Check if {{documentation}} is transcluded on a /doc or /testcases page.
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'display-strange-usage-category' --> true
-- 'doc-subpage' --> 'doc'
-- 'testcases-subpage' --> 'testcases'
-- 'strange-usage-category' --> 'Wikipedia pages with strange ((documentation)) usage'
--
-- /testcases pages in the module namespace are not categorised, as they may have
-- {{documentation}} transcluded automatically.
--]]
local title = env.title
local subjectSpace = env.subjectSpace
if not title or not subjectSpace then
return nil
end
local subpage = title.subpageText
if message('display-strange-usage-category', nil, 'boolean')
and (
subpage == message('doc-subpage')
or subjectSpace ~= 828 and subpage == message('testcases-subpage')
)
then
return makeCategoryLink(message('strange-usage-category'))
end
return ''
end
return p
fttwrouvv52xj3xc0iv9fbm0og9nf2z
ಮಾಡ್ಯೂಲ್:Documentation/config
828
11461
282509
276898
2025-10-13T18:10:40Z
w:en>Paine Ellsworth
0
per edit request at [[Template talk:Documentation#Update sandbox icon to match all other templates]] - update sandbox notice image
282509
Scribunto
text/plain
----------------------------------------------------------------------------------------------------
--
-- Configuration for Module:Documentation
--
-- Here you can set the values of the parameters and messages used in Module:Documentation to
-- localise it to your wiki and your language. Unless specified otherwise, values given here
-- should be string values.
----------------------------------------------------------------------------------------------------
local cfg = {} -- Do not edit this line.
----------------------------------------------------------------------------------------------------
-- Protection template configuration
----------------------------------------------------------------------------------------------------
-- cfg['protection-reason-edit']
-- The protection reason for edit-protected templates to pass to
-- [[Module:Protection banner]].
cfg['protection-reason-edit'] = 'template'
--[[
----------------------------------------------------------------------------------------------------
-- Sandbox notice configuration
--
-- On sandbox pages the module can display a template notifying users that the current page is a
-- sandbox, and the location of test cases pages, etc. The module decides whether the page is a
-- sandbox or not based on the value of cfg['sandbox-subpage']. The following settings configure the
-- messages that the notices contains.
----------------------------------------------------------------------------------------------------
--]]
-- cfg['sandbox-notice-image']
-- The image displayed in the sandbox notice.
cfg['sandbox-notice-image'] = '[[File:Edit In Sandbox Icon - Color.svg|50px|alt=|link=]]'
--[[
-- cfg['sandbox-notice-pagetype-template']
-- cfg['sandbox-notice-pagetype-module']
-- cfg['sandbox-notice-pagetype-other']
-- The page type of the sandbox page. The message that is displayed depends on the current subject
-- namespace. This message is used in either cfg['sandbox-notice-blurb'] or
-- cfg['sandbox-notice-diff-blurb'].
--]]
cfg['sandbox-notice-pagetype-template'] = '[[Wikipedia:Template test cases|template sandbox]] page'
cfg['sandbox-notice-pagetype-module'] = '[[Wikipedia:Template test cases|module sandbox]] page'
cfg['sandbox-notice-pagetype-other'] = 'sandbox page'
--[[
-- cfg['sandbox-notice-blurb']
-- cfg['sandbox-notice-diff-blurb']
-- cfg['sandbox-notice-diff-display']
-- Either cfg['sandbox-notice-blurb'] or cfg['sandbox-notice-diff-blurb'] is the opening sentence
-- of the sandbox notice. The latter has a diff link, but the former does not. $1 is the page
-- type, which is either cfg['sandbox-notice-pagetype-template'],
-- cfg['sandbox-notice-pagetype-module'] or cfg['sandbox-notice-pagetype-other'] depending what
-- namespace we are in. $2 is a link to the main template page, and $3 is a diff link between
-- the sandbox and the main template. The display value of the diff link is set by
-- cfg['sandbox-notice-compare-link-display'].
--]]
cfg['sandbox-notice-blurb'] = 'This is the $1 for $2.'
cfg['sandbox-notice-diff-blurb'] = 'This is the $1 for $2 ($3).'
cfg['sandbox-notice-compare-link-display'] = 'diff'
--[[
-- cfg['sandbox-notice-testcases-blurb']
-- cfg['sandbox-notice-testcases-link-display']
-- cfg['sandbox-notice-testcases-run-blurb']
-- cfg['sandbox-notice-testcases-run-link-display']
-- cfg['sandbox-notice-testcases-blurb'] is a sentence notifying the user that there is a test cases page
-- corresponding to this sandbox that they can edit. $1 is a link to the test cases page.
-- cfg['sandbox-notice-testcases-link-display'] is the display value for that link.
-- cfg['sandbox-notice-testcases-run-blurb'] is a sentence notifying the user that there is a test cases page
-- corresponding to this sandbox that they can edit, along with a link to run it. $1 is a link to the test
-- cases page, and $2 is a link to the page to run it.
-- cfg['sandbox-notice-testcases-run-link-display'] is the display value for the link to run the test
-- cases.
--]]
cfg['sandbox-notice-testcases-blurb'] = 'See also the companion subpage for $1.'
cfg['sandbox-notice-testcases-link-display'] = 'test cases'
cfg['sandbox-notice-testcases-run-blurb'] = 'See also the companion subpage for $1 ($2).'
cfg['sandbox-notice-testcases-run-link-display'] = 'run'
-- cfg['sandbox-category'] - A category to add to all template sandboxes.
-- cfg['module-sandbox-category'] - A category to add to all module sandboxes.
-- cfg['module-sandbox-category'] - A category to add to all sandboxe not in templates or modules.
cfg['sandbox-category'] = 'Template sandboxes'
cfg['module-sandbox-category'] = 'Module sandboxes'
cfg['other-sandbox-category'] = 'Sandboxes outside of template or module namespace'
----------------------------------------------------------------------------------------------------
-- Start box configuration
----------------------------------------------------------------------------------------------------
-- cfg['documentation-icon-wikitext']
-- The wikitext for the icon shown at the top of the template.
cfg['documentation-icon-wikitext'] = '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]'
-- cfg['template-namespace-heading']
-- The heading shown in the template namespace.
cfg['template-namespace-heading'] = 'Template documentation'
-- cfg['module-namespace-heading']
-- The heading shown in the module namespace.
cfg['module-namespace-heading'] = 'Module documentation'
-- cfg['file-namespace-heading']
-- The heading shown in the file namespace.
cfg['file-namespace-heading'] = 'Summary'
-- cfg['other-namespaces-heading']
-- The heading shown in other namespaces.
cfg['other-namespaces-heading'] = 'Documentation'
-- cfg['view-link-display']
-- The text to display for "view" links.
cfg['view-link-display'] = 'view'
-- cfg['edit-link-display']
-- The text to display for "edit" links.
cfg['edit-link-display'] = 'edit'
-- cfg['history-link-display']
-- The text to display for "history" links.
cfg['history-link-display'] = 'history'
-- cfg['purge-link-display']
-- The text to display for "purge" links.
cfg['purge-link-display'] = 'purge'
-- cfg['create-link-display']
-- The text to display for "create" links.
cfg['create-link-display'] = 'create'
----------------------------------------------------------------------------------------------------
-- Link box (end box) configuration
----------------------------------------------------------------------------------------------------
-- cfg['transcluded-from-blurb']
-- Notice displayed when the docs are transcluded from another page. $1 is a wikilink to that page.
cfg['transcluded-from-blurb'] = 'The above [[Wikipedia:Template documentation|documentation]] is [[Help:Transclusion|transcluded]] from $1.'
--[[
-- cfg['create-module-doc-blurb']
-- Notice displayed in the module namespace when the documentation subpage does not exist.
-- $1 is a link to create the documentation page with the preload cfg['module-preload'] and the
-- display cfg['create-link-display'].
--]]
cfg['create-module-doc-blurb'] = 'You might want to $1 a documentation page for this [[Wikipedia:Lua|Scribunto module]].'
----------------------------------------------------------------------------------------------------
-- Experiment blurb configuration
----------------------------------------------------------------------------------------------------
--[[
-- cfg['experiment-blurb-template']
-- cfg['experiment-blurb-module']
-- The experiment blurb is the text inviting editors to experiment in sandbox and test cases pages.
-- It is only shown in the template and module namespaces. With the default English settings, it
-- might look like this:
--
-- Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
--
-- In this example, "sandbox", "edit", "diff", "testcases", and "edit" would all be links.
--
-- There are two versions, cfg['experiment-blurb-template'] and cfg['experiment-blurb-module'], depending
-- on what namespace we are in.
--
-- Parameters:
--
-- $1 is a link to the sandbox page. If the sandbox exists, it is in the following format:
--
-- cfg['sandbox-link-display'] (cfg['sandbox-edit-link-display'] | cfg['compare-link-display'])
--
-- If the sandbox doesn't exist, it is in the format:
--
-- cfg['sandbox-link-display'] (cfg['sandbox-create-link-display'] | cfg['mirror-link-display'])
--
-- The link for cfg['sandbox-create-link-display'] link preloads the page with cfg['template-sandbox-preload']
-- or cfg['module-sandbox-preload'], depending on the current namespace. The link for cfg['mirror-link-display']
-- loads a default edit summary of cfg['mirror-edit-summary'].
--
-- $2 is a link to the test cases page. If the test cases page exists, it is in the following format:
--
-- cfg['testcases-link-display'] (cfg['testcases-edit-link-display'] | cfg['testcases-run-link-display'])
--
-- If the test cases page doesn't exist, it is in the format:
--
-- cfg['testcases-link-display'] (cfg['testcases-create-link-display'])
--
-- If the test cases page doesn't exist, the link for cfg['testcases-create-link-display'] preloads the
-- page with cfg['template-testcases-preload'] or cfg['module-testcases-preload'], depending on the current
-- namespace.
--]]
cfg['experiment-blurb-template'] = "Editors can experiment in this template's $1 and $2 pages."
cfg['experiment-blurb-module'] = "Editors can experiment in this module's $1 and $2 pages."
----------------------------------------------------------------------------------------------------
-- Sandbox link configuration
----------------------------------------------------------------------------------------------------
-- cfg['sandbox-subpage']
-- The name of the template subpage typically used for sandboxes.
cfg['sandbox-subpage'] = 'sandbox'
-- cfg['template-sandbox-preload']
-- Preload file for template sandbox pages.
cfg['template-sandbox-preload'] = 'Template:Documentation/preload-sandbox'
-- cfg['module-sandbox-preload']
-- Preload file for Lua module sandbox pages.
cfg['module-sandbox-preload'] = 'Template:Documentation/preload-module-sandbox'
-- cfg['sandbox-link-display']
-- The text to display for "sandbox" links.
cfg['sandbox-link-display'] = 'sandbox'
-- cfg['sandbox-edit-link-display']
-- The text to display for sandbox "edit" links.
cfg['sandbox-edit-link-display'] = 'edit'
-- cfg['sandbox-create-link-display']
-- The text to display for sandbox "create" links.
cfg['sandbox-create-link-display'] = 'create'
-- cfg['compare-link-display']
-- The text to display for "compare" links.
cfg['compare-link-display'] = 'diff'
-- cfg['mirror-edit-summary']
-- The default edit summary to use when a user clicks the "mirror" link. $1 is a wikilink to the
-- template page.
cfg['mirror-edit-summary'] = 'Create sandbox version of $1'
-- cfg['mirror-link-display']
-- The text to display for "mirror" links.
cfg['mirror-link-display'] = 'mirror'
-- cfg['mirror-link-preload']
-- The page to preload when a user clicks the "mirror" link.
cfg['mirror-link-preload'] = 'Template:Documentation/mirror'
----------------------------------------------------------------------------------------------------
-- Test cases link configuration
----------------------------------------------------------------------------------------------------
-- cfg['testcases-subpage']
-- The name of the template subpage typically used for test cases.
cfg['testcases-subpage'] = 'testcases'
-- cfg['template-testcases-preload']
-- Preload file for template test cases pages.
cfg['template-testcases-preload'] = 'Template:Documentation/preload-testcases'
-- cfg['module-testcases-preload']
-- Preload file for Lua module test cases pages.
cfg['module-testcases-preload'] = 'Template:Documentation/preload-module-testcases'
-- cfg['testcases-link-display']
-- The text to display for "testcases" links.
cfg['testcases-link-display'] = 'testcases'
-- cfg['testcases-edit-link-display']
-- The text to display for test cases "edit" links.
cfg['testcases-edit-link-display'] = 'edit'
-- cfg['testcases-run-link-display']
-- The text to display for test cases "run" links.
cfg['testcases-run-link-display'] = 'run'
-- cfg['testcases-create-link-display']
-- The text to display for test cases "create" links.
cfg['testcases-create-link-display'] = 'create'
----------------------------------------------------------------------------------------------------
-- Add categories blurb configuration
----------------------------------------------------------------------------------------------------
--[[
-- cfg['add-categories-blurb']
-- Text to direct users to add categories to the /doc subpage. Not used if the "content" or
-- "docname fed" arguments are set, as then it is not clear where to add the categories. $1 is a
-- link to the /doc subpage with a display value of cfg['doc-link-display'].
--]]
cfg['add-categories-blurb'] = 'Add categories to the $1 subpage.'
-- cfg['doc-link-display']
-- The text to display when linking to the /doc subpage.
cfg['doc-link-display'] = '/doc'
----------------------------------------------------------------------------------------------------
-- Subpages link configuration
----------------------------------------------------------------------------------------------------
--[[
-- cfg['subpages-blurb']
-- The "Subpages of this template" blurb. $1 is a link to the main template's subpages with a
-- display value of cfg['subpages-link-display']. In the English version this blurb is simply
-- the link followed by a period, and the link display provides the actual text.
--]]
cfg['subpages-blurb'] = '$1.'
--[[
-- cfg['subpages-link-display']
-- The text to display for the "subpages of this page" link. $1 is cfg['template-pagetype'],
-- cfg['module-pagetype'] or cfg['default-pagetype'], depending on whether the current page is in
-- the template namespace, the module namespace, or another namespace.
--]]
cfg['subpages-link-display'] = 'Subpages of this $1'
-- cfg['template-pagetype']
-- The pagetype to display for template pages.
cfg['template-pagetype'] = 'template'
-- cfg['module-pagetype']
-- The pagetype to display for Lua module pages.
cfg['module-pagetype'] = 'module'
-- cfg['default-pagetype']
-- The pagetype to display for pages other than templates or Lua modules.
cfg['default-pagetype'] = 'page'
----------------------------------------------------------------------------------------------------
-- Doc link configuration
----------------------------------------------------------------------------------------------------
-- cfg['doc-subpage']
-- The name of the subpage typically used for documentation pages.
cfg['doc-subpage'] = 'doc'
-- cfg['docpage-preload']
-- Preload file for template documentation pages in all namespaces.
cfg['docpage-preload'] = 'Template:Documentation/preload'
-- cfg['module-preload']
-- Preload file for Lua module documentation pages.
cfg['module-preload'] = 'Template:Documentation/preload-module-doc'
----------------------------------------------------------------------------------------------------
-- HTML and CSS configuration
----------------------------------------------------------------------------------------------------
-- cfg['templatestyles']
-- The name of the TemplateStyles page where CSS is kept.
-- Sandbox CSS will be at Module:Documentation/sandbox/styles.css when needed.
cfg['templatestyles'] = 'Module:Documentation/styles.css'
-- cfg['container']
-- Class which can be used to set flex or grid CSS on the
-- two child divs documentation and documentation-metadata
cfg['container'] = 'documentation-container'
-- cfg['main-div-classes']
-- Classes added to the main HTML "div" tag.
cfg['main-div-classes'] = 'documentation'
-- cfg['main-div-heading-class']
-- Class for the main heading for templates and modules and assoc. talk spaces
cfg['main-div-heading-class'] = 'documentation-heading'
-- cfg['start-box-class']
-- Class for the start box
cfg['start-box-class'] = 'documentation-startbox'
-- cfg['start-box-link-classes']
-- Classes used for the [view][edit][history] or [create] links in the start box.
-- mw-editsection-like is per [[Wikipedia:Village pump (technical)/Archive 117]]
cfg['start-box-link-classes'] = 'mw-editsection-like plainlinks'
-- cfg['end-box-class']
-- Class for the end box.
cfg['end-box-class'] = 'documentation-metadata'
-- cfg['end-box-plainlinks']
-- Plainlinks
cfg['end-box-plainlinks'] = 'plainlinks'
-- cfg['toolbar-class']
-- Class added for toolbar links.
cfg['toolbar-class'] = 'documentation-toolbar'
-- cfg['clear']
-- Just used to clear things.
cfg['clear'] = 'documentation-clear'
----------------------------------------------------------------------------------------------------
-- Tracking category configuration
----------------------------------------------------------------------------------------------------
-- cfg['display-strange-usage-category']
-- Set to true to enable output of cfg['strange-usage-category'] if the module is used on a /doc subpage
-- or a /testcases subpage. This should be a boolean value (either true or false).
cfg['display-strange-usage-category'] = true
-- cfg['strange-usage-category']
-- Category to output if cfg['display-strange-usage-category'] is set to true and the module is used on a
-- /doc subpage or a /testcases subpage.
cfg['strange-usage-category'] = 'Wikipedia pages with strange ((documentation)) usage'
--[[
----------------------------------------------------------------------------------------------------
-- End configuration
--
-- Don't edit anything below this line.
----------------------------------------------------------------------------------------------------
--]]
return cfg
2z4v6f5nkabra0nulgb7sxch1cktfsn
282510
282509
2026-04-03T05:07:33Z
A826
6806
೧ ಬದಲಾವಣೆ
282509
Scribunto
text/plain
----------------------------------------------------------------------------------------------------
--
-- Configuration for Module:Documentation
--
-- Here you can set the values of the parameters and messages used in Module:Documentation to
-- localise it to your wiki and your language. Unless specified otherwise, values given here
-- should be string values.
----------------------------------------------------------------------------------------------------
local cfg = {} -- Do not edit this line.
----------------------------------------------------------------------------------------------------
-- Protection template configuration
----------------------------------------------------------------------------------------------------
-- cfg['protection-reason-edit']
-- The protection reason for edit-protected templates to pass to
-- [[Module:Protection banner]].
cfg['protection-reason-edit'] = 'template'
--[[
----------------------------------------------------------------------------------------------------
-- Sandbox notice configuration
--
-- On sandbox pages the module can display a template notifying users that the current page is a
-- sandbox, and the location of test cases pages, etc. The module decides whether the page is a
-- sandbox or not based on the value of cfg['sandbox-subpage']. The following settings configure the
-- messages that the notices contains.
----------------------------------------------------------------------------------------------------
--]]
-- cfg['sandbox-notice-image']
-- The image displayed in the sandbox notice.
cfg['sandbox-notice-image'] = '[[File:Edit In Sandbox Icon - Color.svg|50px|alt=|link=]]'
--[[
-- cfg['sandbox-notice-pagetype-template']
-- cfg['sandbox-notice-pagetype-module']
-- cfg['sandbox-notice-pagetype-other']
-- The page type of the sandbox page. The message that is displayed depends on the current subject
-- namespace. This message is used in either cfg['sandbox-notice-blurb'] or
-- cfg['sandbox-notice-diff-blurb'].
--]]
cfg['sandbox-notice-pagetype-template'] = '[[Wikipedia:Template test cases|template sandbox]] page'
cfg['sandbox-notice-pagetype-module'] = '[[Wikipedia:Template test cases|module sandbox]] page'
cfg['sandbox-notice-pagetype-other'] = 'sandbox page'
--[[
-- cfg['sandbox-notice-blurb']
-- cfg['sandbox-notice-diff-blurb']
-- cfg['sandbox-notice-diff-display']
-- Either cfg['sandbox-notice-blurb'] or cfg['sandbox-notice-diff-blurb'] is the opening sentence
-- of the sandbox notice. The latter has a diff link, but the former does not. $1 is the page
-- type, which is either cfg['sandbox-notice-pagetype-template'],
-- cfg['sandbox-notice-pagetype-module'] or cfg['sandbox-notice-pagetype-other'] depending what
-- namespace we are in. $2 is a link to the main template page, and $3 is a diff link between
-- the sandbox and the main template. The display value of the diff link is set by
-- cfg['sandbox-notice-compare-link-display'].
--]]
cfg['sandbox-notice-blurb'] = 'This is the $1 for $2.'
cfg['sandbox-notice-diff-blurb'] = 'This is the $1 for $2 ($3).'
cfg['sandbox-notice-compare-link-display'] = 'diff'
--[[
-- cfg['sandbox-notice-testcases-blurb']
-- cfg['sandbox-notice-testcases-link-display']
-- cfg['sandbox-notice-testcases-run-blurb']
-- cfg['sandbox-notice-testcases-run-link-display']
-- cfg['sandbox-notice-testcases-blurb'] is a sentence notifying the user that there is a test cases page
-- corresponding to this sandbox that they can edit. $1 is a link to the test cases page.
-- cfg['sandbox-notice-testcases-link-display'] is the display value for that link.
-- cfg['sandbox-notice-testcases-run-blurb'] is a sentence notifying the user that there is a test cases page
-- corresponding to this sandbox that they can edit, along with a link to run it. $1 is a link to the test
-- cases page, and $2 is a link to the page to run it.
-- cfg['sandbox-notice-testcases-run-link-display'] is the display value for the link to run the test
-- cases.
--]]
cfg['sandbox-notice-testcases-blurb'] = 'See also the companion subpage for $1.'
cfg['sandbox-notice-testcases-link-display'] = 'test cases'
cfg['sandbox-notice-testcases-run-blurb'] = 'See also the companion subpage for $1 ($2).'
cfg['sandbox-notice-testcases-run-link-display'] = 'run'
-- cfg['sandbox-category'] - A category to add to all template sandboxes.
-- cfg['module-sandbox-category'] - A category to add to all module sandboxes.
-- cfg['module-sandbox-category'] - A category to add to all sandboxe not in templates or modules.
cfg['sandbox-category'] = 'Template sandboxes'
cfg['module-sandbox-category'] = 'Module sandboxes'
cfg['other-sandbox-category'] = 'Sandboxes outside of template or module namespace'
----------------------------------------------------------------------------------------------------
-- Start box configuration
----------------------------------------------------------------------------------------------------
-- cfg['documentation-icon-wikitext']
-- The wikitext for the icon shown at the top of the template.
cfg['documentation-icon-wikitext'] = '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]'
-- cfg['template-namespace-heading']
-- The heading shown in the template namespace.
cfg['template-namespace-heading'] = 'Template documentation'
-- cfg['module-namespace-heading']
-- The heading shown in the module namespace.
cfg['module-namespace-heading'] = 'Module documentation'
-- cfg['file-namespace-heading']
-- The heading shown in the file namespace.
cfg['file-namespace-heading'] = 'Summary'
-- cfg['other-namespaces-heading']
-- The heading shown in other namespaces.
cfg['other-namespaces-heading'] = 'Documentation'
-- cfg['view-link-display']
-- The text to display for "view" links.
cfg['view-link-display'] = 'view'
-- cfg['edit-link-display']
-- The text to display for "edit" links.
cfg['edit-link-display'] = 'edit'
-- cfg['history-link-display']
-- The text to display for "history" links.
cfg['history-link-display'] = 'history'
-- cfg['purge-link-display']
-- The text to display for "purge" links.
cfg['purge-link-display'] = 'purge'
-- cfg['create-link-display']
-- The text to display for "create" links.
cfg['create-link-display'] = 'create'
----------------------------------------------------------------------------------------------------
-- Link box (end box) configuration
----------------------------------------------------------------------------------------------------
-- cfg['transcluded-from-blurb']
-- Notice displayed when the docs are transcluded from another page. $1 is a wikilink to that page.
cfg['transcluded-from-blurb'] = 'The above [[Wikipedia:Template documentation|documentation]] is [[Help:Transclusion|transcluded]] from $1.'
--[[
-- cfg['create-module-doc-blurb']
-- Notice displayed in the module namespace when the documentation subpage does not exist.
-- $1 is a link to create the documentation page with the preload cfg['module-preload'] and the
-- display cfg['create-link-display'].
--]]
cfg['create-module-doc-blurb'] = 'You might want to $1 a documentation page for this [[Wikipedia:Lua|Scribunto module]].'
----------------------------------------------------------------------------------------------------
-- Experiment blurb configuration
----------------------------------------------------------------------------------------------------
--[[
-- cfg['experiment-blurb-template']
-- cfg['experiment-blurb-module']
-- The experiment blurb is the text inviting editors to experiment in sandbox and test cases pages.
-- It is only shown in the template and module namespaces. With the default English settings, it
-- might look like this:
--
-- Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
--
-- In this example, "sandbox", "edit", "diff", "testcases", and "edit" would all be links.
--
-- There are two versions, cfg['experiment-blurb-template'] and cfg['experiment-blurb-module'], depending
-- on what namespace we are in.
--
-- Parameters:
--
-- $1 is a link to the sandbox page. If the sandbox exists, it is in the following format:
--
-- cfg['sandbox-link-display'] (cfg['sandbox-edit-link-display'] | cfg['compare-link-display'])
--
-- If the sandbox doesn't exist, it is in the format:
--
-- cfg['sandbox-link-display'] (cfg['sandbox-create-link-display'] | cfg['mirror-link-display'])
--
-- The link for cfg['sandbox-create-link-display'] link preloads the page with cfg['template-sandbox-preload']
-- or cfg['module-sandbox-preload'], depending on the current namespace. The link for cfg['mirror-link-display']
-- loads a default edit summary of cfg['mirror-edit-summary'].
--
-- $2 is a link to the test cases page. If the test cases page exists, it is in the following format:
--
-- cfg['testcases-link-display'] (cfg['testcases-edit-link-display'] | cfg['testcases-run-link-display'])
--
-- If the test cases page doesn't exist, it is in the format:
--
-- cfg['testcases-link-display'] (cfg['testcases-create-link-display'])
--
-- If the test cases page doesn't exist, the link for cfg['testcases-create-link-display'] preloads the
-- page with cfg['template-testcases-preload'] or cfg['module-testcases-preload'], depending on the current
-- namespace.
--]]
cfg['experiment-blurb-template'] = "Editors can experiment in this template's $1 and $2 pages."
cfg['experiment-blurb-module'] = "Editors can experiment in this module's $1 and $2 pages."
----------------------------------------------------------------------------------------------------
-- Sandbox link configuration
----------------------------------------------------------------------------------------------------
-- cfg['sandbox-subpage']
-- The name of the template subpage typically used for sandboxes.
cfg['sandbox-subpage'] = 'sandbox'
-- cfg['template-sandbox-preload']
-- Preload file for template sandbox pages.
cfg['template-sandbox-preload'] = 'Template:Documentation/preload-sandbox'
-- cfg['module-sandbox-preload']
-- Preload file for Lua module sandbox pages.
cfg['module-sandbox-preload'] = 'Template:Documentation/preload-module-sandbox'
-- cfg['sandbox-link-display']
-- The text to display for "sandbox" links.
cfg['sandbox-link-display'] = 'sandbox'
-- cfg['sandbox-edit-link-display']
-- The text to display for sandbox "edit" links.
cfg['sandbox-edit-link-display'] = 'edit'
-- cfg['sandbox-create-link-display']
-- The text to display for sandbox "create" links.
cfg['sandbox-create-link-display'] = 'create'
-- cfg['compare-link-display']
-- The text to display for "compare" links.
cfg['compare-link-display'] = 'diff'
-- cfg['mirror-edit-summary']
-- The default edit summary to use when a user clicks the "mirror" link. $1 is a wikilink to the
-- template page.
cfg['mirror-edit-summary'] = 'Create sandbox version of $1'
-- cfg['mirror-link-display']
-- The text to display for "mirror" links.
cfg['mirror-link-display'] = 'mirror'
-- cfg['mirror-link-preload']
-- The page to preload when a user clicks the "mirror" link.
cfg['mirror-link-preload'] = 'Template:Documentation/mirror'
----------------------------------------------------------------------------------------------------
-- Test cases link configuration
----------------------------------------------------------------------------------------------------
-- cfg['testcases-subpage']
-- The name of the template subpage typically used for test cases.
cfg['testcases-subpage'] = 'testcases'
-- cfg['template-testcases-preload']
-- Preload file for template test cases pages.
cfg['template-testcases-preload'] = 'Template:Documentation/preload-testcases'
-- cfg['module-testcases-preload']
-- Preload file for Lua module test cases pages.
cfg['module-testcases-preload'] = 'Template:Documentation/preload-module-testcases'
-- cfg['testcases-link-display']
-- The text to display for "testcases" links.
cfg['testcases-link-display'] = 'testcases'
-- cfg['testcases-edit-link-display']
-- The text to display for test cases "edit" links.
cfg['testcases-edit-link-display'] = 'edit'
-- cfg['testcases-run-link-display']
-- The text to display for test cases "run" links.
cfg['testcases-run-link-display'] = 'run'
-- cfg['testcases-create-link-display']
-- The text to display for test cases "create" links.
cfg['testcases-create-link-display'] = 'create'
----------------------------------------------------------------------------------------------------
-- Add categories blurb configuration
----------------------------------------------------------------------------------------------------
--[[
-- cfg['add-categories-blurb']
-- Text to direct users to add categories to the /doc subpage. Not used if the "content" or
-- "docname fed" arguments are set, as then it is not clear where to add the categories. $1 is a
-- link to the /doc subpage with a display value of cfg['doc-link-display'].
--]]
cfg['add-categories-blurb'] = 'Add categories to the $1 subpage.'
-- cfg['doc-link-display']
-- The text to display when linking to the /doc subpage.
cfg['doc-link-display'] = '/doc'
----------------------------------------------------------------------------------------------------
-- Subpages link configuration
----------------------------------------------------------------------------------------------------
--[[
-- cfg['subpages-blurb']
-- The "Subpages of this template" blurb. $1 is a link to the main template's subpages with a
-- display value of cfg['subpages-link-display']. In the English version this blurb is simply
-- the link followed by a period, and the link display provides the actual text.
--]]
cfg['subpages-blurb'] = '$1.'
--[[
-- cfg['subpages-link-display']
-- The text to display for the "subpages of this page" link. $1 is cfg['template-pagetype'],
-- cfg['module-pagetype'] or cfg['default-pagetype'], depending on whether the current page is in
-- the template namespace, the module namespace, or another namespace.
--]]
cfg['subpages-link-display'] = 'Subpages of this $1'
-- cfg['template-pagetype']
-- The pagetype to display for template pages.
cfg['template-pagetype'] = 'template'
-- cfg['module-pagetype']
-- The pagetype to display for Lua module pages.
cfg['module-pagetype'] = 'module'
-- cfg['default-pagetype']
-- The pagetype to display for pages other than templates or Lua modules.
cfg['default-pagetype'] = 'page'
----------------------------------------------------------------------------------------------------
-- Doc link configuration
----------------------------------------------------------------------------------------------------
-- cfg['doc-subpage']
-- The name of the subpage typically used for documentation pages.
cfg['doc-subpage'] = 'doc'
-- cfg['docpage-preload']
-- Preload file for template documentation pages in all namespaces.
cfg['docpage-preload'] = 'Template:Documentation/preload'
-- cfg['module-preload']
-- Preload file for Lua module documentation pages.
cfg['module-preload'] = 'Template:Documentation/preload-module-doc'
----------------------------------------------------------------------------------------------------
-- HTML and CSS configuration
----------------------------------------------------------------------------------------------------
-- cfg['templatestyles']
-- The name of the TemplateStyles page where CSS is kept.
-- Sandbox CSS will be at Module:Documentation/sandbox/styles.css when needed.
cfg['templatestyles'] = 'Module:Documentation/styles.css'
-- cfg['container']
-- Class which can be used to set flex or grid CSS on the
-- two child divs documentation and documentation-metadata
cfg['container'] = 'documentation-container'
-- cfg['main-div-classes']
-- Classes added to the main HTML "div" tag.
cfg['main-div-classes'] = 'documentation'
-- cfg['main-div-heading-class']
-- Class for the main heading for templates and modules and assoc. talk spaces
cfg['main-div-heading-class'] = 'documentation-heading'
-- cfg['start-box-class']
-- Class for the start box
cfg['start-box-class'] = 'documentation-startbox'
-- cfg['start-box-link-classes']
-- Classes used for the [view][edit][history] or [create] links in the start box.
-- mw-editsection-like is per [[Wikipedia:Village pump (technical)/Archive 117]]
cfg['start-box-link-classes'] = 'mw-editsection-like plainlinks'
-- cfg['end-box-class']
-- Class for the end box.
cfg['end-box-class'] = 'documentation-metadata'
-- cfg['end-box-plainlinks']
-- Plainlinks
cfg['end-box-plainlinks'] = 'plainlinks'
-- cfg['toolbar-class']
-- Class added for toolbar links.
cfg['toolbar-class'] = 'documentation-toolbar'
-- cfg['clear']
-- Just used to clear things.
cfg['clear'] = 'documentation-clear'
----------------------------------------------------------------------------------------------------
-- Tracking category configuration
----------------------------------------------------------------------------------------------------
-- cfg['display-strange-usage-category']
-- Set to true to enable output of cfg['strange-usage-category'] if the module is used on a /doc subpage
-- or a /testcases subpage. This should be a boolean value (either true or false).
cfg['display-strange-usage-category'] = true
-- cfg['strange-usage-category']
-- Category to output if cfg['display-strange-usage-category'] is set to true and the module is used on a
-- /doc subpage or a /testcases subpage.
cfg['strange-usage-category'] = 'Wikipedia pages with strange ((documentation)) usage'
--[[
----------------------------------------------------------------------------------------------------
-- End configuration
--
-- Don't edit anything below this line.
----------------------------------------------------------------------------------------------------
--]]
return cfg
2z4v6f5nkabra0nulgb7sxch1cktfsn
ಮಾಡ್ಯೂಲ್:Message box
828
11462
282477
278457
2025-10-19T18:19:52Z
w:en>Izno
0
below in div mbox
282477
Scribunto
text/plain
require('strict')
local getArgs
local yesno = require('Module:Yesno')
local lang = mw.language.getContentLanguage()
local CONFIG_MODULE = 'Module:Message box/configuration'
local DEMOSPACES = {talk = 'tmbox', image = 'imbox', file = 'imbox', category = 'cmbox', article = 'ambox', main = 'ambox'}
--------------------------------------------------------------------------------
-- Helper functions
--------------------------------------------------------------------------------
local function getTitleObject(...)
-- Get the title object, passing the function through pcall
-- in case we are over the expensive function count limit.
local success, title = pcall(mw.title.new, ...)
if success then
return title
end
end
local function union(t1, t2)
-- Returns the union of two arrays.
local vals = {}
for i, v in ipairs(t1) do
vals[v] = true
end
for i, v in ipairs(t2) do
vals[v] = true
end
local ret = {}
for k in pairs(vals) do
table.insert(ret, k)
end
table.sort(ret)
return ret
end
local function getArgNums(args, prefix)
local nums = {}
for k, v in pairs(args) do
local num = mw.ustring.match(tostring(k), '^' .. prefix .. '([1-9]%d*)$')
if num then
table.insert(nums, tonumber(num))
end
end
table.sort(nums)
return nums
end
--------------------------------------------------------------------------------
-- Box class definition
--------------------------------------------------------------------------------
local MessageBox = {}
MessageBox.__index = MessageBox
function MessageBox.new(boxType, args, cfg)
args = args or {}
local obj = {}
-- Set the title object and the namespace.
obj.title = getTitleObject(args.page) or mw.title.getCurrentTitle()
-- Set the config for our box type.
obj.cfg = cfg[boxType]
if not obj.cfg then
local ns = obj.title.namespace
-- boxType is "mbox" or invalid input
if args.demospace and args.demospace ~= '' then
-- implement demospace parameter of mbox
local demospace = string.lower(args.demospace)
if DEMOSPACES[demospace] then
-- use template from DEMOSPACES
obj.cfg = cfg[DEMOSPACES[demospace]]
elseif string.find( demospace, 'talk' ) then
-- demo as a talk page
obj.cfg = cfg.tmbox
else
-- default to ombox
obj.cfg = cfg.ombox
end
elseif ns == 0 then
obj.cfg = cfg.ambox -- main namespace
elseif ns == 6 then
obj.cfg = cfg.imbox -- file namespace
elseif ns == 14 then
obj.cfg = cfg.cmbox -- category namespace
else
local nsTable = mw.site.namespaces[ns]
if nsTable and nsTable.isTalk then
obj.cfg = cfg.tmbox -- any talk namespace
else
obj.cfg = cfg.ombox -- other namespaces or invalid input
end
end
end
-- Set the arguments, and remove all blank arguments except for the ones
-- listed in cfg.allowBlankParams.
do
local newArgs = {}
for k, v in pairs(args) do
if v ~= '' then
newArgs[k] = v
end
end
for i, param in ipairs(obj.cfg.allowBlankParams or {}) do
newArgs[param] = args[param]
end
obj.args = newArgs
end
-- Define internal data structure.
obj.categories = {}
obj.classes = {}
-- For lazy loading of [[Module:Category handler]].
obj.hasCategories = false
return setmetatable(obj, MessageBox)
end
function MessageBox:addCat(ns, cat, sort)
if not cat then
return nil
end
if sort then
cat = string.format('[[Category:%s|%s]]', cat, sort)
else
cat = string.format('[[Category:%s]]', cat)
end
self.hasCategories = true
self.categories[ns] = self.categories[ns] or {}
table.insert(self.categories[ns], cat)
end
function MessageBox:addClass(class)
if not class then
return nil
end
table.insert(self.classes, class)
end
function MessageBox:setParameters()
local args = self.args
local cfg = self.cfg
-- Get type data.
self.type = args.type
local typeData = cfg.types[self.type]
self.invalidTypeError = cfg.showInvalidTypeError
and self.type
and not typeData
typeData = typeData or cfg.types[cfg.default]
self.typeClass = typeData.class
self.typeImage = typeData.image
self.typeImageNeedsLink = typeData.imageNeedsLink
-- Find if the box has been wrongly substituted.
self.isSubstituted = cfg.substCheck and args.subst == 'SUBST'
-- Find whether we are using a small message box.
self.isSmall = cfg.allowSmall and (
cfg.smallParam and args.small == cfg.smallParam
or not cfg.smallParam and yesno(args.small)
)
-- Set the below row.
self.below = cfg.below and args.below
-- Add attributes, classes and styles.
self.id = args.id
self.name = args.name
if self.name then
self:addClass('box-' .. string.gsub(self.name,' ','_'))
end
if yesno(args.plainlinks) ~= false then
self:addClass('plainlinks')
end
if self.below then
self:addClass('mbox-with-below')
end
for _, class in ipairs(cfg.classes or {}) do
self:addClass(class)
end
if self.isSmall then
self:addClass(cfg.smallClass or 'mbox-small')
end
self:addClass(self.typeClass)
self:addClass(args.class)
self.style = args.style
self.attrs = args.attrs
-- Set text style.
self.textstyle = args.textstyle
-- Set image classes.
self.imageRightClass = args.imagerightclass or args.imageclass
self.imageLeftClass = args.imageleftclass or args.imageclass
-- Find if we are on the template page or not. This functionality is only
-- used if useCollapsibleTextFields is set, or if both cfg.templateCategory
-- and cfg.templateCategoryRequireName are set.
self.useCollapsibleTextFields = cfg.useCollapsibleTextFields
if self.useCollapsibleTextFields
or cfg.templateCategory
and cfg.templateCategoryRequireName
then
if self.name then
local templateName = mw.ustring.match(
self.name,
'^[tT][eE][mM][pP][lL][aA][tT][eE][%s_]*:[%s_]*(.*)$'
) or self.name
templateName = 'Template:' .. templateName
self.templateTitle = getTitleObject(templateName)
end
self.isTemplatePage = self.templateTitle
and mw.title.equals(self.title, self.templateTitle)
end
-- Process data for collapsible text fields. At the moment these are only
-- used in {{ambox}}.
if self.useCollapsibleTextFields then
-- Get the self.issue value.
if self.isSmall and args.smalltext then
self.issue = args.smalltext
else
local sect
if args.sect == '' then
sect = 'This ' .. (cfg.sectionDefault or 'page')
elseif type(args.sect) == 'string' then
sect = 'This ' .. args.sect
end
local issue = args.issue
issue = type(issue) == 'string' and issue ~= '' and issue or nil
local text = args.text
text = type(text) == 'string' and text or nil
local issues = {}
table.insert(issues, sect)
table.insert(issues, issue)
table.insert(issues, text)
self.issue = table.concat(issues, ' ')
end
-- Get the self.talk value.
local talk = args.talk
-- Show talk links on the template page or template subpages if the talk
-- parameter is blank.
if talk == ''
and self.templateTitle
and (
mw.title.equals(self.templateTitle, self.title)
or self.title:isSubpageOf(self.templateTitle)
)
then
talk = '#'
elseif talk == '' then
talk = nil
end
if talk then
-- If the talk value is a talk page, make a link to that page. Else
-- assume that it's a section heading, and make a link to the talk
-- page of the current page with that section heading.
local talkTitle = getTitleObject(talk)
local talkArgIsTalkPage = true
if not talkTitle or not talkTitle.isTalkPage then
talkArgIsTalkPage = false
talkTitle = getTitleObject(
self.title.text,
mw.site.namespaces[self.title.namespace].talk.id
)
end
if talkTitle and talkTitle.exists then
local talkText
if self.isSmall then
local talkLink = talkArgIsTalkPage and talk or (talkTitle.prefixedText .. (talk == '#' and '' or '#') .. talk)
talkText = string.format('([[%s|talk]])', talkLink)
else
talkText = 'Relevant discussion may be found on'
if talkArgIsTalkPage then
talkText = string.format(
'%s [[%s|%s]].',
talkText,
talk,
talkTitle.prefixedText
)
else
talkText = string.format(
'%s the [[%s' .. (talk == '#' and '' or '#') .. '%s|talk page]].',
talkText,
talkTitle.prefixedText,
talk
)
end
end
self.talk = talkText
end
end
-- Get other values.
self.fix = args.fix ~= '' and args.fix or nil
local date
if args.date and args.date ~= '' then
date = args.date
elseif args.date == '' and self.isTemplatePage then
date = lang:formatDate('F Y')
end
if date then
self.date = string.format(" <span class='date-container'><i>(<span class='date'>%s</span>)</i></span>", date)
end
self.info = args.info
if yesno(args.removalnotice) then
self.removalNotice = cfg.removalNotice
end
end
-- Set the non-collapsible text field. At the moment this is used by all box
-- types other than ambox, and also by ambox when small=yes.
if self.isSmall then
self.text = args.smalltext or args.text
else
self.text = args.text
end
-- General image settings.
self.imageCellDiv = not self.isSmall and cfg.imageCellDiv
self.imageEmptyCell = cfg.imageEmptyCell
-- Left image settings.
local imageLeft = self.isSmall and args.smallimage or args.image
if cfg.imageCheckBlank and imageLeft ~= 'blank' and imageLeft ~= 'none'
or not cfg.imageCheckBlank and imageLeft ~= 'none'
then
self.imageLeft = imageLeft
if not imageLeft then
local imageSize = self.isSmall
and (cfg.imageSmallSize or '30x30px')
or '40x40px'
self.imageLeft = string.format('[[File:%s|%s%s|alt=]]', self.typeImage
or 'Information icon4.svg', imageSize, self.typeImageNeedsLink and "" or "|link=" )
end
end
-- Right image settings.
local imageRight = self.isSmall and args.smallimageright or args.imageright
if not (cfg.imageRightNone and imageRight == 'none') then
self.imageRight = imageRight
end
-- set templatestyles
self.base_templatestyles = cfg.templatestyles
self.templatestyles = args.templatestyles
end
function MessageBox:setMainspaceCategories()
local args = self.args
local cfg = self.cfg
if not cfg.allowMainspaceCategories then
return nil
end
local nums = {}
for _, prefix in ipairs{'cat', 'category', 'all'} do
args[prefix .. '1'] = args[prefix]
nums = union(nums, getArgNums(args, prefix))
end
-- The following is roughly equivalent to the old {{Ambox/category}}.
local date = args.date
date = type(date) == 'string' and date
local preposition = 'from'
for _, num in ipairs(nums) do
local mainCat = args['cat' .. tostring(num)]
or args['category' .. tostring(num)]
local allCat = args['all' .. tostring(num)]
mainCat = type(mainCat) == 'string' and mainCat
allCat = type(allCat) == 'string' and allCat
if mainCat and date and date ~= '' then
local catTitle = string.format('%s %s %s', mainCat, preposition, date)
self:addCat(0, catTitle)
catTitle = getTitleObject('Category:' .. catTitle)
if not catTitle or not catTitle.exists then
self:addCat(0, 'Articles with invalid date parameter in template')
end
elseif mainCat and (not date or date == '') then
self:addCat(0, mainCat)
end
if allCat then
self:addCat(0, allCat)
end
end
end
function MessageBox:setTemplateCategories()
local args = self.args
local cfg = self.cfg
-- Add template categories.
if cfg.templateCategory then
if cfg.templateCategoryRequireName then
if self.isTemplatePage then
self:addCat(10, cfg.templateCategory)
end
elseif not self.title.isSubpage then
self:addCat(10, cfg.templateCategory)
end
end
-- Add template error categories.
if cfg.templateErrorCategory then
local templateErrorCategory = cfg.templateErrorCategory
local templateCat, templateSort
if not self.name and not self.title.isSubpage then
templateCat = templateErrorCategory
elseif self.isTemplatePage then
local paramsToCheck = cfg.templateErrorParamsToCheck or {}
local count = 0
for i, param in ipairs(paramsToCheck) do
if not args[param] then
count = count + 1
end
end
if count > 0 then
templateCat = templateErrorCategory
templateSort = tostring(count)
end
if self.categoryNums and #self.categoryNums > 0 then
templateCat = templateErrorCategory
templateSort = 'C'
end
end
self:addCat(10, templateCat, templateSort)
end
end
function MessageBox:setAllNamespaceCategories()
-- Set categories for all namespaces.
if self.invalidTypeError then
local allSort = (self.title.namespace == 0 and 'Main:' or '') .. self.title.prefixedText
self:addCat('all', 'Wikipedia message box parameter needs fixing', allSort)
end
if self.isSubstituted then
self:addCat('all', 'Pages with incorrectly substituted templates')
end
end
function MessageBox:setCategories()
if self.title.namespace == 0 then
self:setMainspaceCategories()
elseif self.title.namespace == 10 then
self:setTemplateCategories()
end
self:setAllNamespaceCategories()
end
function MessageBox:renderCategories()
if not self.hasCategories then
-- No categories added, no need to pass them to Category handler so,
-- if it was invoked, it would return the empty string.
-- So we shortcut and return the empty string.
return ""
end
-- Convert category tables to strings and pass them through
-- [[Module:Category handler]].
return require('Module:Category handler')._main{
main = table.concat(self.categories[0] or {}),
template = table.concat(self.categories[10] or {}),
all = table.concat(self.categories.all or {}),
nocat = self.args.nocat,
page = self.args.page
}
end
function MessageBox:exportDiv()
local root = mw.html.create()
-- Add the subst check error.
if self.isSubstituted and self.name then
root:tag('b')
:addClass('error')
:wikitext(string.format(
'Template <code>%s[[Template:%s|%s]]%s</code> has been incorrectly substituted.',
mw.text.nowiki('{{'), self.name, self.name, mw.text.nowiki('}}')
))
end
local frame = mw.getCurrentFrame()
root:wikitext(frame:extensionTag{
name = 'templatestyles',
args = { src = self.base_templatestyles },
})
-- Add support for a single custom templatestyles sheet. Undocumented as
-- need should be limited and many templates using mbox are substed; we
-- don't want to spread templatestyles sheets around to arbitrary places
if self.templatestyles then
root:wikitext(frame:extensionTag{
name = 'templatestyles',
args = { src = self.templatestyles },
})
end
-- Create the box.
local mbox = root:tag('div')
mbox:attr('id', self.id or nil)
for i, class in ipairs(self.classes or {}) do
mbox:addClass(class or nil)
end
mbox
:cssText(self.style or nil)
if self.attrs then
mbox:attr(self.attrs)
end
local flex_container
if self.below then
-- we need to wrap the flex components (`image(right)` and `text`) in their
-- own container div to support the `below` parameter
flex_container = mw.html.create('div')
flex_container:addClass('mbox-flex')
else
-- the mbox itself is the parent, so we need no HTML flex_container
flex_container = mw.html.create()
end
-- Add the left-hand image.
if self.imageLeft then
local imageLeftCell = flex_container:tag('div'):addClass('mbox-image')
imageLeftCell
:addClass(self.imageLeftClass)
:wikitext(self.imageLeft or nil)
end
-- Add the text.
local textCell = flex_container:tag('div'):addClass('mbox-text')
if self.useCollapsibleTextFields then
-- The message box uses advanced text parameters that allow things to be
-- collapsible. At the moment, only ambox uses this.
textCell:cssText(self.textstyle or nil)
local textCellDiv = textCell:tag('div')
textCellDiv
:addClass('mbox-text-span')
:wikitext(self.issue or nil)
if (self.talk or self.fix) then
textCellDiv:tag('span')
:addClass('hide-when-compact')
:wikitext(self.talk and (' ' .. self.talk) or nil)
:wikitext(self.fix and (' ' .. self.fix) or nil)
end
textCellDiv:wikitext(self.date and (' ' .. self.date) or nil)
if self.info and not self.isSmall then
textCellDiv
:tag('span')
:addClass('hide-when-compact')
:wikitext(self.info and (' ' .. self.info) or nil)
end
if self.removalNotice then
textCellDiv:tag('span')
:addClass('hide-when-compact')
:tag('i')
:wikitext(string.format(" (%s)", self.removalNotice))
end
else
-- Default text formatting - anything goes.
textCell
:cssText(self.textstyle or nil)
:wikitext(self.text or nil)
end
-- Add the right-hand image.
if self.imageRight then
local imageRightCell = flex_container:tag('div'):addClass('mbox-imageright')
imageRightCell
:addClass(self.imageRightClass)
:wikitext(self.imageRight or nil)
end
mbox:node(flex_container)
-- Add the below row.
if self.below then
mbox:tag('div')
:addClass('mbox-text mbox-below')
:cssText(self.textstyle or nil)
:wikitext(self.below or nil)
end
-- Add error message for invalid type parameters.
if self.invalidTypeError then
root:tag('div')
:addClass('mbox-invalid-type')
:wikitext(string.format(
'This message box is using an invalid "type=%s" parameter and needs fixing.',
self.type or ''
))
end
-- Add categories.
root:wikitext(self:renderCategories() or nil)
return tostring(root)
end
function MessageBox:export()
local root = mw.html.create()
-- Add the subst check error.
if self.isSubstituted and self.name then
root:tag('b')
:addClass('error')
:wikitext(string.format(
'Template <code>%s[[Template:%s|%s]]%s</code> has been incorrectly substituted.',
mw.text.nowiki('{{'), self.name, self.name, mw.text.nowiki('}}')
))
end
local frame = mw.getCurrentFrame()
root:wikitext(frame:extensionTag{
name = 'templatestyles',
args = { src = self.base_templatestyles },
})
-- Add support for a single custom templatestyles sheet. Undocumented as
-- need should be limited and many templates using mbox are substed; we
-- don't want to spread templatestyles sheets around to arbitrary places
if self.templatestyles then
root:wikitext(frame:extensionTag{
name = 'templatestyles',
args = { src = self.templatestyles },
})
end
-- Create the box table.
local boxTable = root:tag('table')
boxTable:attr('id', self.id or nil)
for i, class in ipairs(self.classes or {}) do
boxTable:addClass(class or nil)
end
boxTable
:cssText(self.style or nil)
:attr('role', 'presentation')
if self.attrs then
boxTable:attr(self.attrs)
end
-- Add the left-hand image.
local row = boxTable:tag('tr')
if self.imageLeft then
local imageLeftCell = row:tag('td'):addClass('mbox-image')
if self.imageCellDiv then
-- If we are using a div, redefine imageLeftCell so that the image
-- is inside it. Divs use style="width: 52px;", which limits the
-- image width to 52px. If any images in a div are wider than that,
-- they may overlap with the text or cause other display problems.
imageLeftCell = imageLeftCell:tag('div'):addClass('mbox-image-div')
end
imageLeftCell
:addClass(self.imageLeftClass)
:wikitext(self.imageLeft or nil)
elseif self.imageEmptyCell then
-- Some message boxes define an empty cell if no image is specified, and
-- some don't. The old template code in templates where empty cells are
-- specified gives the following hint: "No image. Cell with some width
-- or padding necessary for text cell to have 100% width."
row:tag('td')
:addClass('mbox-empty-cell')
end
-- Add the text.
local textCell = row:tag('td'):addClass('mbox-text')
if self.useCollapsibleTextFields then
-- The message box uses advanced text parameters that allow things to be
-- collapsible. At the moment, only ambox uses this.
textCell:cssText(self.textstyle or nil)
local textCellDiv = textCell:tag('div')
textCellDiv
:addClass('mbox-text-span')
:wikitext(self.issue or nil)
if (self.talk or self.fix) then
textCellDiv:tag('span')
:addClass('hide-when-compact')
:wikitext(self.talk and (' ' .. self.talk) or nil)
:wikitext(self.fix and (' ' .. self.fix) or nil)
end
textCellDiv:wikitext(self.date and (' ' .. self.date) or nil)
if self.info and not self.isSmall then
textCellDiv
:tag('span')
:addClass('hide-when-compact')
:wikitext(self.info and (' ' .. self.info) or nil)
end
if self.removalNotice then
textCellDiv:tag('span')
:addClass('hide-when-compact')
:tag('i')
:wikitext(string.format(" (%s)", self.removalNotice))
end
else
-- Default text formatting - anything goes.
textCell
:cssText(self.textstyle or nil)
:wikitext(self.text or nil)
end
-- Add the right-hand image.
if self.imageRight then
local imageRightCell = row:tag('td'):addClass('mbox-imageright')
if self.imageCellDiv then
-- If we are using a div, redefine imageRightCell so that the image
-- is inside it.
imageRightCell = imageRightCell:tag('div'):addClass('mbox-image-div')
end
imageRightCell
:addClass(self.imageRightClass)
:wikitext(self.imageRight or nil)
end
-- Add the below row.
if self.below then
boxTable:tag('tr')
:tag('td')
:attr('colspan', self.imageRight and '3' or '2')
:addClass('mbox-text')
:cssText(self.textstyle or nil)
:wikitext(self.below or nil)
end
-- Add error message for invalid type parameters.
if self.invalidTypeError then
root:tag('div')
:addClass('mbox-invalid-type')
:wikitext(string.format(
'This message box is using an invalid "type=%s" parameter and needs fixing.',
self.type or ''
))
end
-- Add categories.
root:wikitext(self:renderCategories() or nil)
return tostring(root)
end
--------------------------------------------------------------------------------
-- Exports
--------------------------------------------------------------------------------
local p, mt = {}, {}
function p._exportClasses()
-- For testing.
return {
MessageBox = MessageBox
}
end
function p.main(boxType, args, cfgTables)
local box = MessageBox.new(boxType, args, cfgTables or mw.loadData(CONFIG_MODULE))
box:setParameters()
box:setCategories()
-- DIV MIGRATION CONDITIONAL
if box.cfg.div_structure then
return box:exportDiv()
end
-- END DIV MIGRATION CONDITIONAL
return box:export()
end
function mt.__index(t, k)
return function (frame)
if not getArgs then
getArgs = require('Module:Arguments').getArgs
end
return t.main(k, getArgs(frame, {trim = false, removeBlanks = false}))
end
end
return setmetatable(p, mt)
ocboyo877qnpqum2b9fyiquh72vukqa
282478
282477
2026-04-03T05:07:32Z
A826
6806
೧ ಬದಲಾವಣೆ
282477
Scribunto
text/plain
require('strict')
local getArgs
local yesno = require('Module:Yesno')
local lang = mw.language.getContentLanguage()
local CONFIG_MODULE = 'Module:Message box/configuration'
local DEMOSPACES = {talk = 'tmbox', image = 'imbox', file = 'imbox', category = 'cmbox', article = 'ambox', main = 'ambox'}
--------------------------------------------------------------------------------
-- Helper functions
--------------------------------------------------------------------------------
local function getTitleObject(...)
-- Get the title object, passing the function through pcall
-- in case we are over the expensive function count limit.
local success, title = pcall(mw.title.new, ...)
if success then
return title
end
end
local function union(t1, t2)
-- Returns the union of two arrays.
local vals = {}
for i, v in ipairs(t1) do
vals[v] = true
end
for i, v in ipairs(t2) do
vals[v] = true
end
local ret = {}
for k in pairs(vals) do
table.insert(ret, k)
end
table.sort(ret)
return ret
end
local function getArgNums(args, prefix)
local nums = {}
for k, v in pairs(args) do
local num = mw.ustring.match(tostring(k), '^' .. prefix .. '([1-9]%d*)$')
if num then
table.insert(nums, tonumber(num))
end
end
table.sort(nums)
return nums
end
--------------------------------------------------------------------------------
-- Box class definition
--------------------------------------------------------------------------------
local MessageBox = {}
MessageBox.__index = MessageBox
function MessageBox.new(boxType, args, cfg)
args = args or {}
local obj = {}
-- Set the title object and the namespace.
obj.title = getTitleObject(args.page) or mw.title.getCurrentTitle()
-- Set the config for our box type.
obj.cfg = cfg[boxType]
if not obj.cfg then
local ns = obj.title.namespace
-- boxType is "mbox" or invalid input
if args.demospace and args.demospace ~= '' then
-- implement demospace parameter of mbox
local demospace = string.lower(args.demospace)
if DEMOSPACES[demospace] then
-- use template from DEMOSPACES
obj.cfg = cfg[DEMOSPACES[demospace]]
elseif string.find( demospace, 'talk' ) then
-- demo as a talk page
obj.cfg = cfg.tmbox
else
-- default to ombox
obj.cfg = cfg.ombox
end
elseif ns == 0 then
obj.cfg = cfg.ambox -- main namespace
elseif ns == 6 then
obj.cfg = cfg.imbox -- file namespace
elseif ns == 14 then
obj.cfg = cfg.cmbox -- category namespace
else
local nsTable = mw.site.namespaces[ns]
if nsTable and nsTable.isTalk then
obj.cfg = cfg.tmbox -- any talk namespace
else
obj.cfg = cfg.ombox -- other namespaces or invalid input
end
end
end
-- Set the arguments, and remove all blank arguments except for the ones
-- listed in cfg.allowBlankParams.
do
local newArgs = {}
for k, v in pairs(args) do
if v ~= '' then
newArgs[k] = v
end
end
for i, param in ipairs(obj.cfg.allowBlankParams or {}) do
newArgs[param] = args[param]
end
obj.args = newArgs
end
-- Define internal data structure.
obj.categories = {}
obj.classes = {}
-- For lazy loading of [[Module:Category handler]].
obj.hasCategories = false
return setmetatable(obj, MessageBox)
end
function MessageBox:addCat(ns, cat, sort)
if not cat then
return nil
end
if sort then
cat = string.format('[[Category:%s|%s]]', cat, sort)
else
cat = string.format('[[Category:%s]]', cat)
end
self.hasCategories = true
self.categories[ns] = self.categories[ns] or {}
table.insert(self.categories[ns], cat)
end
function MessageBox:addClass(class)
if not class then
return nil
end
table.insert(self.classes, class)
end
function MessageBox:setParameters()
local args = self.args
local cfg = self.cfg
-- Get type data.
self.type = args.type
local typeData = cfg.types[self.type]
self.invalidTypeError = cfg.showInvalidTypeError
and self.type
and not typeData
typeData = typeData or cfg.types[cfg.default]
self.typeClass = typeData.class
self.typeImage = typeData.image
self.typeImageNeedsLink = typeData.imageNeedsLink
-- Find if the box has been wrongly substituted.
self.isSubstituted = cfg.substCheck and args.subst == 'SUBST'
-- Find whether we are using a small message box.
self.isSmall = cfg.allowSmall and (
cfg.smallParam and args.small == cfg.smallParam
or not cfg.smallParam and yesno(args.small)
)
-- Set the below row.
self.below = cfg.below and args.below
-- Add attributes, classes and styles.
self.id = args.id
self.name = args.name
if self.name then
self:addClass('box-' .. string.gsub(self.name,' ','_'))
end
if yesno(args.plainlinks) ~= false then
self:addClass('plainlinks')
end
if self.below then
self:addClass('mbox-with-below')
end
for _, class in ipairs(cfg.classes or {}) do
self:addClass(class)
end
if self.isSmall then
self:addClass(cfg.smallClass or 'mbox-small')
end
self:addClass(self.typeClass)
self:addClass(args.class)
self.style = args.style
self.attrs = args.attrs
-- Set text style.
self.textstyle = args.textstyle
-- Set image classes.
self.imageRightClass = args.imagerightclass or args.imageclass
self.imageLeftClass = args.imageleftclass or args.imageclass
-- Find if we are on the template page or not. This functionality is only
-- used if useCollapsibleTextFields is set, or if both cfg.templateCategory
-- and cfg.templateCategoryRequireName are set.
self.useCollapsibleTextFields = cfg.useCollapsibleTextFields
if self.useCollapsibleTextFields
or cfg.templateCategory
and cfg.templateCategoryRequireName
then
if self.name then
local templateName = mw.ustring.match(
self.name,
'^[tT][eE][mM][pP][lL][aA][tT][eE][%s_]*:[%s_]*(.*)$'
) or self.name
templateName = 'Template:' .. templateName
self.templateTitle = getTitleObject(templateName)
end
self.isTemplatePage = self.templateTitle
and mw.title.equals(self.title, self.templateTitle)
end
-- Process data for collapsible text fields. At the moment these are only
-- used in {{ambox}}.
if self.useCollapsibleTextFields then
-- Get the self.issue value.
if self.isSmall and args.smalltext then
self.issue = args.smalltext
else
local sect
if args.sect == '' then
sect = 'This ' .. (cfg.sectionDefault or 'page')
elseif type(args.sect) == 'string' then
sect = 'This ' .. args.sect
end
local issue = args.issue
issue = type(issue) == 'string' and issue ~= '' and issue or nil
local text = args.text
text = type(text) == 'string' and text or nil
local issues = {}
table.insert(issues, sect)
table.insert(issues, issue)
table.insert(issues, text)
self.issue = table.concat(issues, ' ')
end
-- Get the self.talk value.
local talk = args.talk
-- Show talk links on the template page or template subpages if the talk
-- parameter is blank.
if talk == ''
and self.templateTitle
and (
mw.title.equals(self.templateTitle, self.title)
or self.title:isSubpageOf(self.templateTitle)
)
then
talk = '#'
elseif talk == '' then
talk = nil
end
if talk then
-- If the talk value is a talk page, make a link to that page. Else
-- assume that it's a section heading, and make a link to the talk
-- page of the current page with that section heading.
local talkTitle = getTitleObject(talk)
local talkArgIsTalkPage = true
if not talkTitle or not talkTitle.isTalkPage then
talkArgIsTalkPage = false
talkTitle = getTitleObject(
self.title.text,
mw.site.namespaces[self.title.namespace].talk.id
)
end
if talkTitle and talkTitle.exists then
local talkText
if self.isSmall then
local talkLink = talkArgIsTalkPage and talk or (talkTitle.prefixedText .. (talk == '#' and '' or '#') .. talk)
talkText = string.format('([[%s|talk]])', talkLink)
else
talkText = 'Relevant discussion may be found on'
if talkArgIsTalkPage then
talkText = string.format(
'%s [[%s|%s]].',
talkText,
talk,
talkTitle.prefixedText
)
else
talkText = string.format(
'%s the [[%s' .. (talk == '#' and '' or '#') .. '%s|talk page]].',
talkText,
talkTitle.prefixedText,
talk
)
end
end
self.talk = talkText
end
end
-- Get other values.
self.fix = args.fix ~= '' and args.fix or nil
local date
if args.date and args.date ~= '' then
date = args.date
elseif args.date == '' and self.isTemplatePage then
date = lang:formatDate('F Y')
end
if date then
self.date = string.format(" <span class='date-container'><i>(<span class='date'>%s</span>)</i></span>", date)
end
self.info = args.info
if yesno(args.removalnotice) then
self.removalNotice = cfg.removalNotice
end
end
-- Set the non-collapsible text field. At the moment this is used by all box
-- types other than ambox, and also by ambox when small=yes.
if self.isSmall then
self.text = args.smalltext or args.text
else
self.text = args.text
end
-- General image settings.
self.imageCellDiv = not self.isSmall and cfg.imageCellDiv
self.imageEmptyCell = cfg.imageEmptyCell
-- Left image settings.
local imageLeft = self.isSmall and args.smallimage or args.image
if cfg.imageCheckBlank and imageLeft ~= 'blank' and imageLeft ~= 'none'
or not cfg.imageCheckBlank and imageLeft ~= 'none'
then
self.imageLeft = imageLeft
if not imageLeft then
local imageSize = self.isSmall
and (cfg.imageSmallSize or '30x30px')
or '40x40px'
self.imageLeft = string.format('[[File:%s|%s%s|alt=]]', self.typeImage
or 'Information icon4.svg', imageSize, self.typeImageNeedsLink and "" or "|link=" )
end
end
-- Right image settings.
local imageRight = self.isSmall and args.smallimageright or args.imageright
if not (cfg.imageRightNone and imageRight == 'none') then
self.imageRight = imageRight
end
-- set templatestyles
self.base_templatestyles = cfg.templatestyles
self.templatestyles = args.templatestyles
end
function MessageBox:setMainspaceCategories()
local args = self.args
local cfg = self.cfg
if not cfg.allowMainspaceCategories then
return nil
end
local nums = {}
for _, prefix in ipairs{'cat', 'category', 'all'} do
args[prefix .. '1'] = args[prefix]
nums = union(nums, getArgNums(args, prefix))
end
-- The following is roughly equivalent to the old {{Ambox/category}}.
local date = args.date
date = type(date) == 'string' and date
local preposition = 'from'
for _, num in ipairs(nums) do
local mainCat = args['cat' .. tostring(num)]
or args['category' .. tostring(num)]
local allCat = args['all' .. tostring(num)]
mainCat = type(mainCat) == 'string' and mainCat
allCat = type(allCat) == 'string' and allCat
if mainCat and date and date ~= '' then
local catTitle = string.format('%s %s %s', mainCat, preposition, date)
self:addCat(0, catTitle)
catTitle = getTitleObject('Category:' .. catTitle)
if not catTitle or not catTitle.exists then
self:addCat(0, 'Articles with invalid date parameter in template')
end
elseif mainCat and (not date or date == '') then
self:addCat(0, mainCat)
end
if allCat then
self:addCat(0, allCat)
end
end
end
function MessageBox:setTemplateCategories()
local args = self.args
local cfg = self.cfg
-- Add template categories.
if cfg.templateCategory then
if cfg.templateCategoryRequireName then
if self.isTemplatePage then
self:addCat(10, cfg.templateCategory)
end
elseif not self.title.isSubpage then
self:addCat(10, cfg.templateCategory)
end
end
-- Add template error categories.
if cfg.templateErrorCategory then
local templateErrorCategory = cfg.templateErrorCategory
local templateCat, templateSort
if not self.name and not self.title.isSubpage then
templateCat = templateErrorCategory
elseif self.isTemplatePage then
local paramsToCheck = cfg.templateErrorParamsToCheck or {}
local count = 0
for i, param in ipairs(paramsToCheck) do
if not args[param] then
count = count + 1
end
end
if count > 0 then
templateCat = templateErrorCategory
templateSort = tostring(count)
end
if self.categoryNums and #self.categoryNums > 0 then
templateCat = templateErrorCategory
templateSort = 'C'
end
end
self:addCat(10, templateCat, templateSort)
end
end
function MessageBox:setAllNamespaceCategories()
-- Set categories for all namespaces.
if self.invalidTypeError then
local allSort = (self.title.namespace == 0 and 'Main:' or '') .. self.title.prefixedText
self:addCat('all', 'Wikipedia message box parameter needs fixing', allSort)
end
if self.isSubstituted then
self:addCat('all', 'Pages with incorrectly substituted templates')
end
end
function MessageBox:setCategories()
if self.title.namespace == 0 then
self:setMainspaceCategories()
elseif self.title.namespace == 10 then
self:setTemplateCategories()
end
self:setAllNamespaceCategories()
end
function MessageBox:renderCategories()
if not self.hasCategories then
-- No categories added, no need to pass them to Category handler so,
-- if it was invoked, it would return the empty string.
-- So we shortcut and return the empty string.
return ""
end
-- Convert category tables to strings and pass them through
-- [[Module:Category handler]].
return require('Module:Category handler')._main{
main = table.concat(self.categories[0] or {}),
template = table.concat(self.categories[10] or {}),
all = table.concat(self.categories.all or {}),
nocat = self.args.nocat,
page = self.args.page
}
end
function MessageBox:exportDiv()
local root = mw.html.create()
-- Add the subst check error.
if self.isSubstituted and self.name then
root:tag('b')
:addClass('error')
:wikitext(string.format(
'Template <code>%s[[Template:%s|%s]]%s</code> has been incorrectly substituted.',
mw.text.nowiki('{{'), self.name, self.name, mw.text.nowiki('}}')
))
end
local frame = mw.getCurrentFrame()
root:wikitext(frame:extensionTag{
name = 'templatestyles',
args = { src = self.base_templatestyles },
})
-- Add support for a single custom templatestyles sheet. Undocumented as
-- need should be limited and many templates using mbox are substed; we
-- don't want to spread templatestyles sheets around to arbitrary places
if self.templatestyles then
root:wikitext(frame:extensionTag{
name = 'templatestyles',
args = { src = self.templatestyles },
})
end
-- Create the box.
local mbox = root:tag('div')
mbox:attr('id', self.id or nil)
for i, class in ipairs(self.classes or {}) do
mbox:addClass(class or nil)
end
mbox
:cssText(self.style or nil)
if self.attrs then
mbox:attr(self.attrs)
end
local flex_container
if self.below then
-- we need to wrap the flex components (`image(right)` and `text`) in their
-- own container div to support the `below` parameter
flex_container = mw.html.create('div')
flex_container:addClass('mbox-flex')
else
-- the mbox itself is the parent, so we need no HTML flex_container
flex_container = mw.html.create()
end
-- Add the left-hand image.
if self.imageLeft then
local imageLeftCell = flex_container:tag('div'):addClass('mbox-image')
imageLeftCell
:addClass(self.imageLeftClass)
:wikitext(self.imageLeft or nil)
end
-- Add the text.
local textCell = flex_container:tag('div'):addClass('mbox-text')
if self.useCollapsibleTextFields then
-- The message box uses advanced text parameters that allow things to be
-- collapsible. At the moment, only ambox uses this.
textCell:cssText(self.textstyle or nil)
local textCellDiv = textCell:tag('div')
textCellDiv
:addClass('mbox-text-span')
:wikitext(self.issue or nil)
if (self.talk or self.fix) then
textCellDiv:tag('span')
:addClass('hide-when-compact')
:wikitext(self.talk and (' ' .. self.talk) or nil)
:wikitext(self.fix and (' ' .. self.fix) or nil)
end
textCellDiv:wikitext(self.date and (' ' .. self.date) or nil)
if self.info and not self.isSmall then
textCellDiv
:tag('span')
:addClass('hide-when-compact')
:wikitext(self.info and (' ' .. self.info) or nil)
end
if self.removalNotice then
textCellDiv:tag('span')
:addClass('hide-when-compact')
:tag('i')
:wikitext(string.format(" (%s)", self.removalNotice))
end
else
-- Default text formatting - anything goes.
textCell
:cssText(self.textstyle or nil)
:wikitext(self.text or nil)
end
-- Add the right-hand image.
if self.imageRight then
local imageRightCell = flex_container:tag('div'):addClass('mbox-imageright')
imageRightCell
:addClass(self.imageRightClass)
:wikitext(self.imageRight or nil)
end
mbox:node(flex_container)
-- Add the below row.
if self.below then
mbox:tag('div')
:addClass('mbox-text mbox-below')
:cssText(self.textstyle or nil)
:wikitext(self.below or nil)
end
-- Add error message for invalid type parameters.
if self.invalidTypeError then
root:tag('div')
:addClass('mbox-invalid-type')
:wikitext(string.format(
'This message box is using an invalid "type=%s" parameter and needs fixing.',
self.type or ''
))
end
-- Add categories.
root:wikitext(self:renderCategories() or nil)
return tostring(root)
end
function MessageBox:export()
local root = mw.html.create()
-- Add the subst check error.
if self.isSubstituted and self.name then
root:tag('b')
:addClass('error')
:wikitext(string.format(
'Template <code>%s[[Template:%s|%s]]%s</code> has been incorrectly substituted.',
mw.text.nowiki('{{'), self.name, self.name, mw.text.nowiki('}}')
))
end
local frame = mw.getCurrentFrame()
root:wikitext(frame:extensionTag{
name = 'templatestyles',
args = { src = self.base_templatestyles },
})
-- Add support for a single custom templatestyles sheet. Undocumented as
-- need should be limited and many templates using mbox are substed; we
-- don't want to spread templatestyles sheets around to arbitrary places
if self.templatestyles then
root:wikitext(frame:extensionTag{
name = 'templatestyles',
args = { src = self.templatestyles },
})
end
-- Create the box table.
local boxTable = root:tag('table')
boxTable:attr('id', self.id or nil)
for i, class in ipairs(self.classes or {}) do
boxTable:addClass(class or nil)
end
boxTable
:cssText(self.style or nil)
:attr('role', 'presentation')
if self.attrs then
boxTable:attr(self.attrs)
end
-- Add the left-hand image.
local row = boxTable:tag('tr')
if self.imageLeft then
local imageLeftCell = row:tag('td'):addClass('mbox-image')
if self.imageCellDiv then
-- If we are using a div, redefine imageLeftCell so that the image
-- is inside it. Divs use style="width: 52px;", which limits the
-- image width to 52px. If any images in a div are wider than that,
-- they may overlap with the text or cause other display problems.
imageLeftCell = imageLeftCell:tag('div'):addClass('mbox-image-div')
end
imageLeftCell
:addClass(self.imageLeftClass)
:wikitext(self.imageLeft or nil)
elseif self.imageEmptyCell then
-- Some message boxes define an empty cell if no image is specified, and
-- some don't. The old template code in templates where empty cells are
-- specified gives the following hint: "No image. Cell with some width
-- or padding necessary for text cell to have 100% width."
row:tag('td')
:addClass('mbox-empty-cell')
end
-- Add the text.
local textCell = row:tag('td'):addClass('mbox-text')
if self.useCollapsibleTextFields then
-- The message box uses advanced text parameters that allow things to be
-- collapsible. At the moment, only ambox uses this.
textCell:cssText(self.textstyle or nil)
local textCellDiv = textCell:tag('div')
textCellDiv
:addClass('mbox-text-span')
:wikitext(self.issue or nil)
if (self.talk or self.fix) then
textCellDiv:tag('span')
:addClass('hide-when-compact')
:wikitext(self.talk and (' ' .. self.talk) or nil)
:wikitext(self.fix and (' ' .. self.fix) or nil)
end
textCellDiv:wikitext(self.date and (' ' .. self.date) or nil)
if self.info and not self.isSmall then
textCellDiv
:tag('span')
:addClass('hide-when-compact')
:wikitext(self.info and (' ' .. self.info) or nil)
end
if self.removalNotice then
textCellDiv:tag('span')
:addClass('hide-when-compact')
:tag('i')
:wikitext(string.format(" (%s)", self.removalNotice))
end
else
-- Default text formatting - anything goes.
textCell
:cssText(self.textstyle or nil)
:wikitext(self.text or nil)
end
-- Add the right-hand image.
if self.imageRight then
local imageRightCell = row:tag('td'):addClass('mbox-imageright')
if self.imageCellDiv then
-- If we are using a div, redefine imageRightCell so that the image
-- is inside it.
imageRightCell = imageRightCell:tag('div'):addClass('mbox-image-div')
end
imageRightCell
:addClass(self.imageRightClass)
:wikitext(self.imageRight or nil)
end
-- Add the below row.
if self.below then
boxTable:tag('tr')
:tag('td')
:attr('colspan', self.imageRight and '3' or '2')
:addClass('mbox-text')
:cssText(self.textstyle or nil)
:wikitext(self.below or nil)
end
-- Add error message for invalid type parameters.
if self.invalidTypeError then
root:tag('div')
:addClass('mbox-invalid-type')
:wikitext(string.format(
'This message box is using an invalid "type=%s" parameter and needs fixing.',
self.type or ''
))
end
-- Add categories.
root:wikitext(self:renderCategories() or nil)
return tostring(root)
end
--------------------------------------------------------------------------------
-- Exports
--------------------------------------------------------------------------------
local p, mt = {}, {}
function p._exportClasses()
-- For testing.
return {
MessageBox = MessageBox
}
end
function p.main(boxType, args, cfgTables)
local box = MessageBox.new(boxType, args, cfgTables or mw.loadData(CONFIG_MODULE))
box:setParameters()
box:setCategories()
-- DIV MIGRATION CONDITIONAL
if box.cfg.div_structure then
return box:exportDiv()
end
-- END DIV MIGRATION CONDITIONAL
return box:export()
end
function mt.__index(t, k)
return function (frame)
if not getArgs then
getArgs = require('Module:Arguments').getArgs
end
return t.main(k, getArgs(frame, {trim = false, removeBlanks = false}))
end
end
return setmetatable(p, mt)
ocboyo877qnpqum2b9fyiquh72vukqa
ಮಾಡ್ಯೂಲ್:Message box/configuration
828
11463
282479
278472
2025-10-19T18:19:49Z
w:en>Izno
0
div imbox
282479
Scribunto
text/plain
--------------------------------------------------------------------------------
-- Message box configuration --
-- --
-- This module contains configuration data for [[Module:Message box]]. --
--------------------------------------------------------------------------------
return {
ambox = {
types = {
speedy = {
class = 'ambox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'ambox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'ambox-content',
image = 'Ambox important.svg'
},
style = {
class = 'ambox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'ambox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'ambox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'ambox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
allowBlankParams = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},
allowSmall = true,
smallParam = 'left',
smallClass = 'mbox-small-left',
substCheck = true,
classes = {'metadata', 'ambox'},
imageEmptyCell = true,
imageCheckBlank = true,
imageSmallSize = '20x20px',
imageCellDiv = true,
useCollapsibleTextFields = true,
imageRightNone = true,
sectionDefault = 'article',
allowMainspaceCategories = true,
templateCategory = 'Article message templates',
templateCategoryRequireName = true,
templateErrorCategory = 'Article message templates with missing parameters',
templateErrorParamsToCheck = {'issue', 'fix', 'subst'},
removalNotice = '<small>[[Help:Maintenance template removal|Learn how and when to remove this message]]</small>',
templatestyles = 'Module:Message box/ambox.css'
},
cmbox = {
types = {
speedy = {
class = 'cmbox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'cmbox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'cmbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'cmbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'cmbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'cmbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'cmbox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'cmbox'},
imageEmptyCell = true,
templatestyles = 'Module:Message box/cmbox.css',
div_structure = true,
},
fmbox = {
types = {
warning = {
class = 'fmbox-warning',
image = 'Ambox warning pn.svg'
},
editnotice = {
class = 'fmbox-editnotice',
image = 'Information icon4.svg'
},
system = {
class = 'fmbox-system',
image = 'Information icon4.svg'
}
},
default = 'system',
showInvalidTypeError = true,
classes = {'fmbox'},
imageEmptyCell = false,
imageRightNone = false,
templatestyles = 'Module:Message box/fmbox.css',
div_structure = true,
},
imbox = {
types = {
speedy = {
class = 'imbox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'imbox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'imbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'imbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'imbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'imbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
license = {
class = 'imbox-license licensetpl',
image = 'Imbox-license.svg'
},
["license-related"] = {
class = 'imbox-license',
image = 'Imbox-license.svg'
},
featured = {
class = 'imbox-featured',
image = 'Cscr-featured.svg',
imageNeedsLink = true
},
notice = {
class = 'imbox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'imbox'},
imageEmptyCell = true,
below = true,
templateCategory = 'File message boxes',
templatestyles = 'Module:Message box/imbox.css',
div_structure = true,
},
ombox = {
types = {
speedy = {
class = 'ombox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'ombox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'ombox-content',
image = 'Ambox important.svg'
},
style = {
class = 'ombox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'ombox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'ombox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'ombox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'ombox'},
allowSmall = true,
imageEmptyCell = true,
imageRightNone = true,
templatestyles = 'Module:Message box/ombox.css'
},
tmbox = {
types = {
speedy = {
class = 'tmbox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'tmbox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'tmbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'tmbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'tmbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'tmbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'tmbox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'tmbox'},
allowSmall = true,
imageRightNone = true,
imageEmptyCell = true,
templateCategory = 'Talk message boxes',
templatestyles = 'Module:Message box/tmbox.css'
}
}
p36hrbxjy99m7clj64lhlint2en3bo0
282480
282479
2026-04-03T05:07:32Z
A826
6806
೧ ಬದಲಾವಣೆ
282479
Scribunto
text/plain
--------------------------------------------------------------------------------
-- Message box configuration --
-- --
-- This module contains configuration data for [[Module:Message box]]. --
--------------------------------------------------------------------------------
return {
ambox = {
types = {
speedy = {
class = 'ambox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'ambox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'ambox-content',
image = 'Ambox important.svg'
},
style = {
class = 'ambox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'ambox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'ambox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'ambox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
allowBlankParams = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},
allowSmall = true,
smallParam = 'left',
smallClass = 'mbox-small-left',
substCheck = true,
classes = {'metadata', 'ambox'},
imageEmptyCell = true,
imageCheckBlank = true,
imageSmallSize = '20x20px',
imageCellDiv = true,
useCollapsibleTextFields = true,
imageRightNone = true,
sectionDefault = 'article',
allowMainspaceCategories = true,
templateCategory = 'Article message templates',
templateCategoryRequireName = true,
templateErrorCategory = 'Article message templates with missing parameters',
templateErrorParamsToCheck = {'issue', 'fix', 'subst'},
removalNotice = '<small>[[Help:Maintenance template removal|Learn how and when to remove this message]]</small>',
templatestyles = 'Module:Message box/ambox.css'
},
cmbox = {
types = {
speedy = {
class = 'cmbox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'cmbox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'cmbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'cmbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'cmbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'cmbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'cmbox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'cmbox'},
imageEmptyCell = true,
templatestyles = 'Module:Message box/cmbox.css',
div_structure = true,
},
fmbox = {
types = {
warning = {
class = 'fmbox-warning',
image = 'Ambox warning pn.svg'
},
editnotice = {
class = 'fmbox-editnotice',
image = 'Information icon4.svg'
},
system = {
class = 'fmbox-system',
image = 'Information icon4.svg'
}
},
default = 'system',
showInvalidTypeError = true,
classes = {'fmbox'},
imageEmptyCell = false,
imageRightNone = false,
templatestyles = 'Module:Message box/fmbox.css',
div_structure = true,
},
imbox = {
types = {
speedy = {
class = 'imbox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'imbox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'imbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'imbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'imbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'imbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
license = {
class = 'imbox-license licensetpl',
image = 'Imbox-license.svg'
},
["license-related"] = {
class = 'imbox-license',
image = 'Imbox-license.svg'
},
featured = {
class = 'imbox-featured',
image = 'Cscr-featured.svg',
imageNeedsLink = true
},
notice = {
class = 'imbox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'imbox'},
imageEmptyCell = true,
below = true,
templateCategory = 'File message boxes',
templatestyles = 'Module:Message box/imbox.css',
div_structure = true,
},
ombox = {
types = {
speedy = {
class = 'ombox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'ombox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'ombox-content',
image = 'Ambox important.svg'
},
style = {
class = 'ombox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'ombox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'ombox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'ombox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'ombox'},
allowSmall = true,
imageEmptyCell = true,
imageRightNone = true,
templatestyles = 'Module:Message box/ombox.css'
},
tmbox = {
types = {
speedy = {
class = 'tmbox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'tmbox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'tmbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'tmbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'tmbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'tmbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'tmbox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'tmbox'},
allowSmall = true,
imageRightNone = true,
imageEmptyCell = true,
templateCategory = 'Talk message boxes',
templatestyles = 'Module:Message box/tmbox.css'
}
}
p36hrbxjy99m7clj64lhlint2en3bo0
ಟೆಂಪ್ಲೇಟು:Mbox
10
11479
282531
259819
2022-12-18T05:46:16Z
w:en>TadejM
0
282531
wikitext
text/x-wiki
{{#invoke:Message box|mbox}}<noinclude>
{{documentation}}
<!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->
</noinclude>
aqsrswx233se5jbjaza2b2hrk7pgx53
282532
259820
2026-04-03T05:07:34Z
A826
6806
೧ ಬದಲಾವಣೆ
257954
wikitext
text/x-wiki
{{#invoke:Message box|mbox}}<noinclude>
{{documentation}}
<!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->
</noinclude>
aqsrswx233se5jbjaza2b2hrk7pgx53
ಟೆಂಪ್ಲೇಟು:Main other
10
11486
282533
258197
2025-07-28T14:53:49Z
w:en>Pppery
0
Make substable per request
282533
wikitext
text/x-wiki
{{safesubst:<noinclude/>#switch:
<noinclude><!-- If no or empty "demospace" parameter then detect namespace --></noinclude>
{{safesubst:<noinclude/>#if:{{{demospace|}}}
| {{safesubst:<noinclude/>lc: {{{demospace}}} }} <noinclude><!-- Use lower case "demospace" --></noinclude>
| {{safesubst:<noinclude/>#ifeq:{{safesubst:<noinclude/>NAMESPACE}}|{{safesubst:<noinclude/>ns:0}}
| main
| other
}}
}}
| main = {{{1|}}}
| other
| #default = {{{2|}}}
}}<noinclude>
{{documentation}}
<!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->
</noinclude>
aljcm6nr1pwk5dw5g13lyhxhplulpg5
282534
282533
2026-04-03T05:07:34Z
A826
6806
೧ ಬದಲಾವಣೆ
282533
wikitext
text/x-wiki
{{safesubst:<noinclude/>#switch:
<noinclude><!-- If no or empty "demospace" parameter then detect namespace --></noinclude>
{{safesubst:<noinclude/>#if:{{{demospace|}}}
| {{safesubst:<noinclude/>lc: {{{demospace}}} }} <noinclude><!-- Use lower case "demospace" --></noinclude>
| {{safesubst:<noinclude/>#ifeq:{{safesubst:<noinclude/>NAMESPACE}}|{{safesubst:<noinclude/>ns:0}}
| main
| other
}}
}}
| main = {{{1|}}}
| other
| #default = {{{2|}}}
}}<noinclude>
{{documentation}}
<!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->
</noinclude>
aljcm6nr1pwk5dw5g13lyhxhplulpg5
ಮಾಡ್ಯೂಲ್:Effective protection level
828
11499
282499
256771
2025-09-25T02:35:06Z
w:en>Pppery
0
Handle gadget page
282499
Scribunto
text/plain
local p = {}
-- Returns the permission required to perform a given action on a given title.
-- If no title is specified, the title of the page being displayed is used.
function p._main(action, pagename)
local title
if type(pagename) == 'table' and pagename.prefixedText then
title = pagename
elseif pagename then
title = mw.title.new(pagename)
else
title = mw.title.getCurrentTitle()
end
pagename = title.prefixedText
if action == 'autoreview' then
local level = mw.ext.FlaggedRevs.getStabilitySettings(title)
level = level and level.autoreview
if level == 'review' then
return 'reviewer'
elseif level ~= '' then
return level
else
return nil -- not '*'. a page not being PC-protected is distinct from it being PC-protected with anyone able to review. also not '', as that would mean PC-protected but nobody can review
end
elseif action ~= 'edit' and action ~= 'move' and action ~= 'create' and action ~= 'upload' and action ~= 'undelete' then
error( 'First parameter must be one of edit, move, create, upload, undelete, autoreview', 2 )
end
if title.namespace == 8 then -- MediaWiki namespace
if title.text:sub(-3) == '.js' or title.text:sub(-4) == '.css' or title.contentModel == 'javascript' or title.contentModel == 'css' then -- site JS or CSS page
return 'interfaceadmin'
elseif title.baseText == "Gadgets-definition" then
return 'interfaceadmin'
else -- any non-JS/CSS MediaWiki page
return 'sysop'
end
elseif title.namespace == 2 and title.isSubpage then
if title.contentModel == 'javascript' or title.contentModel == 'css' then -- user JS or CSS page
return 'interfaceadmin'
elseif title.contentModel == 'json' then -- user JSON page
return 'sysop'
end
end
if action == 'undelete' then
return 'sysop'
end
local level = title.protectionLevels[action] and title.protectionLevels[action][1]
if level == 'sysop' or level == 'editprotected' then
return 'sysop'
elseif title.cascadingProtection.restrictions[action] and title.cascadingProtection.restrictions[action][1] then -- used by a cascading-protected page
return 'sysop'
elseif level == 'templateeditor' then
return 'templateeditor'
elseif action == 'move' then
local blacklistentry = mw.ext.TitleBlacklist.test('edit', pagename) -- Testing action edit is correct, since this is for the source page. The target page name gets tested with action move.
if blacklistentry and not blacklistentry.params.autoconfirmed then
return 'templateeditor'
elseif title.namespace == 6 then
return 'filemover'
elseif level == 'extendedconfirmed' then
return 'extendedconfirmed'
else
return 'autoconfirmed'
end
end
local blacklistentry = mw.ext.TitleBlacklist.test(action, pagename)
if blacklistentry then
if not blacklistentry.params.autoconfirmed then
return 'templateeditor'
elseif level == 'extendedconfirmed' then
return 'extendedconfirmed'
else
return 'autoconfirmed'
end
elseif level == 'editsemiprotected' then -- create-semiprotected pages return this for some reason
return 'autoconfirmed'
elseif level then
return level
elseif action == 'upload' then
return 'autoconfirmed'
elseif action == 'create' and title.namespace % 2 == 0 and title.namespace ~= 118 then -- You need to be registered, but not autoconfirmed, to create non-talk pages other than drafts
if title.namespace == 0 then
return 'autoconfirmed' -- Per [[WP:ACPERM]], you need to be autoconfirmed to create pages in mainspace
end
return 'user'
else
return '*'
end
end
setmetatable(p, { __index = function(t, k)
return function(frame)
return t._main(k, frame.args[1])
end
end })
return p
nacj9lsnya0896kpkyuy2onbc6mm6xw
282500
282499
2026-04-03T05:07:33Z
A826
6806
೧ ಬದಲಾವಣೆ
282499
Scribunto
text/plain
local p = {}
-- Returns the permission required to perform a given action on a given title.
-- If no title is specified, the title of the page being displayed is used.
function p._main(action, pagename)
local title
if type(pagename) == 'table' and pagename.prefixedText then
title = pagename
elseif pagename then
title = mw.title.new(pagename)
else
title = mw.title.getCurrentTitle()
end
pagename = title.prefixedText
if action == 'autoreview' then
local level = mw.ext.FlaggedRevs.getStabilitySettings(title)
level = level and level.autoreview
if level == 'review' then
return 'reviewer'
elseif level ~= '' then
return level
else
return nil -- not '*'. a page not being PC-protected is distinct from it being PC-protected with anyone able to review. also not '', as that would mean PC-protected but nobody can review
end
elseif action ~= 'edit' and action ~= 'move' and action ~= 'create' and action ~= 'upload' and action ~= 'undelete' then
error( 'First parameter must be one of edit, move, create, upload, undelete, autoreview', 2 )
end
if title.namespace == 8 then -- MediaWiki namespace
if title.text:sub(-3) == '.js' or title.text:sub(-4) == '.css' or title.contentModel == 'javascript' or title.contentModel == 'css' then -- site JS or CSS page
return 'interfaceadmin'
elseif title.baseText == "Gadgets-definition" then
return 'interfaceadmin'
else -- any non-JS/CSS MediaWiki page
return 'sysop'
end
elseif title.namespace == 2 and title.isSubpage then
if title.contentModel == 'javascript' or title.contentModel == 'css' then -- user JS or CSS page
return 'interfaceadmin'
elseif title.contentModel == 'json' then -- user JSON page
return 'sysop'
end
end
if action == 'undelete' then
return 'sysop'
end
local level = title.protectionLevels[action] and title.protectionLevels[action][1]
if level == 'sysop' or level == 'editprotected' then
return 'sysop'
elseif title.cascadingProtection.restrictions[action] and title.cascadingProtection.restrictions[action][1] then -- used by a cascading-protected page
return 'sysop'
elseif level == 'templateeditor' then
return 'templateeditor'
elseif action == 'move' then
local blacklistentry = mw.ext.TitleBlacklist.test('edit', pagename) -- Testing action edit is correct, since this is for the source page. The target page name gets tested with action move.
if blacklistentry and not blacklistentry.params.autoconfirmed then
return 'templateeditor'
elseif title.namespace == 6 then
return 'filemover'
elseif level == 'extendedconfirmed' then
return 'extendedconfirmed'
else
return 'autoconfirmed'
end
end
local blacklistentry = mw.ext.TitleBlacklist.test(action, pagename)
if blacklistentry then
if not blacklistentry.params.autoconfirmed then
return 'templateeditor'
elseif level == 'extendedconfirmed' then
return 'extendedconfirmed'
else
return 'autoconfirmed'
end
elseif level == 'editsemiprotected' then -- create-semiprotected pages return this for some reason
return 'autoconfirmed'
elseif level then
return level
elseif action == 'upload' then
return 'autoconfirmed'
elseif action == 'create' and title.namespace % 2 == 0 and title.namespace ~= 118 then -- You need to be registered, but not autoconfirmed, to create non-talk pages other than drafts
if title.namespace == 0 then
return 'autoconfirmed' -- Per [[WP:ACPERM]], you need to be autoconfirmed to create pages in mainspace
end
return 'user'
else
return '*'
end
end
setmetatable(p, { __index = function(t, k)
return function(frame)
return t._main(k, frame.args[1])
end
end })
return p
nacj9lsnya0896kpkyuy2onbc6mm6xw
ಮಾಡ್ಯೂಲ್:Protection banner
828
11501
282501
256775
2026-02-18T08:46:08Z
w:en>Krinkle
0
282501
Scribunto
text/plain
-- This module implements {{pp-meta}} and its daughter templates such as
-- {{pp-dispute}}, {{pp-vandalism}} and {{pp-sock}}.
-- Initialise necessary modules.
require('strict')
local makeFileLink = require('Module:File link')._main
local effectiveProtectionLevel = require('Module:Effective protection level')._main
local effectiveProtectionExpiry = require('Module:Effective protection expiry')._main
local yesno = require('Module:Yesno')
-- Lazily initialise modules and objects we don't always need.
local getArgs, makeMessageBox, lang
-- Set constants.
local CONFIG_MODULE = 'Module:Protection banner/config'
--------------------------------------------------------------------------------
-- Helper functions
--------------------------------------------------------------------------------
local function makeCategoryLink(cat, sort)
if cat then
return string.format(
'[[%s:%s|%s]]',
mw.site.namespaces[14].name,
cat,
sort
)
end
end
-- Validation function for the expiry and the protection date
local function validateDate(dateString, dateType)
if not lang then
lang = mw.language.getContentLanguage()
end
local success, result = pcall(lang.formatDate, lang, 'U', dateString)
if success then
result = tonumber(result)
if result then
return result
end
end
error(string.format(
'invalid %s: %s',
dateType,
tostring(dateString)
), 4)
end
local function makeFullUrl(page, query, display)
return string.format(
'[%s %s]',
tostring(mw.uri.fullUrl(page, query)),
display
)
end
-- Given a directed graph formatted as node -> table of direct successors,
-- get a table of all nodes reachable from a given node (though always
-- including the given node).
local function getReachableNodes(graph, start)
local toWalk, retval = {[start] = true}, {}
while true do
-- Can't use pairs() since we're adding and removing things as we're iterating
local k = next(toWalk) -- This always gets the "first" key
if k == nil then
return retval
end
toWalk[k] = nil
retval[k] = true
for _,v in ipairs(graph[k]) do
if not retval[v] then
toWalk[v] = true
end
end
end
end
--------------------------------------------------------------------------------
-- Protection class
--------------------------------------------------------------------------------
local Protection = {}
Protection.__index = Protection
Protection.supportedActions = {
edit = true,
move = true,
autoreview = true,
upload = true
}
Protection.bannerConfigFields = {
'text',
'explanation',
'tooltip',
'alt',
'link',
'image'
}
function Protection.new(args, cfg, title)
local obj = {}
obj._cfg = cfg
obj.title = title or mw.title.getCurrentTitle()
-- Set action
if not args.action then
obj.action = 'edit'
elseif Protection.supportedActions[args.action] then
obj.action = args.action
else
error(string.format(
'invalid action: %s',
tostring(args.action)
), 3)
end
-- Set level
obj.level = args.demolevel or effectiveProtectionLevel(obj.action, obj.title)
if not obj.level or (obj.action == 'move' and obj.level == 'autoconfirmed') then
-- Users need to be autoconfirmed to move pages anyway, so treat
-- semi-move-protected pages as unprotected.
obj.level = '*'
end
-- Set expiry
local effectiveExpiry = effectiveProtectionExpiry(obj.action, obj.title)
if effectiveExpiry == 'infinity' then
obj.expiry = 'indef'
elseif effectiveExpiry ~= 'unknown' then
obj.expiry = validateDate(effectiveExpiry, 'expiry date')
end
-- Set reason
if args[1] then
obj.reason = mw.ustring.lower(args[1])
if obj.reason:find('|') then
error('reasons cannot contain the pipe character ("|")', 3)
end
end
-- Set protection date
if args.date then
obj.protectionDate = validateDate(args.date, 'protection date')
end
-- Set banner config
do
obj.bannerConfig = {}
local configTables = {}
if cfg.banners[obj.action] then
configTables[#configTables + 1] = cfg.banners[obj.action][obj.reason]
end
if cfg.defaultBanners[obj.action] then
configTables[#configTables + 1] = cfg.defaultBanners[obj.action][obj.level]
configTables[#configTables + 1] = cfg.defaultBanners[obj.action].default
end
configTables[#configTables + 1] = cfg.masterBanner
for i, field in ipairs(Protection.bannerConfigFields) do
for j, t in ipairs(configTables) do
if t[field] then
obj.bannerConfig[field] = t[field]
break
end
end
end
end
return setmetatable(obj, Protection)
end
function Protection:isUserScript()
-- Whether the page is a user JavaScript or CSS page.
local title = self.title
return title.namespace == 2 and (
title.contentModel == 'javascript' or title.contentModel == 'css'
)
end
function Protection:isProtected()
return self.level ~= '*'
end
function Protection:shouldShowLock()
-- Whether we should output a banner/padlock
return self:isProtected() and not self:isUserScript()
end
-- Whether this page needs a protection category.
Protection.shouldHaveProtectionCategory = Protection.shouldShowLock
function Protection:isTemporary()
return type(self.expiry) == 'number'
end
function Protection:makeProtectionCategory()
if not self:shouldHaveProtectionCategory() then
return ''
end
local cfg = self._cfg
local title = self.title
-- Get the expiry key fragment.
local expiryFragment
if self.expiry == 'indef' then
expiryFragment = self.expiry
elseif type(self.expiry) == 'number' then
expiryFragment = 'temp'
end
-- Get the namespace key fragment.
local namespaceFragment = cfg.categoryNamespaceKeys[title.namespace]
if not namespaceFragment and title.namespace % 2 == 1 then
namespaceFragment = 'talk'
end
-- Define the order that key fragments are tested in. This is done with an
-- array of tables containing the value to be tested, along with its
-- position in the cfg.protectionCategories table.
local order = {
{val = expiryFragment, keypos = 1},
{val = namespaceFragment, keypos = 2},
{val = self.reason, keypos = 3},
{val = self.level, keypos = 4},
{val = self.action, keypos = 5}
}
--[[
-- The old protection templates used an ad-hoc protection category system,
-- with some templates prioritising namespaces in their categories, and
-- others prioritising the protection reason. To emulate this in this module
-- we use the config table cfg.reasonsWithNamespacePriority to set the
-- reasons for which namespaces have priority over protection reason.
-- If we are dealing with one of those reasons, move the namespace table to
-- the end of the order table, i.e. give it highest priority. If not, the
-- reason should have highest priority, so move that to the end of the table
-- instead.
--]]
table.insert(order, table.remove(order, self.reason and cfg.reasonsWithNamespacePriority[self.reason] and 2 or 3))
--[[
-- Define the attempt order. Inactive subtables (subtables with nil "value"
-- fields) are moved to the end, where they will later be given the key
-- "all". This is to cut down on the number of table lookups in
-- cfg.protectionCategories, which grows exponentially with the number of
-- non-nil keys. We keep track of the number of active subtables with the
-- noActive parameter.
--]]
local noActive, attemptOrder
do
local active, inactive = {}, {}
for i, t in ipairs(order) do
if t.val then
active[#active + 1] = t
else
inactive[#inactive + 1] = t
end
end
noActive = #active
attemptOrder = active
for i, t in ipairs(inactive) do
attemptOrder[#attemptOrder + 1] = t
end
end
--[[
-- Check increasingly generic key combinations until we find a match. If a
-- specific category exists for the combination of key fragments we are
-- given, that match will be found first. If not, we keep trying different
-- key fragment combinations until we match using the key
-- "all-all-all-all-all".
--
-- To generate the keys, we index the key subtables using a binary matrix
-- with indexes i and j. j is only calculated up to the number of active
-- subtables. For example, if there were three active subtables, the matrix
-- would look like this, with 0 corresponding to the key fragment "all", and
-- 1 corresponding to other key fragments.
--
-- j 1 2 3
-- i
-- 1 1 1 1
-- 2 0 1 1
-- 3 1 0 1
-- 4 0 0 1
-- 5 1 1 0
-- 6 0 1 0
-- 7 1 0 0
-- 8 0 0 0
--
-- Values of j higher than the number of active subtables are set
-- to the string "all".
--
-- A key for cfg.protectionCategories is constructed for each value of i.
-- The position of the value in the key is determined by the keypos field in
-- each subtable.
--]]
local cats = cfg.protectionCategories
for i = 1, 2^noActive do
local key = {}
for j, t in ipairs(attemptOrder) do
if j > noActive then
key[t.keypos] = 'all'
else
local quotient = i / 2 ^ (j - 1)
quotient = math.ceil(quotient)
if quotient % 2 == 1 then
key[t.keypos] = t.val
else
key[t.keypos] = 'all'
end
end
end
key = table.concat(key, '|')
local attempt = cats[key]
if attempt then
return makeCategoryLink(attempt, title.text)
end
end
return ''
end
function Protection:isIncorrect()
if not self:shouldHaveProtectionCategory() then
return true
end
if type(self.expiry) ~= 'number' then
return false
end
local expiry = os.date('*t', self.expiry)
-- Avoid checking today.day or os.time(), unless close. https://phabricator.wikimedia.org/T416616
local today = os.date('*t')
return (expiry.year < today.year)
or (expiry.year == today.year and expiry.month < today.month)
or (expiry.year == today.year and expiry.month == today.month and expiry.day < today.day)
or (expiry.year == today.year and expiry.month == today.month and expiry.day == today.day and self.expiry < os.time())
end
function Protection:isTemplateProtectedNonTemplate()
local action, namespace = self.action, self.title.namespace
return self.level == 'templateeditor'
and (
(action ~= 'edit' and action ~= 'move')
or (namespace ~= 10 and namespace ~= 828)
)
end
function Protection:makeCategoryLinks()
local msg = self._cfg.msg
local ret = {self:makeProtectionCategory()}
if self:isIncorrect() then
ret[#ret + 1] = makeCategoryLink(
msg['tracking-category-incorrect'],
self.title.text
)
end
if self:isTemplateProtectedNonTemplate() then
ret[#ret + 1] = makeCategoryLink(
msg['tracking-category-template'],
self.title.text
)
end
return table.concat(ret)
end
--------------------------------------------------------------------------------
-- Blurb class
--------------------------------------------------------------------------------
local Blurb = {}
Blurb.__index = Blurb
Blurb.bannerTextFields = {
text = true,
explanation = true,
tooltip = true,
alt = true,
link = true
}
function Blurb.new(protectionObj, args, cfg)
return setmetatable({
_cfg = cfg,
_protectionObj = protectionObj,
_args = args
}, Blurb)
end
-- Private methods --
function Blurb:_formatDate(num)
-- Formats a Unix timestamp into dd Month, YYYY format.
lang = lang or mw.language.getContentLanguage()
local success, date = pcall(
lang.formatDate,
lang,
self._cfg.msg['expiry-date-format'] or 'j F Y',
'@' .. tostring(num)
)
if success then
return date
end
end
function Blurb:_getExpandedMessage(msgKey)
return self:_substituteParameters(self._cfg.msg[msgKey])
end
function Blurb:_substituteParameters(msg)
if not self._params then
local parameterFuncs = {}
parameterFuncs.CURRENTVERSION = self._makeCurrentVersionParameter
parameterFuncs.EDITREQUEST = self._makeEditRequestParameter
parameterFuncs.EXPIRY = self._makeExpiryParameter
parameterFuncs.EXPLANATIONBLURB = self._makeExplanationBlurbParameter
parameterFuncs.IMAGELINK = self._makeImageLinkParameter
parameterFuncs.INTROBLURB = self._makeIntroBlurbParameter
parameterFuncs.INTROFRAGMENT = self._makeIntroFragmentParameter
parameterFuncs.PAGETYPE = self._makePagetypeParameter
parameterFuncs.PROTECTIONBLURB = self._makeProtectionBlurbParameter
parameterFuncs.PROTECTIONDATE = self._makeProtectionDateParameter
parameterFuncs.PROTECTIONLEVEL = self._makeProtectionLevelParameter
parameterFuncs.PROTECTIONLOG = self._makeProtectionLogParameter
parameterFuncs.TALKPAGE = self._makeTalkPageParameter
parameterFuncs.TOOLTIPBLURB = self._makeTooltipBlurbParameter
parameterFuncs.TOOLTIPFRAGMENT = self._makeTooltipFragmentParameter
parameterFuncs.VANDAL = self._makeVandalTemplateParameter
self._params = setmetatable({}, {
__index = function (t, k)
local param
if parameterFuncs[k] then
param = parameterFuncs[k](self)
end
param = param or ''
t[k] = param
return param
end
})
end
msg = msg:gsub('${(%u+)}', self._params)
return msg
end
function Blurb:_makeCurrentVersionParameter()
-- A link to the page history or the move log, depending on the kind of
-- protection.
local pagename = self._protectionObj.title.prefixedText
if self._protectionObj.action == 'move' then
-- We need the move log link.
return makeFullUrl(
'Special:Log',
{type = 'move', page = pagename},
self:_getExpandedMessage('current-version-move-display')
)
else
-- We need the history link.
return makeFullUrl(
pagename,
{action = 'history'},
self:_getExpandedMessage('current-version-edit-display')
)
end
end
function Blurb:_makeEditRequestParameter()
local mEditRequest = require('Module:Submit an edit request')
local action = self._protectionObj.action
local level = self._protectionObj.level
-- Get the edit request type.
local requestType
if action == 'edit' then
if level == 'autoconfirmed' then
requestType = 'semi'
elseif level == 'extendedconfirmed' then
requestType = 'extended'
elseif level == 'templateeditor' then
requestType = 'template'
end
end
requestType = requestType or 'full'
-- Get the display value.
local display = self:_getExpandedMessage('edit-request-display')
return mEditRequest._link{type = requestType, display = display}
end
function Blurb:_makeExpiryParameter()
local expiry = self._protectionObj.expiry
if type(expiry) == 'number' then
return self:_formatDate(expiry)
else
return expiry
end
end
function Blurb:_makeExplanationBlurbParameter()
-- Cover special cases first.
if self._protectionObj.title.namespace == 8 then
-- MediaWiki namespace
return self:_getExpandedMessage('explanation-blurb-nounprotect')
end
-- Get explanation blurb table keys
local action = self._protectionObj.action
local level = self._protectionObj.level
local talkKey = self._protectionObj.title.isTalkPage and 'talk' or 'subject'
-- Find the message in the explanation blurb table and substitute any
-- parameters.
local explanations = self._cfg.explanationBlurbs
local msg
if explanations[action][level] and explanations[action][level][talkKey] then
msg = explanations[action][level][talkKey]
elseif explanations[action][level] and explanations[action][level].default then
msg = explanations[action][level].default
elseif explanations[action].default and explanations[action].default[talkKey] then
msg = explanations[action].default[talkKey]
elseif explanations[action].default and explanations[action].default.default then
msg = explanations[action].default.default
else
error(string.format(
'could not find explanation blurb for action "%s", level "%s" and talk key "%s"',
action,
level,
talkKey
), 8)
end
return self:_substituteParameters(msg)
end
function Blurb:_makeImageLinkParameter()
local imageLinks = self._cfg.imageLinks
local action = self._protectionObj.action
local level = self._protectionObj.level
local msg
if imageLinks[action][level] then
msg = imageLinks[action][level]
elseif imageLinks[action].default then
msg = imageLinks[action].default
else
msg = imageLinks.edit.default
end
return self:_substituteParameters(msg)
end
function Blurb:_makeIntroBlurbParameter()
if self._protectionObj:isTemporary() then
return self:_getExpandedMessage('intro-blurb-expiry')
else
return self:_getExpandedMessage('intro-blurb-noexpiry')
end
end
function Blurb:_makeIntroFragmentParameter()
if self._protectionObj:isTemporary() then
return self:_getExpandedMessage('intro-fragment-expiry')
else
return self:_getExpandedMessage('intro-fragment-noexpiry')
end
end
function Blurb:_makePagetypeParameter()
local pagetypes = self._cfg.pagetypes
return pagetypes[self._protectionObj.title.namespace]
or pagetypes.default
or error('no default pagetype defined', 8)
end
function Blurb:_makeProtectionBlurbParameter()
local protectionBlurbs = self._cfg.protectionBlurbs
local action = self._protectionObj.action
local level = self._protectionObj.level
local msg
if protectionBlurbs[action][level] then
msg = protectionBlurbs[action][level]
elseif protectionBlurbs[action].default then
msg = protectionBlurbs[action].default
elseif protectionBlurbs.edit.default then
msg = protectionBlurbs.edit.default
else
error('no protection blurb defined for protectionBlurbs.edit.default', 8)
end
return self:_substituteParameters(msg)
end
function Blurb:_makeProtectionDateParameter()
local protectionDate = self._protectionObj.protectionDate
if type(protectionDate) == 'number' then
return self:_formatDate(protectionDate)
else
return protectionDate
end
end
function Blurb:_makeProtectionLevelParameter()
local protectionLevels = self._cfg.protectionLevels
local action = self._protectionObj.action
local level = self._protectionObj.level
local msg
if protectionLevels[action][level] then
msg = protectionLevels[action][level]
elseif protectionLevels[action].default then
msg = protectionLevels[action].default
elseif protectionLevels.edit.default then
msg = protectionLevels.edit.default
else
error('no protection level defined for protectionLevels.edit.default', 8)
end
return self:_substituteParameters(msg)
end
function Blurb:_makeProtectionLogParameter()
local pagename = self._protectionObj.title.prefixedText
if self._protectionObj.action == 'autoreview' then
-- We need the pending changes log.
return makeFullUrl(
'Special:Log',
{type = 'stable', page = pagename},
self:_getExpandedMessage('pc-log-display')
)
else
-- We need the protection log.
return makeFullUrl(
'Special:Log',
{type = 'protect', page = pagename},
self:_getExpandedMessage('protection-log-display')
)
end
end
function Blurb:_makeTalkPageParameter()
return string.format(
'[[%s:%s#%s|%s]]',
mw.site.namespaces[self._protectionObj.title.namespace].talk.name,
self._protectionObj.title.text,
self._args.section or 'top',
self:_getExpandedMessage('talk-page-link-display')
)
end
function Blurb:_makeTooltipBlurbParameter()
if self._protectionObj:isTemporary() then
return self:_getExpandedMessage('tooltip-blurb-expiry')
else
return self:_getExpandedMessage('tooltip-blurb-noexpiry')
end
end
function Blurb:_makeTooltipFragmentParameter()
if self._protectionObj:isTemporary() then
return self:_getExpandedMessage('tooltip-fragment-expiry')
else
return self:_getExpandedMessage('tooltip-fragment-noexpiry')
end
end
function Blurb:_makeVandalTemplateParameter()
return mw.getCurrentFrame():expandTemplate{
title="vandal-m",
args={self._args.user or self._protectionObj.title.baseText}
}
end
-- Public methods --
function Blurb:makeBannerText(key)
-- Validate input.
if not key or not Blurb.bannerTextFields[key] then
error(string.format(
'"%s" is not a valid banner config field',
tostring(key)
), 2)
end
-- Generate the text.
local msg = self._protectionObj.bannerConfig[key]
if type(msg) == 'string' then
return self:_substituteParameters(msg)
elseif type(msg) == 'function' then
msg = msg(self._protectionObj, self._args)
if type(msg) ~= 'string' then
error(string.format(
'bad output from banner config function with key "%s"'
.. ' (expected string, got %s)',
tostring(key),
type(msg)
), 4)
end
return self:_substituteParameters(msg)
end
end
--------------------------------------------------------------------------------
-- BannerTemplate class
--------------------------------------------------------------------------------
local BannerTemplate = {}
BannerTemplate.__index = BannerTemplate
function BannerTemplate.new(protectionObj, cfg)
local obj = {}
obj._cfg = cfg
-- Set the image filename.
local imageFilename = protectionObj.bannerConfig.image
if imageFilename then
obj._imageFilename = imageFilename
else
-- If an image filename isn't specified explicitly in the banner config,
-- generate it from the protection status and the namespace.
local action = protectionObj.action
local level = protectionObj.level
local namespace = protectionObj.title.namespace
local reason = protectionObj.reason
-- Deal with special cases first.
if (
namespace == 10
or namespace == 828
or reason and obj._cfg.indefImageReasons[reason]
)
and action == 'edit'
and level == 'sysop'
and not protectionObj:isTemporary()
then
-- Fully protected modules and templates get the special red "indef"
-- padlock.
obj._imageFilename = obj._cfg.msg['image-filename-indef']
else
-- Deal with regular protection types.
local images = obj._cfg.images
if images[action] then
if images[action][level] then
obj._imageFilename = images[action][level]
elseif images[action].default then
obj._imageFilename = images[action].default
end
end
end
end
return setmetatable(obj, BannerTemplate)
end
function BannerTemplate:renderImage()
local filename = self._imageFilename
or self._cfg.msg['image-filename-default']
or 'Transparent.gif'
return makeFileLink{
file = filename,
size = (self.imageWidth or 20) .. 'px',
alt = self._imageAlt,
link = self._imageLink,
caption = self.imageCaption
}
end
--------------------------------------------------------------------------------
-- Banner class
--------------------------------------------------------------------------------
local Banner = setmetatable({}, BannerTemplate)
Banner.__index = Banner
function Banner.new(protectionObj, blurbObj, cfg)
local obj = BannerTemplate.new(protectionObj, cfg) -- This doesn't need the blurb.
obj.imageWidth = 40
obj.imageCaption = blurbObj:makeBannerText('alt') -- Large banners use the alt text for the tooltip.
obj._reasonText = blurbObj:makeBannerText('text')
obj._explanationText = blurbObj:makeBannerText('explanation')
obj._page = protectionObj.title.prefixedText -- Only makes a difference in testing.
return setmetatable(obj, Banner)
end
function Banner:__tostring()
-- Renders the banner.
makeMessageBox = makeMessageBox or require('Module:Message box').main
local reasonText = self._reasonText or error('no reason text set', 2)
local explanationText = self._explanationText
local mbargs = {
page = self._page,
type = 'protection',
image = self:renderImage(),
text = string.format(
"'''%s'''%s",
reasonText,
explanationText and '<br />' .. explanationText or ''
)
}
return makeMessageBox('mbox', mbargs)
end
--------------------------------------------------------------------------------
-- Padlock class
--------------------------------------------------------------------------------
local Padlock = setmetatable({}, BannerTemplate)
Padlock.__index = Padlock
function Padlock.new(protectionObj, blurbObj, cfg)
local obj = BannerTemplate.new(protectionObj, cfg) -- This doesn't need the blurb.
obj.imageWidth = 20
obj.imageCaption = blurbObj:makeBannerText('tooltip')
obj._imageAlt = blurbObj:makeBannerText('alt')
obj._imageLink = blurbObj:makeBannerText('link')
obj._indicatorName = cfg.padlockIndicatorNames[protectionObj.action]
or cfg.padlockIndicatorNames.default
or 'pp-default'
return setmetatable(obj, Padlock)
end
function Padlock:__tostring()
local frame = mw.getCurrentFrame()
-- The nowiki tag helps prevent whitespace at the top of articles.
return frame:extensionTag{name = 'nowiki'} .. frame:extensionTag{
name = 'indicator',
args = {name = self._indicatorName},
content = self:renderImage()
}
end
--------------------------------------------------------------------------------
-- Exports
--------------------------------------------------------------------------------
local p = {}
function p._exportClasses()
-- This is used for testing purposes.
return {
Protection = Protection,
Blurb = Blurb,
BannerTemplate = BannerTemplate,
Banner = Banner,
Padlock = Padlock,
}
end
function p._main(args, cfg, title)
args = args or {}
cfg = cfg or require(CONFIG_MODULE)
local protectionObj = Protection.new(args, cfg, title)
local ret = {}
-- If a page's edit protection is equally or more restrictive than its
-- protection from some other action, then don't bother displaying anything
-- for the other action (except categories).
if not yesno(args.catonly) and (protectionObj.action == 'edit' or
args.demolevel or
not getReachableNodes(
cfg.hierarchy,
protectionObj.level
)[effectiveProtectionLevel('edit', protectionObj.title)])
then
-- Initialise the blurb object
local blurbObj = Blurb.new(protectionObj, args, cfg)
-- Render the banner
if protectionObj:shouldShowLock() then
ret[#ret + 1] = tostring(
(yesno(args.small) and Padlock or Banner)
.new(protectionObj, blurbObj, cfg)
)
end
end
-- Render the categories
if yesno(args.category) ~= false then
ret[#ret + 1] = protectionObj:makeCategoryLinks()
end
-- For arbitration enforcement, flagging [[WP:PIA]] pages to enable [[Special:AbuseFilter/1339]] to flag edits to them
if protectionObj.level == "extendedconfirmed" then
if require("Module:TableTools").inArray(protectionObj.title.talkPageTitle.categories, "Wikipedia pages subject to the extended confirmed restriction related to the Arab-Israeli conflict") then
ret[#ret + 1] = "<p class='PIA-flag' style='display:none; visibility:hidden;' title='This page is subject to the extended confirmed restriction related to the Arab-Israeli conflict.'></p>"
end
end
return table.concat(ret)
end
function p.main(frame, cfg)
cfg = cfg or require(CONFIG_MODULE)
-- Find default args, if any.
local parent = frame.getParent and frame:getParent()
local defaultArgs = parent and cfg.wrappers[parent:getTitle():gsub('/sandbox$', '')]
-- Find user args, and use the parent frame if we are being called from a
-- wrapper template.
getArgs = getArgs or require('Module:Arguments').getArgs
local userArgs = getArgs(frame, {
parentOnly = defaultArgs,
frameOnly = not defaultArgs
})
-- Build the args table. User-specified args overwrite default args.
local args = {}
for k, v in pairs(defaultArgs or {}) do
args[k] = v
end
for k, v in pairs(userArgs) do
args[k] = v
end
return p._main(args, cfg)
end
return p
o3ocs8c50hagthmsuho5s6y44o0rimz
282502
282501
2026-04-03T05:07:33Z
A826
6806
೧ ಬದಲಾವಣೆ
282501
Scribunto
text/plain
-- This module implements {{pp-meta}} and its daughter templates such as
-- {{pp-dispute}}, {{pp-vandalism}} and {{pp-sock}}.
-- Initialise necessary modules.
require('strict')
local makeFileLink = require('Module:File link')._main
local effectiveProtectionLevel = require('Module:Effective protection level')._main
local effectiveProtectionExpiry = require('Module:Effective protection expiry')._main
local yesno = require('Module:Yesno')
-- Lazily initialise modules and objects we don't always need.
local getArgs, makeMessageBox, lang
-- Set constants.
local CONFIG_MODULE = 'Module:Protection banner/config'
--------------------------------------------------------------------------------
-- Helper functions
--------------------------------------------------------------------------------
local function makeCategoryLink(cat, sort)
if cat then
return string.format(
'[[%s:%s|%s]]',
mw.site.namespaces[14].name,
cat,
sort
)
end
end
-- Validation function for the expiry and the protection date
local function validateDate(dateString, dateType)
if not lang then
lang = mw.language.getContentLanguage()
end
local success, result = pcall(lang.formatDate, lang, 'U', dateString)
if success then
result = tonumber(result)
if result then
return result
end
end
error(string.format(
'invalid %s: %s',
dateType,
tostring(dateString)
), 4)
end
local function makeFullUrl(page, query, display)
return string.format(
'[%s %s]',
tostring(mw.uri.fullUrl(page, query)),
display
)
end
-- Given a directed graph formatted as node -> table of direct successors,
-- get a table of all nodes reachable from a given node (though always
-- including the given node).
local function getReachableNodes(graph, start)
local toWalk, retval = {[start] = true}, {}
while true do
-- Can't use pairs() since we're adding and removing things as we're iterating
local k = next(toWalk) -- This always gets the "first" key
if k == nil then
return retval
end
toWalk[k] = nil
retval[k] = true
for _,v in ipairs(graph[k]) do
if not retval[v] then
toWalk[v] = true
end
end
end
end
--------------------------------------------------------------------------------
-- Protection class
--------------------------------------------------------------------------------
local Protection = {}
Protection.__index = Protection
Protection.supportedActions = {
edit = true,
move = true,
autoreview = true,
upload = true
}
Protection.bannerConfigFields = {
'text',
'explanation',
'tooltip',
'alt',
'link',
'image'
}
function Protection.new(args, cfg, title)
local obj = {}
obj._cfg = cfg
obj.title = title or mw.title.getCurrentTitle()
-- Set action
if not args.action then
obj.action = 'edit'
elseif Protection.supportedActions[args.action] then
obj.action = args.action
else
error(string.format(
'invalid action: %s',
tostring(args.action)
), 3)
end
-- Set level
obj.level = args.demolevel or effectiveProtectionLevel(obj.action, obj.title)
if not obj.level or (obj.action == 'move' and obj.level == 'autoconfirmed') then
-- Users need to be autoconfirmed to move pages anyway, so treat
-- semi-move-protected pages as unprotected.
obj.level = '*'
end
-- Set expiry
local effectiveExpiry = effectiveProtectionExpiry(obj.action, obj.title)
if effectiveExpiry == 'infinity' then
obj.expiry = 'indef'
elseif effectiveExpiry ~= 'unknown' then
obj.expiry = validateDate(effectiveExpiry, 'expiry date')
end
-- Set reason
if args[1] then
obj.reason = mw.ustring.lower(args[1])
if obj.reason:find('|') then
error('reasons cannot contain the pipe character ("|")', 3)
end
end
-- Set protection date
if args.date then
obj.protectionDate = validateDate(args.date, 'protection date')
end
-- Set banner config
do
obj.bannerConfig = {}
local configTables = {}
if cfg.banners[obj.action] then
configTables[#configTables + 1] = cfg.banners[obj.action][obj.reason]
end
if cfg.defaultBanners[obj.action] then
configTables[#configTables + 1] = cfg.defaultBanners[obj.action][obj.level]
configTables[#configTables + 1] = cfg.defaultBanners[obj.action].default
end
configTables[#configTables + 1] = cfg.masterBanner
for i, field in ipairs(Protection.bannerConfigFields) do
for j, t in ipairs(configTables) do
if t[field] then
obj.bannerConfig[field] = t[field]
break
end
end
end
end
return setmetatable(obj, Protection)
end
function Protection:isUserScript()
-- Whether the page is a user JavaScript or CSS page.
local title = self.title
return title.namespace == 2 and (
title.contentModel == 'javascript' or title.contentModel == 'css'
)
end
function Protection:isProtected()
return self.level ~= '*'
end
function Protection:shouldShowLock()
-- Whether we should output a banner/padlock
return self:isProtected() and not self:isUserScript()
end
-- Whether this page needs a protection category.
Protection.shouldHaveProtectionCategory = Protection.shouldShowLock
function Protection:isTemporary()
return type(self.expiry) == 'number'
end
function Protection:makeProtectionCategory()
if not self:shouldHaveProtectionCategory() then
return ''
end
local cfg = self._cfg
local title = self.title
-- Get the expiry key fragment.
local expiryFragment
if self.expiry == 'indef' then
expiryFragment = self.expiry
elseif type(self.expiry) == 'number' then
expiryFragment = 'temp'
end
-- Get the namespace key fragment.
local namespaceFragment = cfg.categoryNamespaceKeys[title.namespace]
if not namespaceFragment and title.namespace % 2 == 1 then
namespaceFragment = 'talk'
end
-- Define the order that key fragments are tested in. This is done with an
-- array of tables containing the value to be tested, along with its
-- position in the cfg.protectionCategories table.
local order = {
{val = expiryFragment, keypos = 1},
{val = namespaceFragment, keypos = 2},
{val = self.reason, keypos = 3},
{val = self.level, keypos = 4},
{val = self.action, keypos = 5}
}
--[[
-- The old protection templates used an ad-hoc protection category system,
-- with some templates prioritising namespaces in their categories, and
-- others prioritising the protection reason. To emulate this in this module
-- we use the config table cfg.reasonsWithNamespacePriority to set the
-- reasons for which namespaces have priority over protection reason.
-- If we are dealing with one of those reasons, move the namespace table to
-- the end of the order table, i.e. give it highest priority. If not, the
-- reason should have highest priority, so move that to the end of the table
-- instead.
--]]
table.insert(order, table.remove(order, self.reason and cfg.reasonsWithNamespacePriority[self.reason] and 2 or 3))
--[[
-- Define the attempt order. Inactive subtables (subtables with nil "value"
-- fields) are moved to the end, where they will later be given the key
-- "all". This is to cut down on the number of table lookups in
-- cfg.protectionCategories, which grows exponentially with the number of
-- non-nil keys. We keep track of the number of active subtables with the
-- noActive parameter.
--]]
local noActive, attemptOrder
do
local active, inactive = {}, {}
for i, t in ipairs(order) do
if t.val then
active[#active + 1] = t
else
inactive[#inactive + 1] = t
end
end
noActive = #active
attemptOrder = active
for i, t in ipairs(inactive) do
attemptOrder[#attemptOrder + 1] = t
end
end
--[[
-- Check increasingly generic key combinations until we find a match. If a
-- specific category exists for the combination of key fragments we are
-- given, that match will be found first. If not, we keep trying different
-- key fragment combinations until we match using the key
-- "all-all-all-all-all".
--
-- To generate the keys, we index the key subtables using a binary matrix
-- with indexes i and j. j is only calculated up to the number of active
-- subtables. For example, if there were three active subtables, the matrix
-- would look like this, with 0 corresponding to the key fragment "all", and
-- 1 corresponding to other key fragments.
--
-- j 1 2 3
-- i
-- 1 1 1 1
-- 2 0 1 1
-- 3 1 0 1
-- 4 0 0 1
-- 5 1 1 0
-- 6 0 1 0
-- 7 1 0 0
-- 8 0 0 0
--
-- Values of j higher than the number of active subtables are set
-- to the string "all".
--
-- A key for cfg.protectionCategories is constructed for each value of i.
-- The position of the value in the key is determined by the keypos field in
-- each subtable.
--]]
local cats = cfg.protectionCategories
for i = 1, 2^noActive do
local key = {}
for j, t in ipairs(attemptOrder) do
if j > noActive then
key[t.keypos] = 'all'
else
local quotient = i / 2 ^ (j - 1)
quotient = math.ceil(quotient)
if quotient % 2 == 1 then
key[t.keypos] = t.val
else
key[t.keypos] = 'all'
end
end
end
key = table.concat(key, '|')
local attempt = cats[key]
if attempt then
return makeCategoryLink(attempt, title.text)
end
end
return ''
end
function Protection:isIncorrect()
if not self:shouldHaveProtectionCategory() then
return true
end
if type(self.expiry) ~= 'number' then
return false
end
local expiry = os.date('*t', self.expiry)
-- Avoid checking today.day or os.time(), unless close. https://phabricator.wikimedia.org/T416616
local today = os.date('*t')
return (expiry.year < today.year)
or (expiry.year == today.year and expiry.month < today.month)
or (expiry.year == today.year and expiry.month == today.month and expiry.day < today.day)
or (expiry.year == today.year and expiry.month == today.month and expiry.day == today.day and self.expiry < os.time())
end
function Protection:isTemplateProtectedNonTemplate()
local action, namespace = self.action, self.title.namespace
return self.level == 'templateeditor'
and (
(action ~= 'edit' and action ~= 'move')
or (namespace ~= 10 and namespace ~= 828)
)
end
function Protection:makeCategoryLinks()
local msg = self._cfg.msg
local ret = {self:makeProtectionCategory()}
if self:isIncorrect() then
ret[#ret + 1] = makeCategoryLink(
msg['tracking-category-incorrect'],
self.title.text
)
end
if self:isTemplateProtectedNonTemplate() then
ret[#ret + 1] = makeCategoryLink(
msg['tracking-category-template'],
self.title.text
)
end
return table.concat(ret)
end
--------------------------------------------------------------------------------
-- Blurb class
--------------------------------------------------------------------------------
local Blurb = {}
Blurb.__index = Blurb
Blurb.bannerTextFields = {
text = true,
explanation = true,
tooltip = true,
alt = true,
link = true
}
function Blurb.new(protectionObj, args, cfg)
return setmetatable({
_cfg = cfg,
_protectionObj = protectionObj,
_args = args
}, Blurb)
end
-- Private methods --
function Blurb:_formatDate(num)
-- Formats a Unix timestamp into dd Month, YYYY format.
lang = lang or mw.language.getContentLanguage()
local success, date = pcall(
lang.formatDate,
lang,
self._cfg.msg['expiry-date-format'] or 'j F Y',
'@' .. tostring(num)
)
if success then
return date
end
end
function Blurb:_getExpandedMessage(msgKey)
return self:_substituteParameters(self._cfg.msg[msgKey])
end
function Blurb:_substituteParameters(msg)
if not self._params then
local parameterFuncs = {}
parameterFuncs.CURRENTVERSION = self._makeCurrentVersionParameter
parameterFuncs.EDITREQUEST = self._makeEditRequestParameter
parameterFuncs.EXPIRY = self._makeExpiryParameter
parameterFuncs.EXPLANATIONBLURB = self._makeExplanationBlurbParameter
parameterFuncs.IMAGELINK = self._makeImageLinkParameter
parameterFuncs.INTROBLURB = self._makeIntroBlurbParameter
parameterFuncs.INTROFRAGMENT = self._makeIntroFragmentParameter
parameterFuncs.PAGETYPE = self._makePagetypeParameter
parameterFuncs.PROTECTIONBLURB = self._makeProtectionBlurbParameter
parameterFuncs.PROTECTIONDATE = self._makeProtectionDateParameter
parameterFuncs.PROTECTIONLEVEL = self._makeProtectionLevelParameter
parameterFuncs.PROTECTIONLOG = self._makeProtectionLogParameter
parameterFuncs.TALKPAGE = self._makeTalkPageParameter
parameterFuncs.TOOLTIPBLURB = self._makeTooltipBlurbParameter
parameterFuncs.TOOLTIPFRAGMENT = self._makeTooltipFragmentParameter
parameterFuncs.VANDAL = self._makeVandalTemplateParameter
self._params = setmetatable({}, {
__index = function (t, k)
local param
if parameterFuncs[k] then
param = parameterFuncs[k](self)
end
param = param or ''
t[k] = param
return param
end
})
end
msg = msg:gsub('${(%u+)}', self._params)
return msg
end
function Blurb:_makeCurrentVersionParameter()
-- A link to the page history or the move log, depending on the kind of
-- protection.
local pagename = self._protectionObj.title.prefixedText
if self._protectionObj.action == 'move' then
-- We need the move log link.
return makeFullUrl(
'Special:Log',
{type = 'move', page = pagename},
self:_getExpandedMessage('current-version-move-display')
)
else
-- We need the history link.
return makeFullUrl(
pagename,
{action = 'history'},
self:_getExpandedMessage('current-version-edit-display')
)
end
end
function Blurb:_makeEditRequestParameter()
local mEditRequest = require('Module:Submit an edit request')
local action = self._protectionObj.action
local level = self._protectionObj.level
-- Get the edit request type.
local requestType
if action == 'edit' then
if level == 'autoconfirmed' then
requestType = 'semi'
elseif level == 'extendedconfirmed' then
requestType = 'extended'
elseif level == 'templateeditor' then
requestType = 'template'
end
end
requestType = requestType or 'full'
-- Get the display value.
local display = self:_getExpandedMessage('edit-request-display')
return mEditRequest._link{type = requestType, display = display}
end
function Blurb:_makeExpiryParameter()
local expiry = self._protectionObj.expiry
if type(expiry) == 'number' then
return self:_formatDate(expiry)
else
return expiry
end
end
function Blurb:_makeExplanationBlurbParameter()
-- Cover special cases first.
if self._protectionObj.title.namespace == 8 then
-- MediaWiki namespace
return self:_getExpandedMessage('explanation-blurb-nounprotect')
end
-- Get explanation blurb table keys
local action = self._protectionObj.action
local level = self._protectionObj.level
local talkKey = self._protectionObj.title.isTalkPage and 'talk' or 'subject'
-- Find the message in the explanation blurb table and substitute any
-- parameters.
local explanations = self._cfg.explanationBlurbs
local msg
if explanations[action][level] and explanations[action][level][talkKey] then
msg = explanations[action][level][talkKey]
elseif explanations[action][level] and explanations[action][level].default then
msg = explanations[action][level].default
elseif explanations[action].default and explanations[action].default[talkKey] then
msg = explanations[action].default[talkKey]
elseif explanations[action].default and explanations[action].default.default then
msg = explanations[action].default.default
else
error(string.format(
'could not find explanation blurb for action "%s", level "%s" and talk key "%s"',
action,
level,
talkKey
), 8)
end
return self:_substituteParameters(msg)
end
function Blurb:_makeImageLinkParameter()
local imageLinks = self._cfg.imageLinks
local action = self._protectionObj.action
local level = self._protectionObj.level
local msg
if imageLinks[action][level] then
msg = imageLinks[action][level]
elseif imageLinks[action].default then
msg = imageLinks[action].default
else
msg = imageLinks.edit.default
end
return self:_substituteParameters(msg)
end
function Blurb:_makeIntroBlurbParameter()
if self._protectionObj:isTemporary() then
return self:_getExpandedMessage('intro-blurb-expiry')
else
return self:_getExpandedMessage('intro-blurb-noexpiry')
end
end
function Blurb:_makeIntroFragmentParameter()
if self._protectionObj:isTemporary() then
return self:_getExpandedMessage('intro-fragment-expiry')
else
return self:_getExpandedMessage('intro-fragment-noexpiry')
end
end
function Blurb:_makePagetypeParameter()
local pagetypes = self._cfg.pagetypes
return pagetypes[self._protectionObj.title.namespace]
or pagetypes.default
or error('no default pagetype defined', 8)
end
function Blurb:_makeProtectionBlurbParameter()
local protectionBlurbs = self._cfg.protectionBlurbs
local action = self._protectionObj.action
local level = self._protectionObj.level
local msg
if protectionBlurbs[action][level] then
msg = protectionBlurbs[action][level]
elseif protectionBlurbs[action].default then
msg = protectionBlurbs[action].default
elseif protectionBlurbs.edit.default then
msg = protectionBlurbs.edit.default
else
error('no protection blurb defined for protectionBlurbs.edit.default', 8)
end
return self:_substituteParameters(msg)
end
function Blurb:_makeProtectionDateParameter()
local protectionDate = self._protectionObj.protectionDate
if type(protectionDate) == 'number' then
return self:_formatDate(protectionDate)
else
return protectionDate
end
end
function Blurb:_makeProtectionLevelParameter()
local protectionLevels = self._cfg.protectionLevels
local action = self._protectionObj.action
local level = self._protectionObj.level
local msg
if protectionLevels[action][level] then
msg = protectionLevels[action][level]
elseif protectionLevels[action].default then
msg = protectionLevels[action].default
elseif protectionLevels.edit.default then
msg = protectionLevels.edit.default
else
error('no protection level defined for protectionLevels.edit.default', 8)
end
return self:_substituteParameters(msg)
end
function Blurb:_makeProtectionLogParameter()
local pagename = self._protectionObj.title.prefixedText
if self._protectionObj.action == 'autoreview' then
-- We need the pending changes log.
return makeFullUrl(
'Special:Log',
{type = 'stable', page = pagename},
self:_getExpandedMessage('pc-log-display')
)
else
-- We need the protection log.
return makeFullUrl(
'Special:Log',
{type = 'protect', page = pagename},
self:_getExpandedMessage('protection-log-display')
)
end
end
function Blurb:_makeTalkPageParameter()
return string.format(
'[[%s:%s#%s|%s]]',
mw.site.namespaces[self._protectionObj.title.namespace].talk.name,
self._protectionObj.title.text,
self._args.section or 'top',
self:_getExpandedMessage('talk-page-link-display')
)
end
function Blurb:_makeTooltipBlurbParameter()
if self._protectionObj:isTemporary() then
return self:_getExpandedMessage('tooltip-blurb-expiry')
else
return self:_getExpandedMessage('tooltip-blurb-noexpiry')
end
end
function Blurb:_makeTooltipFragmentParameter()
if self._protectionObj:isTemporary() then
return self:_getExpandedMessage('tooltip-fragment-expiry')
else
return self:_getExpandedMessage('tooltip-fragment-noexpiry')
end
end
function Blurb:_makeVandalTemplateParameter()
return mw.getCurrentFrame():expandTemplate{
title="vandal-m",
args={self._args.user or self._protectionObj.title.baseText}
}
end
-- Public methods --
function Blurb:makeBannerText(key)
-- Validate input.
if not key or not Blurb.bannerTextFields[key] then
error(string.format(
'"%s" is not a valid banner config field',
tostring(key)
), 2)
end
-- Generate the text.
local msg = self._protectionObj.bannerConfig[key]
if type(msg) == 'string' then
return self:_substituteParameters(msg)
elseif type(msg) == 'function' then
msg = msg(self._protectionObj, self._args)
if type(msg) ~= 'string' then
error(string.format(
'bad output from banner config function with key "%s"'
.. ' (expected string, got %s)',
tostring(key),
type(msg)
), 4)
end
return self:_substituteParameters(msg)
end
end
--------------------------------------------------------------------------------
-- BannerTemplate class
--------------------------------------------------------------------------------
local BannerTemplate = {}
BannerTemplate.__index = BannerTemplate
function BannerTemplate.new(protectionObj, cfg)
local obj = {}
obj._cfg = cfg
-- Set the image filename.
local imageFilename = protectionObj.bannerConfig.image
if imageFilename then
obj._imageFilename = imageFilename
else
-- If an image filename isn't specified explicitly in the banner config,
-- generate it from the protection status and the namespace.
local action = protectionObj.action
local level = protectionObj.level
local namespace = protectionObj.title.namespace
local reason = protectionObj.reason
-- Deal with special cases first.
if (
namespace == 10
or namespace == 828
or reason and obj._cfg.indefImageReasons[reason]
)
and action == 'edit'
and level == 'sysop'
and not protectionObj:isTemporary()
then
-- Fully protected modules and templates get the special red "indef"
-- padlock.
obj._imageFilename = obj._cfg.msg['image-filename-indef']
else
-- Deal with regular protection types.
local images = obj._cfg.images
if images[action] then
if images[action][level] then
obj._imageFilename = images[action][level]
elseif images[action].default then
obj._imageFilename = images[action].default
end
end
end
end
return setmetatable(obj, BannerTemplate)
end
function BannerTemplate:renderImage()
local filename = self._imageFilename
or self._cfg.msg['image-filename-default']
or 'Transparent.gif'
return makeFileLink{
file = filename,
size = (self.imageWidth or 20) .. 'px',
alt = self._imageAlt,
link = self._imageLink,
caption = self.imageCaption
}
end
--------------------------------------------------------------------------------
-- Banner class
--------------------------------------------------------------------------------
local Banner = setmetatable({}, BannerTemplate)
Banner.__index = Banner
function Banner.new(protectionObj, blurbObj, cfg)
local obj = BannerTemplate.new(protectionObj, cfg) -- This doesn't need the blurb.
obj.imageWidth = 40
obj.imageCaption = blurbObj:makeBannerText('alt') -- Large banners use the alt text for the tooltip.
obj._reasonText = blurbObj:makeBannerText('text')
obj._explanationText = blurbObj:makeBannerText('explanation')
obj._page = protectionObj.title.prefixedText -- Only makes a difference in testing.
return setmetatable(obj, Banner)
end
function Banner:__tostring()
-- Renders the banner.
makeMessageBox = makeMessageBox or require('Module:Message box').main
local reasonText = self._reasonText or error('no reason text set', 2)
local explanationText = self._explanationText
local mbargs = {
page = self._page,
type = 'protection',
image = self:renderImage(),
text = string.format(
"'''%s'''%s",
reasonText,
explanationText and '<br />' .. explanationText or ''
)
}
return makeMessageBox('mbox', mbargs)
end
--------------------------------------------------------------------------------
-- Padlock class
--------------------------------------------------------------------------------
local Padlock = setmetatable({}, BannerTemplate)
Padlock.__index = Padlock
function Padlock.new(protectionObj, blurbObj, cfg)
local obj = BannerTemplate.new(protectionObj, cfg) -- This doesn't need the blurb.
obj.imageWidth = 20
obj.imageCaption = blurbObj:makeBannerText('tooltip')
obj._imageAlt = blurbObj:makeBannerText('alt')
obj._imageLink = blurbObj:makeBannerText('link')
obj._indicatorName = cfg.padlockIndicatorNames[protectionObj.action]
or cfg.padlockIndicatorNames.default
or 'pp-default'
return setmetatable(obj, Padlock)
end
function Padlock:__tostring()
local frame = mw.getCurrentFrame()
-- The nowiki tag helps prevent whitespace at the top of articles.
return frame:extensionTag{name = 'nowiki'} .. frame:extensionTag{
name = 'indicator',
args = {name = self._indicatorName},
content = self:renderImage()
}
end
--------------------------------------------------------------------------------
-- Exports
--------------------------------------------------------------------------------
local p = {}
function p._exportClasses()
-- This is used for testing purposes.
return {
Protection = Protection,
Blurb = Blurb,
BannerTemplate = BannerTemplate,
Banner = Banner,
Padlock = Padlock,
}
end
function p._main(args, cfg, title)
args = args or {}
cfg = cfg or require(CONFIG_MODULE)
local protectionObj = Protection.new(args, cfg, title)
local ret = {}
-- If a page's edit protection is equally or more restrictive than its
-- protection from some other action, then don't bother displaying anything
-- for the other action (except categories).
if not yesno(args.catonly) and (protectionObj.action == 'edit' or
args.demolevel or
not getReachableNodes(
cfg.hierarchy,
protectionObj.level
)[effectiveProtectionLevel('edit', protectionObj.title)])
then
-- Initialise the blurb object
local blurbObj = Blurb.new(protectionObj, args, cfg)
-- Render the banner
if protectionObj:shouldShowLock() then
ret[#ret + 1] = tostring(
(yesno(args.small) and Padlock or Banner)
.new(protectionObj, blurbObj, cfg)
)
end
end
-- Render the categories
if yesno(args.category) ~= false then
ret[#ret + 1] = protectionObj:makeCategoryLinks()
end
-- For arbitration enforcement, flagging [[WP:PIA]] pages to enable [[Special:AbuseFilter/1339]] to flag edits to them
if protectionObj.level == "extendedconfirmed" then
if require("Module:TableTools").inArray(protectionObj.title.talkPageTitle.categories, "Wikipedia pages subject to the extended confirmed restriction related to the Arab-Israeli conflict") then
ret[#ret + 1] = "<p class='PIA-flag' style='display:none; visibility:hidden;' title='This page is subject to the extended confirmed restriction related to the Arab-Israeli conflict.'></p>"
end
end
return table.concat(ret)
end
function p.main(frame, cfg)
cfg = cfg or require(CONFIG_MODULE)
-- Find default args, if any.
local parent = frame.getParent and frame:getParent()
local defaultArgs = parent and cfg.wrappers[parent:getTitle():gsub('/sandbox$', '')]
-- Find user args, and use the parent frame if we are being called from a
-- wrapper template.
getArgs = getArgs or require('Module:Arguments').getArgs
local userArgs = getArgs(frame, {
parentOnly = defaultArgs,
frameOnly = not defaultArgs
})
-- Build the args table. User-specified args overwrite default args.
local args = {}
for k, v in pairs(defaultArgs or {}) do
args[k] = v
end
for k, v in pairs(userArgs) do
args[k] = v
end
return p._main(args, cfg)
end
return p
o3ocs8c50hagthmsuho5s6y44o0rimz
ಮಾಡ್ಯೂಲ್:Protection banner/config
828
11502
282503
256777
2025-01-13T14:33:44Z
w:en>Jonesey95
0
fix alt text to match name of protection level
282503
Scribunto
text/plain
-- This module provides configuration data for [[Module:Protection banner]].
return {
--------------------------------------------------------------------------------
--
-- BANNER DATA
--
--------------------------------------------------------------------------------
--[[
-- Banner data consists of six fields:
-- * text - the main protection text that appears at the top of protection
-- banners.
-- * explanation - the text that appears below the main protection text, used
-- to explain the details of the protection.
-- * tooltip - the tooltip text you see when you move the mouse over a small
-- padlock icon.
-- * link - the page that the small padlock icon links to.
-- * alt - the alt text for the small padlock icon. This is also used as tooltip
-- text for the large protection banners.
-- * image - the padlock image used in both protection banners and small padlock
-- icons.
--
-- The module checks in three separate tables to find a value for each field.
-- First it checks the banners table, which has values specific to the reason
-- for the page being protected. Then the module checks the defaultBanners
-- table, which has values specific to each protection level. Finally, the
-- module checks the masterBanner table, which holds data for protection
-- templates to use if no data has been found in the previous two tables.
--
-- The values in the banner data can take parameters. These are specified
-- using ${TEXTLIKETHIS} (a dollar sign preceding a parameter name
-- enclosed in curly braces).
--
-- Available parameters:
--
-- ${CURRENTVERSION} - a link to the page history or the move log, with the
-- display message "current-version-edit-display" or
-- "current-version-move-display".
--
-- ${EDITREQUEST} - a link to create an edit request for the current page.
--
-- ${EXPLANATIONBLURB} - an explanation blurb, e.g. "Please discuss any changes
-- on the talk page; you may submit a request to ask an administrator to make
-- an edit if it is minor or supported by consensus."
--
-- ${IMAGELINK} - a link to set the image to, depending on the protection
-- action and protection level.
--
-- ${INTROBLURB} - the PROTECTIONBLURB parameter, plus the expiry if an expiry
-- is set. E.g. "Editing of this page by new or unregistered users is currently
-- disabled until dd Month YYYY."
--
-- ${INTROFRAGMENT} - the same as ${INTROBLURB}, but without final punctuation
-- so that it can be used in run-on sentences.
--
-- ${PAGETYPE} - the type of the page, e.g. "article" or "template".
-- Defined in the cfg.pagetypes table.
--
-- ${PROTECTIONBLURB} - a blurb explaining the protection level of the page, e.g.
-- "Editing of this page by new or unregistered users is currently disabled"
--
-- ${PROTECTIONDATE} - the protection date, if it has been supplied to the
-- template.
--
-- ${PROTECTIONLEVEL} - the protection level, e.g. "fully protected" or
-- "semi-protected".
--
-- ${PROTECTIONLOG} - a link to the protection log or the pending changes log,
-- depending on the protection action.
--
-- ${TALKPAGE} - a link to the talk page. If a section is specified, links
-- straight to that talk page section.
--
-- ${TOOLTIPBLURB} - uses the PAGETYPE, PROTECTIONTYPE and EXPIRY parameters to
-- create a blurb like "This template is semi-protected", or "This article is
-- move-protected until DD Month YYYY".
--
-- ${VANDAL} - links for the specified username (or the root page name)
-- using Module:Vandal-m.
--
-- Functions
--
-- For advanced users, it is possible to use Lua functions instead of strings
-- in the banner config tables. Using functions gives flexibility that is not
-- possible just by using parameters. Functions take two arguments, the
-- protection object and the template arguments, and they must output a string.
--
-- For example:
--
-- text = function (protectionObj, args)
-- if protectionObj.level == 'autoconfirmed' then
-- return 'foo'
-- else
-- return 'bar'
-- end
-- end
--
-- Some protection object properties and methods that may be useful:
-- protectionObj.action - the protection action
-- protectionObj.level - the protection level
-- protectionObj.reason - the protection reason
-- protectionObj.expiry - the expiry. Nil if unset, the string "indef" if set
-- to indefinite, and the protection time in unix time if temporary.
-- protectionObj.protectionDate - the protection date in unix time, or nil if
-- unspecified.
-- protectionObj.bannerConfig - the banner config found by the module. Beware
-- of editing the config field used by the function, as it could create an
-- infinite loop.
-- protectionObj:isProtected - returns a boolean showing whether the page is
-- protected.
-- protectionObj:isTemporary - returns a boolean showing whether the expiry is
-- temporary.
-- protectionObj:isIncorrect - returns a boolean showing whether the protection
-- template is incorrect.
--]]
-- The master banner data, used if no values have been found in banners or
-- defaultBanners.
masterBanner = {
text = '${INTROBLURB}',
explanation = '${EXPLANATIONBLURB}',
tooltip = '${TOOLTIPBLURB}',
link = '${IMAGELINK}',
alt = 'Page ${PROTECTIONLEVEL}'
},
-- The default banner data. This holds banner data for different protection
-- levels.
-- *required* - this table needs edit, move, autoreview and upload subtables.
defaultBanners = {
edit = {},
move = {},
autoreview = {
default = {
alt = 'Page protected with pending changes',
tooltip = 'All edits by unregistered and new users are subject to review prior to becoming visible to unregistered users',
image = 'Pending-protection-shackle.svg'
}
},
upload = {}
},
-- The banner data. This holds banner data for different protection reasons.
-- In fact, the reasons specified in this table control which reasons are
-- valid inputs to the first positional parameter.
--
-- There is also a non-standard "description" field that can be used for items
-- in this table. This is a description of the protection reason for use in the
-- module documentation.
--
-- *required* - this table needs edit, move, autoreview and upload subtables.
banners = {
edit = {
blp = {
description = 'For pages protected to promote compliance with the'
.. ' [[Wikipedia:Biographies of living persons'
.. '|biographies of living persons]] policy',
text = '${INTROFRAGMENT} to promote compliance with'
.. ' [[Wikipedia:Biographies of living persons'
.. "|Wikipedia's policy on the biographies"
.. ' of living people]].',
tooltip = '${TOOLTIPFRAGMENT} to promote compliance with the policy on'
.. ' biographies of living persons',
},
dmca = {
description = 'For pages protected by the Wikimedia Foundation'
.. ' due to [[Digital Millennium Copyright Act]] takedown requests',
explanation = function (protectionObj, args)
local ret = 'Pursuant to a rights owner notice under the Digital'
.. ' Millennium Copyright Act (DMCA) regarding some content'
.. ' in this article, the Wikimedia Foundation acted under'
.. ' applicable law and took down and restricted the content'
.. ' in question.'
if args.notice then
ret = ret .. ' A copy of the received notice can be found here: '
.. args.notice .. '.'
end
ret = ret .. ' For more information, including websites discussing'
.. ' how to file a counter-notice, please see'
.. " [[Wikipedia:Office actions]] and the article's ${TALKPAGE}."
.. "'''Do not remove this template from the article until the"
.. " restrictions are withdrawn'''."
return ret
end,
image = 'Office-protection-shackle.svg',
link = 'Wikipedia:Protection policy#office',
},
dispute = {
description = 'For pages protected due to editing disputes',
text = function (protectionObj, args)
-- Find the value of "disputes".
local display = 'disputes'
local disputes
if args.section then
disputes = string.format(
'[[%s:%s#%s|%s]]',
mw.site.namespaces[protectionObj.title.namespace].talk.name,
protectionObj.title.text,
args.section,
display
)
else
disputes = display
end
-- Make the blurb, depending on the expiry.
local msg
if type(protectionObj.expiry) == 'number' then
msg = '${INTROFRAGMENT} or until editing %s have been resolved.'
else
msg = '${INTROFRAGMENT} until editing %s have been resolved.'
end
return string.format(msg, disputes)
end,
explanation = "This protection is '''not''' an endorsement of the"
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
tooltip = '${TOOLTIPFRAGMENT} due to editing disputes',
},
ecp = {
description = 'For articles in topic areas authorized by'
.. ' [[Wikipedia:Arbitration Committee|ArbCom]] or'
.. ' meets the criteria for community use',
tooltip = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}',
alt = 'Extended-protected ${PAGETYPE}',
},
mainpage = {
description = 'For pages protected for being displayed on the [[Main Page]]',
text = 'This file is currently'
.. ' [[Wikipedia:This page is protected|protected]] from'
.. ' editing because it is currently or will soon be displayed'
.. ' on the [[Main Page]].',
explanation = 'Images on the Main Page are protected due to their high'
.. ' visibility. Please discuss any necessary changes on the ${TALKPAGE}.'
.. '<br /><span style="font-size:90%;">'
.. "'''Administrators:''' Once this image is definitely off the Main Page,"
.. ' please unprotect this file, or reduce to semi-protection,'
.. ' as appropriate.</span>',
},
office = {
description = 'For pages protected by the Wikimedia Foundation',
text = function (protectionObj, args)
local ret = 'This ${PAGETYPE} is currently under the'
.. ' scrutiny of the'
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' and is protected.'
if protectionObj.protectionDate then
ret = ret .. ' It has been protected since ${PROTECTIONDATE}.'
end
return ret
end,
explanation = "If you can edit this page, please discuss all changes and"
.. " additions on the ${TALKPAGE} first. '''Do not remove protection from this"
.. " page unless you are authorized by the Wikimedia Foundation to do"
.. " so.'''",
image = 'Office-protection-shackle.svg',
link = 'Wikipedia:Protection policy#office',
},
reset = {
description = 'For pages protected by the Wikimedia Foundation and'
.. ' "reset" to a bare-bones version',
text = 'This ${PAGETYPE} is currently under the'
.. ' scrutiny of the'
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' and is protected.',
explanation = function (protectionObj, args)
local ret = ''
if protectionObj.protectionDate then
ret = ret .. 'On ${PROTECTIONDATE} this ${PAGETYPE} was'
else
ret = ret .. 'This ${PAGETYPE} has been'
end
ret = ret .. ' reduced to a'
.. ' simplified, "bare bones" version so that it may be completely'
.. ' rewritten to ensure it meets the policies of'
.. ' [[WP:NPOV|Neutral Point of View]] and [[WP:V|Verifiability]].'
.. ' Standard Wikipedia policies will apply to its rewriting—which'
.. ' will eventually be open to all editors—and will be strictly'
.. ' enforced. The ${PAGETYPE} has been ${PROTECTIONLEVEL} while'
.. ' it is being rebuilt.\n\n'
.. 'Any insertion of material directly from'
.. ' pre-protection revisions of the ${PAGETYPE} will be removed, as'
.. ' will any material added to the ${PAGETYPE} that is not properly'
.. ' sourced. The associated talk page(s) were also cleared on the'
.. " same date.\n\n"
.. "If you can edit this page, please discuss all changes and"
.. " additions on the ${TALKPAGE} first. '''Do not override"
.. " this action, and do not remove protection from this page,"
.. " unless you are authorized by the Wikimedia Foundation"
.. " to do so. No editor may remove this notice.'''"
return ret
end,
image = 'Office-protection-shackle.svg',
link = 'Wikipedia:Protection policy#office',
},
sock = {
description = 'For pages protected due to'
.. ' [[Wikipedia:Sock puppetry|sock puppetry]]',
text = '${INTROFRAGMENT} to prevent [[Wikipedia:Sock puppetry|sock puppets]] of'
.. ' [[Wikipedia:Blocking policy|blocked]] or'
.. ' [[Wikipedia:Banning policy|banned users]]'
.. ' from editing it.',
tooltip = '${TOOLTIPFRAGMENT} to prevent sock puppets of blocked or banned users from'
.. ' editing it',
},
template = {
description = 'For [[Wikipedia:High-risk templates|high-risk]]'
.. ' templates and Lua modules',
text = 'This is a permanently [[Help:Protection|protected]] ${PAGETYPE},'
.. ' as it is [[Wikipedia:High-risk templates|high-risk]].',
explanation = 'Please discuss any changes on the ${TALKPAGE}; you may'
.. ' ${EDITREQUEST} to ask an'
.. ' [[Wikipedia:Administrators|administrator]] or'
.. ' [[Wikipedia:Template editor|template editor]] to make an edit if'
.. ' it is [[Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by'
.. ' [[Wikipedia:Consensus|consensus]]. You can also'
.. ' [[Wikipedia:Requests for page protection|request]] that the page be'
.. ' unprotected.',
tooltip = 'This high-risk ${PAGETYPE} is permanently ${PROTECTIONLEVEL}'
.. ' to prevent vandalism',
alt = 'Permanently protected ${PAGETYPE}',
},
usertalk = {
description = 'For pages protected against disruptive edits by a'
.. ' particular user',
text = '${INTROFRAGMENT} to prevent ${VANDAL} from using it to make disruptive edits,'
.. ' such as abusing the'
.. ' {{[[Template:unblock|unblock]]}} template.',
explanation = 'If you cannot edit this user talk page and you need to'
.. ' make a change or leave a message, you can'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for edits to a protected page'
.. '|request an edit]],'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]],'
.. ' [[Special:Userlogin|log in]],'
.. ' or [[Special:UserLogin/signup|create an account]].',
},
vandalism = {
description = 'For pages protected against'
.. ' [[Wikipedia:Vandalism|vandalism]]',
text = '${INTROFRAGMENT} due to [[Wikipedia:Vandalism|vandalism]].',
explanation = function (protectionObj, args)
local ret = ''
if protectionObj.level == 'sysop' then
ret = ret .. "This protection is '''not''' an endorsement of the"
.. ' ${CURRENTVERSION}. '
end
return ret .. '${EXPLANATIONBLURB}'
end,
tooltip = '${TOOLTIPFRAGMENT} due to vandalism',
}
},
move = {
dispute = {
description = 'For pages protected against page moves due to'
.. ' disputes over the page title',
explanation = "This protection is '''not''' an endorsement of the"
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
image = 'Move-protection-shackle.svg'
},
vandalism = {
description = 'For pages protected against'
.. ' [[Wikipedia:Vandalism#Page-move vandalism'
.. ' |page-move vandalism]]'
}
},
autoreview = {},
upload = {}
},
--------------------------------------------------------------------------------
--
-- GENERAL DATA TABLES
--
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Protection blurbs
--------------------------------------------------------------------------------
-- This table produces the protection blurbs available with the
-- ${PROTECTIONBLURB} parameter. It is sorted by protection action and
-- protection level, and is checked by the module in the following order:
-- 1. page's protection action, page's protection level
-- 2. page's protection action, default protection level
-- 3. "edit" protection action, default protection level
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and upload subtables.
protectionBlurbs = {
edit = {
default = 'This ${PAGETYPE} is currently [[Help:Protection|'
.. 'protected]] from editing',
autoconfirmed = 'Editing of this ${PAGETYPE} by [[Wikipedia:User access'
.. ' levels#New users|new]] or [[Wikipedia:User access levels#Unregistered'
.. ' users|unregistered]] users is currently [[Help:Protection|disabled]]',
extendedconfirmed = 'This ${PAGETYPE} is currently under extended confirmed protection',
},
move = {
default = 'This ${PAGETYPE} is currently [[Help:Protection|protected]]'
.. ' from [[Help:Moving a page|page moves]]'
},
autoreview = {
default = 'All edits made to this ${PAGETYPE} by'
.. ' [[Wikipedia:User access levels#New users|new]] or'
.. ' [[Wikipedia:User access levels#Unregistered users|unregistered]]'
.. ' users are currently'
.. ' [[Wikipedia:Pending changes|subject to review]]'
},
upload = {
default = 'Uploading new versions of this ${PAGETYPE} is currently disabled'
}
},
--------------------------------------------------------------------------------
-- Explanation blurbs
--------------------------------------------------------------------------------
-- This table produces the explanation blurbs available with the
-- ${EXPLANATIONBLURB} parameter. It is sorted by protection action,
-- protection level, and whether the page is a talk page or not. If the page is
-- a talk page it will have a talk key of "talk"; otherwise it will have a talk
-- key of "subject". The table is checked in the following order:
-- 1. page's protection action, page's protection level, page's talk key
-- 2. page's protection action, page's protection level, default talk key
-- 3. page's protection action, default protection level, page's talk key
-- 4. page's protection action, default protection level, default talk key
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and upload subtables.
explanationBlurbs = {
edit = {
autoconfirmed = {
subject = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you'
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can'
.. ' ${EDITREQUEST}, discuss changes on the ${TALKPAGE},'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. ' [[Special:UserLogin/signup|create an account]].',
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you'
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. ' [[Special:UserLogin/signup|create an account]].',
},
extendedconfirmed = {
default = 'Extended confirmed protection prevents edits from all unregistered editors'
.. ' and registered users with fewer than 30 days tenure and 500 edits.'
.. ' The [[Wikipedia:Protection policy#extended|policy on community use]]'
.. ' specifies that extended confirmed protection can be applied to combat'
.. ' disruption, if semi-protection has proven to be ineffective.'
.. ' Extended confirmed protection may also be applied to enforce'
.. ' [[Wikipedia:Arbitration Committee|arbitration sanctions]].'
.. ' Please discuss any changes on the ${TALKPAGE}; you may'
.. ' ${EDITREQUEST} to ask for uncontroversial changes supported by'
.. ' [[Wikipedia:Consensus|consensus]].'
},
default = {
subject = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Please discuss any changes on the ${TALKPAGE}; you'
.. ' may ${EDITREQUEST} to ask an'
.. ' [[Wikipedia:Administrators|administrator]] to make an edit if it'
.. ' is [[Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by [[Wikipedia:Consensus'
.. '|consensus]]. You may also [[Wikipedia:Requests for'
.. ' page protection#Current requests for reduction in protection level'
.. '|request]] that this page be unprotected.',
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' You may [[Wikipedia:Requests for page'
.. ' protection#Current requests for edits to a protected page|request an'
.. ' edit]] to this page, or [[Wikipedia:Requests for'
.. ' page protection#Current requests for reduction in protection level'
.. '|ask]] for it to be unprotected.'
}
},
move = {
default = {
subject = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' The page may still be edited but cannot be moved'
.. ' until unprotected. Please discuss any suggested moves on the'
.. ' ${TALKPAGE} or at [[Wikipedia:Requested moves]]. You can also'
.. ' [[Wikipedia:Requests for page protection|request]] that the page be'
.. ' unprotected.',
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' The page may still be edited but cannot be moved'
.. ' until unprotected. Please discuss any suggested moves at'
.. ' [[Wikipedia:Requested moves]]. You can also'
.. ' [[Wikipedia:Requests for page protection|request]] that the page be'
.. ' unprotected.'
}
},
autoreview = {
default = {
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Edits to this ${PAGETYPE} by new and unregistered users'
.. ' will not be visible to readers until they are accepted by'
.. ' a reviewer. To avoid the need for your edits to be'
.. ' reviewed, you may'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. ' [[Special:UserLogin/signup|create an account]].'
},
},
upload = {
default = {
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' The page may still be edited but new versions of the file'
.. ' cannot be uploaded until it is unprotected. You can'
.. ' request that a new version be uploaded by using a'
.. ' [[Wikipedia:Edit requests|protected edit request]], or you'
.. ' can [[Wikipedia:Requests for page protection|request]]'
.. ' that the file be unprotected.'
}
}
},
--------------------------------------------------------------------------------
-- Protection levels
--------------------------------------------------------------------------------
-- This table provides the data for the ${PROTECTIONLEVEL} parameter, which
-- produces a short label for different protection levels. It is sorted by
-- protection action and protection level, and is checked in the following
-- order:
-- 1. page's protection action, page's protection level
-- 2. page's protection action, default protection level
-- 3. "edit" protection action, default protection level
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and upload subtables.
protectionLevels = {
edit = {
default = 'protected',
templateeditor = 'template-protected',
extendedconfirmed = 'extended-confirmed-protected',
autoconfirmed = 'semi-protected',
},
move = {
default = 'move-protected'
},
autoreview = {
},
upload = {
default = 'upload-protected'
}
},
--------------------------------------------------------------------------------
-- Images
--------------------------------------------------------------------------------
-- This table lists different padlock images for each protection action and
-- protection level. It is used if an image is not specified in any of the
-- banner data tables, and if the page does not satisfy the conditions for using
-- the ['image-filename-indef'] image. It is checked in the following order:
-- 1. page's protection action, page's protection level
-- 2. page's protection action, default protection level
images = {
edit = {
default = 'Full-protection-shackle.svg',
templateeditor = 'Template-protection-shackle.svg',
extendedconfirmed = 'Extended-protection-shackle.svg',
autoconfirmed = 'Semi-protection-shackle.svg'
},
move = {
default = 'Move-protection-shackle.svg',
},
autoreview = {
default = 'Pending-protection-shackle.svg'
},
upload = {
default = 'Upload-protection-shackle.svg'
}
},
-- Pages with a reason specified in this table will show the special "indef"
-- padlock, defined in the 'image-filename-indef' message, if no expiry is set.
indefImageReasons = {
template = true
},
--------------------------------------------------------------------------------
-- Image links
--------------------------------------------------------------------------------
-- This table provides the data for the ${IMAGELINK} parameter, which gets
-- the image link for small padlock icons based on the page's protection action
-- and protection level. It is checked in the following order:
-- 1. page's protection action, page's protection level
-- 2. page's protection action, default protection level
-- 3. "edit" protection action, default protection level
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and upload subtables.
imageLinks = {
edit = {
default = 'Wikipedia:Protection policy#full',
templateeditor = 'Wikipedia:Protection policy#template',
extendedconfirmed = 'Wikipedia:Protection policy#extended',
autoconfirmed = 'Wikipedia:Protection policy#semi'
},
move = {
default = 'Wikipedia:Protection policy#move'
},
autoreview = {
default = 'Wikipedia:Protection policy#pending'
},
upload = {
default = 'Wikipedia:Protection policy#upload'
}
},
--------------------------------------------------------------------------------
-- Padlock indicator names
--------------------------------------------------------------------------------
-- This table provides the "name" attribute for the <indicator> extension tag
-- with which small padlock icons are generated. All indicator tags on a page
-- are displayed in alphabetical order based on this attribute, and with
-- indicator tags with duplicate names, the last tag on the page wins.
-- The attribute is chosen based on the protection action; table keys must be a
-- protection action name or the string "default".
padlockIndicatorNames = {
autoreview = 'pp-autoreview',
default = 'pp-default'
},
--------------------------------------------------------------------------------
-- Protection categories
--------------------------------------------------------------------------------
--[[
-- The protection categories are stored in the protectionCategories table.
-- Keys to this table are made up of the following strings:
--
-- 1. the expiry date
-- 2. the namespace
-- 3. the protection reason (e.g. "dispute" or "vandalism")
-- 4. the protection level (e.g. "sysop" or "autoconfirmed")
-- 5. the action (e.g. "edit" or "move")
--
-- When the module looks up a category in the table, first it will will check to
-- see a key exists that corresponds to all five parameters. For example, a
-- user page semi-protected from vandalism for two weeks would have the key
-- "temp-user-vandalism-autoconfirmed-edit". If no match is found, the module
-- changes the first part of the key to "all" and checks the table again. It
-- keeps checking increasingly generic key combinations until it finds the
-- field, or until it reaches the key "all-all-all-all-all".
--
-- The module uses a binary matrix to determine the order in which to search.
-- This is best demonstrated by a table. In this table, the "0" values
-- represent "all", and the "1" values represent the original data (e.g.
-- "indef" or "file" or "vandalism").
--
-- expiry namespace reason level action
-- order
-- 1 1 1 1 1 1
-- 2 0 1 1 1 1
-- 3 1 0 1 1 1
-- 4 0 0 1 1 1
-- 5 1 1 0 1 1
-- 6 0 1 0 1 1
-- 7 1 0 0 1 1
-- 8 0 0 0 1 1
-- 9 1 1 1 0 1
-- 10 0 1 1 0 1
-- 11 1 0 1 0 1
-- 12 0 0 1 0 1
-- 13 1 1 0 0 1
-- 14 0 1 0 0 1
-- 15 1 0 0 0 1
-- 16 0 0 0 0 1
-- 17 1 1 1 1 0
-- 18 0 1 1 1 0
-- 19 1 0 1 1 0
-- 20 0 0 1 1 0
-- 21 1 1 0 1 0
-- 22 0 1 0 1 0
-- 23 1 0 0 1 0
-- 24 0 0 0 1 0
-- 25 1 1 1 0 0
-- 26 0 1 1 0 0
-- 27 1 0 1 0 0
-- 28 0 0 1 0 0
-- 29 1 1 0 0 0
-- 30 0 1 0 0 0
-- 31 1 0 0 0 0
-- 32 0 0 0 0 0
--
-- In this scheme the action has the highest priority, as it is the last
-- to change, and the expiry has the least priority, as it changes the most.
-- The priorities of the expiry, the protection level and the action are
-- fixed, but the priorities of the reason and the namespace can be swapped
-- through the use of the cfg.bannerDataNamespaceHasPriority table.
--]]
-- If the reason specified to the template is listed in this table,
-- namespace data will take priority over reason data in the protectionCategories
-- table.
reasonsWithNamespacePriority = {
vandalism = true,
},
-- The string to use as a namespace key for the protectionCategories table for each
-- namespace number.
categoryNamespaceKeys = {
[ 2] = 'user',
[ 3] = 'user',
[ 4] = 'project',
[ 6] = 'file',
[ 8] = 'mediawiki',
[ 10] = 'template',
[ 12] = 'project',
[ 14] = 'category',
[100] = 'portal',
[828] = 'module',
},
protectionCategories = {
['all|all|all|all|all'] = 'Wikipedia fully protected pages',
['all|all|office|all|all'] = 'Wikipedia Office-protected pages',
['all|all|reset|all|all'] = 'Wikipedia Office-protected pages',
['all|all|dmca|all|all'] = 'Wikipedia Office-protected pages',
['all|all|mainpage|all|all'] = 'Wikipedia fully protected main page files',
['all|all|all|extendedconfirmed|all'] = 'Wikipedia extended-confirmed-protected pages',
['all|all|ecp|extendedconfirmed|all'] = 'Wikipedia extended-confirmed-protected pages',
['all|template|all|all|edit'] = 'Wikipedia fully protected templates',
['all|all|all|autoconfirmed|edit'] = 'Wikipedia semi-protected pages',
['indef|all|all|autoconfirmed|edit'] = 'Wikipedia indefinitely semi-protected pages',
['all|all|blp|autoconfirmed|edit'] = 'Wikipedia indefinitely semi-protected biographies of living people',
['temp|all|blp|autoconfirmed|edit'] = 'Wikipedia temporarily semi-protected biographies of living people',
['all|all|dispute|autoconfirmed|edit'] = 'Wikipedia pages semi-protected due to dispute',
['all|all|sock|autoconfirmed|edit'] = 'Wikipedia pages semi-protected from banned users',
['all|all|vandalism|autoconfirmed|edit'] = 'Wikipedia pages semi-protected against vandalism',
['all|category|all|autoconfirmed|edit'] = 'Wikipedia semi-protected categories',
['all|file|all|autoconfirmed|edit'] = 'Wikipedia semi-protected files',
['all|portal|all|autoconfirmed|edit'] = 'Wikipedia semi-protected portals',
['all|project|all|autoconfirmed|edit'] = 'Wikipedia semi-protected project pages',
['all|talk|all|autoconfirmed|edit'] = 'Wikipedia semi-protected talk pages',
['all|template|all|autoconfirmed|edit'] = 'Wikipedia semi-protected templates',
['all|user|all|autoconfirmed|edit'] = 'Wikipedia semi-protected user and user talk pages',
['all|all|all|templateeditor|move'] = 'Wikipedia template-protected pages other than templates and modules',
['all|all|all|templateeditor|edit'] = 'Wikipedia template-protected pages other than templates and modules',
['all|template|all|templateeditor|edit'] = 'Wikipedia template-protected templates',
['all|template|all|templateeditor|move'] = 'Wikipedia template-protected templates', -- move-protected templates
['all|all|blp|sysop|edit'] = 'Wikipedia indefinitely protected biographies of living people',
['temp|all|blp|sysop|edit'] = 'Wikipedia temporarily protected biographies of living people',
['all|all|dispute|sysop|edit'] = 'Wikipedia pages protected due to dispute',
['all|all|sock|sysop|edit'] = 'Wikipedia pages protected from banned users',
['all|all|vandalism|sysop|edit'] = 'Wikipedia pages protected against vandalism',
['all|category|all|sysop|edit'] = 'Wikipedia fully protected categories',
['all|file|all|sysop|edit'] = 'Wikipedia fully protected files',
['all|project|all|sysop|edit'] = 'Wikipedia fully protected project pages',
['all|talk|all|sysop|edit'] = 'Wikipedia fully protected talk pages',
['all|template|all|extendedconfirmed|edit'] = 'Wikipedia extended-confirmed-protected templates',
['all|template|all|sysop|edit'] = 'Wikipedia fully protected templates',
['all|user|all|sysop|edit'] = 'Wikipedia fully protected user and user talk pages',
['all|module|all|all|edit'] = 'Wikipedia fully protected modules',
['all|module|all|templateeditor|edit'] = 'Wikipedia template-protected modules',
['all|module|all|extendedconfirmed|edit'] = 'Wikipedia extended-confirmed-protected modules',
['all|module|all|autoconfirmed|edit'] = 'Wikipedia semi-protected modules',
['all|all|all|sysop|move'] = 'Wikipedia move-protected pages',
['indef|all|all|sysop|move'] = 'Wikipedia indefinitely move-protected pages',
['all|all|dispute|sysop|move'] = 'Wikipedia pages move-protected due to dispute',
['all|all|vandalism|sysop|move'] = 'Wikipedia pages move-protected due to vandalism',
['all|portal|all|sysop|move'] = 'Wikipedia move-protected portals',
['all|project|all|sysop|move'] = 'Wikipedia move-protected project pages',
['all|talk|all|sysop|move'] = 'Wikipedia move-protected talk pages',
['all|template|all|sysop|move'] = 'Wikipedia move-protected templates',
['all|user|all|sysop|move'] = 'Wikipedia move-protected user and user talk pages',
['all|all|all|autoconfirmed|autoreview'] = 'Wikipedia pending changes protected pages',
['all|file|all|all|upload'] = 'Wikipedia upload-protected files',
},
--------------------------------------------------------------------------------
-- Expiry category config
--------------------------------------------------------------------------------
-- This table configures the expiry category behaviour for each protection
-- action.
-- * If set to true, setting that action will always categorise the page if
-- an expiry parameter is not set.
-- * If set to false, setting that action will never categorise the page.
-- * If set to nil, the module will categorise the page if:
-- 1) an expiry parameter is not set, and
-- 2) a reason is provided, and
-- 3) the specified reason is not blacklisted in the reasonsWithoutExpiryCheck
-- table.
expiryCheckActions = {
edit = nil,
move = false,
autoreview = true,
upload = false
},
reasonsWithoutExpiryCheck = {
blp = true,
template = true,
},
--------------------------------------------------------------------------------
-- Pagetypes
--------------------------------------------------------------------------------
-- This table produces the page types available with the ${PAGETYPE} parameter.
-- Keys are namespace numbers, or the string "default" for the default value.
pagetypes = {
[0] = 'article',
[6] = 'file',
[10] = 'template',
[14] = 'category',
[828] = 'module',
default = 'page'
},
--------------------------------------------------------------------------------
-- Strings marking indefinite protection
--------------------------------------------------------------------------------
-- This table contains values passed to the expiry parameter that mean the page
-- is protected indefinitely.
indefStrings = {
['indef'] = true,
['indefinite'] = true,
['indefinitely'] = true,
['infinite'] = true,
},
--------------------------------------------------------------------------------
-- Group hierarchy
--------------------------------------------------------------------------------
-- This table maps each group to all groups that have a superset of the original
-- group's page editing permissions.
hierarchy = {
sysop = {},
reviewer = {'sysop'},
filemover = {'sysop'},
templateeditor = {'sysop'},
extendedconfirmed = {'sysop'},
autoconfirmed = {'reviewer', 'filemover', 'templateeditor', 'extendedconfirmed'},
user = {'autoconfirmed'},
['*'] = {'user'}
},
--------------------------------------------------------------------------------
-- Wrapper templates and their default arguments
--------------------------------------------------------------------------------
-- This table contains wrapper templates used with the module, and their
-- default arguments. Templates specified in this table should contain the
-- following invocation, and no other template content:
--
-- {{#invoke:Protection banner|main}}
--
-- If other content is desired, it can be added between
-- <noinclude>...</noinclude> tags.
--
-- When a user calls one of these wrapper templates, they will use the
-- default arguments automatically. However, users can override any of the
-- arguments.
wrappers = {
['Template:Pp'] = {},
['Template:Protection padlock'] = {},
['Template:Pp-extended'] = {'ecp'},
['Template:Pp-blp'] = {'blp'},
-- we don't need Template:Pp-create
['Template:Pp-dispute'] = {'dispute'},
['Template:Pp-main-page'] = {'mainpage'},
['Template:Pp-move'] = {action = 'move', catonly = 'yes'},
['Template:Pp-move-dispute'] = {'dispute', action = 'move', catonly = 'yes'},
-- we don't need Template:Pp-move-indef
['Template:Pp-move-vandalism'] = {'vandalism', action = 'move', catonly = 'yes'},
['Template:Pp-office'] = {'office'},
['Template:Pp-office-dmca'] = {'dmca'},
['Template:Pp-pc'] = {action = 'autoreview', small = true},
['Template:Pp-pc1'] = {action = 'autoreview', small = true},
['Template:Pp-reset'] = {'reset'},
['Template:Pp-semi-indef'] = {small = true},
['Template:Pp-sock'] = {'sock'},
['Template:Pp-template'] = {'template', small = true},
['Template:Pp-upload'] = {action = 'upload'},
['Template:Pp-usertalk'] = {'usertalk'},
['Template:Pp-vandalism'] = {'vandalism'},
},
--------------------------------------------------------------------------------
--
-- MESSAGES
--
--------------------------------------------------------------------------------
msg = {
--------------------------------------------------------------------------------
-- Intro blurb and intro fragment
--------------------------------------------------------------------------------
-- These messages specify what is produced by the ${INTROBLURB} and
-- ${INTROFRAGMENT} parameters. If the protection is temporary they use the
-- intro-blurb-expiry or intro-fragment-expiry, and if not they use
-- intro-blurb-noexpiry or intro-fragment-noexpiry.
-- It is possible to use banner parameters in these messages.
['intro-blurb-expiry'] = '${PROTECTIONBLURB} until ${EXPIRY}.',
['intro-blurb-noexpiry'] = '${PROTECTIONBLURB}.',
['intro-fragment-expiry'] = '${PROTECTIONBLURB} until ${EXPIRY},',
['intro-fragment-noexpiry'] = '${PROTECTIONBLURB}',
--------------------------------------------------------------------------------
-- Tooltip blurb
--------------------------------------------------------------------------------
-- These messages specify what is produced by the ${TOOLTIPBLURB} parameter.
-- If the protection is temporary the tooltip-blurb-expiry message is used, and
-- if not the tooltip-blurb-noexpiry message is used.
-- It is possible to use banner parameters in these messages.
['tooltip-blurb-expiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL} until ${EXPIRY}.',
['tooltip-blurb-noexpiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}.',
['tooltip-fragment-expiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL} until ${EXPIRY},',
['tooltip-fragment-noexpiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}',
--------------------------------------------------------------------------------
-- Special explanation blurb
--------------------------------------------------------------------------------
-- An explanation blurb for pages that cannot be unprotected, e.g. for pages
-- in the MediaWiki namespace.
-- It is possible to use banner parameters in this message.
['explanation-blurb-nounprotect'] = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Please discuss any changes on the ${TALKPAGE}; you'
.. ' may ${EDITREQUEST} to ask an'
.. ' [[Wikipedia:Administrators|administrator]] to make an edit if it'
.. ' is [[Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by [[Wikipedia:Consensus'
.. '|consensus]].',
--------------------------------------------------------------------------------
-- Protection log display values
--------------------------------------------------------------------------------
-- These messages determine the display values for the protection log link
-- or the pending changes log link produced by the ${PROTECTIONLOG} parameter.
-- It is possible to use banner parameters in these messages.
['protection-log-display'] = 'protection log',
['pc-log-display'] = 'pending changes log',
--------------------------------------------------------------------------------
-- Current version display values
--------------------------------------------------------------------------------
-- These messages determine the display values for the page history link
-- or the move log link produced by the ${CURRENTVERSION} parameter.
-- It is possible to use banner parameters in these messages.
['current-version-move-display'] = 'current title',
['current-version-edit-display'] = 'current version',
--------------------------------------------------------------------------------
-- Talk page
--------------------------------------------------------------------------------
-- This message determines the display value of the talk page link produced
-- with the ${TALKPAGE} parameter.
-- It is possible to use banner parameters in this message.
['talk-page-link-display'] = 'talk page',
--------------------------------------------------------------------------------
-- Edit requests
--------------------------------------------------------------------------------
-- This message determines the display value of the edit request link produced
-- with the ${EDITREQUEST} parameter.
-- It is possible to use banner parameters in this message.
['edit-request-display'] = 'submit an edit request',
--------------------------------------------------------------------------------
-- Expiry date format
--------------------------------------------------------------------------------
-- This is the format for the blurb expiry date. It should be valid input for
-- the first parameter of the #time parser function.
['expiry-date-format'] = 'F j, Y "at" H:i e',
--------------------------------------------------------------------------------
-- Tracking categories
--------------------------------------------------------------------------------
-- These messages determine which tracking categories the module outputs.
['tracking-category-incorrect'] = 'Wikipedia pages with incorrect protection templates',
['tracking-category-template'] = 'Wikipedia template-protected pages other than templates and modules',
--------------------------------------------------------------------------------
-- Images
--------------------------------------------------------------------------------
-- These are images that are not defined by their protection action and protection level.
['image-filename-indef'] = 'Full-protection-shackle.svg',
['image-filename-default'] = 'Transparent.gif',
--------------------------------------------------------------------------------
-- End messages
--------------------------------------------------------------------------------
}
--------------------------------------------------------------------------------
-- End configuration
--------------------------------------------------------------------------------
}
4j9s25hqt968zd5fewsvtkzzg34omaf
282504
282503
2026-04-03T05:07:33Z
A826
6806
೧ ಬದಲಾವಣೆ
282503
Scribunto
text/plain
-- This module provides configuration data for [[Module:Protection banner]].
return {
--------------------------------------------------------------------------------
--
-- BANNER DATA
--
--------------------------------------------------------------------------------
--[[
-- Banner data consists of six fields:
-- * text - the main protection text that appears at the top of protection
-- banners.
-- * explanation - the text that appears below the main protection text, used
-- to explain the details of the protection.
-- * tooltip - the tooltip text you see when you move the mouse over a small
-- padlock icon.
-- * link - the page that the small padlock icon links to.
-- * alt - the alt text for the small padlock icon. This is also used as tooltip
-- text for the large protection banners.
-- * image - the padlock image used in both protection banners and small padlock
-- icons.
--
-- The module checks in three separate tables to find a value for each field.
-- First it checks the banners table, which has values specific to the reason
-- for the page being protected. Then the module checks the defaultBanners
-- table, which has values specific to each protection level. Finally, the
-- module checks the masterBanner table, which holds data for protection
-- templates to use if no data has been found in the previous two tables.
--
-- The values in the banner data can take parameters. These are specified
-- using ${TEXTLIKETHIS} (a dollar sign preceding a parameter name
-- enclosed in curly braces).
--
-- Available parameters:
--
-- ${CURRENTVERSION} - a link to the page history or the move log, with the
-- display message "current-version-edit-display" or
-- "current-version-move-display".
--
-- ${EDITREQUEST} - a link to create an edit request for the current page.
--
-- ${EXPLANATIONBLURB} - an explanation blurb, e.g. "Please discuss any changes
-- on the talk page; you may submit a request to ask an administrator to make
-- an edit if it is minor or supported by consensus."
--
-- ${IMAGELINK} - a link to set the image to, depending on the protection
-- action and protection level.
--
-- ${INTROBLURB} - the PROTECTIONBLURB parameter, plus the expiry if an expiry
-- is set. E.g. "Editing of this page by new or unregistered users is currently
-- disabled until dd Month YYYY."
--
-- ${INTROFRAGMENT} - the same as ${INTROBLURB}, but without final punctuation
-- so that it can be used in run-on sentences.
--
-- ${PAGETYPE} - the type of the page, e.g. "article" or "template".
-- Defined in the cfg.pagetypes table.
--
-- ${PROTECTIONBLURB} - a blurb explaining the protection level of the page, e.g.
-- "Editing of this page by new or unregistered users is currently disabled"
--
-- ${PROTECTIONDATE} - the protection date, if it has been supplied to the
-- template.
--
-- ${PROTECTIONLEVEL} - the protection level, e.g. "fully protected" or
-- "semi-protected".
--
-- ${PROTECTIONLOG} - a link to the protection log or the pending changes log,
-- depending on the protection action.
--
-- ${TALKPAGE} - a link to the talk page. If a section is specified, links
-- straight to that talk page section.
--
-- ${TOOLTIPBLURB} - uses the PAGETYPE, PROTECTIONTYPE and EXPIRY parameters to
-- create a blurb like "This template is semi-protected", or "This article is
-- move-protected until DD Month YYYY".
--
-- ${VANDAL} - links for the specified username (or the root page name)
-- using Module:Vandal-m.
--
-- Functions
--
-- For advanced users, it is possible to use Lua functions instead of strings
-- in the banner config tables. Using functions gives flexibility that is not
-- possible just by using parameters. Functions take two arguments, the
-- protection object and the template arguments, and they must output a string.
--
-- For example:
--
-- text = function (protectionObj, args)
-- if protectionObj.level == 'autoconfirmed' then
-- return 'foo'
-- else
-- return 'bar'
-- end
-- end
--
-- Some protection object properties and methods that may be useful:
-- protectionObj.action - the protection action
-- protectionObj.level - the protection level
-- protectionObj.reason - the protection reason
-- protectionObj.expiry - the expiry. Nil if unset, the string "indef" if set
-- to indefinite, and the protection time in unix time if temporary.
-- protectionObj.protectionDate - the protection date in unix time, or nil if
-- unspecified.
-- protectionObj.bannerConfig - the banner config found by the module. Beware
-- of editing the config field used by the function, as it could create an
-- infinite loop.
-- protectionObj:isProtected - returns a boolean showing whether the page is
-- protected.
-- protectionObj:isTemporary - returns a boolean showing whether the expiry is
-- temporary.
-- protectionObj:isIncorrect - returns a boolean showing whether the protection
-- template is incorrect.
--]]
-- The master banner data, used if no values have been found in banners or
-- defaultBanners.
masterBanner = {
text = '${INTROBLURB}',
explanation = '${EXPLANATIONBLURB}',
tooltip = '${TOOLTIPBLURB}',
link = '${IMAGELINK}',
alt = 'Page ${PROTECTIONLEVEL}'
},
-- The default banner data. This holds banner data for different protection
-- levels.
-- *required* - this table needs edit, move, autoreview and upload subtables.
defaultBanners = {
edit = {},
move = {},
autoreview = {
default = {
alt = 'Page protected with pending changes',
tooltip = 'All edits by unregistered and new users are subject to review prior to becoming visible to unregistered users',
image = 'Pending-protection-shackle.svg'
}
},
upload = {}
},
-- The banner data. This holds banner data for different protection reasons.
-- In fact, the reasons specified in this table control which reasons are
-- valid inputs to the first positional parameter.
--
-- There is also a non-standard "description" field that can be used for items
-- in this table. This is a description of the protection reason for use in the
-- module documentation.
--
-- *required* - this table needs edit, move, autoreview and upload subtables.
banners = {
edit = {
blp = {
description = 'For pages protected to promote compliance with the'
.. ' [[Wikipedia:Biographies of living persons'
.. '|biographies of living persons]] policy',
text = '${INTROFRAGMENT} to promote compliance with'
.. ' [[Wikipedia:Biographies of living persons'
.. "|Wikipedia's policy on the biographies"
.. ' of living people]].',
tooltip = '${TOOLTIPFRAGMENT} to promote compliance with the policy on'
.. ' biographies of living persons',
},
dmca = {
description = 'For pages protected by the Wikimedia Foundation'
.. ' due to [[Digital Millennium Copyright Act]] takedown requests',
explanation = function (protectionObj, args)
local ret = 'Pursuant to a rights owner notice under the Digital'
.. ' Millennium Copyright Act (DMCA) regarding some content'
.. ' in this article, the Wikimedia Foundation acted under'
.. ' applicable law and took down and restricted the content'
.. ' in question.'
if args.notice then
ret = ret .. ' A copy of the received notice can be found here: '
.. args.notice .. '.'
end
ret = ret .. ' For more information, including websites discussing'
.. ' how to file a counter-notice, please see'
.. " [[Wikipedia:Office actions]] and the article's ${TALKPAGE}."
.. "'''Do not remove this template from the article until the"
.. " restrictions are withdrawn'''."
return ret
end,
image = 'Office-protection-shackle.svg',
link = 'Wikipedia:Protection policy#office',
},
dispute = {
description = 'For pages protected due to editing disputes',
text = function (protectionObj, args)
-- Find the value of "disputes".
local display = 'disputes'
local disputes
if args.section then
disputes = string.format(
'[[%s:%s#%s|%s]]',
mw.site.namespaces[protectionObj.title.namespace].talk.name,
protectionObj.title.text,
args.section,
display
)
else
disputes = display
end
-- Make the blurb, depending on the expiry.
local msg
if type(protectionObj.expiry) == 'number' then
msg = '${INTROFRAGMENT} or until editing %s have been resolved.'
else
msg = '${INTROFRAGMENT} until editing %s have been resolved.'
end
return string.format(msg, disputes)
end,
explanation = "This protection is '''not''' an endorsement of the"
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
tooltip = '${TOOLTIPFRAGMENT} due to editing disputes',
},
ecp = {
description = 'For articles in topic areas authorized by'
.. ' [[Wikipedia:Arbitration Committee|ArbCom]] or'
.. ' meets the criteria for community use',
tooltip = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}',
alt = 'Extended-protected ${PAGETYPE}',
},
mainpage = {
description = 'For pages protected for being displayed on the [[Main Page]]',
text = 'This file is currently'
.. ' [[Wikipedia:This page is protected|protected]] from'
.. ' editing because it is currently or will soon be displayed'
.. ' on the [[Main Page]].',
explanation = 'Images on the Main Page are protected due to their high'
.. ' visibility. Please discuss any necessary changes on the ${TALKPAGE}.'
.. '<br /><span style="font-size:90%;">'
.. "'''Administrators:''' Once this image is definitely off the Main Page,"
.. ' please unprotect this file, or reduce to semi-protection,'
.. ' as appropriate.</span>',
},
office = {
description = 'For pages protected by the Wikimedia Foundation',
text = function (protectionObj, args)
local ret = 'This ${PAGETYPE} is currently under the'
.. ' scrutiny of the'
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' and is protected.'
if protectionObj.protectionDate then
ret = ret .. ' It has been protected since ${PROTECTIONDATE}.'
end
return ret
end,
explanation = "If you can edit this page, please discuss all changes and"
.. " additions on the ${TALKPAGE} first. '''Do not remove protection from this"
.. " page unless you are authorized by the Wikimedia Foundation to do"
.. " so.'''",
image = 'Office-protection-shackle.svg',
link = 'Wikipedia:Protection policy#office',
},
reset = {
description = 'For pages protected by the Wikimedia Foundation and'
.. ' "reset" to a bare-bones version',
text = 'This ${PAGETYPE} is currently under the'
.. ' scrutiny of the'
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' and is protected.',
explanation = function (protectionObj, args)
local ret = ''
if protectionObj.protectionDate then
ret = ret .. 'On ${PROTECTIONDATE} this ${PAGETYPE} was'
else
ret = ret .. 'This ${PAGETYPE} has been'
end
ret = ret .. ' reduced to a'
.. ' simplified, "bare bones" version so that it may be completely'
.. ' rewritten to ensure it meets the policies of'
.. ' [[WP:NPOV|Neutral Point of View]] and [[WP:V|Verifiability]].'
.. ' Standard Wikipedia policies will apply to its rewriting—which'
.. ' will eventually be open to all editors—and will be strictly'
.. ' enforced. The ${PAGETYPE} has been ${PROTECTIONLEVEL} while'
.. ' it is being rebuilt.\n\n'
.. 'Any insertion of material directly from'
.. ' pre-protection revisions of the ${PAGETYPE} will be removed, as'
.. ' will any material added to the ${PAGETYPE} that is not properly'
.. ' sourced. The associated talk page(s) were also cleared on the'
.. " same date.\n\n"
.. "If you can edit this page, please discuss all changes and"
.. " additions on the ${TALKPAGE} first. '''Do not override"
.. " this action, and do not remove protection from this page,"
.. " unless you are authorized by the Wikimedia Foundation"
.. " to do so. No editor may remove this notice.'''"
return ret
end,
image = 'Office-protection-shackle.svg',
link = 'Wikipedia:Protection policy#office',
},
sock = {
description = 'For pages protected due to'
.. ' [[Wikipedia:Sock puppetry|sock puppetry]]',
text = '${INTROFRAGMENT} to prevent [[Wikipedia:Sock puppetry|sock puppets]] of'
.. ' [[Wikipedia:Blocking policy|blocked]] or'
.. ' [[Wikipedia:Banning policy|banned users]]'
.. ' from editing it.',
tooltip = '${TOOLTIPFRAGMENT} to prevent sock puppets of blocked or banned users from'
.. ' editing it',
},
template = {
description = 'For [[Wikipedia:High-risk templates|high-risk]]'
.. ' templates and Lua modules',
text = 'This is a permanently [[Help:Protection|protected]] ${PAGETYPE},'
.. ' as it is [[Wikipedia:High-risk templates|high-risk]].',
explanation = 'Please discuss any changes on the ${TALKPAGE}; you may'
.. ' ${EDITREQUEST} to ask an'
.. ' [[Wikipedia:Administrators|administrator]] or'
.. ' [[Wikipedia:Template editor|template editor]] to make an edit if'
.. ' it is [[Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by'
.. ' [[Wikipedia:Consensus|consensus]]. You can also'
.. ' [[Wikipedia:Requests for page protection|request]] that the page be'
.. ' unprotected.',
tooltip = 'This high-risk ${PAGETYPE} is permanently ${PROTECTIONLEVEL}'
.. ' to prevent vandalism',
alt = 'Permanently protected ${PAGETYPE}',
},
usertalk = {
description = 'For pages protected against disruptive edits by a'
.. ' particular user',
text = '${INTROFRAGMENT} to prevent ${VANDAL} from using it to make disruptive edits,'
.. ' such as abusing the'
.. ' {{[[Template:unblock|unblock]]}} template.',
explanation = 'If you cannot edit this user talk page and you need to'
.. ' make a change or leave a message, you can'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for edits to a protected page'
.. '|request an edit]],'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]],'
.. ' [[Special:Userlogin|log in]],'
.. ' or [[Special:UserLogin/signup|create an account]].',
},
vandalism = {
description = 'For pages protected against'
.. ' [[Wikipedia:Vandalism|vandalism]]',
text = '${INTROFRAGMENT} due to [[Wikipedia:Vandalism|vandalism]].',
explanation = function (protectionObj, args)
local ret = ''
if protectionObj.level == 'sysop' then
ret = ret .. "This protection is '''not''' an endorsement of the"
.. ' ${CURRENTVERSION}. '
end
return ret .. '${EXPLANATIONBLURB}'
end,
tooltip = '${TOOLTIPFRAGMENT} due to vandalism',
}
},
move = {
dispute = {
description = 'For pages protected against page moves due to'
.. ' disputes over the page title',
explanation = "This protection is '''not''' an endorsement of the"
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
image = 'Move-protection-shackle.svg'
},
vandalism = {
description = 'For pages protected against'
.. ' [[Wikipedia:Vandalism#Page-move vandalism'
.. ' |page-move vandalism]]'
}
},
autoreview = {},
upload = {}
},
--------------------------------------------------------------------------------
--
-- GENERAL DATA TABLES
--
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Protection blurbs
--------------------------------------------------------------------------------
-- This table produces the protection blurbs available with the
-- ${PROTECTIONBLURB} parameter. It is sorted by protection action and
-- protection level, and is checked by the module in the following order:
-- 1. page's protection action, page's protection level
-- 2. page's protection action, default protection level
-- 3. "edit" protection action, default protection level
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and upload subtables.
protectionBlurbs = {
edit = {
default = 'This ${PAGETYPE} is currently [[Help:Protection|'
.. 'protected]] from editing',
autoconfirmed = 'Editing of this ${PAGETYPE} by [[Wikipedia:User access'
.. ' levels#New users|new]] or [[Wikipedia:User access levels#Unregistered'
.. ' users|unregistered]] users is currently [[Help:Protection|disabled]]',
extendedconfirmed = 'This ${PAGETYPE} is currently under extended confirmed protection',
},
move = {
default = 'This ${PAGETYPE} is currently [[Help:Protection|protected]]'
.. ' from [[Help:Moving a page|page moves]]'
},
autoreview = {
default = 'All edits made to this ${PAGETYPE} by'
.. ' [[Wikipedia:User access levels#New users|new]] or'
.. ' [[Wikipedia:User access levels#Unregistered users|unregistered]]'
.. ' users are currently'
.. ' [[Wikipedia:Pending changes|subject to review]]'
},
upload = {
default = 'Uploading new versions of this ${PAGETYPE} is currently disabled'
}
},
--------------------------------------------------------------------------------
-- Explanation blurbs
--------------------------------------------------------------------------------
-- This table produces the explanation blurbs available with the
-- ${EXPLANATIONBLURB} parameter. It is sorted by protection action,
-- protection level, and whether the page is a talk page or not. If the page is
-- a talk page it will have a talk key of "talk"; otherwise it will have a talk
-- key of "subject". The table is checked in the following order:
-- 1. page's protection action, page's protection level, page's talk key
-- 2. page's protection action, page's protection level, default talk key
-- 3. page's protection action, default protection level, page's talk key
-- 4. page's protection action, default protection level, default talk key
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and upload subtables.
explanationBlurbs = {
edit = {
autoconfirmed = {
subject = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you'
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can'
.. ' ${EDITREQUEST}, discuss changes on the ${TALKPAGE},'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. ' [[Special:UserLogin/signup|create an account]].',
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you'
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. ' [[Special:UserLogin/signup|create an account]].',
},
extendedconfirmed = {
default = 'Extended confirmed protection prevents edits from all unregistered editors'
.. ' and registered users with fewer than 30 days tenure and 500 edits.'
.. ' The [[Wikipedia:Protection policy#extended|policy on community use]]'
.. ' specifies that extended confirmed protection can be applied to combat'
.. ' disruption, if semi-protection has proven to be ineffective.'
.. ' Extended confirmed protection may also be applied to enforce'
.. ' [[Wikipedia:Arbitration Committee|arbitration sanctions]].'
.. ' Please discuss any changes on the ${TALKPAGE}; you may'
.. ' ${EDITREQUEST} to ask for uncontroversial changes supported by'
.. ' [[Wikipedia:Consensus|consensus]].'
},
default = {
subject = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Please discuss any changes on the ${TALKPAGE}; you'
.. ' may ${EDITREQUEST} to ask an'
.. ' [[Wikipedia:Administrators|administrator]] to make an edit if it'
.. ' is [[Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by [[Wikipedia:Consensus'
.. '|consensus]]. You may also [[Wikipedia:Requests for'
.. ' page protection#Current requests for reduction in protection level'
.. '|request]] that this page be unprotected.',
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' You may [[Wikipedia:Requests for page'
.. ' protection#Current requests for edits to a protected page|request an'
.. ' edit]] to this page, or [[Wikipedia:Requests for'
.. ' page protection#Current requests for reduction in protection level'
.. '|ask]] for it to be unprotected.'
}
},
move = {
default = {
subject = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' The page may still be edited but cannot be moved'
.. ' until unprotected. Please discuss any suggested moves on the'
.. ' ${TALKPAGE} or at [[Wikipedia:Requested moves]]. You can also'
.. ' [[Wikipedia:Requests for page protection|request]] that the page be'
.. ' unprotected.',
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' The page may still be edited but cannot be moved'
.. ' until unprotected. Please discuss any suggested moves at'
.. ' [[Wikipedia:Requested moves]]. You can also'
.. ' [[Wikipedia:Requests for page protection|request]] that the page be'
.. ' unprotected.'
}
},
autoreview = {
default = {
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Edits to this ${PAGETYPE} by new and unregistered users'
.. ' will not be visible to readers until they are accepted by'
.. ' a reviewer. To avoid the need for your edits to be'
.. ' reviewed, you may'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. ' [[Special:UserLogin/signup|create an account]].'
},
},
upload = {
default = {
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' The page may still be edited but new versions of the file'
.. ' cannot be uploaded until it is unprotected. You can'
.. ' request that a new version be uploaded by using a'
.. ' [[Wikipedia:Edit requests|protected edit request]], or you'
.. ' can [[Wikipedia:Requests for page protection|request]]'
.. ' that the file be unprotected.'
}
}
},
--------------------------------------------------------------------------------
-- Protection levels
--------------------------------------------------------------------------------
-- This table provides the data for the ${PROTECTIONLEVEL} parameter, which
-- produces a short label for different protection levels. It is sorted by
-- protection action and protection level, and is checked in the following
-- order:
-- 1. page's protection action, page's protection level
-- 2. page's protection action, default protection level
-- 3. "edit" protection action, default protection level
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and upload subtables.
protectionLevels = {
edit = {
default = 'protected',
templateeditor = 'template-protected',
extendedconfirmed = 'extended-confirmed-protected',
autoconfirmed = 'semi-protected',
},
move = {
default = 'move-protected'
},
autoreview = {
},
upload = {
default = 'upload-protected'
}
},
--------------------------------------------------------------------------------
-- Images
--------------------------------------------------------------------------------
-- This table lists different padlock images for each protection action and
-- protection level. It is used if an image is not specified in any of the
-- banner data tables, and if the page does not satisfy the conditions for using
-- the ['image-filename-indef'] image. It is checked in the following order:
-- 1. page's protection action, page's protection level
-- 2. page's protection action, default protection level
images = {
edit = {
default = 'Full-protection-shackle.svg',
templateeditor = 'Template-protection-shackle.svg',
extendedconfirmed = 'Extended-protection-shackle.svg',
autoconfirmed = 'Semi-protection-shackle.svg'
},
move = {
default = 'Move-protection-shackle.svg',
},
autoreview = {
default = 'Pending-protection-shackle.svg'
},
upload = {
default = 'Upload-protection-shackle.svg'
}
},
-- Pages with a reason specified in this table will show the special "indef"
-- padlock, defined in the 'image-filename-indef' message, if no expiry is set.
indefImageReasons = {
template = true
},
--------------------------------------------------------------------------------
-- Image links
--------------------------------------------------------------------------------
-- This table provides the data for the ${IMAGELINK} parameter, which gets
-- the image link for small padlock icons based on the page's protection action
-- and protection level. It is checked in the following order:
-- 1. page's protection action, page's protection level
-- 2. page's protection action, default protection level
-- 3. "edit" protection action, default protection level
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and upload subtables.
imageLinks = {
edit = {
default = 'Wikipedia:Protection policy#full',
templateeditor = 'Wikipedia:Protection policy#template',
extendedconfirmed = 'Wikipedia:Protection policy#extended',
autoconfirmed = 'Wikipedia:Protection policy#semi'
},
move = {
default = 'Wikipedia:Protection policy#move'
},
autoreview = {
default = 'Wikipedia:Protection policy#pending'
},
upload = {
default = 'Wikipedia:Protection policy#upload'
}
},
--------------------------------------------------------------------------------
-- Padlock indicator names
--------------------------------------------------------------------------------
-- This table provides the "name" attribute for the <indicator> extension tag
-- with which small padlock icons are generated. All indicator tags on a page
-- are displayed in alphabetical order based on this attribute, and with
-- indicator tags with duplicate names, the last tag on the page wins.
-- The attribute is chosen based on the protection action; table keys must be a
-- protection action name or the string "default".
padlockIndicatorNames = {
autoreview = 'pp-autoreview',
default = 'pp-default'
},
--------------------------------------------------------------------------------
-- Protection categories
--------------------------------------------------------------------------------
--[[
-- The protection categories are stored in the protectionCategories table.
-- Keys to this table are made up of the following strings:
--
-- 1. the expiry date
-- 2. the namespace
-- 3. the protection reason (e.g. "dispute" or "vandalism")
-- 4. the protection level (e.g. "sysop" or "autoconfirmed")
-- 5. the action (e.g. "edit" or "move")
--
-- When the module looks up a category in the table, first it will will check to
-- see a key exists that corresponds to all five parameters. For example, a
-- user page semi-protected from vandalism for two weeks would have the key
-- "temp-user-vandalism-autoconfirmed-edit". If no match is found, the module
-- changes the first part of the key to "all" and checks the table again. It
-- keeps checking increasingly generic key combinations until it finds the
-- field, or until it reaches the key "all-all-all-all-all".
--
-- The module uses a binary matrix to determine the order in which to search.
-- This is best demonstrated by a table. In this table, the "0" values
-- represent "all", and the "1" values represent the original data (e.g.
-- "indef" or "file" or "vandalism").
--
-- expiry namespace reason level action
-- order
-- 1 1 1 1 1 1
-- 2 0 1 1 1 1
-- 3 1 0 1 1 1
-- 4 0 0 1 1 1
-- 5 1 1 0 1 1
-- 6 0 1 0 1 1
-- 7 1 0 0 1 1
-- 8 0 0 0 1 1
-- 9 1 1 1 0 1
-- 10 0 1 1 0 1
-- 11 1 0 1 0 1
-- 12 0 0 1 0 1
-- 13 1 1 0 0 1
-- 14 0 1 0 0 1
-- 15 1 0 0 0 1
-- 16 0 0 0 0 1
-- 17 1 1 1 1 0
-- 18 0 1 1 1 0
-- 19 1 0 1 1 0
-- 20 0 0 1 1 0
-- 21 1 1 0 1 0
-- 22 0 1 0 1 0
-- 23 1 0 0 1 0
-- 24 0 0 0 1 0
-- 25 1 1 1 0 0
-- 26 0 1 1 0 0
-- 27 1 0 1 0 0
-- 28 0 0 1 0 0
-- 29 1 1 0 0 0
-- 30 0 1 0 0 0
-- 31 1 0 0 0 0
-- 32 0 0 0 0 0
--
-- In this scheme the action has the highest priority, as it is the last
-- to change, and the expiry has the least priority, as it changes the most.
-- The priorities of the expiry, the protection level and the action are
-- fixed, but the priorities of the reason and the namespace can be swapped
-- through the use of the cfg.bannerDataNamespaceHasPriority table.
--]]
-- If the reason specified to the template is listed in this table,
-- namespace data will take priority over reason data in the protectionCategories
-- table.
reasonsWithNamespacePriority = {
vandalism = true,
},
-- The string to use as a namespace key for the protectionCategories table for each
-- namespace number.
categoryNamespaceKeys = {
[ 2] = 'user',
[ 3] = 'user',
[ 4] = 'project',
[ 6] = 'file',
[ 8] = 'mediawiki',
[ 10] = 'template',
[ 12] = 'project',
[ 14] = 'category',
[100] = 'portal',
[828] = 'module',
},
protectionCategories = {
['all|all|all|all|all'] = 'Wikipedia fully protected pages',
['all|all|office|all|all'] = 'Wikipedia Office-protected pages',
['all|all|reset|all|all'] = 'Wikipedia Office-protected pages',
['all|all|dmca|all|all'] = 'Wikipedia Office-protected pages',
['all|all|mainpage|all|all'] = 'Wikipedia fully protected main page files',
['all|all|all|extendedconfirmed|all'] = 'Wikipedia extended-confirmed-protected pages',
['all|all|ecp|extendedconfirmed|all'] = 'Wikipedia extended-confirmed-protected pages',
['all|template|all|all|edit'] = 'Wikipedia fully protected templates',
['all|all|all|autoconfirmed|edit'] = 'Wikipedia semi-protected pages',
['indef|all|all|autoconfirmed|edit'] = 'Wikipedia indefinitely semi-protected pages',
['all|all|blp|autoconfirmed|edit'] = 'Wikipedia indefinitely semi-protected biographies of living people',
['temp|all|blp|autoconfirmed|edit'] = 'Wikipedia temporarily semi-protected biographies of living people',
['all|all|dispute|autoconfirmed|edit'] = 'Wikipedia pages semi-protected due to dispute',
['all|all|sock|autoconfirmed|edit'] = 'Wikipedia pages semi-protected from banned users',
['all|all|vandalism|autoconfirmed|edit'] = 'Wikipedia pages semi-protected against vandalism',
['all|category|all|autoconfirmed|edit'] = 'Wikipedia semi-protected categories',
['all|file|all|autoconfirmed|edit'] = 'Wikipedia semi-protected files',
['all|portal|all|autoconfirmed|edit'] = 'Wikipedia semi-protected portals',
['all|project|all|autoconfirmed|edit'] = 'Wikipedia semi-protected project pages',
['all|talk|all|autoconfirmed|edit'] = 'Wikipedia semi-protected talk pages',
['all|template|all|autoconfirmed|edit'] = 'Wikipedia semi-protected templates',
['all|user|all|autoconfirmed|edit'] = 'Wikipedia semi-protected user and user talk pages',
['all|all|all|templateeditor|move'] = 'Wikipedia template-protected pages other than templates and modules',
['all|all|all|templateeditor|edit'] = 'Wikipedia template-protected pages other than templates and modules',
['all|template|all|templateeditor|edit'] = 'Wikipedia template-protected templates',
['all|template|all|templateeditor|move'] = 'Wikipedia template-protected templates', -- move-protected templates
['all|all|blp|sysop|edit'] = 'Wikipedia indefinitely protected biographies of living people',
['temp|all|blp|sysop|edit'] = 'Wikipedia temporarily protected biographies of living people',
['all|all|dispute|sysop|edit'] = 'Wikipedia pages protected due to dispute',
['all|all|sock|sysop|edit'] = 'Wikipedia pages protected from banned users',
['all|all|vandalism|sysop|edit'] = 'Wikipedia pages protected against vandalism',
['all|category|all|sysop|edit'] = 'Wikipedia fully protected categories',
['all|file|all|sysop|edit'] = 'Wikipedia fully protected files',
['all|project|all|sysop|edit'] = 'Wikipedia fully protected project pages',
['all|talk|all|sysop|edit'] = 'Wikipedia fully protected talk pages',
['all|template|all|extendedconfirmed|edit'] = 'Wikipedia extended-confirmed-protected templates',
['all|template|all|sysop|edit'] = 'Wikipedia fully protected templates',
['all|user|all|sysop|edit'] = 'Wikipedia fully protected user and user talk pages',
['all|module|all|all|edit'] = 'Wikipedia fully protected modules',
['all|module|all|templateeditor|edit'] = 'Wikipedia template-protected modules',
['all|module|all|extendedconfirmed|edit'] = 'Wikipedia extended-confirmed-protected modules',
['all|module|all|autoconfirmed|edit'] = 'Wikipedia semi-protected modules',
['all|all|all|sysop|move'] = 'Wikipedia move-protected pages',
['indef|all|all|sysop|move'] = 'Wikipedia indefinitely move-protected pages',
['all|all|dispute|sysop|move'] = 'Wikipedia pages move-protected due to dispute',
['all|all|vandalism|sysop|move'] = 'Wikipedia pages move-protected due to vandalism',
['all|portal|all|sysop|move'] = 'Wikipedia move-protected portals',
['all|project|all|sysop|move'] = 'Wikipedia move-protected project pages',
['all|talk|all|sysop|move'] = 'Wikipedia move-protected talk pages',
['all|template|all|sysop|move'] = 'Wikipedia move-protected templates',
['all|user|all|sysop|move'] = 'Wikipedia move-protected user and user talk pages',
['all|all|all|autoconfirmed|autoreview'] = 'Wikipedia pending changes protected pages',
['all|file|all|all|upload'] = 'Wikipedia upload-protected files',
},
--------------------------------------------------------------------------------
-- Expiry category config
--------------------------------------------------------------------------------
-- This table configures the expiry category behaviour for each protection
-- action.
-- * If set to true, setting that action will always categorise the page if
-- an expiry parameter is not set.
-- * If set to false, setting that action will never categorise the page.
-- * If set to nil, the module will categorise the page if:
-- 1) an expiry parameter is not set, and
-- 2) a reason is provided, and
-- 3) the specified reason is not blacklisted in the reasonsWithoutExpiryCheck
-- table.
expiryCheckActions = {
edit = nil,
move = false,
autoreview = true,
upload = false
},
reasonsWithoutExpiryCheck = {
blp = true,
template = true,
},
--------------------------------------------------------------------------------
-- Pagetypes
--------------------------------------------------------------------------------
-- This table produces the page types available with the ${PAGETYPE} parameter.
-- Keys are namespace numbers, or the string "default" for the default value.
pagetypes = {
[0] = 'article',
[6] = 'file',
[10] = 'template',
[14] = 'category',
[828] = 'module',
default = 'page'
},
--------------------------------------------------------------------------------
-- Strings marking indefinite protection
--------------------------------------------------------------------------------
-- This table contains values passed to the expiry parameter that mean the page
-- is protected indefinitely.
indefStrings = {
['indef'] = true,
['indefinite'] = true,
['indefinitely'] = true,
['infinite'] = true,
},
--------------------------------------------------------------------------------
-- Group hierarchy
--------------------------------------------------------------------------------
-- This table maps each group to all groups that have a superset of the original
-- group's page editing permissions.
hierarchy = {
sysop = {},
reviewer = {'sysop'},
filemover = {'sysop'},
templateeditor = {'sysop'},
extendedconfirmed = {'sysop'},
autoconfirmed = {'reviewer', 'filemover', 'templateeditor', 'extendedconfirmed'},
user = {'autoconfirmed'},
['*'] = {'user'}
},
--------------------------------------------------------------------------------
-- Wrapper templates and their default arguments
--------------------------------------------------------------------------------
-- This table contains wrapper templates used with the module, and their
-- default arguments. Templates specified in this table should contain the
-- following invocation, and no other template content:
--
-- {{#invoke:Protection banner|main}}
--
-- If other content is desired, it can be added between
-- <noinclude>...</noinclude> tags.
--
-- When a user calls one of these wrapper templates, they will use the
-- default arguments automatically. However, users can override any of the
-- arguments.
wrappers = {
['Template:Pp'] = {},
['Template:Protection padlock'] = {},
['Template:Pp-extended'] = {'ecp'},
['Template:Pp-blp'] = {'blp'},
-- we don't need Template:Pp-create
['Template:Pp-dispute'] = {'dispute'},
['Template:Pp-main-page'] = {'mainpage'},
['Template:Pp-move'] = {action = 'move', catonly = 'yes'},
['Template:Pp-move-dispute'] = {'dispute', action = 'move', catonly = 'yes'},
-- we don't need Template:Pp-move-indef
['Template:Pp-move-vandalism'] = {'vandalism', action = 'move', catonly = 'yes'},
['Template:Pp-office'] = {'office'},
['Template:Pp-office-dmca'] = {'dmca'},
['Template:Pp-pc'] = {action = 'autoreview', small = true},
['Template:Pp-pc1'] = {action = 'autoreview', small = true},
['Template:Pp-reset'] = {'reset'},
['Template:Pp-semi-indef'] = {small = true},
['Template:Pp-sock'] = {'sock'},
['Template:Pp-template'] = {'template', small = true},
['Template:Pp-upload'] = {action = 'upload'},
['Template:Pp-usertalk'] = {'usertalk'},
['Template:Pp-vandalism'] = {'vandalism'},
},
--------------------------------------------------------------------------------
--
-- MESSAGES
--
--------------------------------------------------------------------------------
msg = {
--------------------------------------------------------------------------------
-- Intro blurb and intro fragment
--------------------------------------------------------------------------------
-- These messages specify what is produced by the ${INTROBLURB} and
-- ${INTROFRAGMENT} parameters. If the protection is temporary they use the
-- intro-blurb-expiry or intro-fragment-expiry, and if not they use
-- intro-blurb-noexpiry or intro-fragment-noexpiry.
-- It is possible to use banner parameters in these messages.
['intro-blurb-expiry'] = '${PROTECTIONBLURB} until ${EXPIRY}.',
['intro-blurb-noexpiry'] = '${PROTECTIONBLURB}.',
['intro-fragment-expiry'] = '${PROTECTIONBLURB} until ${EXPIRY},',
['intro-fragment-noexpiry'] = '${PROTECTIONBLURB}',
--------------------------------------------------------------------------------
-- Tooltip blurb
--------------------------------------------------------------------------------
-- These messages specify what is produced by the ${TOOLTIPBLURB} parameter.
-- If the protection is temporary the tooltip-blurb-expiry message is used, and
-- if not the tooltip-blurb-noexpiry message is used.
-- It is possible to use banner parameters in these messages.
['tooltip-blurb-expiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL} until ${EXPIRY}.',
['tooltip-blurb-noexpiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}.',
['tooltip-fragment-expiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL} until ${EXPIRY},',
['tooltip-fragment-noexpiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}',
--------------------------------------------------------------------------------
-- Special explanation blurb
--------------------------------------------------------------------------------
-- An explanation blurb for pages that cannot be unprotected, e.g. for pages
-- in the MediaWiki namespace.
-- It is possible to use banner parameters in this message.
['explanation-blurb-nounprotect'] = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Please discuss any changes on the ${TALKPAGE}; you'
.. ' may ${EDITREQUEST} to ask an'
.. ' [[Wikipedia:Administrators|administrator]] to make an edit if it'
.. ' is [[Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by [[Wikipedia:Consensus'
.. '|consensus]].',
--------------------------------------------------------------------------------
-- Protection log display values
--------------------------------------------------------------------------------
-- These messages determine the display values for the protection log link
-- or the pending changes log link produced by the ${PROTECTIONLOG} parameter.
-- It is possible to use banner parameters in these messages.
['protection-log-display'] = 'protection log',
['pc-log-display'] = 'pending changes log',
--------------------------------------------------------------------------------
-- Current version display values
--------------------------------------------------------------------------------
-- These messages determine the display values for the page history link
-- or the move log link produced by the ${CURRENTVERSION} parameter.
-- It is possible to use banner parameters in these messages.
['current-version-move-display'] = 'current title',
['current-version-edit-display'] = 'current version',
--------------------------------------------------------------------------------
-- Talk page
--------------------------------------------------------------------------------
-- This message determines the display value of the talk page link produced
-- with the ${TALKPAGE} parameter.
-- It is possible to use banner parameters in this message.
['talk-page-link-display'] = 'talk page',
--------------------------------------------------------------------------------
-- Edit requests
--------------------------------------------------------------------------------
-- This message determines the display value of the edit request link produced
-- with the ${EDITREQUEST} parameter.
-- It is possible to use banner parameters in this message.
['edit-request-display'] = 'submit an edit request',
--------------------------------------------------------------------------------
-- Expiry date format
--------------------------------------------------------------------------------
-- This is the format for the blurb expiry date. It should be valid input for
-- the first parameter of the #time parser function.
['expiry-date-format'] = 'F j, Y "at" H:i e',
--------------------------------------------------------------------------------
-- Tracking categories
--------------------------------------------------------------------------------
-- These messages determine which tracking categories the module outputs.
['tracking-category-incorrect'] = 'Wikipedia pages with incorrect protection templates',
['tracking-category-template'] = 'Wikipedia template-protected pages other than templates and modules',
--------------------------------------------------------------------------------
-- Images
--------------------------------------------------------------------------------
-- These are images that are not defined by their protection action and protection level.
['image-filename-indef'] = 'Full-protection-shackle.svg',
['image-filename-default'] = 'Transparent.gif',
--------------------------------------------------------------------------------
-- End messages
--------------------------------------------------------------------------------
}
--------------------------------------------------------------------------------
-- End configuration
--------------------------------------------------------------------------------
}
4j9s25hqt968zd5fewsvtkzzg34omaf
ಟೆಂಪ್ಲೇಟು:Nutshell
10
11778
282535
32112
2025-11-16T05:56:36Z
w:en>Launchballer
0
Reverted [[WP:AGF|good faith]] edits by [[Special:Contributions/Pppery|Pppery]] ([[User talk:Pppery|talk]]): Is causing breakages such as at [[WP:HOOK]]
282535
wikitext
text/x-wiki
{{main other|{{error|Template:Nutshell should not be used in articles. Please remove it from this page.|tag=div}}|{{mbox
| class = nutshell
| image = [[File:Walnut.png|30px|link=|alt=]]
| text = '''{{{title|This page}}} in a nutshell:''' {{#if:{{{2|}}}
| {{unordered list|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}}}
| {{{1}}}
}}
| imageright = {{#if:{{{shortcut|{{{shortcut1|}}}}}} | {{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}} }} }}
}}}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
maakv39sqtbl39e41mduy49aolcps5a
282536
282535
2026-04-03T05:07:34Z
A826
6806
೧ ಬದಲಾವಣೆ
282535
wikitext
text/x-wiki
{{main other|{{error|Template:Nutshell should not be used in articles. Please remove it from this page.|tag=div}}|{{mbox
| class = nutshell
| image = [[File:Walnut.png|30px|link=|alt=]]
| text = '''{{{title|This page}}} in a nutshell:''' {{#if:{{{2|}}}
| {{unordered list|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}}}
| {{{1}}}
}}
| imageright = {{#if:{{{shortcut|{{{shortcut1|}}}}}} | {{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}} }} }}
}}}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
maakv39sqtbl39e41mduy49aolcps5a
ಮಾಡ್ಯೂಲ್:String
828
12089
282489
256767
2025-08-11T23:48:56Z
w:en>Pppery
0
Fix
282489
Scribunto
text/plain
--[[
This module is intended to provide access to basic string functions.
Most of the functions provided here can be invoked with named parameters,
unnamed parameters, or a mixture. If named parameters are used, Mediawiki will
automatically remove any leading or trailing whitespace from the parameter.
Depending on the intended use, it may be advantageous to either preserve or
remove such whitespace.
Global options
ignore_errors: If set to 'true' or 1, any error condition will result in
an empty string being returned rather than an error message.
error_category: If an error occurs, specifies the name of a category to
include with the error message. The default category is
[Category:Errors reported by Module String].
no_category: If set to 'true' or 1, no category will be added if an error
is generated.
Unit tests for this module are available at Module:String/tests.
]]
local str = {}
--[[
len
This function returns the length of the target string.
Usage:
{{#invoke:String|len|target_string|}}
OR
{{#invoke:String|len|s=target_string}}
Parameters
s: The string whose length to report
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from the target string.
]]
function str.len( frame )
local new_args = str._getParameters( frame.args, {'s'} )
local s = new_args['s'] or ''
return mw.ustring.len( s )
end
--[[
sub
This function returns a substring of the target string at specified indices.
Usage:
{{#invoke:String|sub|target_string|start_index|end_index}}
OR
{{#invoke:String|sub|s=target_string|i=start_index|j=end_index}}
Parameters
s: The string to return a subset of
i: The first index of the substring to return, defaults to 1.
j: The last index of the string to return, defaults to the last character.
The first character of the string is assigned an index of 1. If either i or j
is a negative value, it is interpreted the same as selecting a character by
counting from the end of the string. Hence, a value of -1 is the same as
selecting the last character of the string.
If the requested indices are out of range for the given string, an error is
reported.
]]
function str.sub( frame )
local new_args = str._getParameters( frame.args, { 's', 'i', 'j' } )
local s = new_args['s'] or ''
local i = tonumber( new_args['i'] ) or 1
local j = tonumber( new_args['j'] ) or -1
local len = mw.ustring.len( s )
-- Convert negatives for range checking
if i < 0 then
i = len + i + 1
end
if j < 0 then
j = len + j + 1
end
if i > len or j > len or i < 1 or j < 1 then
return str._error( 'String subset index out of range' )
end
if j < i then
return str._error( 'String subset indices out of order' )
end
return mw.ustring.sub( s, i, j )
end
--[[
This function implements that features of {{str sub old}} and is kept in order
to maintain these older templates.
]]
function str.sublength( frame )
local i = tonumber( frame.args.i ) or 0
local len = tonumber( frame.args.len )
return mw.ustring.sub( frame.args.s, i + 1, len and ( i + len ) )
end
--[[
_match
This function returns a substring from the source string that matches a
specified pattern. It is exported for use in other modules
Usage:
strmatch = require("Module:String")._match
sresult = strmatch( s, pattern, start, match, plain, nomatch )
Parameters
s: The string to search
pattern: The pattern or string to find within the string
start: The index within the source string to start the search. The first
character of the string has index 1. Defaults to 1.
match: In some cases it may be possible to make multiple matches on a single
string. This specifies which match to return, where the first match is
match= 1. If a negative number is specified then a match is returned
counting from the last match. Hence match = -1 is the same as requesting
the last match. Defaults to 1.
plain: A flag indicating that the pattern should be understood as plain
text. Defaults to false.
nomatch: If no match is found, output the "nomatch" value rather than an error.
For information on constructing Lua patterns, a form of [regular expression], see:
* http://www.lua.org/manual/5.1/manual.html#5.4.1
* http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Patterns
* http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Ustring_patterns
]]
-- This sub-routine is exported for use in other modules
function str._match( s, pattern, start, match_index, plain_flag, nomatch )
if s == '' then
return str._error( 'Target string is empty' )
end
if pattern == '' then
return str._error( 'Pattern string is empty' )
end
start = tonumber(start) or 1
if math.abs(start) < 1 or math.abs(start) > mw.ustring.len( s ) then
return str._error( 'Requested start is out of range' )
end
if match_index == 0 then
return str._error( 'Match index is out of range' )
end
if plain_flag then
pattern = str._escapePattern( pattern )
end
local result
if match_index == 1 then
-- Find first match is simple case
result = mw.ustring.match( s, pattern, start )
else
if start > 1 then
s = mw.ustring.sub( s, start )
end
local iterator = mw.ustring.gmatch(s, pattern)
if match_index > 0 then
-- Forward search
for w in iterator do
match_index = match_index - 1
if match_index == 0 then
result = w
break
end
end
else
-- Reverse search
local result_table = {}
local count = 1
for w in iterator do
result_table[count] = w
count = count + 1
end
result = result_table[ count + match_index ]
end
end
if result == nil then
if nomatch == nil then
return str._error( 'Match not found' )
else
return nomatch
end
else
return result
end
end
--[[
match
This function returns a substring from the source string that matches a
specified pattern.
Usage:
{{#invoke:String|match|source_string|pattern_string|start_index|match_number|plain_flag|nomatch_output}}
OR
{{#invoke:String|match|s=source_string|pattern=pattern_string|start=start_index
|match=match_number|plain=plain_flag|nomatch=nomatch_output}}
Parameters
s: The string to search
pattern: The pattern or string to find within the string
start: The index within the source string to start the search. The first
character of the string has index 1. Defaults to 1.
match: In some cases it may be possible to make multiple matches on a single
string. This specifies which match to return, where the first match is
match= 1. If a negative number is specified then a match is returned
counting from the last match. Hence match = -1 is the same as requesting
the last match. Defaults to 1.
plain: A flag indicating that the pattern should be understood as plain
text. Defaults to false.
nomatch: If no match is found, output the "nomatch" value rather than an error.
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from each string. In some circumstances this is desirable, in
other cases one may want to preserve the whitespace.
If the match_number or start_index are out of range for the string being queried, then
this function generates an error. An error is also generated if no match is found.
If one adds the parameter ignore_errors=true, then the error will be suppressed and
an empty string will be returned on any failure.
For information on constructing Lua patterns, a form of [regular expression], see:
* http://www.lua.org/manual/5.1/manual.html#5.4.1
* http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Patterns
* http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Ustring_patterns
]]
-- This is the entry point for #invoke:String|match
function str.match( frame )
local new_args = str._getParameters( frame.args, {'s', 'pattern', 'start', 'match', 'plain', 'nomatch'} )
local s = new_args['s'] or ''
local start = tonumber( new_args['start'] ) or 1
local plain_flag = str._getBoolean( new_args['plain'] or false )
local pattern = new_args['pattern'] or ''
local match_index = math.floor( tonumber(new_args['match']) or 1 )
local nomatch = new_args['nomatch']
return str._match( s, pattern, start, match_index, plain_flag, nomatch )
end
--[[
pos
This function returns a single character from the target string at position pos.
Usage:
{{#invoke:String|pos|target_string|index_value}}
OR
{{#invoke:String|pos|target=target_string|pos=index_value}}
Parameters
target: The string to search
pos: The index for the character to return
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from the target string. In some circumstances this is desirable, in
other cases one may want to preserve the whitespace.
The first character has an index value of 1.
If one requests a negative value, this function will select a character by counting backwards
from the end of the string. In other words pos = -1 is the same as asking for the last character.
A requested value of zero, or a value greater than the length of the string returns an error.
]]
function str.pos( frame )
local new_args = str._getParameters( frame.args, {'target', 'pos'} )
local target_str = new_args['target'] or ''
local pos = tonumber( new_args['pos'] ) or 0
if pos == 0 or math.abs(pos) > mw.ustring.len( target_str ) then
return str._error( 'String index out of range' )
end
return mw.ustring.sub( target_str, pos, pos )
end
--[[
str_find
This function duplicates the behavior of {{str_find}}, including all of its quirks.
This is provided in order to support existing templates, but is NOT RECOMMENDED for
new code and templates. New code is recommended to use the "find" function instead.
Returns the first index in "source" that is a match to "target". Indexing is 1-based,
and the function returns -1 if the "target" string is not present in "source".
Important Note: If the "target" string is empty / missing, this function returns a
value of "1", which is generally unexpected behavior, and must be accounted for
separatetly.
]]
function str.str_find( frame )
local new_args = str._getParameters( frame.args, {'source', 'target'} )
local source_str = new_args['source'] or ''
local target_str = new_args['target'] or ''
if target_str == '' then
return 1
end
local start = mw.ustring.find( source_str, target_str, 1, true )
if start == nil then
start = -1
end
return start
end
--[[
find
This function allows one to search for a target string or pattern within another
string.
Usage:
{{#invoke:String|find|source_str|target_string|start_index|plain_flag}}
OR
{{#invoke:String|find|source=source_str|target=target_str|start=start_index|plain=plain_flag}}
Parameters
source: The string to search
target: The string or pattern to find within source
start: The index within the source string to start the search, defaults to 1
plain: Boolean flag indicating that target should be understood as plain
text and not as a Lua style regular expression, defaults to true
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from the parameter. In some circumstances this is desirable, in
other cases one may want to preserve the whitespace.
This function returns the first index >= "start" where "target" can be found
within "source". Indices are 1-based. If "target" is not found, then this
function returns 0. If either "source" or "target" are missing / empty, this
function also returns 0.
This function should be safe for UTF-8 strings.
]]
function str.find( frame )
local new_args = str._getParameters( frame.args, {'source', 'target', 'start', 'plain' } )
local source_str = new_args['source'] or ''
local pattern = new_args['target'] or ''
local start_pos = tonumber(new_args['start']) or 1
local plain = new_args['plain'] or true
if source_str == '' or pattern == '' then
return 0
end
plain = str._getBoolean( plain )
local start = mw.ustring.find( source_str, pattern, start_pos, plain )
if start == nil then
start = 0
end
return start
end
--[[
replace
This function allows one to replace a target string or pattern within another
string.
Usage:
{{#invoke:String|replace|source_str|pattern_string|replace_string|replacement_count|plain_flag}}
OR
{{#invoke:String|replace|source=source_string|pattern=pattern_string|replace=replace_string|
count=replacement_count|plain=plain_flag}}
Parameters
source: The string to search
pattern: The string or pattern to find within source
replace: The replacement text
count: The number of occurences to replace, defaults to all.
plain: Boolean flag indicating that pattern should be understood as plain
text and not as a Lua style regular expression, defaults to true
]]
function str.replace( frame )
local new_args = str._getParameters( frame.args, {'source', 'pattern', 'replace', 'count', 'plain' } )
local source_str = new_args['source'] or ''
local pattern = new_args['pattern'] or ''
local replace = new_args['replace'] or ''
local count = tonumber( new_args['count'] )
local plain = new_args['plain'] or true
if source_str == '' or pattern == '' then
return source_str
end
plain = str._getBoolean( plain )
if plain then
pattern = str._escapePattern( pattern )
replace = string.gsub( replace, "%%", "%%%%" ) --Only need to escape replacement sequences.
end
local result
if count ~= nil then
result = mw.ustring.gsub( source_str, pattern, replace, count )
else
result = mw.ustring.gsub( source_str, pattern, replace )
end
return result
end
--[[
simple function to pipe string.rep to templates.
]]
function str.rep( frame )
local repetitions = tonumber( frame.args[2] )
if not repetitions then
return str._error( 'function rep expects a number as second parameter, received "' .. ( frame.args[2] or '' ) .. '"' )
end
return string.rep( frame.args[1] or '', repetitions )
end
--[[
escapePattern
This function escapes special characters from a Lua string pattern. See [1]
for details on how patterns work.
[1] https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Patterns
Usage:
{{#invoke:String|escapePattern|pattern_string}}
Parameters
pattern_string: The pattern string to escape.
]]
function str.escapePattern( frame )
local pattern_str = frame.args[1]
if not pattern_str then
return str._error( 'No pattern string specified' )
end
local result = str._escapePattern( pattern_str )
return result
end
--[[
count
This function counts the number of occurrences of one string in another.
]]
function str.count(frame)
local args = str._getParameters(frame.args, {'source', 'pattern', 'plain'})
local source = args.source or ''
local pattern = args.pattern or ''
local plain = str._getBoolean(args.plain or true)
if plain then
pattern = str._escapePattern(pattern)
end
local _, count = mw.ustring.gsub(source, pattern, '')
return count
end
--[[
endswith
This function determines whether a string ends with another string.
]]
function str.endswith(frame)
local args = str._getParameters(frame.args, {'source', 'pattern'})
local source = args.source or ''
local pattern = args.pattern or ''
if pattern == '' then
-- All strings end with the empty string.
return "yes"
end
if mw.ustring.sub(source, -mw.ustring.len(pattern), -1) == pattern then
return "yes"
else
return ""
end
end
--[[
join
Join all non empty arguments together; the first argument is the separator.
Usage:
{{#invoke:String|join|sep|one|two|three}}
]]
function str.join(frame)
local args = {}
local sep
for _, v in ipairs( frame.args ) do
if sep then
if v ~= '' then
table.insert(args, v)
end
else
sep = v
end
end
return table.concat( args, sep or '' )
end
-- findpagetext returns the position of a piece of text in a page
-- First positional parameter or |text is the search text
-- Optional parameter |title is the page title, defaults to current page
-- Optional parameter |plain is either true for plain search (default) or false for Lua pattern search
-- Optional parameter |nomatch is the return value when no match is found; default is nil
function str._findpagetext(args)
-- process parameters
local nomatch = args.nomatch or ""
if nomatch == "" then nomatch = nil end
--
local text = mw.text.trim(args[1] or args.text or "")
if text == "" then return nil end
--
local title = args.title or ""
local titleobj
if title == "" then
titleobj = mw.title.getCurrentTitle()
else
titleobj = mw.title.new(title)
end
--
local plain = args.plain or ""
if plain:sub(1, 1) == "f" then plain = false else plain = true end
-- get the page content and look for 'text' - return position or nomatch
local content = titleobj and titleobj:getContent()
return content and mw.ustring.find(content, text, 1, plain) or nomatch
end
function str.findpagetext(frame)
local args = frame.args
local pargs = frame:getParent().args
for k, v in pairs(pargs) do
args[k] = v
end
if not (args[1] or args.text) then return nil end
-- just the first value
return (str._findpagetext(args))
end
--[[
Helper function that populates the argument list given that user may need to use a mix of
named and unnamed parameters. This is relevant because named parameters are not
identical to unnamed parameters due to string trimming, and when dealing with strings
we sometimes want to either preserve or remove that whitespace depending on the application.
]]
function str._getParameters( frame_args, arg_list )
local new_args = {}
local index = 1
local value
for _, arg in ipairs( arg_list ) do
value = frame_args[arg]
if value == nil then
value = frame_args[index]
index = index + 1
end
new_args[arg] = value
end
return new_args
end
--[[
Helper function to handle error messages.
]]
function str._error( error_str )
local frame = mw.getCurrentFrame()
local error_category = frame.args.error_category or 'Errors reported by Module String'
local ignore_errors = frame.args.ignore_errors or false
local no_category = frame.args.no_category or false
if str._getBoolean(ignore_errors) then
return ''
end
local error_str = '<strong class="error">String Module Error: ' .. error_str .. '</strong>'
if error_category ~= '' and not str._getBoolean( no_category ) then
error_str = '[[Category:' .. error_category .. ']]' .. error_str
end
return error_str
end
--[[
Helper Function to interpret boolean strings
]]
function str._getBoolean( boolean_str )
local boolean_value
if type( boolean_str ) == 'string' then
boolean_str = boolean_str:lower()
if boolean_str == 'false' or boolean_str == 'no' or boolean_str == '0'
or boolean_str == '' then
boolean_value = false
else
boolean_value = true
end
elseif type( boolean_str ) == 'boolean' then
boolean_value = boolean_str
else
error( 'No boolean value found' )
end
return boolean_value
end
--[[
Helper function that escapes all pattern characters so that they will be treated
as plain text.
]]
function str._escapePattern( pattern_str )
return ( string.gsub( pattern_str, "[%(%)%.%%%+%-%*%?%[%^%$%]]", "%%%0" ) )
end
return str
j3b8d4sejqnvazpfl0gk0yfaa503gli
282490
282489
2026-04-03T05:07:32Z
A826
6806
೧ ಬದಲಾವಣೆ
282489
Scribunto
text/plain
--[[
This module is intended to provide access to basic string functions.
Most of the functions provided here can be invoked with named parameters,
unnamed parameters, or a mixture. If named parameters are used, Mediawiki will
automatically remove any leading or trailing whitespace from the parameter.
Depending on the intended use, it may be advantageous to either preserve or
remove such whitespace.
Global options
ignore_errors: If set to 'true' or 1, any error condition will result in
an empty string being returned rather than an error message.
error_category: If an error occurs, specifies the name of a category to
include with the error message. The default category is
[Category:Errors reported by Module String].
no_category: If set to 'true' or 1, no category will be added if an error
is generated.
Unit tests for this module are available at Module:String/tests.
]]
local str = {}
--[[
len
This function returns the length of the target string.
Usage:
{{#invoke:String|len|target_string|}}
OR
{{#invoke:String|len|s=target_string}}
Parameters
s: The string whose length to report
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from the target string.
]]
function str.len( frame )
local new_args = str._getParameters( frame.args, {'s'} )
local s = new_args['s'] or ''
return mw.ustring.len( s )
end
--[[
sub
This function returns a substring of the target string at specified indices.
Usage:
{{#invoke:String|sub|target_string|start_index|end_index}}
OR
{{#invoke:String|sub|s=target_string|i=start_index|j=end_index}}
Parameters
s: The string to return a subset of
i: The first index of the substring to return, defaults to 1.
j: The last index of the string to return, defaults to the last character.
The first character of the string is assigned an index of 1. If either i or j
is a negative value, it is interpreted the same as selecting a character by
counting from the end of the string. Hence, a value of -1 is the same as
selecting the last character of the string.
If the requested indices are out of range for the given string, an error is
reported.
]]
function str.sub( frame )
local new_args = str._getParameters( frame.args, { 's', 'i', 'j' } )
local s = new_args['s'] or ''
local i = tonumber( new_args['i'] ) or 1
local j = tonumber( new_args['j'] ) or -1
local len = mw.ustring.len( s )
-- Convert negatives for range checking
if i < 0 then
i = len + i + 1
end
if j < 0 then
j = len + j + 1
end
if i > len or j > len or i < 1 or j < 1 then
return str._error( 'String subset index out of range' )
end
if j < i then
return str._error( 'String subset indices out of order' )
end
return mw.ustring.sub( s, i, j )
end
--[[
This function implements that features of {{str sub old}} and is kept in order
to maintain these older templates.
]]
function str.sublength( frame )
local i = tonumber( frame.args.i ) or 0
local len = tonumber( frame.args.len )
return mw.ustring.sub( frame.args.s, i + 1, len and ( i + len ) )
end
--[[
_match
This function returns a substring from the source string that matches a
specified pattern. It is exported for use in other modules
Usage:
strmatch = require("Module:String")._match
sresult = strmatch( s, pattern, start, match, plain, nomatch )
Parameters
s: The string to search
pattern: The pattern or string to find within the string
start: The index within the source string to start the search. The first
character of the string has index 1. Defaults to 1.
match: In some cases it may be possible to make multiple matches on a single
string. This specifies which match to return, where the first match is
match= 1. If a negative number is specified then a match is returned
counting from the last match. Hence match = -1 is the same as requesting
the last match. Defaults to 1.
plain: A flag indicating that the pattern should be understood as plain
text. Defaults to false.
nomatch: If no match is found, output the "nomatch" value rather than an error.
For information on constructing Lua patterns, a form of [regular expression], see:
* http://www.lua.org/manual/5.1/manual.html#5.4.1
* http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Patterns
* http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Ustring_patterns
]]
-- This sub-routine is exported for use in other modules
function str._match( s, pattern, start, match_index, plain_flag, nomatch )
if s == '' then
return str._error( 'Target string is empty' )
end
if pattern == '' then
return str._error( 'Pattern string is empty' )
end
start = tonumber(start) or 1
if math.abs(start) < 1 or math.abs(start) > mw.ustring.len( s ) then
return str._error( 'Requested start is out of range' )
end
if match_index == 0 then
return str._error( 'Match index is out of range' )
end
if plain_flag then
pattern = str._escapePattern( pattern )
end
local result
if match_index == 1 then
-- Find first match is simple case
result = mw.ustring.match( s, pattern, start )
else
if start > 1 then
s = mw.ustring.sub( s, start )
end
local iterator = mw.ustring.gmatch(s, pattern)
if match_index > 0 then
-- Forward search
for w in iterator do
match_index = match_index - 1
if match_index == 0 then
result = w
break
end
end
else
-- Reverse search
local result_table = {}
local count = 1
for w in iterator do
result_table[count] = w
count = count + 1
end
result = result_table[ count + match_index ]
end
end
if result == nil then
if nomatch == nil then
return str._error( 'Match not found' )
else
return nomatch
end
else
return result
end
end
--[[
match
This function returns a substring from the source string that matches a
specified pattern.
Usage:
{{#invoke:String|match|source_string|pattern_string|start_index|match_number|plain_flag|nomatch_output}}
OR
{{#invoke:String|match|s=source_string|pattern=pattern_string|start=start_index
|match=match_number|plain=plain_flag|nomatch=nomatch_output}}
Parameters
s: The string to search
pattern: The pattern or string to find within the string
start: The index within the source string to start the search. The first
character of the string has index 1. Defaults to 1.
match: In some cases it may be possible to make multiple matches on a single
string. This specifies which match to return, where the first match is
match= 1. If a negative number is specified then a match is returned
counting from the last match. Hence match = -1 is the same as requesting
the last match. Defaults to 1.
plain: A flag indicating that the pattern should be understood as plain
text. Defaults to false.
nomatch: If no match is found, output the "nomatch" value rather than an error.
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from each string. In some circumstances this is desirable, in
other cases one may want to preserve the whitespace.
If the match_number or start_index are out of range for the string being queried, then
this function generates an error. An error is also generated if no match is found.
If one adds the parameter ignore_errors=true, then the error will be suppressed and
an empty string will be returned on any failure.
For information on constructing Lua patterns, a form of [regular expression], see:
* http://www.lua.org/manual/5.1/manual.html#5.4.1
* http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Patterns
* http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Ustring_patterns
]]
-- This is the entry point for #invoke:String|match
function str.match( frame )
local new_args = str._getParameters( frame.args, {'s', 'pattern', 'start', 'match', 'plain', 'nomatch'} )
local s = new_args['s'] or ''
local start = tonumber( new_args['start'] ) or 1
local plain_flag = str._getBoolean( new_args['plain'] or false )
local pattern = new_args['pattern'] or ''
local match_index = math.floor( tonumber(new_args['match']) or 1 )
local nomatch = new_args['nomatch']
return str._match( s, pattern, start, match_index, plain_flag, nomatch )
end
--[[
pos
This function returns a single character from the target string at position pos.
Usage:
{{#invoke:String|pos|target_string|index_value}}
OR
{{#invoke:String|pos|target=target_string|pos=index_value}}
Parameters
target: The string to search
pos: The index for the character to return
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from the target string. In some circumstances this is desirable, in
other cases one may want to preserve the whitespace.
The first character has an index value of 1.
If one requests a negative value, this function will select a character by counting backwards
from the end of the string. In other words pos = -1 is the same as asking for the last character.
A requested value of zero, or a value greater than the length of the string returns an error.
]]
function str.pos( frame )
local new_args = str._getParameters( frame.args, {'target', 'pos'} )
local target_str = new_args['target'] or ''
local pos = tonumber( new_args['pos'] ) or 0
if pos == 0 or math.abs(pos) > mw.ustring.len( target_str ) then
return str._error( 'String index out of range' )
end
return mw.ustring.sub( target_str, pos, pos )
end
--[[
str_find
This function duplicates the behavior of {{str_find}}, including all of its quirks.
This is provided in order to support existing templates, but is NOT RECOMMENDED for
new code and templates. New code is recommended to use the "find" function instead.
Returns the first index in "source" that is a match to "target". Indexing is 1-based,
and the function returns -1 if the "target" string is not present in "source".
Important Note: If the "target" string is empty / missing, this function returns a
value of "1", which is generally unexpected behavior, and must be accounted for
separatetly.
]]
function str.str_find( frame )
local new_args = str._getParameters( frame.args, {'source', 'target'} )
local source_str = new_args['source'] or ''
local target_str = new_args['target'] or ''
if target_str == '' then
return 1
end
local start = mw.ustring.find( source_str, target_str, 1, true )
if start == nil then
start = -1
end
return start
end
--[[
find
This function allows one to search for a target string or pattern within another
string.
Usage:
{{#invoke:String|find|source_str|target_string|start_index|plain_flag}}
OR
{{#invoke:String|find|source=source_str|target=target_str|start=start_index|plain=plain_flag}}
Parameters
source: The string to search
target: The string or pattern to find within source
start: The index within the source string to start the search, defaults to 1
plain: Boolean flag indicating that target should be understood as plain
text and not as a Lua style regular expression, defaults to true
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from the parameter. In some circumstances this is desirable, in
other cases one may want to preserve the whitespace.
This function returns the first index >= "start" where "target" can be found
within "source". Indices are 1-based. If "target" is not found, then this
function returns 0. If either "source" or "target" are missing / empty, this
function also returns 0.
This function should be safe for UTF-8 strings.
]]
function str.find( frame )
local new_args = str._getParameters( frame.args, {'source', 'target', 'start', 'plain' } )
local source_str = new_args['source'] or ''
local pattern = new_args['target'] or ''
local start_pos = tonumber(new_args['start']) or 1
local plain = new_args['plain'] or true
if source_str == '' or pattern == '' then
return 0
end
plain = str._getBoolean( plain )
local start = mw.ustring.find( source_str, pattern, start_pos, plain )
if start == nil then
start = 0
end
return start
end
--[[
replace
This function allows one to replace a target string or pattern within another
string.
Usage:
{{#invoke:String|replace|source_str|pattern_string|replace_string|replacement_count|plain_flag}}
OR
{{#invoke:String|replace|source=source_string|pattern=pattern_string|replace=replace_string|
count=replacement_count|plain=plain_flag}}
Parameters
source: The string to search
pattern: The string or pattern to find within source
replace: The replacement text
count: The number of occurences to replace, defaults to all.
plain: Boolean flag indicating that pattern should be understood as plain
text and not as a Lua style regular expression, defaults to true
]]
function str.replace( frame )
local new_args = str._getParameters( frame.args, {'source', 'pattern', 'replace', 'count', 'plain' } )
local source_str = new_args['source'] or ''
local pattern = new_args['pattern'] or ''
local replace = new_args['replace'] or ''
local count = tonumber( new_args['count'] )
local plain = new_args['plain'] or true
if source_str == '' or pattern == '' then
return source_str
end
plain = str._getBoolean( plain )
if plain then
pattern = str._escapePattern( pattern )
replace = string.gsub( replace, "%%", "%%%%" ) --Only need to escape replacement sequences.
end
local result
if count ~= nil then
result = mw.ustring.gsub( source_str, pattern, replace, count )
else
result = mw.ustring.gsub( source_str, pattern, replace )
end
return result
end
--[[
simple function to pipe string.rep to templates.
]]
function str.rep( frame )
local repetitions = tonumber( frame.args[2] )
if not repetitions then
return str._error( 'function rep expects a number as second parameter, received "' .. ( frame.args[2] or '' ) .. '"' )
end
return string.rep( frame.args[1] or '', repetitions )
end
--[[
escapePattern
This function escapes special characters from a Lua string pattern. See [1]
for details on how patterns work.
[1] https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Patterns
Usage:
{{#invoke:String|escapePattern|pattern_string}}
Parameters
pattern_string: The pattern string to escape.
]]
function str.escapePattern( frame )
local pattern_str = frame.args[1]
if not pattern_str then
return str._error( 'No pattern string specified' )
end
local result = str._escapePattern( pattern_str )
return result
end
--[[
count
This function counts the number of occurrences of one string in another.
]]
function str.count(frame)
local args = str._getParameters(frame.args, {'source', 'pattern', 'plain'})
local source = args.source or ''
local pattern = args.pattern or ''
local plain = str._getBoolean(args.plain or true)
if plain then
pattern = str._escapePattern(pattern)
end
local _, count = mw.ustring.gsub(source, pattern, '')
return count
end
--[[
endswith
This function determines whether a string ends with another string.
]]
function str.endswith(frame)
local args = str._getParameters(frame.args, {'source', 'pattern'})
local source = args.source or ''
local pattern = args.pattern or ''
if pattern == '' then
-- All strings end with the empty string.
return "yes"
end
if mw.ustring.sub(source, -mw.ustring.len(pattern), -1) == pattern then
return "yes"
else
return ""
end
end
--[[
join
Join all non empty arguments together; the first argument is the separator.
Usage:
{{#invoke:String|join|sep|one|two|three}}
]]
function str.join(frame)
local args = {}
local sep
for _, v in ipairs( frame.args ) do
if sep then
if v ~= '' then
table.insert(args, v)
end
else
sep = v
end
end
return table.concat( args, sep or '' )
end
-- findpagetext returns the position of a piece of text in a page
-- First positional parameter or |text is the search text
-- Optional parameter |title is the page title, defaults to current page
-- Optional parameter |plain is either true for plain search (default) or false for Lua pattern search
-- Optional parameter |nomatch is the return value when no match is found; default is nil
function str._findpagetext(args)
-- process parameters
local nomatch = args.nomatch or ""
if nomatch == "" then nomatch = nil end
--
local text = mw.text.trim(args[1] or args.text or "")
if text == "" then return nil end
--
local title = args.title or ""
local titleobj
if title == "" then
titleobj = mw.title.getCurrentTitle()
else
titleobj = mw.title.new(title)
end
--
local plain = args.plain or ""
if plain:sub(1, 1) == "f" then plain = false else plain = true end
-- get the page content and look for 'text' - return position or nomatch
local content = titleobj and titleobj:getContent()
return content and mw.ustring.find(content, text, 1, plain) or nomatch
end
function str.findpagetext(frame)
local args = frame.args
local pargs = frame:getParent().args
for k, v in pairs(pargs) do
args[k] = v
end
if not (args[1] or args.text) then return nil end
-- just the first value
return (str._findpagetext(args))
end
--[[
Helper function that populates the argument list given that user may need to use a mix of
named and unnamed parameters. This is relevant because named parameters are not
identical to unnamed parameters due to string trimming, and when dealing with strings
we sometimes want to either preserve or remove that whitespace depending on the application.
]]
function str._getParameters( frame_args, arg_list )
local new_args = {}
local index = 1
local value
for _, arg in ipairs( arg_list ) do
value = frame_args[arg]
if value == nil then
value = frame_args[index]
index = index + 1
end
new_args[arg] = value
end
return new_args
end
--[[
Helper function to handle error messages.
]]
function str._error( error_str )
local frame = mw.getCurrentFrame()
local error_category = frame.args.error_category or 'Errors reported by Module String'
local ignore_errors = frame.args.ignore_errors or false
local no_category = frame.args.no_category or false
if str._getBoolean(ignore_errors) then
return ''
end
local error_str = '<strong class="error">String Module Error: ' .. error_str .. '</strong>'
if error_category ~= '' and not str._getBoolean( no_category ) then
error_str = '[[Category:' .. error_category .. ']]' .. error_str
end
return error_str
end
--[[
Helper Function to interpret boolean strings
]]
function str._getBoolean( boolean_str )
local boolean_value
if type( boolean_str ) == 'string' then
boolean_str = boolean_str:lower()
if boolean_str == 'false' or boolean_str == 'no' or boolean_str == '0'
or boolean_str == '' then
boolean_value = false
else
boolean_value = true
end
elseif type( boolean_str ) == 'boolean' then
boolean_value = boolean_str
else
error( 'No boolean value found' )
end
return boolean_value
end
--[[
Helper function that escapes all pattern characters so that they will be treated
as plain text.
]]
function str._escapePattern( pattern_str )
return ( string.gsub( pattern_str, "[%(%)%.%%%+%-%*%?%[%^%$%]]", "%%%0" ) )
end
return str
j3b8d4sejqnvazpfl0gk0yfaa503gli
ಟೆಂಪ್ಲೇಟು:Yesno
10
45812
282485
258195
2025-12-06T20:28:33Z
w:en>Pppery
0
Copy from sandbox per request
282485
wikitext
text/x-wiki
{{<includeonly>safesubst:</includeonly>#switch: {{<includeonly>safesubst:</includeonly>lc: {{{1|¬}}} }}
|no
|n
|f
|false
|off
|0 = {{{no|}}}
| = {{{blank|{{{no|}}}}}}
|¬ = {{{¬|}}}
|yes
|y
|t
|true
|on
|1 = {{{yes|yes}}}
|#default = {{{def|{{{yes|yes}}}}}}
}}<noinclude>
{{Documentation}}
</noinclude>
ap97tktff18ii0muqd5f4eezydumg5v
282486
282485
2026-04-03T05:07:32Z
A826
6806
೧ ಬದಲಾವಣೆ
282485
wikitext
text/x-wiki
{{<includeonly>safesubst:</includeonly>#switch: {{<includeonly>safesubst:</includeonly>lc: {{{1|¬}}} }}
|no
|n
|f
|false
|off
|0 = {{{no|}}}
| = {{{blank|{{{no|}}}}}}
|¬ = {{{¬|}}}
|yes
|y
|t
|true
|on
|1 = {{{yes|yes}}}
|#default = {{{def|{{{yes|yes}}}}}}
}}<noinclude>
{{Documentation}}
</noinclude>
ap97tktff18ii0muqd5f4eezydumg5v
ಮಾಡ್ಯೂಲ್:Check for unknown parameters
828
45814
282487
254753
2025-10-17T11:01:38Z
w:en>Joy
0
document missing mapframe parameter aliases
282487
Scribunto
text/plain
-- This module may be used to compare the arguments passed to the parent
-- with a list of arguments, returning a specified result if an argument is
-- not on the list
require ('strict');
local p = {}
local mapframe_params = {
'coord',
'coordinates',
'id',
'qid',
'mapframe',
'mapframe-area_km2',
'mapframe-area_mi2',
'mapframe-caption',
'mapframe-coord',
'mapframe-coordinates',
'mapframe-custom',
'mapframe-frame-coord',
'mapframe-frame-coordinates',
'mapframe-frame-height',
'mapframe-frame-width',
'mapframe-geomask',
'mapframe-geomask-fill',
'mapframe-geomask-fill-opacity',
'mapframe-geomask-stroke-color',
'mapframe-geomask-stroke-colour',
'mapframe-geomask-stroke-width',
'mapframe-height',
'mapframe-id',
'mapframe-length_km',
'mapframe-length_mi',
'mapframe-line',
'mapframe-line-stroke-color',
'mapframe-line-stroke-colour',
'mapframe-marker',
'mapframe-marker-color',
'mapframe-marker-colour',
'mapframe-point',
'mapframe-population',
'mapframe-shape',
'mapframe-shape-fill',
'mapframe-shape-fill-opacity',
'mapframe-shape-stroke-color',
'mapframe-shape-stroke-colour',
'mapframe-stroke-color',
'mapframe-stroke-colour',
'mapframe-stroke-width',
'mapframe-switcher',
'mapframe-type',
'mapframe-width',
'mapframe-wikidata',
'mapframe-zoom'
}
local function trim(s)
return s:match('^%s*(.-)%s*$')
end
local function isnotempty(s)
return s and s:match('%S')
end
local function clean(text)
-- Return text cleaned for display and truncated if too long.
-- Strip markers are replaced with dummy text representing the original wikitext.
local pos, truncated
local function truncate(text)
if truncated then
return ''
end
if mw.ustring.len(text) > 25 then
truncated = true
text = mw.ustring.sub(text, 1, 25) .. '...'
end
return mw.text.nowiki(text)
end
local parts = {}
for before, tag, remainder in text:gmatch('([^\127]*)\127[^\127]*%-(%l+)%-[^\127]*\127()') do
pos = remainder
table.insert(parts, truncate(before) .. '<' .. tag .. '>...</' .. tag .. '>')
end
table.insert(parts, truncate(text:sub(pos or 1)))
return table.concat(parts)
end
function p._check(args, pargs)
if type(args) ~= "table" or type(pargs) ~= "table" then
-- TODO: error handling
return
end
-- create the list of known args, regular expressions, and the return string
local knownargs = {}
if isnotempty(args['mapframe_args']) then
for _, v in ipairs(mapframe_params) do
knownargs[v] = 1
end
end
local regexps = {}
for k, v in pairs(args) do
if type(k) == 'number' then
v = trim(v)
knownargs[v] = 1
elseif k:find('^regexp[1-9][0-9]*$') then
table.insert(regexps, '^' .. v .. '$')
end
end
-- loop over the parent args, and make sure they are on the list
local ignoreblank = isnotempty(args['ignoreblank'])
local showblankpos = isnotempty(args['showblankpositional'])
local values = {}
for k, v in pairs(pargs) do
if type(k) == 'string' and knownargs[k] == nil then
local knownflag = false
for _, regexp in ipairs(regexps) do
if mw.ustring.match(k, regexp) then
knownflag = true
break
end
end
if not knownflag and ( not ignoreblank or isnotempty(v) ) then
table.insert(values, clean(k))
end
elseif type(k) == 'number' and knownargs[tostring(k)] == nil then
local knownflag = false
for _, regexp in ipairs(regexps) do
if mw.ustring.match(tostring(k), regexp) then
knownflag = true
break
end
end
if not knownflag and ( showblankpos or isnotempty(v) ) then
table.insert(values, k .. ' = ' .. clean(v))
end
end
end
-- add results to the output tables
local res = {}
if #values > 0 then
local unknown_text = args['unknown'] or 'Found _VALUE_, '
if mw.getCurrentFrame():preprocess( "{{REVISIONID}}" ) == "" then
local preview_text = args['preview']
if isnotempty(preview_text) then
preview_text = require('Module:If preview')._warning({preview_text})
elseif preview_text == nil then
preview_text = unknown_text
end
unknown_text = preview_text
end
for _, v in pairs(values) do
-- Fix odd bug for | = which gets stripped to the empty string and
-- breaks category links
if v == '' then v = ' ' end
-- avoid error with v = 'example%2' ("invalid capture index")
local r = unknown_text:gsub('_VALUE_', {_VALUE_ = v})
table.insert(res, r)
end
end
return table.concat(res)
end
function p.check(frame)
local args = frame.args
local pargs = frame:getParent().args
return p._check(args, pargs)
end
return p
mf5u017ry3j5wcsi9ctzrqfash3oih5
282488
282487
2026-04-03T05:07:32Z
A826
6806
೧ ಬದಲಾವಣೆ
282487
Scribunto
text/plain
-- This module may be used to compare the arguments passed to the parent
-- with a list of arguments, returning a specified result if an argument is
-- not on the list
require ('strict');
local p = {}
local mapframe_params = {
'coord',
'coordinates',
'id',
'qid',
'mapframe',
'mapframe-area_km2',
'mapframe-area_mi2',
'mapframe-caption',
'mapframe-coord',
'mapframe-coordinates',
'mapframe-custom',
'mapframe-frame-coord',
'mapframe-frame-coordinates',
'mapframe-frame-height',
'mapframe-frame-width',
'mapframe-geomask',
'mapframe-geomask-fill',
'mapframe-geomask-fill-opacity',
'mapframe-geomask-stroke-color',
'mapframe-geomask-stroke-colour',
'mapframe-geomask-stroke-width',
'mapframe-height',
'mapframe-id',
'mapframe-length_km',
'mapframe-length_mi',
'mapframe-line',
'mapframe-line-stroke-color',
'mapframe-line-stroke-colour',
'mapframe-marker',
'mapframe-marker-color',
'mapframe-marker-colour',
'mapframe-point',
'mapframe-population',
'mapframe-shape',
'mapframe-shape-fill',
'mapframe-shape-fill-opacity',
'mapframe-shape-stroke-color',
'mapframe-shape-stroke-colour',
'mapframe-stroke-color',
'mapframe-stroke-colour',
'mapframe-stroke-width',
'mapframe-switcher',
'mapframe-type',
'mapframe-width',
'mapframe-wikidata',
'mapframe-zoom'
}
local function trim(s)
return s:match('^%s*(.-)%s*$')
end
local function isnotempty(s)
return s and s:match('%S')
end
local function clean(text)
-- Return text cleaned for display and truncated if too long.
-- Strip markers are replaced with dummy text representing the original wikitext.
local pos, truncated
local function truncate(text)
if truncated then
return ''
end
if mw.ustring.len(text) > 25 then
truncated = true
text = mw.ustring.sub(text, 1, 25) .. '...'
end
return mw.text.nowiki(text)
end
local parts = {}
for before, tag, remainder in text:gmatch('([^\127]*)\127[^\127]*%-(%l+)%-[^\127]*\127()') do
pos = remainder
table.insert(parts, truncate(before) .. '<' .. tag .. '>...</' .. tag .. '>')
end
table.insert(parts, truncate(text:sub(pos or 1)))
return table.concat(parts)
end
function p._check(args, pargs)
if type(args) ~= "table" or type(pargs) ~= "table" then
-- TODO: error handling
return
end
-- create the list of known args, regular expressions, and the return string
local knownargs = {}
if isnotempty(args['mapframe_args']) then
for _, v in ipairs(mapframe_params) do
knownargs[v] = 1
end
end
local regexps = {}
for k, v in pairs(args) do
if type(k) == 'number' then
v = trim(v)
knownargs[v] = 1
elseif k:find('^regexp[1-9][0-9]*$') then
table.insert(regexps, '^' .. v .. '$')
end
end
-- loop over the parent args, and make sure they are on the list
local ignoreblank = isnotempty(args['ignoreblank'])
local showblankpos = isnotempty(args['showblankpositional'])
local values = {}
for k, v in pairs(pargs) do
if type(k) == 'string' and knownargs[k] == nil then
local knownflag = false
for _, regexp in ipairs(regexps) do
if mw.ustring.match(k, regexp) then
knownflag = true
break
end
end
if not knownflag and ( not ignoreblank or isnotempty(v) ) then
table.insert(values, clean(k))
end
elseif type(k) == 'number' and knownargs[tostring(k)] == nil then
local knownflag = false
for _, regexp in ipairs(regexps) do
if mw.ustring.match(tostring(k), regexp) then
knownflag = true
break
end
end
if not knownflag and ( showblankpos or isnotempty(v) ) then
table.insert(values, k .. ' = ' .. clean(v))
end
end
end
-- add results to the output tables
local res = {}
if #values > 0 then
local unknown_text = args['unknown'] or 'Found _VALUE_, '
if mw.getCurrentFrame():preprocess( "{{REVISIONID}}" ) == "" then
local preview_text = args['preview']
if isnotempty(preview_text) then
preview_text = require('Module:If preview')._warning({preview_text})
elseif preview_text == nil then
preview_text = unknown_text
end
unknown_text = preview_text
end
for _, v in pairs(values) do
-- Fix odd bug for | = which gets stripped to the empty string and
-- breaks category links
if v == '' then v = ' ' end
-- avoid error with v = 'example%2' ("invalid capture index")
local r = unknown_text:gsub('_VALUE_', {_VALUE_ = v})
table.insert(res, r)
end
end
return table.concat(res)
end
function p.check(frame)
local args = frame.args
local pargs = frame:getParent().args
return p._check(args, pargs)
end
return p
mf5u017ry3j5wcsi9ctzrqfash3oih5
ಟೆಂಪ್ಲೇಟು:Template other
10
72323
282497
143711
2018-12-16T22:06:25Z
w:en>Amorymeltzer
0
Changed protection level for "[[Template:Template other]]": [[WP:High-risk templates|Highly visible template]]: Transclusion count has increased dramatically ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite))
143711
wikitext
text/x-wiki
{{#switch:
<!--If no or empty "demospace" parameter then detect namespace-->
{{#if:{{{demospace|}}}
| {{lc: {{{demospace}}} }} <!--Use lower case "demospace"-->
| {{#ifeq:{{NAMESPACE}}|{{ns:Template}}
| template
| other
}}
}}
| template = {{{1|}}}
| other
| #default = {{{2|}}}
}}<!--End switch--><noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
0tcssjmltwl7y5v3f5wj2kqciaabqly
282498
259784
2026-04-03T05:07:32Z
A826
6806
೧ ಬದಲಾವಣೆ
259783
wikitext
text/x-wiki
{{#invoke:Namespace other|namespace_other|target=template}}<noinclude>{{documentation}}</noinclude>
d0v0jwv8ppd98cqncirlpk5u5zbre2m
ಮಾಡ್ಯೂಲ್:Documentation/styles.css
828
95178
282511
276906
2025-10-02T12:44:28Z
w:en>Jonesey95
0
Fix [[Special:LintErrors|Linter]] errors related to text color in dark mode; this generally works but may cause problems, in which case revert or try specifying a different CSS value.
282511
sanitized-css
text/css
/* {{pp|small=yes}} */
.documentation,
.documentation-metadata {
border: 1px solid var( --border-color-base, #a2a9b1 );
background-color: #ecfcf4; color:inherit;
clear: both;
}
.documentation {
margin: 1em 0 0 0;
padding: 1em;
}
.documentation-metadata {
margin: 0.2em 0; /* same margin left-right as .documentation */
font-style: italic;
padding: 0.4em 1em; /* same padding left-right as .documentation */
}
.documentation-startbox {
padding-bottom: 3px;
border-bottom: 1px solid var( --border-color-base, #a2a9b1 );
margin-bottom: 1ex;
}
.documentation-heading {
font-weight: bold;
font-size: 125%;
}
.documentation-clear { /* Don't want things to stick out where they shouldn't. */
clear: both;
}
.documentation-toolbar {
font-style: normal;
font-size: 85%;
}
@media screen {
html.skin-theme-clientpref-night .documentation,
html.skin-theme-clientpref-night .documentation-metadata {
background-color: #0b1e1c; color:inherit;
}
}
@media screen and ( prefers-color-scheme: dark ) {
html.skin-theme-clientpref-os .documentation,
html.skin-theme-clientpref-os .documentation-metadata {
background-color: #0b1e1c; color:inherit;
}
}
c21gvdpc307rvalbk05ah9j5kvouvl3
282512
282511
2026-04-03T05:07:33Z
A826
6806
೧ ಬದಲಾವಣೆ
282511
sanitized-css
text/css
/* {{pp|small=yes}} */
.documentation,
.documentation-metadata {
border: 1px solid var( --border-color-base, #a2a9b1 );
background-color: #ecfcf4; color:inherit;
clear: both;
}
.documentation {
margin: 1em 0 0 0;
padding: 1em;
}
.documentation-metadata {
margin: 0.2em 0; /* same margin left-right as .documentation */
font-style: italic;
padding: 0.4em 1em; /* same padding left-right as .documentation */
}
.documentation-startbox {
padding-bottom: 3px;
border-bottom: 1px solid var( --border-color-base, #a2a9b1 );
margin-bottom: 1ex;
}
.documentation-heading {
font-weight: bold;
font-size: 125%;
}
.documentation-clear { /* Don't want things to stick out where they shouldn't. */
clear: both;
}
.documentation-toolbar {
font-style: normal;
font-size: 85%;
}
@media screen {
html.skin-theme-clientpref-night .documentation,
html.skin-theme-clientpref-night .documentation-metadata {
background-color: #0b1e1c; color:inherit;
}
}
@media screen and ( prefers-color-scheme: dark ) {
html.skin-theme-clientpref-os .documentation,
html.skin-theme-clientpref-os .documentation-metadata {
background-color: #0b1e1c; color:inherit;
}
}
c21gvdpc307rvalbk05ah9j5kvouvl3
ಮಾಡ್ಯೂಲ್:Message box/ombox.css
828
95244
282527
278522
2025-08-29T06:07:09Z
w:en>Izno
0
english
282527
sanitized-css
text/css
/* {{pp|small=y}} */
.ombox {
margin: 4px 0;
border-collapse: collapse;
border: 1px solid #a2a9b1; /* Default "notice" gray */
background-color: var(--background-color-neutral-subtle, #f8f9fa);
box-sizing: border-box;
color: var(--color-base, #202122);
}
/* For the "small=yes" option. */
.ombox.mbox-small {
font-size: 88%;
line-height: 1.25em;
}
.ombox-speedy {
border: 2px solid #b32424; /* Red */
background-color: #fee7e6; /* Pink */
}
.ombox-delete {
border: 2px solid #b32424; /* Red */
}
.ombox-content {
border: 1px solid #f28500; /* Orange */
}
.ombox-style {
border: 1px solid #fc3; /* Yellow */
}
.ombox-move {
border: 1px solid #9932cc; /* Purple */
}
.ombox-protection {
border: 2px solid #a2a9b1; /* Gray-gold */
}
.ombox .mbox-text {
border: none;
/* @noflip */
padding: 0.25em 0.9em;
width: 100%;
}
.ombox .mbox-image {
border: none;
/* @noflip */
padding: 2px 0 2px 0.9em;
text-align: center;
}
.ombox .mbox-imageright {
border: none;
/* @noflip */
padding: 2px 0.9em 2px 0;
text-align: center;
}
/* An empty narrow cell */
.ombox .mbox-empty-cell {
border: none;
padding: 0;
width: 1px;
}
/* keep synced with each other type of message box as this isn't qualified */
.mbox-invalid-type {
text-align: center;
}
@media (min-width: 720px) {
.ombox {
margin: 4px 10%;
}
.ombox.mbox-small {
/* @noflip */
clear: right;
/* @noflip */
float: right;
/* @noflip */
margin: 4px 0 4px 1em;
width: 238px;
}
}
/** T367463 */
body.skin--responsive table.ombox img {
max-width: none !important;
}
@media screen {
html.skin-theme-clientpref-night .ombox-speedy {
background-color: #310402; /* Dark red, same hue/saturation as light */
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .ombox-speedy {
background-color: #310402; /* Dark red, same hue/saturation as light */
}
}
s3kd4o8l90hza7k55c82cm0ltkd3xp2
282528
282527
2026-04-03T05:07:34Z
A826
6806
೧ ಬದಲಾವಣೆ
282527
sanitized-css
text/css
/* {{pp|small=y}} */
.ombox {
margin: 4px 0;
border-collapse: collapse;
border: 1px solid #a2a9b1; /* Default "notice" gray */
background-color: var(--background-color-neutral-subtle, #f8f9fa);
box-sizing: border-box;
color: var(--color-base, #202122);
}
/* For the "small=yes" option. */
.ombox.mbox-small {
font-size: 88%;
line-height: 1.25em;
}
.ombox-speedy {
border: 2px solid #b32424; /* Red */
background-color: #fee7e6; /* Pink */
}
.ombox-delete {
border: 2px solid #b32424; /* Red */
}
.ombox-content {
border: 1px solid #f28500; /* Orange */
}
.ombox-style {
border: 1px solid #fc3; /* Yellow */
}
.ombox-move {
border: 1px solid #9932cc; /* Purple */
}
.ombox-protection {
border: 2px solid #a2a9b1; /* Gray-gold */
}
.ombox .mbox-text {
border: none;
/* @noflip */
padding: 0.25em 0.9em;
width: 100%;
}
.ombox .mbox-image {
border: none;
/* @noflip */
padding: 2px 0 2px 0.9em;
text-align: center;
}
.ombox .mbox-imageright {
border: none;
/* @noflip */
padding: 2px 0.9em 2px 0;
text-align: center;
}
/* An empty narrow cell */
.ombox .mbox-empty-cell {
border: none;
padding: 0;
width: 1px;
}
/* keep synced with each other type of message box as this isn't qualified */
.mbox-invalid-type {
text-align: center;
}
@media (min-width: 720px) {
.ombox {
margin: 4px 10%;
}
.ombox.mbox-small {
/* @noflip */
clear: right;
/* @noflip */
float: right;
/* @noflip */
margin: 4px 0 4px 1em;
width: 238px;
}
}
/** T367463 */
body.skin--responsive table.ombox img {
max-width: none !important;
}
@media screen {
html.skin-theme-clientpref-night .ombox-speedy {
background-color: #310402; /* Dark red, same hue/saturation as light */
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .ombox-speedy {
background-color: #310402; /* Dark red, same hue/saturation as light */
}
}
s3kd4o8l90hza7k55c82cm0ltkd3xp2
ಮಾಡ್ಯೂಲ್:High-use
828
95259
282521
275461
2025-10-08T20:24:46Z
w:en>Ahecht
0
Per [[Template talk:High-use#Transcluding nonexistent /testcases pages]]
282521
Scribunto
text/plain
require('strict')
local p = {}
local getArgs = require('Module:Arguments').getArgs
local _fetch = require('Module:Transclusion_count')._fetch -- _fetch looks at the 'demo' argument
local yesno = require('Module:Yesno')
local lang_obj = mw.getContentLanguage() -- this here because the language object is used multiple places in the module
local large_count_cutoff = 100000
local approx_num_total_pages = 63000000
local user_subpage_info_page = 'Wikipedia:User pages#SUB'
local sandbox_module_page = 'Module:Sandbox'
local system_messages_cat = 'Pages used in system messages needing protection'
local sandbox_word = 'sandbox'
local testcases_word = 'testcases'
local doc_word = 'doc'
local function count_from_args(args)
if tonumber(args.count) then -- check if function has already been used
return tonumber(args.count) -- early exit if so
end
local count
if yesno(args['fetch']) ~= false then
count = _fetch(args) -- fetch transclusion count
end
-- use explicitly-provided count when fetch fails
if count == nil and args[1] ~= nil and args[1] ~= '' then
-- convert local language number string to a number understandable by Lua
count = mw.ustring.gsub(args[1], '+$', '')
count = lang_obj:parseFormattedNumber(args[1])
end
-- in case someone writes a non-positive number
if count and count > 0 then
return count
end
return nil
end
-- Actions if there is a large (greater than or equal to 100,000) transclusion count
local function risk_boolean(args)
if args.risk == true or args.risk == false then
return args.risk
elseif args[1] == 'risk' then
return true
else
local count = count_from_args(args)
if count and count >= large_count_cutoff then
return true
end
end
return false
end
-- function retained for backwards compatibility
function p._risk(args)
return risk_boolean(args) and 'risk' or ''
end
-- function retained for backwards compatibility
function p.risk(frame)
return p._risk(getArgs(frame))
end
-- count and no_percent arguments retained for backwards compatibility
function p._num(args, count, no_percent)
if count == nil then
count = count_from_args(args)
end
args.count = count
args.risk = risk_boolean(args)
-- Build output string
local return_value = ''
if args.count == nil and args.risk then
return 'a very large number of'
elseif args.count == nil then
return 'many'
else
-- Use 2 significant figures for smaller numbers and 3 for larger ones
local sigfig = 2
if args.count >= large_count_cutoff then
sigfig = 3
end
-- Prepare to round to appropriate number of sigfigs
local f = math.floor(math.log10(args.count)) - sigfig + 1
-- Round and insert 'approximately' or '+' when appropriate
if yesno(args[2]) == true or (type(args[1]) == 'string' and (mw.ustring.sub(args[1], -1) == '+')) then
-- Round down
return_value = string.format('%s+', lang_obj:formatNum(math.floor( (args.count / 10^(f)) ) * (10^(f))) )
else
-- Round to nearest
return_value = string.format('approximately %s', lang_obj:formatNum(math.floor( (args.count / 10^(f)) + 0.5) * (10^(f))) )
end
-- Insert percentage of pages if that is likely to be >= 1% and when |no-percent= not set to yes
no_percent = yesno(no_percent or args['no-percent'])
if args.count and args.count >= approx_num_total_pages/100 and not no_percent then
local num_total_pages = mw.getCurrentFrame():callParserFunction('NUMBEROFPAGES', 'R')
local total_percent = math.floor( ( ( args.count/num_total_pages ) * 100) + 0.5)
if total_percent >= 1 then
return_value = string.format('%s pages, or roughly %s%% of all', return_value, total_percent)
end
end
end
return return_value
end
-- used by [[Template:Stub documentation]] and other pages
-- count argument retained for backwards compatibility
function p.num(frame, count)
return p._num(getArgs(frame), count)
end
-- count argument retained for backwards compatibility
function p._text(args, count)
--[=[
Only show the information about how this template gets updated
if someone is actually editing the page and maybe trying to update the count.
]=]
local bot_text = (mw.getCurrentFrame():preprocess('{{REVISIONID}}') == '') and ("\n\n----\n'''Preview message''':" .. ' Transclusion count updated automatically ([[Template:High-use/doc#Technical details|see documentation]]).') or ''
if count == nil then
count = count_from_args(args)
end
args.count = count
args.risk = risk_boolean(args)
-- trim /doc, /sandbox and /testcases
local title = args.title or (args.demo and args.demo ~= '' and mw.title.new(args.demo, 'Template')) or mw.title.getCurrentTitle()
if title.subpageText == doc_word or title.subpageText == sandbox_word or title.subpageText == testcases_word then
title = title.basePageTitle
end
-- use /testcases of base template
local testcases_page = mw.title.new(title.prefixedText .. '/' .. testcases_word)
-- exists is expensive
while testcases_page.basePageTitle.isSubpage and not testcases_page.exists do
testcases_page = mw.title.new(testcases_page.basePageTitle.basePageTitle.prefixedText .. '/' .. testcases_word)
end
local systemMessages = (args['system'] or '') ~= ''
-- This retrieves the project URL automatically to simplify localization.
local templateCount = ('on [https://linkcount.toolforge.org/?project=%s&page=%s#transclusions %s pages]'):format(
title:fullUrl():gsub('//(.-)/.*', '%1'),
mw.uri.encode(title.fullText), p._num(args))
local used_on_text = "'''This " .. (title:inNamespace('Module') and 'Lua module' or 'template') .. ' is used '
if systemMessages then
used_on_text = used_on_text .. args['system'] ..
((args.count and args.count > 2000) and ("''', and " .. templateCount) or ("'''"))
else
used_on_text = used_on_text .. templateCount .. "'''"
end
local sandbox_text = ('%s\'s [[%s/sandbox|/sandbox]] or [[%s|/testcases]] subpages, or in your own [[%s]]. '):format(
title:inNamespace('Module') and 'module' or 'template',
title.fullText,
testcases_page.fullText,
title:inNamespace('Module') and (sandbox_module_page .. '|module sandbox') or (user_subpage_info_page .. '|user subpage')
)
local infoArg = args['info'] ~= '' and args['info']
if (systemMessages or args.risk) then
local info = '.'
if systemMessages then
info = info .. '<br />Changes to it can cause immediate changes to the ' .. mw.site.namespaces.Project.name .. ' user interface.'
end
if infoArg then
info = info .. '<br />' .. infoArg
end
sandbox_text = info .. '<br /> To avoid major disruption' ..
(args.count and args.count >= large_count_cutoff and ' and server load' or '') .. -- should this use args.risk?
', any changes should be tested in the ' .. sandbox_text ..
'The tested changes can be added to this page in a single edit. '
else
sandbox_text = (infoArg and ('.<br />' .. infoArg .. ' C') or ' and c') ..
'hanges may be widely noticed. Test changes in the ' .. sandbox_text
end
local discussion_text = systemMessages and 'Please discuss changes ' or 'Consider discussing changes '
if args[2] ~= nil and args[2] ~= '' and yesno(args[2]) == nil then
discussion_text = string.format('%sat [[%s]]', discussion_text, args[2])
else
discussion_text = string.format('%son the [[%s|talk page]]', discussion_text, title.talkPageTitle.fullText)
end
return used_on_text .. sandbox_text .. discussion_text .. ' before implementing them.' .. bot_text
end
-- used by [[Template:R from high-use template]]
-- count argument retained for backwards compatibility
function p.text(frame, count)
return p._text(getArgs(frame), count)
end
-- nocat argument retained for backwards compatibility
function p._main(args, nocat)
args.count = count_from_args(args)
args.risk = risk_boolean(args)
args.title = (args.demo and args.demo ~= '' and mw.title.new(args.demo, 'Template')) or mw.title.getCurrentTitle()
local image = 'Ambox warning yellow.svg'
local type_param = 'style'
local epilogue = ''
if args['system'] and args['system'] ~= '' then
image = 'Ambox important.svg'
type_param = 'content'
if yesno(nocat or args['nocat']) ~= true and not args.title.isRedirect then
local protection_action = (args.title:inNamespace('File') and 'upload') or 'edit'
local protection_level = require('Module:Effective protection level')._main(protection_action, args.title.fullText)
if protection_level ~= 'sysop' and protection_level ~= 'templateeditor' and protection_level ~= 'interfaceadmin' then
epilogue = mw.getCurrentFrame():expandTemplate {
title = 'sandbox other',
args = {
[2] = '[[Category:' .. system_messages_cat .. ']]'
}
}
end
end
elseif args.risk then
image = 'Ambox warning orange.svg'
type_param = 'content'
end
image = '[[File:' .. image .. '|40px|alt=Warning|link=]]'
if args['form'] == 'editnotice' then
return mw.getCurrentFrame():expandTemplate{
title = 'editnotice',
args = {
['image'] = image,
['text'] = p._text(args),
['expiry'] = (args['expiry'] or '')
}
} .. epilogue
else
return require('Module:Message box').main('ombox', {
type = type_param,
image = image,
text = p._text(args),
expiry = (args['expiry'] or '')
}) .. epilogue
end
end
function p.main(frame)
return p._main(getArgs(frame))
end
return p
7vhku385skyupjyp8fbj77dh043svz7
282522
282521
2026-04-03T05:07:33Z
A826
6806
೧ ಬದಲಾವಣೆ
282521
Scribunto
text/plain
require('strict')
local p = {}
local getArgs = require('Module:Arguments').getArgs
local _fetch = require('Module:Transclusion_count')._fetch -- _fetch looks at the 'demo' argument
local yesno = require('Module:Yesno')
local lang_obj = mw.getContentLanguage() -- this here because the language object is used multiple places in the module
local large_count_cutoff = 100000
local approx_num_total_pages = 63000000
local user_subpage_info_page = 'Wikipedia:User pages#SUB'
local sandbox_module_page = 'Module:Sandbox'
local system_messages_cat = 'Pages used in system messages needing protection'
local sandbox_word = 'sandbox'
local testcases_word = 'testcases'
local doc_word = 'doc'
local function count_from_args(args)
if tonumber(args.count) then -- check if function has already been used
return tonumber(args.count) -- early exit if so
end
local count
if yesno(args['fetch']) ~= false then
count = _fetch(args) -- fetch transclusion count
end
-- use explicitly-provided count when fetch fails
if count == nil and args[1] ~= nil and args[1] ~= '' then
-- convert local language number string to a number understandable by Lua
count = mw.ustring.gsub(args[1], '+$', '')
count = lang_obj:parseFormattedNumber(args[1])
end
-- in case someone writes a non-positive number
if count and count > 0 then
return count
end
return nil
end
-- Actions if there is a large (greater than or equal to 100,000) transclusion count
local function risk_boolean(args)
if args.risk == true or args.risk == false then
return args.risk
elseif args[1] == 'risk' then
return true
else
local count = count_from_args(args)
if count and count >= large_count_cutoff then
return true
end
end
return false
end
-- function retained for backwards compatibility
function p._risk(args)
return risk_boolean(args) and 'risk' or ''
end
-- function retained for backwards compatibility
function p.risk(frame)
return p._risk(getArgs(frame))
end
-- count and no_percent arguments retained for backwards compatibility
function p._num(args, count, no_percent)
if count == nil then
count = count_from_args(args)
end
args.count = count
args.risk = risk_boolean(args)
-- Build output string
local return_value = ''
if args.count == nil and args.risk then
return 'a very large number of'
elseif args.count == nil then
return 'many'
else
-- Use 2 significant figures for smaller numbers and 3 for larger ones
local sigfig = 2
if args.count >= large_count_cutoff then
sigfig = 3
end
-- Prepare to round to appropriate number of sigfigs
local f = math.floor(math.log10(args.count)) - sigfig + 1
-- Round and insert 'approximately' or '+' when appropriate
if yesno(args[2]) == true or (type(args[1]) == 'string' and (mw.ustring.sub(args[1], -1) == '+')) then
-- Round down
return_value = string.format('%s+', lang_obj:formatNum(math.floor( (args.count / 10^(f)) ) * (10^(f))) )
else
-- Round to nearest
return_value = string.format('approximately %s', lang_obj:formatNum(math.floor( (args.count / 10^(f)) + 0.5) * (10^(f))) )
end
-- Insert percentage of pages if that is likely to be >= 1% and when |no-percent= not set to yes
no_percent = yesno(no_percent or args['no-percent'])
if args.count and args.count >= approx_num_total_pages/100 and not no_percent then
local num_total_pages = mw.getCurrentFrame():callParserFunction('NUMBEROFPAGES', 'R')
local total_percent = math.floor( ( ( args.count/num_total_pages ) * 100) + 0.5)
if total_percent >= 1 then
return_value = string.format('%s pages, or roughly %s%% of all', return_value, total_percent)
end
end
end
return return_value
end
-- used by [[Template:Stub documentation]] and other pages
-- count argument retained for backwards compatibility
function p.num(frame, count)
return p._num(getArgs(frame), count)
end
-- count argument retained for backwards compatibility
function p._text(args, count)
--[=[
Only show the information about how this template gets updated
if someone is actually editing the page and maybe trying to update the count.
]=]
local bot_text = (mw.getCurrentFrame():preprocess('{{REVISIONID}}') == '') and ("\n\n----\n'''Preview message''':" .. ' Transclusion count updated automatically ([[Template:High-use/doc#Technical details|see documentation]]).') or ''
if count == nil then
count = count_from_args(args)
end
args.count = count
args.risk = risk_boolean(args)
-- trim /doc, /sandbox and /testcases
local title = args.title or (args.demo and args.demo ~= '' and mw.title.new(args.demo, 'Template')) or mw.title.getCurrentTitle()
if title.subpageText == doc_word or title.subpageText == sandbox_word or title.subpageText == testcases_word then
title = title.basePageTitle
end
-- use /testcases of base template
local testcases_page = mw.title.new(title.prefixedText .. '/' .. testcases_word)
-- exists is expensive
while testcases_page.basePageTitle.isSubpage and not testcases_page.exists do
testcases_page = mw.title.new(testcases_page.basePageTitle.basePageTitle.prefixedText .. '/' .. testcases_word)
end
local systemMessages = (args['system'] or '') ~= ''
-- This retrieves the project URL automatically to simplify localization.
local templateCount = ('on [https://linkcount.toolforge.org/?project=%s&page=%s#transclusions %s pages]'):format(
title:fullUrl():gsub('//(.-)/.*', '%1'),
mw.uri.encode(title.fullText), p._num(args))
local used_on_text = "'''This " .. (title:inNamespace('Module') and 'Lua module' or 'template') .. ' is used '
if systemMessages then
used_on_text = used_on_text .. args['system'] ..
((args.count and args.count > 2000) and ("''', and " .. templateCount) or ("'''"))
else
used_on_text = used_on_text .. templateCount .. "'''"
end
local sandbox_text = ('%s\'s [[%s/sandbox|/sandbox]] or [[%s|/testcases]] subpages, or in your own [[%s]]. '):format(
title:inNamespace('Module') and 'module' or 'template',
title.fullText,
testcases_page.fullText,
title:inNamespace('Module') and (sandbox_module_page .. '|module sandbox') or (user_subpage_info_page .. '|user subpage')
)
local infoArg = args['info'] ~= '' and args['info']
if (systemMessages or args.risk) then
local info = '.'
if systemMessages then
info = info .. '<br />Changes to it can cause immediate changes to the ' .. mw.site.namespaces.Project.name .. ' user interface.'
end
if infoArg then
info = info .. '<br />' .. infoArg
end
sandbox_text = info .. '<br /> To avoid major disruption' ..
(args.count and args.count >= large_count_cutoff and ' and server load' or '') .. -- should this use args.risk?
', any changes should be tested in the ' .. sandbox_text ..
'The tested changes can be added to this page in a single edit. '
else
sandbox_text = (infoArg and ('.<br />' .. infoArg .. ' C') or ' and c') ..
'hanges may be widely noticed. Test changes in the ' .. sandbox_text
end
local discussion_text = systemMessages and 'Please discuss changes ' or 'Consider discussing changes '
if args[2] ~= nil and args[2] ~= '' and yesno(args[2]) == nil then
discussion_text = string.format('%sat [[%s]]', discussion_text, args[2])
else
discussion_text = string.format('%son the [[%s|talk page]]', discussion_text, title.talkPageTitle.fullText)
end
return used_on_text .. sandbox_text .. discussion_text .. ' before implementing them.' .. bot_text
end
-- used by [[Template:R from high-use template]]
-- count argument retained for backwards compatibility
function p.text(frame, count)
return p._text(getArgs(frame), count)
end
-- nocat argument retained for backwards compatibility
function p._main(args, nocat)
args.count = count_from_args(args)
args.risk = risk_boolean(args)
args.title = (args.demo and args.demo ~= '' and mw.title.new(args.demo, 'Template')) or mw.title.getCurrentTitle()
local image = 'Ambox warning yellow.svg'
local type_param = 'style'
local epilogue = ''
if args['system'] and args['system'] ~= '' then
image = 'Ambox important.svg'
type_param = 'content'
if yesno(nocat or args['nocat']) ~= true and not args.title.isRedirect then
local protection_action = (args.title:inNamespace('File') and 'upload') or 'edit'
local protection_level = require('Module:Effective protection level')._main(protection_action, args.title.fullText)
if protection_level ~= 'sysop' and protection_level ~= 'templateeditor' and protection_level ~= 'interfaceadmin' then
epilogue = mw.getCurrentFrame():expandTemplate {
title = 'sandbox other',
args = {
[2] = '[[Category:' .. system_messages_cat .. ']]'
}
}
end
end
elseif args.risk then
image = 'Ambox warning orange.svg'
type_param = 'content'
end
image = '[[File:' .. image .. '|40px|alt=Warning|link=]]'
if args['form'] == 'editnotice' then
return mw.getCurrentFrame():expandTemplate{
title = 'editnotice',
args = {
['image'] = image,
['text'] = p._text(args),
['expiry'] = (args['expiry'] or '')
}
} .. epilogue
else
return require('Module:Message box').main('ombox', {
type = type_param,
image = image,
text = p._text(args),
expiry = (args['expiry'] or '')
}) .. epilogue
end
end
function p.main(frame)
return p._main(getArgs(frame))
end
return p
7vhku385skyupjyp8fbj77dh043svz7
ಮಾಡ್ಯೂಲ್:Transclusion count
828
95260
282523
256827
2025-08-11T22:36:46Z
w:en>Pppery
0
Add protection level for top 400 rows
282523
Scribunto
text/plain
local p = {}
function p._fetch(args)
local template = nil
local return_value = nil
-- Use demo parameter if it exists, otherwise use current template name
local namespace = mw.title.getCurrentTitle().namespace
if args["demo"] and args["demo"] ~= "" then
template = mw.ustring.gsub(args["demo"],"^[Tt]emplate:","")
elseif namespace == 10 then -- Template namespace
template = mw.title.getCurrentTitle().text
elseif namespace == 828 then -- Module namespace
template = (mw.site.namespaces[828].name .. ":" .. mw.title.getCurrentTitle().text)
end
-- If in template or module namespace, look up count in /data
if template ~= nil then
namespace = mw.title.new(template, "Template").namespace
if namespace == 10 or namespace == 828 then
template = mw.ustring.gsub(template, "/doc$", "") -- strip /doc from end
template = mw.ustring.gsub(template, "/sandbox$", "") -- strip /sandbox from end
local index = mw.ustring.sub(mw.title.new(template).text,1,1)
local status, data = pcall(function ()
return(mw.loadData('Module:Transclusion_count/data/' .. (mw.ustring.find(index, "%a") and index or "other")))
end)
if status then
return_value = tonumber(data[mw.ustring.gsub(template, " ", "_")])
end
end
end
-- If database value doesn't exist, use value passed to template
if return_value == nil and args[1] ~= nil then
local arg1=mw.ustring.match(args[1], '[%d,]+')
if arg1 and arg1 ~= '' then
return_value = tonumber(mw.getCurrentFrame():callParserFunction('formatnum', arg1, 'R'))
end
end
return return_value
end
function p.fetch(frame)
return p._fetch(frame.args)
end
-- Tabulate this data for [[Wikipedia:Database reports/Templates transcluded on the most pages]]
function p.tabulate()
local list = {}
for i = 65, 91 do
local data = mw.loadData('Module:Transclusion count/data/' .. ((i == 91) and 'other' or string.char(i)))
for name, count in pairs(data) do
local title = mw.title.new(name, "Template")
table.insert(list, {title, count})
end
end
table.sort(list, function(a, b)
return (a[2] == b[2]) and (a[1] < b[1]) or (a[2] > b[2])
end)
local lang = mw.getContentLanguage();
for i = 1, #list do
local protLevel = ""
local title = list[i][1]
if i < 400 then
-- Stop at 400 to avoid breaching the expensive parser function call limit
protLevel = title.protectionLevels.edit[1] or "(unprotected)"
end
list[i] = ('|-\n| %d || [[%s]] || %s || %s \n'):format(i, title.fullText:gsub('_', ' '), lang:formatNum(list[i][2]), protLevel)
end
return table.concat(list)
end
return p
gbl6ss0edudar6ja2191jv0zv8o86gv
282524
282523
2026-04-03T05:07:34Z
A826
6806
೧ ಬದಲಾವಣೆ
282523
Scribunto
text/plain
local p = {}
function p._fetch(args)
local template = nil
local return_value = nil
-- Use demo parameter if it exists, otherwise use current template name
local namespace = mw.title.getCurrentTitle().namespace
if args["demo"] and args["demo"] ~= "" then
template = mw.ustring.gsub(args["demo"],"^[Tt]emplate:","")
elseif namespace == 10 then -- Template namespace
template = mw.title.getCurrentTitle().text
elseif namespace == 828 then -- Module namespace
template = (mw.site.namespaces[828].name .. ":" .. mw.title.getCurrentTitle().text)
end
-- If in template or module namespace, look up count in /data
if template ~= nil then
namespace = mw.title.new(template, "Template").namespace
if namespace == 10 or namespace == 828 then
template = mw.ustring.gsub(template, "/doc$", "") -- strip /doc from end
template = mw.ustring.gsub(template, "/sandbox$", "") -- strip /sandbox from end
local index = mw.ustring.sub(mw.title.new(template).text,1,1)
local status, data = pcall(function ()
return(mw.loadData('Module:Transclusion_count/data/' .. (mw.ustring.find(index, "%a") and index or "other")))
end)
if status then
return_value = tonumber(data[mw.ustring.gsub(template, " ", "_")])
end
end
end
-- If database value doesn't exist, use value passed to template
if return_value == nil and args[1] ~= nil then
local arg1=mw.ustring.match(args[1], '[%d,]+')
if arg1 and arg1 ~= '' then
return_value = tonumber(mw.getCurrentFrame():callParserFunction('formatnum', arg1, 'R'))
end
end
return return_value
end
function p.fetch(frame)
return p._fetch(frame.args)
end
-- Tabulate this data for [[Wikipedia:Database reports/Templates transcluded on the most pages]]
function p.tabulate()
local list = {}
for i = 65, 91 do
local data = mw.loadData('Module:Transclusion count/data/' .. ((i == 91) and 'other' or string.char(i)))
for name, count in pairs(data) do
local title = mw.title.new(name, "Template")
table.insert(list, {title, count})
end
end
table.sort(list, function(a, b)
return (a[2] == b[2]) and (a[1] < b[1]) or (a[2] > b[2])
end)
local lang = mw.getContentLanguage();
for i = 1, #list do
local protLevel = ""
local title = list[i][1]
if i < 400 then
-- Stop at 400 to avoid breaching the expensive parser function call limit
protLevel = title.protectionLevels.edit[1] or "(unprotected)"
end
list[i] = ('|-\n| %d || [[%s]] || %s || %s \n'):format(i, title.fullText:gsub('_', ' '), lang:formatNum(list[i][2]), protLevel)
end
return table.concat(list)
end
return p
gbl6ss0edudar6ja2191jv0zv8o86gv
ಟೆಂಪ್ಲೇಟು:Template link
10
95278
282475
256761
2025-01-21T19:19:39Z
w:en>Ahecht
0
Reduce [[WP:PEIS]]
282475
wikitext
text/x-wiki
<span class="nowrap">{{</span>[[Template:{{{1}}}|{{{1}}}]]<span class="nowrap">}}</span><noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
</noinclude>
kkhg4xclyf9r0bcl7ypdd0yuh41mfu9
282476
282475
2026-04-03T05:07:32Z
A826
6806
೧ ಬದಲಾವಣೆ
282475
wikitext
text/x-wiki
<span class="nowrap">{{</span>[[Template:{{{1}}}|{{{1}}}]]<span class="nowrap">}}</span><noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
</noinclude>
kkhg4xclyf9r0bcl7ypdd0yuh41mfu9
ಟೆಂಪ್ಲೇಟು:Template link expanded
10
95288
282493
2020-11-21T12:04:41Z
w:en>Primefac
0
update
282493
wikitext
text/x-wiki
{{#Invoke:Template link general|main|code=on}}<noinclude>
{{Documentation|1=Template:Tlg/doc
|content = {{tlg/doc|tlx}}
}}
<!-- Add categories to the /doc subpage, not here! -->
</noinclude>
coojm3pkl18q6hsxqyw9qpihxc7knpv
282494
252747
2026-04-03T05:07:32Z
A826
6806
೧ ಬದಲಾವಣೆ
252746
wikitext
text/x-wiki
{{#Invoke:Template link general|main|code=on}}<noinclude>
{{Documentation|1=Template:Tlg/doc
|content = {{tlg/doc|tlx}}
}}
<!-- Add categories to the /doc subpage, not here! -->
</noinclude>
coojm3pkl18q6hsxqyw9qpihxc7knpv
ಮಾಡ್ಯೂಲ್:Template link general
828
95289
282495
252751
2026-02-12T11:19:37Z
w:en>Primefac
0
fix the brace param issue
282495
Scribunto
text/plain
-- This implements Template:Template link general and various other templates in its family
local getArgs = require('Module:Arguments').getArgs
local p = {}
-- Is a string non-empty?
local function _ne(s)
return s ~= nil and s ~= ""
end
local nw = mw.text.nowiki
local function addTemplate(s)
local i, _ = s:find(':', 1, true)
if i == nil then
return 'Template:' .. s
end
local ns = s:sub(1, i - 1)
if ns == '' or mw.site.namespaces[ns] then
return s
else
return 'Template:' .. s
end
end
local function trimTemplate(s)
local needle = 'template:'
if s:sub(1, needle:len()):lower() == needle then
return s:sub(needle:len() + 1)
else
return s
end
end
-- Builds the link part
local function linkTitle(args)
local titleObj
if args['1'] then
-- This handles :Page and other NS
titleObj = mw.title.new(args['1'], 'Template')
else
titleObj = mw.title.getCurrentTitle()
end
local textPart = args.alttext
if not _ne(textPart) then
if titleObj ~= nil then
textPart = titleObj:inNamespace("Template") and args['1'] or titleObj.fullText
else
-- redlink
textPart = args['1']
end
end
if _ne(args.subst) then
-- HACK: the ns thing above is probably broken
textPart = 'subst:' .. textPart
end
if _ne(args.brace) then
textPart = nw('{{') .. textPart .. nw('}}')
elseif _ne(args.braceinside) then
textPart = nw('{') .. textPart .. nw('}')
end
local titlePart
if _ne(args.nolink) then
titlePart = textPart
else
titlePart = '[[' .. (titleObj ~= nil and titleObj.fullText or addTemplate(args['1'])) ..
'|' .. textPart .. ']]'
end
if _ne(args.braceinside) then
titlePart = nw('{') .. titlePart .. nw('}')
end
local bold = _ne(args.bold) or _ne(args.boldlink) or _ne(args.boldname)
if bold then
titlePart = "'''" .. titlePart .. "'''"
end
if _ne(args.nowrapname) then
titlePart = '<span class="nowrap">' .. titlePart .. '</span>'
end
return titlePart
end
function p.main(frame)
local args = getArgs(frame, {
trim = true,
removeBlanks = false
})
return p._main(args)
end
function p._main(args)
local italic = _ne(args.italic) or _ne(args.italics)
local dontBrace = _ne(args.brace) or _ne(args.braceinside)
local code = _ne(args.code) or _ne(args.tt)
local show_result = _ne(args._show_result)
local expand = _ne(args._expand)
local titlePart = linkTitle(args)
-- Build the arguments
local textPart = ""
local textPartBuffer = "|"
local codeArguments = {}
local codeArgumentsString = ""
local i = 2
local j = 1
while args[i] do
local val = args[i]
if val ~= "" then
if _ne(args.nowiki) then
-- Unstrip nowiki tags first because calling nw on something that already contains nowiki tags will
-- mangle the nowiki strip marker and result in literal UNIQ...QINU showing up
val = nw(mw.text.unstripNoWiki(val))
end
local k, v = string.match(val, "(.*)=(.*)")
if not k then
codeArguments[j] = val
j = j + 1
else
codeArguments[k] = v
end
codeArgumentsString = codeArgumentsString .. textPartBuffer .. val
if italic then
val = '<span style="font-style:italic;">' .. val .. '</span>'
end
textPart = textPart .. textPartBuffer .. val
end
i = i + 1
end
-- final wrap
local ret = titlePart .. textPart
if not dontBrace then ret = nw('{{') .. ret .. nw('}}') end
if _ne(args.a) then ret = nw('*') .. ' ' .. ret end
if _ne(args.kbd) then ret = '<kbd>' .. ret .. '</kbd>' end
if code then
ret = '<code>' .. ret .. '</code>'
elseif _ne(args.plaincode) then
ret = '<code style="border:none;background:transparent;color:inherit">' .. ret .. '</code>'
end
if _ne(args.nowrap) then ret = '<span class="nowrap">' .. ret .. '</span>' end
--[[ Wrap as html??
local span = mw.html.create('span')
span:wikitext(ret)
--]]
if _ne(args.debug) then ret = ret .. '\n<pre>' .. mw.text.encode(mw.dumpObject(args)) .. '</pre>' end
if show_result then
if _ne(args.nocat) then codeArguments['nocat'] = true end
local result = mw.getCurrentFrame():expandTemplate{title = addTemplate(args[1]), args = codeArguments}
ret = ret .. " → " .. result
end
if expand then
local query = mw.text.encode('{{' .. addTemplate(args[1]) .. string.gsub(codeArgumentsString, textPartBuffer, "|") .. '}}')
local url = mw.uri.fullUrl('special:ExpandTemplates', 'wpInput=' .. query)
mw.log()
ret = ret .. " [" .. tostring(url) .. "]"
end
return ret
end
return p
eq1il0gmw32087nl1ce4bzyifl7zrrz
282496
282495
2026-04-03T05:07:32Z
A826
6806
೧ ಬದಲಾವಣೆ
282495
Scribunto
text/plain
-- This implements Template:Template link general and various other templates in its family
local getArgs = require('Module:Arguments').getArgs
local p = {}
-- Is a string non-empty?
local function _ne(s)
return s ~= nil and s ~= ""
end
local nw = mw.text.nowiki
local function addTemplate(s)
local i, _ = s:find(':', 1, true)
if i == nil then
return 'Template:' .. s
end
local ns = s:sub(1, i - 1)
if ns == '' or mw.site.namespaces[ns] then
return s
else
return 'Template:' .. s
end
end
local function trimTemplate(s)
local needle = 'template:'
if s:sub(1, needle:len()):lower() == needle then
return s:sub(needle:len() + 1)
else
return s
end
end
-- Builds the link part
local function linkTitle(args)
local titleObj
if args['1'] then
-- This handles :Page and other NS
titleObj = mw.title.new(args['1'], 'Template')
else
titleObj = mw.title.getCurrentTitle()
end
local textPart = args.alttext
if not _ne(textPart) then
if titleObj ~= nil then
textPart = titleObj:inNamespace("Template") and args['1'] or titleObj.fullText
else
-- redlink
textPart = args['1']
end
end
if _ne(args.subst) then
-- HACK: the ns thing above is probably broken
textPart = 'subst:' .. textPart
end
if _ne(args.brace) then
textPart = nw('{{') .. textPart .. nw('}}')
elseif _ne(args.braceinside) then
textPart = nw('{') .. textPart .. nw('}')
end
local titlePart
if _ne(args.nolink) then
titlePart = textPart
else
titlePart = '[[' .. (titleObj ~= nil and titleObj.fullText or addTemplate(args['1'])) ..
'|' .. textPart .. ']]'
end
if _ne(args.braceinside) then
titlePart = nw('{') .. titlePart .. nw('}')
end
local bold = _ne(args.bold) or _ne(args.boldlink) or _ne(args.boldname)
if bold then
titlePart = "'''" .. titlePart .. "'''"
end
if _ne(args.nowrapname) then
titlePart = '<span class="nowrap">' .. titlePart .. '</span>'
end
return titlePart
end
function p.main(frame)
local args = getArgs(frame, {
trim = true,
removeBlanks = false
})
return p._main(args)
end
function p._main(args)
local italic = _ne(args.italic) or _ne(args.italics)
local dontBrace = _ne(args.brace) or _ne(args.braceinside)
local code = _ne(args.code) or _ne(args.tt)
local show_result = _ne(args._show_result)
local expand = _ne(args._expand)
local titlePart = linkTitle(args)
-- Build the arguments
local textPart = ""
local textPartBuffer = "|"
local codeArguments = {}
local codeArgumentsString = ""
local i = 2
local j = 1
while args[i] do
local val = args[i]
if val ~= "" then
if _ne(args.nowiki) then
-- Unstrip nowiki tags first because calling nw on something that already contains nowiki tags will
-- mangle the nowiki strip marker and result in literal UNIQ...QINU showing up
val = nw(mw.text.unstripNoWiki(val))
end
local k, v = string.match(val, "(.*)=(.*)")
if not k then
codeArguments[j] = val
j = j + 1
else
codeArguments[k] = v
end
codeArgumentsString = codeArgumentsString .. textPartBuffer .. val
if italic then
val = '<span style="font-style:italic;">' .. val .. '</span>'
end
textPart = textPart .. textPartBuffer .. val
end
i = i + 1
end
-- final wrap
local ret = titlePart .. textPart
if not dontBrace then ret = nw('{{') .. ret .. nw('}}') end
if _ne(args.a) then ret = nw('*') .. ' ' .. ret end
if _ne(args.kbd) then ret = '<kbd>' .. ret .. '</kbd>' end
if code then
ret = '<code>' .. ret .. '</code>'
elseif _ne(args.plaincode) then
ret = '<code style="border:none;background:transparent;color:inherit">' .. ret .. '</code>'
end
if _ne(args.nowrap) then ret = '<span class="nowrap">' .. ret .. '</span>' end
--[[ Wrap as html??
local span = mw.html.create('span')
span:wikitext(ret)
--]]
if _ne(args.debug) then ret = ret .. '\n<pre>' .. mw.text.encode(mw.dumpObject(args)) .. '</pre>' end
if show_result then
if _ne(args.nocat) then codeArguments['nocat'] = true end
local result = mw.getCurrentFrame():expandTemplate{title = addTemplate(args[1]), args = codeArguments}
ret = ret .. " → " .. result
end
if expand then
local query = mw.text.encode('{{' .. addTemplate(args[1]) .. string.gsub(codeArgumentsString, textPartBuffer, "|") .. '}}')
local url = mw.uri.fullUrl('special:ExpandTemplates', 'wpInput=' .. query)
mw.log()
ret = ret .. " [" .. tostring(url) .. "]"
end
return ret
end
return p
eq1il0gmw32087nl1ce4bzyifl7zrrz
ಟೆಂಪ್ಲೇಟು:Sandbox other
10
95303
282513
256791
2025-08-05T04:52:35Z
w:en>Theknightwho
0
Make substable.
282513
wikitext
text/x-wiki
<onlyinclude>{{safesubst:<noinclude/>#if:{{safesubst:<noinclude/>#ifeq:{{safesubst:<noinclude/>#invoke:String|sublength|s={{safesubst:<noinclude/>SUBPAGENAME}}|i=0|len=7}}|sandbox|1}}{{safesubst:<noinclude/>#ifeq:{{safesubst:<noinclude/>SUBPAGENAME}}|doc|1}}{{safesubst:<noinclude/>#invoke:String|match|{{safesubst:<noinclude/>PAGENAME}}|/sandbox/styles.css$|plain=false|nomatch=}}|{{{1|}}}|{{{2|}}}}}</onlyinclude><!--
-->{{documentation}}
qglmfuqapld2v7m2c8ehvpm6ympoljf
282514
282513
2026-04-03T05:07:33Z
A826
6806
೧ ಬದಲಾವಣೆ
282513
wikitext
text/x-wiki
<onlyinclude>{{safesubst:<noinclude/>#if:{{safesubst:<noinclude/>#ifeq:{{safesubst:<noinclude/>#invoke:String|sublength|s={{safesubst:<noinclude/>SUBPAGENAME}}|i=0|len=7}}|sandbox|1}}{{safesubst:<noinclude/>#ifeq:{{safesubst:<noinclude/>SUBPAGENAME}}|doc|1}}{{safesubst:<noinclude/>#invoke:String|match|{{safesubst:<noinclude/>PAGENAME}}|/sandbox/styles.css$|plain=false|nomatch=}}|{{{1|}}}|{{{2|}}}}}</onlyinclude><!--
-->{{documentation}}
qglmfuqapld2v7m2c8ehvpm6ympoljf
ಟೆಂಪ್ಲೇಟು:Category link with count
10
95319
282543
2021-06-11T18:13:44Z
w:en>GKFX
0
Support wider range of (valid) input format
282543
wikitext
text/x-wiki
[[:Category:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}|<!--
-->{{#if:{{{name|}}}|{{{name}}}|Category:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}}}<!--
-->]] ({{PAGESINCATEGORY:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}|{{{2|all}}}}})<noinclude>
{{Documentation}}
</noinclude>
t44qc0k3i1yz2ecwxpiksck04hyz7rx
282544
261269
2026-04-03T05:07:34Z
A826
6806
೧ ಬದಲಾವಣೆ
252878
wikitext
text/x-wiki
[[:Category:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}|<!--
-->{{#if:{{{name|}}}|{{{name}}}|Category:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}}}<!--
-->]] ({{PAGESINCATEGORY:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}|{{{2|all}}}}})<noinclude>
{{Documentation}}
</noinclude>
t44qc0k3i1yz2ecwxpiksck04hyz7rx
ಟೆಂಪ್ಲೇಟು:Clc
10
95320
282541
2019-04-24T04:30:59Z
w:en>JJMC89
0
actual template is in the category
282541
wikitext
text/x-wiki
#REDIRECT [[Template:Category link with count]]
092gm3mu5vr84eif0gc6y7q98csnc9h
282542
261271
2026-04-03T05:07:34Z
A826
6806
೧ ಬದಲಾವಣೆ
252880
wikitext
text/x-wiki
#REDIRECT [[Template:Category link with count]]
092gm3mu5vr84eif0gc6y7q98csnc9h
ಟೆಂಪ್ಲೇಟು:Template parameter usage
10
95782
282519
2023-11-27T06:57:32Z
w:en>Sdkb
0
Partial revert of [[User:SUM1]]'s edit [[Special:Diff/1039918972]] per [[WP:CLICKHERE]]
282519
wikitext
text/x-wiki
{{#switch:{{{label|}}}
|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template={{Urlencode:{{#if:{{{1|}}}|{{ROOTPAGENAME:{{{1|}}}}}|{{ROOTPAGENAME}}}}}} {{#ifeq:{{yesno-no|{{{lc}}}}}|no|S|s}}ee a monthly parameter usage report] for {{#if:{{{1|}}}|[[Template:{{ROOTPAGENAME:{{{1|}}}}}]]|this template}} in articles{{#ifeq:{{yesno-no|{{{based}}}}}|yes| based on {{#if:{{{1|}}}|its|this}} TemplateData}}.
|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template={{Urlencode:{{#if:{{{1|}}}|{{ROOTPAGENAME:{{{1|}}}}}|{{ROOTPAGENAME}}}}}} {{#ifeq:{{yesno-no|{{{lc}}}}}|no|P|p}}arameter usage report]{{#ifeq:{{yesno-no|{{{based}}}}}|yes| based on {{#if:{{{1|}}}|its|this}} TemplateData}}
|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template={{Urlencode:{{#if:{{{1|}}}|{{ROOTPAGENAME:{{{1|}}}}}|{{ROOTPAGENAME}}}}}} {{#ifeq:{{yesno-no|{{{lc}}}}}|no|P|p}}arameter usage report] for {{#if:{{{1|}}}|[[Template:{{ROOTPAGENAME:{{{1|}}}}}]]|[[Template:{{ROOTPAGENAME}}]]}}{{#ifeq:{{yesno-no|{{{based}}}}}|yes| based on {{#if:{{{1|}}}|its|this}} TemplateData}}.
|#default=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template={{Urlencode:{{#if:{{{1|}}}|{{ROOTPAGENAME:{{{1|}}}}}|{{ROOTPAGENAME}}}}}} {{{label|}}}]{{#ifeq:{{yesno-no|{{{based}}}}}|yes| based on {{#if:{{{1|}}}|its|this}} TemplateData}}
}}<noinclude>
{{documentation}}
</noinclude>
fenf674wxid9swzlpd9p77yc9n9kzm0
282520
254767
2026-04-03T05:07:33Z
A826
6806
೧ ಬದಲಾವಣೆ
254766
wikitext
text/x-wiki
{{#switch:{{{label|}}}
|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template={{Urlencode:{{#if:{{{1|}}}|{{ROOTPAGENAME:{{{1|}}}}}|{{ROOTPAGENAME}}}}}} {{#ifeq:{{yesno-no|{{{lc}}}}}|no|S|s}}ee a monthly parameter usage report] for {{#if:{{{1|}}}|[[Template:{{ROOTPAGENAME:{{{1|}}}}}]]|this template}} in articles{{#ifeq:{{yesno-no|{{{based}}}}}|yes| based on {{#if:{{{1|}}}|its|this}} TemplateData}}.
|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template={{Urlencode:{{#if:{{{1|}}}|{{ROOTPAGENAME:{{{1|}}}}}|{{ROOTPAGENAME}}}}}} {{#ifeq:{{yesno-no|{{{lc}}}}}|no|P|p}}arameter usage report]{{#ifeq:{{yesno-no|{{{based}}}}}|yes| based on {{#if:{{{1|}}}|its|this}} TemplateData}}
|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template={{Urlencode:{{#if:{{{1|}}}|{{ROOTPAGENAME:{{{1|}}}}}|{{ROOTPAGENAME}}}}}} {{#ifeq:{{yesno-no|{{{lc}}}}}|no|P|p}}arameter usage report] for {{#if:{{{1|}}}|[[Template:{{ROOTPAGENAME:{{{1|}}}}}]]|[[Template:{{ROOTPAGENAME}}]]}}{{#ifeq:{{yesno-no|{{{based}}}}}|yes| based on {{#if:{{{1|}}}|its|this}} TemplateData}}.
|#default=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template={{Urlencode:{{#if:{{{1|}}}|{{ROOTPAGENAME:{{{1|}}}}}|{{ROOTPAGENAME}}}}}} {{{label|}}}]{{#ifeq:{{yesno-no|{{{based}}}}}|yes| based on {{#if:{{{1|}}}|its|this}} TemplateData}}
}}<noinclude>
{{documentation}}
</noinclude>
fenf674wxid9swzlpd9p77yc9n9kzm0
ಟೆಂಪ್ಲೇಟು:Module other
10
96524
282545
256797
2025-08-04T22:40:02Z
w:en>Theknightwho
0
Make substable.
282545
wikitext
text/x-wiki
{{safesubst:<noinclude/>#switch:
<noinclude><!-- If no or empty "demospace" parameter then detect namespace --></noinclude>
{{safesubst:<noinclude/>#if:{{{demospace|}}}
| {{safesubst:<noinclude/>lc: {{{demospace}}} }} <noinclude><!-- Use lower case "demospace" --></noinclude>
| {{safesubst:<noinclude/>#ifeq:{{safesubst:<noinclude/>NAMESPACE}}|{{safesubst:<noinclude/>ns:Module}}
| module
| other
}}
}}
| module = {{{module|{{{1|}}}}}}
| other
| #default = {{{other|{{{2|}}}}}}
}}<noinclude><!--End switch-->
{{documentation}}
<!-- Add categories to the /doc subpage, not here! -->
</noinclude>
6mo4qg9nwfuq6vj2r8irxnjnd71296k
282546
282545
2026-04-03T05:07:34Z
A826
6806
೧ ಬದಲಾವಣೆ
282545
wikitext
text/x-wiki
{{safesubst:<noinclude/>#switch:
<noinclude><!-- If no or empty "demospace" parameter then detect namespace --></noinclude>
{{safesubst:<noinclude/>#if:{{{demospace|}}}
| {{safesubst:<noinclude/>lc: {{{demospace}}} }} <noinclude><!-- Use lower case "demospace" --></noinclude>
| {{safesubst:<noinclude/>#ifeq:{{safesubst:<noinclude/>NAMESPACE}}|{{safesubst:<noinclude/>ns:Module}}
| module
| other
}}
}}
| module = {{{module|{{{1|}}}}}}
| other
| #default = {{{other|{{{2|}}}}}}
}}<noinclude><!--End switch-->
{{documentation}}
<!-- Add categories to the /doc subpage, not here! -->
</noinclude>
6mo4qg9nwfuq6vj2r8irxnjnd71296k
ಟೆಂಪ್ಲೇಟು:Documentation
10
97417
282505
2022-03-29T02:14:34Z
w:en>Bsherr
0
consistent with new substitution template format
282505
wikitext
text/x-wiki
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}<noinclude>
<!-- Add categories to the /doc subpage -->
</noinclude>
ii1kftoonz87mztj4siz1yhyqeg6agm
282506
271524
2026-04-03T05:07:33Z
A826
6806
೧ ಬದಲಾವಣೆ
262913
wikitext
text/x-wiki
#REDIRECT [[ಟೆಂಪ್ಲೇಟು:ದಾಖಲೆ]]
p8m17faclet3qm6jmo7221zj03yha5q
ಟೆಂಪ್ಲೇಟು:Ns has subpages
10
98842
282481
2022-03-02T10:43:18Z
w:en>Trialpears
0
Changed protection settings for "[[Template:Ns has subpages]]": [[WP:High-risk templates|Highly visible template]] ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite))
282481
wikitext
text/x-wiki
{{<includeonly>safesubst:</includeonly>#invoke:Ns has subpages|main}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
</noinclude>
0pg457y46td6p53rdt8tyc76jeg9pa8
282482
275509
2026-04-03T05:07:32Z
A826
6806
೧ ಬದಲಾವಣೆ
275508
wikitext
text/x-wiki
{{<includeonly>safesubst:</includeonly>#invoke:Ns has subpages|main}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
</noinclude>
0pg457y46td6p53rdt8tyc76jeg9pa8
ಮಾಡ್ಯೂಲ್:Ns has subpages
828
98843
282483
275512
2024-02-17T04:01:43Z
w:en>Pppery
0
Changed protection settings for "[[Module:Ns has subpages]]": Per template ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite))
275512
Scribunto
text/plain
-- This module implements [[Template:Ns has subpages]].
-- While the template is fairly simple, this information is made available to
-- Lua directly, so using a module means that we don't have to update the
-- template as new namespaces are added.
local p = {}
function p._main(ns, frame)
-- Get the current namespace if we were not passed one.
if not ns then
ns = mw.title.getCurrentTitle().namespace
end
-- Look up the namespace table from mw.site.namespaces. This should work
-- for a majority of cases.
local nsTable = mw.site.namespaces[ns]
-- Try using string matching to get the namespace from page names.
-- Do a quick and dirty bad title check to try and make sure we do the same
-- thing as {{NAMESPACE}} in most cases.
if not nsTable and type(ns) == 'string' and not ns:find('[<>|%[%]{}]') then
local nsStripped = ns:gsub('^[_%s]*:', '')
nsStripped = nsStripped:gsub(':.*$', '')
nsTable = mw.site.namespaces[nsStripped]
end
-- If we still have no match then try the {{NAMESPACE}} parser function,
-- which should catch the remainder of cases. Don't use a mw.title object,
-- as this would increment the expensive function count for each new page
-- tested.
if not nsTable then
frame = frame or mw.getCurrentFrame()
local nsProcessed = frame:callParserFunction('NAMESPACE', ns)
nsTable = nsProcessed and mw.site.namespaces[nsProcessed]
end
return nsTable and nsTable.hasSubpages
end
function p.main(frame)
local ns = frame:getParent().args[1]
if ns then
ns = ns:match('^%s*(.-)%s*$') -- trim whitespace
ns = tonumber(ns) or ns
end
local hasSubpages = p._main(ns, frame)
return hasSubpages and 'yes' or ''
end
return p
qb0b1z2vff7kifnw21v205d791esbiz
282484
275513
2026-04-03T05:07:32Z
A826
6806
೧ ಬದಲಾವಣೆ
275512
Scribunto
text/plain
-- This module implements [[Template:Ns has subpages]].
-- While the template is fairly simple, this information is made available to
-- Lua directly, so using a module means that we don't have to update the
-- template as new namespaces are added.
local p = {}
function p._main(ns, frame)
-- Get the current namespace if we were not passed one.
if not ns then
ns = mw.title.getCurrentTitle().namespace
end
-- Look up the namespace table from mw.site.namespaces. This should work
-- for a majority of cases.
local nsTable = mw.site.namespaces[ns]
-- Try using string matching to get the namespace from page names.
-- Do a quick and dirty bad title check to try and make sure we do the same
-- thing as {{NAMESPACE}} in most cases.
if not nsTable and type(ns) == 'string' and not ns:find('[<>|%[%]{}]') then
local nsStripped = ns:gsub('^[_%s]*:', '')
nsStripped = nsStripped:gsub(':.*$', '')
nsTable = mw.site.namespaces[nsStripped]
end
-- If we still have no match then try the {{NAMESPACE}} parser function,
-- which should catch the remainder of cases. Don't use a mw.title object,
-- as this would increment the expensive function count for each new page
-- tested.
if not nsTable then
frame = frame or mw.getCurrentFrame()
local nsProcessed = frame:callParserFunction('NAMESPACE', ns)
nsTable = nsProcessed and mw.site.namespaces[nsProcessed]
end
return nsTable and nsTable.hasSubpages
end
function p.main(frame)
local ns = frame:getParent().args[1]
if ns then
ns = ns:match('^%s*(.-)%s*$') -- trim whitespace
ns = tonumber(ns) or ns
end
local hasSubpages = p._main(ns, frame)
return hasSubpages and 'yes' or ''
end
return p
qb0b1z2vff7kifnw21v205d791esbiz
ಟೆಂಪ್ಲೇಟು:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/styles.css
10
100788
282423
2026-04-03T03:29:59Z
A826
6806
ಹೊಸ ಪುಟ: /* ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ ಶೈಲಿಗಳು */ .ws-intro__main { display: flex; position: relative; box-sizing: border-box; flex-direction: row; flex-wrap: wrap; max-width: 1100px; width: 100%; overflow: hidden; border: 1px solid #a2a9b1; margin: auto; } .ws-intro__columns-left { display: inline-block; flex: 0 1 0; position: relative; vertical-align: top; min-width:...
282423
sanitized-css
text/css
/* ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ ಶೈಲಿಗಳು */
.ws-intro__main {
display: flex;
position: relative;
box-sizing: border-box;
flex-direction: row;
flex-wrap: wrap;
max-width: 1100px;
width: 100%;
overflow: hidden;
border: 1px solid #a2a9b1;
margin: auto;
}
.ws-intro__columns-left {
display: inline-block;
flex: 0 1 0;
position: relative;
vertical-align: top;
min-width: 260px;
padding-bottom: 50px;
}
.ws-intro__columns-left-button {
position: absolute;
bottom: 0;
padding-left: 2em;
}
.ws-intro__columns-right {
display: inline-block;
flex: 1 1 0;
padding: 1em;
min-width: 250px;
vertical-align: top;
border-left: 1px solid #c8ccd1;
}
.ws-intro__columns-right p {
margin-bottom: 2.0em;
}
.ws-intro__exercise {
box-sizing: border-box;
max-width: 1100px;
margin: auto;
padding: 4px 10px;
border: 1px solid #c8ccd1;
border-top: 0;
}
.ws-intro__base {
max-width: 1060px;
min-height: 55px;
margin: auto;
padding: 5px 20px;
font-size: 1.1em;
background: #eaecf0;
border: 1px solid #c8ccd1;
}
@media screen and (min-width: 800px) {
.ws-intro__columns-right {
padding: 40px;
}
.ws-intro__columns-left {
padding-bottom: 80px;
}
.ws-intro__columns-left-button {
padding-bottom: 33px;
}
}
ivnbu85c4tieazfz7r09fx2fzwpgp4g
282432
282423
2026-04-03T03:38:55Z
A826
6806
282432
sanitized-css
text/css
/* ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ ಶೈಲಿಗಳು - ಯಾವುದೇ ಬಾಹ್ಯ ಟೆಂಪ್ಲೇಟುಗಳ ಅಗತ್ಯವಿಲ್ಲ */
.ws-intro__main {
display: flex;
position: relative;
box-sizing: border-box;
flex-direction: row;
flex-wrap: wrap;
max-width: 1100px;
width: 100%;
overflow: hidden;
border: 1px solid #a2a9b1;
margin: auto;
background: #fff;
}
.ws-intro__columns-left {
display: inline-block;
flex: 0 1 0;
position: relative;
vertical-align: top;
min-width: 260px;
padding-bottom: 50px;
background: #f8f9fa;
}
.ws-intro__columns-left-button {
position: absolute;
bottom: 0;
padding-left: 2em;
padding-bottom: 20px;
}
.ws-intro__columns-right {
display: inline-block;
flex: 1 1 0;
padding: 1em;
min-width: 250px;
vertical-align: top;
border-left: 1px solid #c8ccd1;
background: #fff;
}
.ws-intro__columns-right p {
margin-bottom: 2.0em;
}
.ws-intro__exercise {
box-sizing: border-box;
max-width: 1100px;
margin: auto;
padding: 4px 10px;
border: 1px solid #c8ccd1;
border-top: 0;
background: #fef6e7;
}
.ws-intro__base {
max-width: 1060px;
min-height: 55px;
margin: auto;
padding: 5px 20px;
font-size: 1.1em;
background: #eaecf0;
border: 1px solid #c8ccd1;
}
.ws-intro__tabs-main {
height: auto;
padding: 0.1em 0.1em 0.1em 2em;
}
.ws-intro__tabs-main--active {
padding-left: 1em !important;
border-left: 1em solid #36c;
background: #eaecf0;
font-weight: bold;
}
.ws-intro__tabs-title {
font-size: 1.5em;
font-weight: bold;
line-height: 1.2;
margin-bottom: 1em;
}
.ws-intro__button {
display: inline-block;
padding: 6px 12px;
margin: 4px;
font-size: 14px;
font-weight: bold;
text-align: center;
text-decoration: none;
border-radius: 2px;
border: 1px solid #a2a9b1;
background: #f8f9fa;
color: #0645ad;
cursor: pointer;
}
.ws-intro__button:hover {
background: #ffffff;
border-color: #72777d;
}
.ws-intro__button-progressive {
background: #0645ad;
border-color: #0645ad;
color: #ffffff;
}
.ws-intro__button-progressive:hover {
background: #0b5cbf;
border-color: #0b5cbf;
color: #ffffff;
}
.ws-intro__exercise-header {
font-weight: bold;
cursor: pointer;
padding: 8px;
background: #e9ecef;
margin: 0;
border: 1px solid #c8ccd1;
}
.ws-intro__exercise-content {
padding: 12px;
border: 1px solid #c8ccd1;
border-top: none;
display: none;
}
.ws-intro__exercise-content--open {
display: block;
}
.ws-intro__clearfix {
clear: both;
}
.ws-intro__nav-links {
margin-top: 2em;
padding-top: 1em;
border-top: 1px solid #eaecf0;
}
@media screen and (min-width: 800px) {
.ws-intro__columns-right {
padding: 40px;
}
.ws-intro__columns-left {
padding-bottom: 80px;
}
.ws-intro__columns-left-button {
padding-bottom: 33px;
}
}
@media screen and (max-width: 799px) {
.ws-intro__columns-left {
width: 100%;
padding-bottom: 20px;
}
.ws-intro__columns-left-button {
position: static;
text-align: center;
padding: 10px;
}
.ws-intro__columns-right {
border-left: none;
border-top: 1px solid #c8ccd1;
}
}
lgqch3j7xmc23hfchwuwg9mgeclhvxn
282433
282432
2026-04-03T03:39:10Z
A826
6806
282433
sanitized-css
text/css
.ws-intro__main {
display: flex;
position: relative;
box-sizing: border-box;
flex-direction: row;
flex-wrap: wrap;
max-width: 1100px;
width: 100%;
overflow: hidden;
border: 1px solid #a2a9b1;
margin: auto;
background: #fff;
}
.ws-intro__columns-left {
display: inline-block;
flex: 0 1 0;
position: relative;
vertical-align: top;
min-width: 260px;
padding-bottom: 50px;
background: #f8f9fa;
}
.ws-intro__columns-left-button {
position: absolute;
bottom: 0;
padding-left: 2em;
padding-bottom: 20px;
}
.ws-intro__columns-right {
display: inline-block;
flex: 1 1 0;
padding: 1em;
min-width: 250px;
vertical-align: top;
border-left: 1px solid #c8ccd1;
background: #fff;
}
.ws-intro__columns-right p {
margin-bottom: 2.0em;
}
.ws-intro__exercise {
box-sizing: border-box;
max-width: 1100px;
margin: auto;
padding: 4px 10px;
border: 1px solid #c8ccd1;
border-top: 0;
background: #fef6e7;
}
.ws-intro__base {
max-width: 1060px;
min-height: 55px;
margin: auto;
padding: 5px 20px;
font-size: 1.1em;
background: #eaecf0;
border: 1px solid #c8ccd1;
}
.ws-intro__tabs-main {
height: auto;
padding: 0.1em 0.1em 0.1em 2em;
}
.ws-intro__tabs-main--active {
padding-left: 1em !important;
border-left: 1em solid #36c;
background: #eaecf0;
font-weight: bold;
}
.ws-intro__tabs-title {
font-size: 1.5em;
font-weight: bold;
line-height: 1.2;
margin-bottom: 1em;
}
.ws-intro__button {
display: inline-block;
padding: 6px 12px;
margin: 4px;
font-size: 14px;
font-weight: bold;
text-align: center;
text-decoration: none;
border-radius: 2px;
border: 1px solid #a2a9b1;
background: #f8f9fa;
color: #0645ad;
cursor: pointer;
}
.ws-intro__button:hover {
background: #ffffff;
border-color: #72777d;
}
.ws-intro__button-progressive {
background: #0645ad;
border-color: #0645ad;
color: #ffffff;
}
.ws-intro__button-progressive:hover {
background: #0b5cbf;
border-color: #0b5cbf;
color: #ffffff;
}
.ws-intro__exercise-header {
font-weight: bold;
cursor: pointer;
padding: 8px;
background: #e9ecef;
margin: 0;
border: 1px solid #c8ccd1;
}
.ws-intro__exercise-content {
padding: 12px;
border: 1px solid #c8ccd1;
border-top: none;
display: none;
}
.ws-intro__exercise-content--open {
display: block;
}
.ws-intro__clearfix {
clear: both;
}
.ws-intro__nav-links {
margin-top: 2em;
padding-top: 1em;
border-top: 1px solid #eaecf0;
}
@media screen and (min-width: 800px) {
.ws-intro__columns-right {
padding: 40px;
}
.ws-intro__columns-left {
padding-bottom: 80px;
}
.ws-intro__columns-left-button {
padding-bottom: 33px;
}
}
@media screen and (max-width: 799px) {
.ws-intro__columns-left {
width: 100%;
padding-bottom: 20px;
}
.ws-intro__columns-left-button {
position: static;
text-align: center;
padding: 10px;
}
.ws-intro__columns-right {
border-left: none;
border-top: 1px solid #c8ccd1;
}
}
0dabhopwmjj2fo5qnbcjda14eaxc0db
282436
282433
2026-04-03T03:42:29Z
A826
6806
282436
sanitized-css
text/css
.ws-intro__main {
display: flex;
position: relative;
box-sizing: border-box;
flex-direction: row;
flex-wrap: wrap;
max-width: 1100px;
width: 100%;
overflow: hidden;
border: 1px solid #a2a9b1;
margin: auto;
background: #fff;
}
.ws-intro__columns-left {
display: inline-block;
flex: 0 1 0;
position: relative;
vertical-align: top;
min-width: 260px;
padding-bottom: 50px;
background: #f8f9fa;
}
.ws-intro__columns-left-button {
position: absolute;
bottom: 0;
padding-left: 2em;
padding-bottom: 20px;
}
/* Additional fix for span buttons inside wiki links */
.ws-intro__button {
display: inline-block;
padding: 6px 12px;
margin: 4px;
font-size: 14px;
font-weight: bold;
text-align: center;
text-decoration: none;
border-radius: 2px;
border: 1px solid #a2a9b1;
background: #f8f9fa;
color: #0645ad;
cursor: pointer;
}
/* Ensure wiki links don't underline the button */
a .ws-intro__button {
text-decoration: none;
}
a:hover .ws-intro__button {
text-decoration: none;
background: #ffffff;
border-color: #72777d;
}
.ws-intro__button-progressive {
background: #0645ad;
border-color: #0645ad;
color: #ffffff;
}
.ws-intro__button-progressive:hover {
background: #0b5cbf;
border-color: #0b5cbf;
color: #ffffff;
}
/* Fix for the left column button */
.ws-intro__columns-left-button .ws-intro__button {
background: #e9ecef;
}
.ws-intro__columns-right {
display: inline-block;
flex: 1 1 0;
padding: 1em;
min-width: 250px;
vertical-align: top;
border-left: 1px solid #c8ccd1;
background: #fff;
}
.ws-intro__columns-right p {
margin-bottom: 2.0em;
}
.ws-intro__exercise {
box-sizing: border-box;
max-width: 1100px;
margin: auto;
padding: 4px 10px;
border: 1px solid #c8ccd1;
border-top: 0;
background: #fef6e7;
}
.ws-intro__base {
max-width: 1060px;
min-height: 55px;
margin: auto;
padding: 5px 20px;
font-size: 1.1em;
background: #eaecf0;
border: 1px solid #c8ccd1;
}
.ws-intro__tabs-main {
height: auto;
padding: 0.1em 0.1em 0.1em 2em;
}
.ws-intro__tabs-main--active {
padding-left: 1em !important;
border-left: 1em solid #36c;
background: #eaecf0;
font-weight: bold;
}
.ws-intro__tabs-title {
font-size: 1.5em;
font-weight: bold;
line-height: 1.2;
margin-bottom: 1em;
}
.ws-intro__button {
display: inline-block;
padding: 6px 12px;
margin: 4px;
font-size: 14px;
font-weight: bold;
text-align: center;
text-decoration: none;
border-radius: 2px;
border: 1px solid #a2a9b1;
background: #f8f9fa;
color: #0645ad;
cursor: pointer;
}
.ws-intro__button:hover {
background: #ffffff;
border-color: #72777d;
}
.ws-intro__button-progressive {
background: #0645ad;
border-color: #0645ad;
color: #ffffff;
}
.ws-intro__button-progressive:hover {
background: #0b5cbf;
border-color: #0b5cbf;
color: #ffffff;
}
.ws-intro__exercise-header {
font-weight: bold;
cursor: pointer;
padding: 8px;
background: #e9ecef;
margin: 0;
border: 1px solid #c8ccd1;
}
.ws-intro__exercise-content {
padding: 12px;
border: 1px solid #c8ccd1;
border-top: none;
display: none;
}
.ws-intro__exercise-content--open {
display: block;
}
.ws-intro__clearfix {
clear: both;
}
.ws-intro__nav-links {
margin-top: 2em;
padding-top: 1em;
border-top: 1px solid #eaecf0;
}
@media screen and (min-width: 800px) {
.ws-intro__columns-right {
padding: 40px;
}
.ws-intro__columns-left {
padding-bottom: 80px;
}
.ws-intro__columns-left-button {
padding-bottom: 33px;
}
}
@media screen and (max-width: 799px) {
.ws-intro__columns-left {
width: 100%;
padding-bottom: 20px;
}
.ws-intro__columns-left-button {
position: static;
text-align: center;
padding: 10px;
}
.ws-intro__columns-right {
border-left: none;
border-top: 1px solid #c8ccd1;
}
}
k0jkj4fltieg67evf6scktp7hyed7vv
282437
282436
2026-04-03T04:47:20Z
A826
6806
282437
sanitized-css
text/css
/* ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ ಶೈಲಿಗಳು */
.ws-intro__main {
display: flex;
position: relative;
box-sizing: border-box;
flex-direction: row;
flex-wrap: wrap;
max-width: 1100px;
width: 100%;
overflow: hidden;
border: 1px solid #a2a9b1;
margin: auto;
background: #fff;
}
.ws-intro__columns-left {
display: inline-block;
flex: 0 1 0;
position: relative;
vertical-align: top;
min-width: 260px;
padding-bottom: 50px;
background: #f8f9fa;
}
.ws-intro__columns-left-button {
position: absolute;
bottom: 0;
padding-left: 2em;
padding-bottom: 20px;
}
.ws-intro__columns-right {
display: inline-block;
flex: 1 1 0;
padding: 1em;
min-width: 250px;
vertical-align: top;
border-left: 1px solid #c8ccd1;
background: #fff;
}
.ws-intro__columns-right p {
margin-bottom: 2.0em;
}
.ws-intro__exercise {
box-sizing: border-box;
max-width: 1100px;
margin: auto;
margin-top: 20px;
padding: 4px 10px;
border: 1px solid #c8ccd1;
border-top: 0;
background: #fef6e7;
}
.ws-intro__base {
max-width: 1060px;
min-height: 55px;
margin: auto;
padding: 5px 20px;
font-size: 1.1em;
background: #eaecf0;
border: 1px solid #c8ccd1;
}
.ws-intro__tabs-main {
height: auto;
padding: 0.1em 0.1em 0.1em 2em;
}
.ws-intro__tabs-main a {
display: block;
padding: 8px 0;
text-decoration: none;
color: #0645ad;
}
.ws-intro__tabs-main a:hover {
text-decoration: underline;
}
.ws-intro__tabs-main--active {
padding-left: 1em !important;
border-left: 1em solid #36c;
background: #eaecf0;
font-weight: bold;
}
.ws-intro__tabs-main--active a {
color: #000;
}
.ws-intro__tabs-title {
font-size: 1.8em;
font-weight: bold;
line-height: 1.2;
margin-bottom: 1em;
border-bottom: 2px solid #36c;
padding-bottom: 10px;
}
.ws-intro__button {
display: inline-block;
padding: 8px 16px;
margin: 4px;
font-size: 14px;
font-weight: bold;
text-align: center;
text-decoration: none;
border-radius: 4px;
border: 1px solid #a2a9b1;
background: #f8f9fa;
color: #0645ad;
cursor: pointer;
}
a .ws-intro__button {
text-decoration: none;
}
a:hover .ws-intro__button {
text-decoration: none;
background: #ffffff;
border-color: #72777d;
}
.ws-intro__button-progressive {
background: #0645ad;
border-color: #0645ad;
color: #ffffff;
}
.ws-intro__button-progressive:hover {
background: #0b5cbf;
border-color: #0b5cbf;
color: #ffffff;
}
.ws-intro__columns-left-button .ws-intro__button {
background: #e9ecef;
}
.ws-intro__clearfix {
clear: both;
}
.ws-intro__nav-links {
margin-top: 2em;
padding-top: 1em;
border-top: 1px solid #eaecf0;
overflow: auto;
}
.ws-intro__exercise-header {
font-weight: bold;
cursor: pointer;
padding: 10px;
background: #e9ecef;
margin: 0;
border: 1px solid #c8ccd1;
border-bottom: none;
}
.ws-intro__exercise-content {
padding: 15px;
border: 1px solid #c8ccd1;
border-top: none;
display: none;
}
.ws-intro__exercise-content--open {
display: block;
}
/* Tables inside the content */
.ws-intro__columns-right table {
width: 100%;
border-collapse: collapse;
margin: 1em 0;
}
.ws-intro__columns-right th,
.ws-intro__columns-right td {
border: 1px solid #a2a9b1;
padding: 8px;
text-align: left;
vertical-align: top;
}
.ws-intro__columns-right th {
background: #eaecf0;
}
/* Status colors */
.status-notproofread { background-color: #FFA0A0; }
.status-proofread { background-color: #FFE867; }
.status-validated { background-color: #90FF90; }
.status-withouttext { background-color: #DDD; }
.status-problematic { background-color: #B0B0FF; }
@media screen and (min-width: 800px) {
.ws-intro__columns-right {
padding: 40px;
}
.ws-intro__columns-left {
padding-bottom: 80px;
}
.ws-intro__columns-left-button {
padding-bottom: 33px;
}
}
@media screen and (max-width: 799px) {
.ws-intro__columns-left {
width: 100%;
padding-bottom: 20px;
}
.ws-intro__columns-left-button {
position: static;
text-align: center;
padding: 10px;
}
.ws-intro__columns-right {
border-left: none;
border-top: 1px solid #c8ccd1;
}
}
bbggs8s9j7336ef52myyboa2u2aaei2
282445
282437
2026-04-03T04:55:23Z
A826
6806
282445
sanitized-css
text/css
/* Pure CSS toggle exercise box - no JavaScript needed */
.ws-intro__exercise {
box-sizing: border-box;
max-width: 1100px;
margin: auto;
margin-top: 20px;
border: 1px solid #c8ccd1;
background: #fef6e7;
}
.ws-intro__exercise-toggle {
display: none;
}
.ws-intro__exercise-header {
display: block;
font-weight: bold;
cursor: pointer;
padding: 12px;
background: #e9ecef;
margin: 0;
border-bottom: 1px solid #c8ccd1;
}
.ws-intro__exercise-header:hover {
background: #dee2e6;
}
.ws-intro__exercise-content {
padding: 15px;
display: none;
}
/* Show content when checkbox is checked */
.ws-intro__exercise-toggle:checked ~ .ws-intro__exercise-content {
display: block;
}
/* Optional: Add a visual indicator */
.ws-intro__exercise-header::after {
content: " ▶";
font-size: 12px;
}
.ws-intro__exercise-toggle:checked ~ .ws-intro__exercise-header::after {
content: " ▼";
}
ahphy35dxvgrbfcpueow1jz2jv6a6n2
282446
282445
2026-04-03T04:58:10Z
A826
6806
282446
sanitized-css
text/css
/* ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ ಶೈಲಿಗಳು */
.ws-intro__main {
display: flex;
position: relative;
box-sizing: border-box;
flex-direction: row;
flex-wrap: wrap;
max-width: 1100px;
width: 100%;
overflow: hidden;
border: 1px solid #a2a9b1;
margin: auto;
background: #fff;
}
.ws-intro__columns-left {
display: inline-block;
flex: 0 1 0;
position: relative;
vertical-align: top;
min-width: 260px;
padding-bottom: 50px;
background: #f8f9fa;
}
.ws-intro__columns-left-button {
position: absolute;
bottom: 0;
padding-left: 2em;
padding-bottom: 20px;
}
.ws-intro__columns-right {
display: inline-block;
flex: 1 1 0;
padding: 1em;
min-width: 250px;
vertical-align: top;
border-left: 1px solid #c8ccd1;
background: #fff;
}
.ws-intro__columns-right p {
margin-bottom: 2.0em;
}
.ws-intro__exercise {
box-sizing: border-box;
max-width: 1100px;
margin: auto;
margin-top: 20px;
border: 1px solid #c8ccd1;
background: #fef6e7;
}
/* Simple button style - always visible, no toggle */
.ws-intro__exercise-header {
display: block;
font-weight: bold;
padding: 12px;
background: #e9ecef;
margin: 0;
border-bottom: 1px solid #c8ccd1;
color: #0645ad;
}
.ws-intro__exercise-content {
padding: 15px;
display: block;
}
.ws-intro__button {
display: inline-block;
padding: 8px 16px;
margin: 4px;
font-size: 14px;
font-weight: bold;
text-align: center;
text-decoration: none;
border-radius: 4px;
border: 1px solid #a2a9b1;
background: #f8f9fa;
color: #0645ad;
cursor: pointer;
}
a .ws-intro__button {
text-decoration: none;
}
a:hover .ws-intro__button {
text-decoration: none;
background: #ffffff;
border-color: #72777d;
}
.ws-intro__button-progressive {
background: #0645ad;
border-color: #0645ad;
color: #ffffff;
}
.ws-intro__button-progressive:hover {
background: #0b5cbf;
border-color: #0b5cbf;
color: #ffffff;
}
.ws-intro__columns-left-button .ws-intro__button {
background: #e9ecef;
}
.ws-intro__clearfix {
clear: both;
}
.ws-intro__nav-links {
margin-top: 2em;
padding-top: 1em;
border-top: 1px solid #eaecf0;
overflow: auto;
}
.ws-intro__tabs-main {
height: auto;
padding: 0.1em 0.1em 0.1em 2em;
}
.ws-intro__tabs-main a {
display: block;
padding: 8px 0;
text-decoration: none;
color: #0645ad;
}
.ws-intro__tabs-main a:hover {
text-decoration: underline;
}
.ws-intro__tabs-main--active {
padding-left: 1em !important;
border-left: 1em solid #36c;
background: #eaecf0;
font-weight: bold;
}
.ws-intro__tabs-main--active a {
color: #000;
}
.ws-intro__tabs-title {
font-size: 1.8em;
font-weight: bold;
line-height: 1.2;
margin-bottom: 1em;
border-bottom: 2px solid #36c;
padding-bottom: 10px;
}
/* Tables inside the content */
.ws-intro__columns-right table {
width: 100%;
border-collapse: collapse;
margin: 1em 0;
}
.ws-intro__columns-right th,
.ws-intro__columns-right td {
border: 1px solid #a2a9b1;
padding: 8px;
text-align: left;
vertical-align: top;
}
.ws-intro__columns-right th {
background: #eaecf0;
}
/* Status colors */
.status-notproofread { background-color: #FFA0A0; }
.status-proofread { background-color: #FFE867; }
.status-validated { background-color: #90FF90; }
.status-withouttext { background-color: #DDD; }
.status-problematic { background-color: #B0B0FF; }
@media screen and (min-width: 800px) {
.ws-intro__columns-right {
padding: 40px;
}
.ws-intro__columns-left {
padding-bottom: 80px;
}
.ws-intro__columns-left-button {
padding-bottom: 33px;
}
}
@media screen and (max-width: 799px) {
.ws-intro__columns-left {
width: 100%;
padding-bottom: 20px;
}
.ws-intro__columns-left-button {
position: static;
text-align: center;
padding: 10px;
}
.ws-intro__columns-right {
border-left: none;
border-top: 1px solid #c8ccd1;
}
}
hfihnqpmpw8kpqb90xcbi4s28wyo64c
ಟೆಂಪ್ಲೇಟು:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
10
100789
282424
2026-04-03T03:30:53Z
A826
6806
ಹೊಸ ಪುಟ: <templatestyles src="ಟೆಂಪ್ಲೇಟು:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/styles.css" /> __NOEDITSECTION__ __NOTOC__ <div class="ws-intro__main"> <!-- ಎಡ ಕಾಲಮ್: ಟ್ಯಾಬ್ಗಳು ಮತ್ತು ಹಿಂದಿನ ಬಟನ್ --> <div class="ws-intro__columns-left"> {{{{FULLROOTPAGENAME}}/ಟ್ಯಾಬ್ಗಳು|This={{#if:{{SUBPAGENAME}}|{{SUBPAGENAME}}|1}}}} <div class="ws-intro__columns-left-button"> {{#ifeq...
282424
wikitext
text/x-wiki
<templatestyles src="ಟೆಂಪ್ಲೇಟು:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/styles.css" />
__NOEDITSECTION__ __NOTOC__
<div class="ws-intro__main">
<!-- ಎಡ ಕಾಲಮ್: ಟ್ಯಾಬ್ಗಳು ಮತ್ತು ಹಿಂದಿನ ಬಟನ್ -->
<div class="ws-intro__columns-left">
{{{{FULLROOTPAGENAME}}/ಟ್ಯಾಬ್ಗಳು|This={{#if:{{SUBPAGENAME}}|{{SUBPAGENAME}}|1}}}}
<div class="ws-intro__columns-left-button">
{{#ifeq:{{{prev|true}}}|true
|{{Clickable button
|{{{prevlink|ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ}}}
|{{{prevtext|<< ಟ್ಯುಟೋರಿಯಲ್ ಪಟ್ಟಿಗೆ ಹಿಂತಿರುಗಿ}}}
}}
}}
</div>
</div>
<!-- ಬಲ ಕಾಲಮ್: ಮುಖ್ಯ ವಿಷಯ -->
<div class="ws-intro__columns-right">
{{{1|{{{contents|ಇಲ್ಲಿ ವಿಷಯ ಬರುತ್ತದೆ.}}}}}}
{{#ifexist:{{{nextsubpage|{{FULLROOTPAGENAME}}/{{#expr:{{SUBPAGENAME}}+1}}}}}
| <div style="float: right;">{{Clickable button
|{{{nextsubpage|{{FULLROOTPAGENAME}}/{{#iferror:{{#expr:{{SUBPAGENAME}}+1}}|1|{{#expr:{{SUBPAGENAME}}+1}}}}}}}
|ಮುಂದೆ >>
|class=mw-ui-progressive
}}</div>
| <div style="float: left;"> {{#ifeq:{{{sandbox|true}}}|true
|{{Clickable button
|Draft:Sandbox
|ನೀವು ಕಲಿತದ್ದನ್ನು ಪ್ರಯೋಗಿಸಿ}}
}}</div>
<div style="float: right;">{{#ifeq:{{{next|true}}}|true
|{{Clickable button
|{{{nextlink|ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ}}}
|{{{nexttext|ಟ್ಯುಟೋರಿಯಲ್ ಪಟ್ಟಿಗೆ ಹಿಂತಿರುಗಿ >>}}}
|class=mw-ui-progressive}}
}}</div>
}}
{{#ifexist:{{{prevsubpage|{{FULLROOTPAGENAME}}/{{#expr:{{SUBPAGENAME}}-1}}}}}
| <div style="float: left;">{{Clickable button
|{{{prevsubpage|{{FULLROOTPAGENAME}}/{{#iferror:{{#expr:{{SUBPAGENAME}}-1}}|1|{{#expr:{{SUBPAGENAME}}-1}}}}}}}
|<< ಹಿಂದೆ}}</div>
}}
</div>
</div>
<!-- ತಳಭಾಗದಲ್ಲಿ ಸ್ಥಿರ ವಿಷಯ ಇದ್ದರೆ -->
{{#ifexist:{{FULLROOTPAGENAME}}/base|{{{{FULLROOTPAGENAME}}/base}}|}}
<!-- ವ್ಯಾಯಾಮ ಬಾಕ್ಸ್ -->
{{#if:{{{exercise|<noinclude>xyz</noinclude>}}}|
<div class="ws-intro__exercise">
{{hidden
| header = ಉದಾಹರಣೆ ಪ್ರಶ್ನೆ: ನೀವು ಕಲಿತದ್ದನ್ನು ಪರೀಕ್ಷಿಸಿ
| content = {{{exercise}}}
}}
</div>
}}
<includeonly>[[ವರ್ಗ:ವಿಕಿಸೋರ್ಸ್ ಟ್ಯುಟೋರಿಯಲ್ಗಳು]]</includeonly>
nim5vvbzkrepxuwo8wk6w3iprl0366u
282435
282424
2026-04-03T03:41:48Z
A826
6806
282435
wikitext
text/x-wiki
<templatestyles src="ಟೆಂಪ್ಲೇಟು:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/styles.css" />
__NOEDITSECTION__ __NOTOC__
<div class="ws-intro__main">
<!-- ಎಡ ಕಾಲಮ್: ಟ್ಯಾಬ್ಗಳು -->
<div class="ws-intro__columns-left">
<div class="ws-intro__tabs-main">
{{{{FULLROOTPAGENAME}}/ಟ್ಯಾಬ್ಗಳು|This={{{This|1}}}}}
</div>
<div class="ws-intro__columns-left-button">
{{#ifeq:{{{prev|true}}}|true
|[[{{{prevlink|ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ}}}|<span class="ws-intro__button">← {{{prevtext|ಟ್ಯುಟೋರಿಯಲ್ ಪಟ್ಟಿಗೆ ಹಿಂತಿರುಗಿ}}}</span>]]
}}
</div>
</div>
<!-- ಬಲ ಕಾಲಮ್: ಮುಖ್ಯ ವಿಷಯ -->
<div class="ws-intro__columns-right">
<div class="ws-intro__tabs-title">{{{title|ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ಮಾರ್ಗದರ್ಶಿ}}}</div>
{{{1|{{{contents|ಇಲ್ಲಿ ವಿಷಯ ಬರುತ್ತದೆ.}}}}}}
<div class="ws-intro__nav-links">
{{#ifexist:{{{prevsubpage|{{FULLROOTPAGENAME}}/{{#expr:{{SUBPAGENAME}}-1}}}}}
| [[{{{prevsubpage|{{FULLROOTPAGENAME}}/{{#iferror:{{#expr:{{SUBPAGENAME}}-1}}|1|{{#expr:{{SUBPAGENAME}}-1}}}}}}}|<span class="ws-intro__button">← ಹಿಂದೆ</span>]]
}}
{{#ifexist:{{{nextsubpage|{{FULLROOTPAGENAME}}/{{#expr:{{SUBPAGENAME}}+1}}}}}
| [[{{{nextsubpage|{{FULLROOTPAGENAME}}/{{#iferror:{{#expr:{{SUBPAGENAME}}+1}}|2|{{#expr:{{SUBPAGENAME}}+1}}}}}}}|<span class="ws-intro__button ws-intro__button-progressive" style="float: right;">ಮುಂದೆ →</span>]]
| <div style="float: right;">
{{#ifeq:{{{next|true}}}|true
|[[{{{nextlink|ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ}}}|<span class="ws-intro__button ws-intro__button-progressive">{{{nexttext|ಟ್ಯುಟೋರಿಯಲ್ ಪಟ್ಟಿಗೆ ಹಿಂತಿರುಗಿ}}}</span>]]
}}
</div>
}}
<div class="ws-intro__clearfix"></div>
</div>
</div>
</div>
<!-- ತಳಭಾಗದಲ್ಲಿ ಸ್ಥಿರ ವಿಷಯ (base page ಇದ್ದರೆ) -->
{{#ifexist:{{FULLROOTPAGENAME}}/base|<div class="ws-intro__base">{{{{FULLROOTPAGENAME}}/base}}</div>|}}
<!-- ವ್ಯಾಯಾಮ ಬಾಕ್ಸ್ -->
{{#if:{{{exercise|}}}|
<div class="ws-intro__exercise">
<div class="ws-intro__exercise-header" onclick="toggleExercise()">📘 ಉದಾಹರಣೆ ಪ್ರಶ್ನೆ: ನೀವು ಕಲಿತದ್ದನ್ನು ಪರೀಕ್ಷಿಸಿ</div>
<div id="wsIntroExercise" class="ws-intro__exercise-content">
{{{exercise}}}
</div>
</div>
}}
<script>
function toggleExercise() {
var elem = document.getElementById('wsIntroExercise');
if (elem.classList.contains('ws-intro__exercise-content--open')) {
elem.classList.remove('ws-intro__exercise-content--open');
} else {
elem.classList.add('ws-intro__exercise-content--open');
}
}
if (document.getElementById('wsIntroExercise')) {
document.getElementById('wsIntroExercise').classList.add('ws-intro__exercise-content--open');
}
</script>
<includeonly>[[ವರ್ಗ:ವಿಕಿಸೋರ್ಸ್ ಟ್ಯುಟೋರಿಯಲ್ಗಳು]]</includeonly>
183d9qfg2q6tqlgaeixer1yuin4elal
282444
282435
2026-04-03T04:54:49Z
A826
6806
282444
wikitext
text/x-wiki
<templatestyles src="ಟೆಂಪ್ಲೇಟು:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/styles.css" />
__NOEDITSECTION__ __NOTOC__
<div class="ws-intro__main">
<!-- ಎಡ ಕಾಲಮ್: ಟ್ಯಾಬ್ಗಳು -->
<div class="ws-intro__columns-left">
{{{{FULLROOTPAGENAME}}/ಟ್ಯಾಬ್ಗಳು|This={{{This|{{SUBPAGENAME|1}}}}}}}
<div class="ws-intro__columns-left-button">
{{#ifeq:{{{prev|true}}}|true
|[[{{{prevlink|ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ}}}|<span class="ws-intro__button">← {{{prevtext|ಟ್ಯುಟೋರಿಯಲ್ ಪಟ್ಟಿಗೆ ಹಿಂತಿರುಗಿ}}}</span>]]
}}
</div>
</div>
<!-- ಬಲ ಕಾಲಮ್: ಮುಖ್ಯ ವಿಷಯ -->
<div class="ws-intro__columns-right">
<div class="ws-intro__tabs-title">{{{title|ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ಮಾರ್ಗದರ್ಶಿ}}}</div>
{{{1|{{{contents|ಇಲ್ಲಿ ವಿಷಯ ಬರುತ್ತದೆ.}}}}}}
<div class="ws-intro__nav-links">
{{#ifexist:{{FULLROOTPAGENAME}}/{{#expr:{{SUBPAGENAME}}-1}}
|[[{{FULLROOTPAGENAME}}/{{#expr:{{SUBPAGENAME}}-1}}|<span class="ws-intro__button">← ಹಿಂದೆ (ಹಂತ {{#expr:{{SUBPAGENAME}}-1}})</span>]]
}}
{{#ifexist:{{FULLROOTPAGENAME}}/{{#expr:{{SUBPAGENAME}}+1}}
|[[{{FULLROOTPAGENAME}}/{{#expr:{{SUBPAGENAME}}+1}}|<span class="ws-intro__button ws-intro__button-progressive" style="float: right;">ಮುಂದೆ (ಹಂತ {{#expr:{{SUBPAGENAME}}+1}}) →</span>]]
|<div style="float: right;">
{{#ifeq:{{{next|true}}}|true
|[[{{{nextlink|ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ}}}|<span class="ws-intro__button ws-intro__button-progressive">{{{nexttext|ಟ್ಯುಟೋರಿಯಲ್ ಪೂರ್ಣಗೊಂಡಿತು → ಮುಖ್ಯ ಪುಟಕ್ಕೆ ಹಿಂತಿರುಗಿ}}}</span>]]
}}
</div>
}}
<div class="ws-intro__clearfix"></div>
</div>
</div>
</div>
<!-- ತಳಭಾಗದಲ್ಲಿ ಸ್ಥಿರ ವಿಷಯ (base page ಇದ್ದರೆ) -->
{{#ifexist:{{FULLROOTPAGENAME}}/base|<div class="ws-intro__base">{{{{FULLROOTPAGENAME}}/base}}</div>|}}
<!-- ವ್ಯಾಯಾಮ ಬಾಕ್ಸ್ - Pure CSS version without JavaScript -->
{{#if:{{{exercise|}}}|
<div class="ws-intro__exercise">
<input type="checkbox" id="wsIntroExerciseToggle" class="ws-intro__exercise-toggle">
<label for="wsIntroExerciseToggle" class="ws-intro__exercise-header">📘 ಉದಾಹರಣೆ ಪ್ರಶ್ನೆ: ನೀವು ಕಲಿತದ್ದನ್ನು ಪರೀಕ್ಷಿಸಿ (ಕ್ಲಿಕ್ ಮಾಡಿ)</label>
<div class="ws-intro__exercise-content">
{{{exercise}}}
</div>
</div>
}}
<includeonly>[[ವರ್ಗ:ವಿಕಿಸೋರ್ಸ್ ಟ್ಯುಟೋರಿಯಲ್ಗಳು]]</includeonly>
<noinclude>{{documentation}}</noinclude>
hhjyuzgwm0xy6i4yq61sa6o59rxim6j
282447
282444
2026-04-03T04:59:54Z
A826
6806
282447
wikitext
text/x-wiki
<templatestyles src="ಟೆಂಪ್ಲೇಟು:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/styles.css" />
__NOEDITSECTION__ __NOTOC__
<div class="ws-intro__main">
<!-- ಎಡ ಕಾಲಮ್: ಟ್ಯಾಬ್ಗಳು -->
<div class="ws-intro__columns-left">
{{{{FULLROOTPAGENAME}}/ಟ್ಯಾಬ್ಗಳು|This={{{This|{{SUBPAGENAME|1}}}}}}}
<div class="ws-intro__columns-left-button">
{{#ifeq:{{{prev|true}}}|true
|[[{{{prevlink|ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ}}}|<span class="ws-intro__button">← {{{prevtext|ಟ್ಯುಟೋರಿಯಲ್ ಪಟ್ಟಿಗೆ ಹಿಂತಿರುಗಿ}}}</span>]]
}}
</div>
</div>
<!-- ಬಲ ಕಾಲಮ್: ಮುಖ್ಯ ವಿಷಯ -->
<div class="ws-intro__columns-right">
<div class="ws-intro__tabs-title">{{{title|ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ಮಾರ್ಗದರ್ಶಿ}}}</div>
{{{1|{{{contents|ಇಲ್ಲಿ ವಿಷಯ ಬರುತ್ತದೆ.}}}}}}
<div class="ws-intro__nav-links">
{{#ifexist:{{FULLROOTPAGENAME}}/{{#expr:{{SUBPAGENAME}}-1}}
|[[{{FULLROOTPAGENAME}}/{{#expr:{{SUBPAGENAME}}-1}}|<span class="ws-intro__button">← ಹಿಂದೆ (ಹಂತ {{#expr:{{SUBPAGENAME}}-1}})</span>]]
}}
{{#ifexist:{{FULLROOTPAGENAME}}/{{#expr:{{SUBPAGENAME}}+1}}
|[[{{FULLROOTPAGENAME}}/{{#expr:{{SUBPAGENAME}}+1}}|<span class="ws-intro__button ws-intro__button-progressive" style="float: right;">ಮುಂದೆ (ಹಂತ {{#expr:{{SUBPAGENAME}}+1}}) →</span>]]
|<div style="float: right;">
{{#ifeq:{{{next|true}}}|true
|[[{{{nextlink|ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ}}}|<span class="ws-intro__button ws-intro__button-progressive">{{{nexttext|ಟ್ಯುಟೋರಿಯಲ್ ಪೂರ್ಣಗೊಂಡಿತು → ಮುಖ್ಯ ಪುಟಕ್ಕೆ ಹಿಂತಿರುಗಿ}}}</span>]]
}}
</div>
}}
<div class="ws-intro__clearfix"></div>
</div>
</div>
</div>
<!-- ತಳಭಾಗದಲ್ಲಿ ಸ್ಥಿರ ವಿಷಯ (base page ಇದ್ದರೆ) -->
{{#ifexist:{{FULLROOTPAGENAME}}/base|<div class="ws-intro__base">{{{{FULLROOTPAGENAME}}/base}}</div>|}}
<!-- ವ್ಯಾಯಾಮ ಬಾಕ್ಸ್ - Always visible, no JavaScript, no complex toggle -->
{{#if:{{{exercise|}}}|
<div class="ws-intro__exercise">
<div class="ws-intro__exercise-header">📘 ಅಭ್ಯಾಸ ಪ್ರಶ್ನೆ / Exercise</div>
<div class="ws-intro__exercise-content">
{{{exercise}}}
</div>
</div>
}}
<includeonly>[[ವರ್ಗ:ವಿಕಿಸೋರ್ಸ್ ಟ್ಯುಟೋರಿಯಲ್ಗಳು]]</includeonly>
<noinclude>{{documentation}}</noinclude>
sctgt74phy2mvzjoznn2f5sme8pnr4b
282557
282447
2026-04-03T05:10:53Z
A826
6806
282557
wikitext
text/x-wiki
<templatestyles src="ಟೆಂಪ್ಲೇಟು:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/styles.css" />
__NOEDITSECTION__ __NOTOC__
<div class="ws-intro__main">
<!-- ಎಡ ಕಾಲಮ್: ಟ್ಯಾಬ್ಗಳು -->
<div class="ws-intro__columns-left">
<div class="ws-intro__tabs-main">
{{#ifeq:{{SUBPAGENAME|1}}|1
|<div class="ws-intro__tabs-main--active">📁 1. ಫೈಲ್ ಅಪ್ಲೋಡ್ ಮತ್ತು ಪರಿವಿಡಿ</div>
|<div>[[{{FULLROOTPAGENAME}}/1|📁 1. ಫೈಲ್ ಅಪ್ಲೋಡ್ ಮತ್ತು ಪರಿವಿಡಿ]]</div>
}}
{{#ifeq:{{SUBPAGENAME|1}}|2
|<div class="ws-intro__tabs-main--active">✏️ 2. ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮತ್ತು ಪುಟ ಸ್ಥಿತಿ</div>
|<div>[[{{FULLROOTPAGENAME}}/2|✏️ 2. ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮತ್ತು ಪುಟ ಸ್ಥಿತಿ]]</div>
}}
{{#ifeq:{{SUBPAGENAME|1}}|3
|<div class="ws-intro__tabs-main--active">🔗 3. ಮೌಲ್ಯೀಕರಣ ಮತ್ತು ಟ್ರಾನ್ಸ್ಕ್ಲೂಷನ್</div>
|<div>[[{{FULLROOTPAGENAME}}/3|🔗 3. ಮೌಲ್ಯೀಕರಣ ಮತ್ತು ಟ್ರಾನ್ಸ್ಕ್ಲೂಷನ್]]</div>
}}
{{#ifeq:{{SUBPAGENAME|1}}|4
|<div class="ws-intro__tabs-main--active">🪙 4. ವಿಕಿಡಾಟ ಸಂಪರ್ಕ</div>
|<div>[[{{FULLROOTPAGENAME}}/4|🪙 4. ವಿಕಿಡಾಟ ಸಂಪರ್ಕ]]</div>
}}
{{#ifeq:{{SUBPAGENAME|1}}|5
|<div class="ws-intro__tabs-main--active">✅ 5. ಅಂತಿಮ ಹಂತಗಳು</div>
|<div>[[{{FULLROOTPAGENAME}}/5|✅ 5. ಅಂತಿಮ ಹಂತಗಳು]]</div>
}}
</div>
<div class="ws-intro__columns-left-button">
[[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ|<span class="ws-intro__button">← ಟ್ಯುಟೋರಿಯಲ್ ಪಟ್ಟಿಗೆ ಹಿಂತಿರುಗಿ</span>]]
</div>
</div>
<!-- ಬಲ ಕಾಲಮ್: ಮುಖ್ಯ ವಿಷಯ -->
<div class="ws-intro__columns-right">
<div class="ws-intro__tabs-title">{{{title|ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ಮಾರ್ಗದರ್ಶಿ}}}</div>
<!-- THIS IS WHERE THE CONTENT GOES - using {{{1}}} parameter -->
{{{1}}}
<div class="ws-intro__nav-links">
{{#ifexist:{{FULLROOTPAGENAME}}/{{#expr:{{SUBPAGENAME}}-1}}
|[[{{FULLROOTPAGENAME}}/{{#expr:{{SUBPAGENAME}}-1}}|<span class="ws-intro__button">← ಹಿಂದೆ</span>]]
}}
{{#ifexist:{{FULLROOTPAGENAME}}/{{#expr:{{SUBPAGENAME}}+1}}
|[[{{FULLROOTPAGENAME}}/{{#expr:{{SUBPAGENAME}}+1}}|<span class="ws-intro__button ws-intro__button-progressive" style="float: right;">ಮುಂದೆ →</span>]]
|<div style="float: right;">
[[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ|<span class="ws-intro__button ws-intro__button-progressive">ಟ್ಯುಟೋರಿಯಲ್ ಪೂರ್ಣಗೊಂಡಿತು → ಮುಖ್ಯ ಪುಟಕ್ಕೆ ಹಿಂತಿರುಗಿ</span>]]
</div>
}}
<div class="ws-intro__clearfix"></div>
</div>
</div>
</div>
<!-- ವ್ಯಾಯಾಮ ಬಾಕ್ಸ್ -->
{{#if:{{{2|}}}|
<div class="mw-collapsible mw-collapsed ws-intro__exercise">
<div class="mw-collapsible-toggle ws-intro__exercise-header" style="font-weight: bold; padding: 12px; background: #e9ecef; cursor: pointer;">
📘 ಅಭ್ಯಾಸ ಪ್ರಶ್ನೆ / Exercise (ಕ್ಲಿಕ್ ಮಾಡಿ)
</div>
<div class="mw-collapsible-content ws-intro__exercise-content" style="padding: 15px;">
{{{2}}}
</div>
</div>
}}
<includeonly>[[ವರ್ಗ:ವಿಕಿಸೋರ್ಸ್ ಟ್ಯುಟೋರಿಯಲ್ಗಳು]]</includeonly>
<noinclude>{{documentation}}</noinclude>
jpb6j0dacd5byofylj7x2gg5vt5dk1a
282559
282557
2026-04-03T05:15:42Z
A826
6806
282559
wikitext
text/x-wiki
<templatestyles src="ಟೆಂಪ್ಲೇಟು:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/styles.css" />
__NOEDITSECTION__ __NOTOC__
<div class="ws-intro__main">
<!-- ಎಡ ಕಾಲಮ್: ಟ್ಯಾಬ್ಗಳು -->
<div class="ws-intro__columns-left">
<div class="ws-intro__tabs-main">
{{#ifeq:{{SUBPAGENAME}}|1
|<div class="ws-intro__tabs-main--active">1. ಫೈಲ್ ಅಪ್ಲೋಡ್ ಮತ್ತು ಪರಿವಿಡಿ</div>
|<div>[[{{FULLROOTPAGENAME}}/1|1. ಫೈಲ್ ಅಪ್ಲೋಡ್ ಮತ್ತು ಪರಿವಿಡಿ]]</div>
}}
{{#ifeq:{{SUBPAGENAME}}|2
|<div class="ws-intro__tabs-main--active">2. ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮತ್ತು ಪುಟ ಸ್ಥಿತಿ</div>
|<div>[[{{FULLROOTPAGENAME}}/2|2. ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮತ್ತು ಪುಟ ಸ್ಥಿತಿ]]</div>
}}
{{#ifeq:{{SUBPAGENAME}}|3
|<div class="ws-intro__tabs-main--active">3. ಮೌಲ್ಯೀಕರಣ ಮತ್ತು ಟ್ರಾನ್ಸ್ಕ್ಲೂಷನ್</div>
|<div>[[{{FULLROOTPAGENAME}}/3|3. ಮೌಲ್ಯೀಕರಣ ಮತ್ತು ಟ್ರಾನ್ಸ್ಕ್ಲೂಷನ್]]</div>
}}
{{#ifeq:{{SUBPAGENAME}}|4
|<div class="ws-intro__tabs-main--active">4. ವಿಕಿಡಾಟ ಸಂಪರ್ಕ</div>
|<div>[[{{FULLROOTPAGENAME}}/4|4. ವಿಕಿಡಾಟ ಸಂಪರ್ಕ]]</div>
}}
{{#ifeq:{{SUBPAGENAME}}|5
|<div class="ws-intro__tabs-main--active">5. ಅಂತಿಮ ಹಂತಗಳು</div>
|<div>[[{{FULLROOTPAGENAME}}/5|5. ಅಂತಿಮ ಹಂತಗಳು]]</div>
}}
</div>
<div class="ws-intro__columns-left-button">
[[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ|<span class="ws-intro__button">← ಟ್ಯುಟೋರಿಯಲ್ ಪಟ್ಟಿಗೆ ಹಿಂತಿರುಗಿ</span>]]
</div>
</div>
<!-- ಬಲ ಕಾಲಮ್: ಮುಖ್ಯ ವಿಷಯ -->
<div class="ws-intro__columns-right">
<div class="ws-intro__tabs-title">{{{title|ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ಮಾರ್ಗದರ್ಶಿ}}}</div>
<!-- MAIN CONTENT -->
{{{content|{{{1|ಇಲ್ಲಿ ವಿಷಯ ಬರುತ್ತದೆ.}}}}}}
<div class="ws-intro__nav-links">
{{#ifexist:{{FULLROOTPAGENAME}}/{{#expr:{{SUBPAGENAME}}-1}}
|[[{{FULLROOTPAGENAME}}/{{#expr:{{SUBPAGENAME}}-1}}|<span class="ws-intro__button">← ಹಿಂದೆ</span>]]
}}
{{#ifexist:{{FULLROOTPAGENAME}}/{{#expr:{{SUBPAGENAME}}+1}}
|[[{{FULLROOTPAGENAME}}/{{#expr:{{SUBPAGENAME}}+1}}|<span class="ws-intro__button ws-intro__button-progressive" style="float: right;">ಮುಂದೆ →</span>]]
|<div style="float: right;">
[[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ|<span class="ws-intro__button ws-intro__button-progressive">ಟ್ಯುಟೋರಿಯಲ್ ಪೂರ್ಣಗೊಂಡಿತು → ಮುಖ್ಯ ಪುಟಕ್ಕೆ ಹಿಂತಿರುಗಿ</span>]]
</div>
}}
<div class="ws-intro__clearfix"></div>
</div>
</div>
</div>
<!-- ವ್ಯಾಯಾಮ ಬಾಕ್ಸ್ -->
{{#if:{{{exercise|}}}|
<div class="mw-collapsible mw-collapsed ws-intro__exercise">
<div class="mw-collapsible-toggle ws-intro__exercise-header" style="font-weight: bold; padding: 12px; background: #e9ecef; cursor: pointer;">
ಅಭ್ಯಾಸ ಪ್ರಶ್ನೆ (ಕ್ಲಿಕ್ ಮಾಡಿ)
</div>
<div class="mw-collapsible-content ws-intro__exercise-content" style="padding: 15px;">
{{{exercise}}}
</div>
</div>
}}
<includeonly>[[ವರ್ಗ:ವಿಕಿಸೋರ್ಸ್ ಟ್ಯುಟೋರಿಯಲ್ಗಳು]]</includeonly>
<noinclude>{{documentation}}</noinclude>
l3befnrbhk44x4qlzebw7nj27vkx0j6
ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/ಟ್ಯಾಬ್ಗಳು
12
100790
282425
2026-04-03T03:32:23Z
A826
6806
ಹೊಸ ಪುಟ: <includeonly><div class="ws-intro__tabs-main"> {{#switch:{{{This|1}}} |1 = <div class="ws-intro__tabs-main--active">'''1. ಅಪ್ಲೋಡ್ ಮತ್ತು ಪರಿವಿಡಿ'''</div> |<div>1. ಅಪ್ಲೋಡ್ ಮತ್ತು ಪರಿವಿಡಿ</div> |2 = <div class="ws-intro__tabs-main--active">'''2. ಪ್ರೂಫ್ ರೀಡಿಂಗ್'''</div> |<div>2. ಪ್ರೂಫ್ ರೀಡಿಂಗ್</div> |3 = <div class="ws-intro__tabs-main--activ...
282425
wikitext
text/x-wiki
<includeonly><div class="ws-intro__tabs-main">
{{#switch:{{{This|1}}}
|1 = <div class="ws-intro__tabs-main--active">'''1. ಅಪ್ಲೋಡ್ ಮತ್ತು ಪರಿವಿಡಿ'''</div>
|<div>1. ಅಪ್ಲೋಡ್ ಮತ್ತು ಪರಿವಿಡಿ</div>
|2 = <div class="ws-intro__tabs-main--active">'''2. ಪ್ರೂಫ್ ರೀಡಿಂಗ್'''</div>
|<div>2. ಪ್ರೂಫ್ ರೀಡಿಂಗ್</div>
|3 = <div class="ws-intro__tabs-main--active">'''3. ಟ್ರಾನ್ಸ್ಕ್ಲೂಷನ್'''</div>
|<div>3. ಟ್ರಾನ್ಸ್ಕ್ಲೂಷನ್</div>
|4 = <div class="ws-intro__tabs-main--active">'''4. ವಿಕಿಡಾಟ'''</div>
|<div>4. ವಿಕಿಡಾಟ</div>
}}
</div></includeonly><noinclude>
ಈ ಪುಟವು ಎಡಗಡೆಯ ಟ್ಯಾಬ್ಗಳನ್ನು ನಿಯಂತ್ರಿಸುತ್ತದೆ.
'''Usage:''' <code><nowiki>{{ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/ಟ್ಯಾಬ್ಗಳು|This=2}}</nowiki></code> (2ನೇ ಟ್ಯಾಬ್ ಸಕ್ರಿಯವಾಗಿರುತ್ತದೆ)
</noinclude>
pcxkyviztiufey7qyxn3h2jbzzt49dm
282434
282425
2026-04-03T03:41:11Z
A826
6806
282434
wikitext
text/x-wiki
<includeonly><div>
{{#switch:{{{This|1}}}
|1 = <div class="ws-intro__tabs-main--active">📁 1. ಅಪ್ಲೋಡ್ ಮತ್ತು ಪರಿವಿಡಿ</div>
|<div class="ws-intro__tabs-main">📁 1. ಅಪ್ಲೋಡ್ ಮತ್ತು ಪರಿವಿಡಿ</div>
|2 = <div class="ws-intro__tabs-main--active">✏️ 2. ಪ್ರೂಫ್ ರೀಡಿಂಗ್</div>
|<div class="ws-intro__tabs-main">✏️ 2. ಪ್ರೂಫ್ ರೀಡಿಂಗ್</div>
|3 = <div class="ws-intro__tabs-main--active">🔗 3. ಟ್ರಾನ್ಸ್ಕ್ಲೂಷನ್</div>
|<div class="ws-intro__tabs-main">🔗 3. ಟ್ರಾನ್ಸ್ಕ್ಲೂಷನ್</div>
|4 = <div class="ws-intro__tabs-main--active">🪙 4. ವಿಕಿಡಾಟ</div>
|<div class="ws-intro__tabs-main">🪙 4. ವಿಕಿಡಾಟ</div>
|5 = <div class="ws-intro__tabs-main--active">✅ 5. ಅಂತಿಮ ಹಂತಗಳು</div>
|<div class="ws-intro__tabs-main">✅ 5. ಅಂತಿಮ ಹಂತಗಳು</div>
|#default = <div class="ws-intro__tabs-main--active">{{{This}}}</div>
}}
</div></includeonly><noinclude>
ಈ ಪುಟವು ಎಡಗಡೆಯ ಟ್ಯಾಬ್ಗಳನ್ನು ನಿಯಂತ್ರಿಸುತ್ತದೆ.
'''Usage:''' <code><nowiki>{{ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/ಟ್ಯಾಬ್ಗಳು|This=2}}</nowiki></code> (2ನೇ ಟ್ಯಾಬ್ ಸಕ್ರಿಯ)
</noinclude>
3mt01otap7cs0gnmgej9t3zimwtmk16
282438
282434
2026-04-03T04:49:07Z
A826
6806
282438
wikitext
text/x-wiki
<includeonly><div class="ws-intro__tabs-main">
{{#ifeq:{{{This|1}}}|1
|<div class="ws-intro__tabs-main--active">📁 1. ಫೈಲ್ ಅಪ್ಲೋಡ್ ಮತ್ತು ಪರಿವಿಡಿ</div>
|<div>[[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/1|📁 1. ಫೈಲ್ ಅಪ್ಲೋಡ್ ಮತ್ತು ಪರಿವಿಡಿ]]</div>
}}
{{#ifeq:{{{This|1}}}|2
|<div class="ws-intro__tabs-main--active">✏️ 2. ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮತ್ತು ಪುಟ ಸ್ಥಿತಿ</div>
|<div>[[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/2|✏️ 2. ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮತ್ತು ಪುಟ ಸ್ಥಿತಿ]]</div>
}}
{{#ifeq:{{{This|1}}}|3
|<div class="ws-intro__tabs-main--active">🔗 3. ಮೌಲ್ಯೀಕರಣ ಮತ್ತು ಟ್ರಾನ್ಸ್ಕ್ಲೂಷನ್</div>
|<div>[[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/3|🔗 3. ಮೌಲ್ಯೀಕರಣ ಮತ್ತು ಟ್ರಾನ್ಸ್ಕ್ಲೂಷನ್]]</div>
}}
{{#ifeq:{{{This|1}}}|4
|<div class="ws-intro__tabs-main--active">🪙 4. ವಿಕಿಡಾಟ ಸಂಪರ್ಕ</div>
|<div>[[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/4|🪙 4. ವಿಕಿಡಾಟ ಸಂಪರ್ಕ]]</div>
}}
{{#ifeq:{{{This|1}}}|5
|<div class="ws-intro__tabs-main--active">✅ 5. ಅಂತಿಮ ಹಂತಗಳು</div>
|<div>[[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/5|✅ 5. ಅಂತಿಮ ಹಂತಗಳು]]</div>
}}
</div></includeonly><noinclude>
ಈ ಪುಟವು ಎಡಗಡೆಯ ಟ್ಯಾಬ್ಗಳನ್ನು ನಿಯಂತ್ರಿಸುತ್ತದೆ.
'''Usage:''' <code><nowiki>{{ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/ಟ್ಯಾಬ್ಗಳು|This=2}}</nowiki></code> (2ನೇ ಟ್ಯಾಬ್ ಸಕ್ರಿಯ)
</noinclude>
lj9hq9jrwe646qn99jy7sjrwwuctq1c
ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/1
12
100791
282426
2026-04-03T03:34:00Z
A826
6806
ಹೊಸ ಪುಟ: {{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ |contents = == ಹಂತ 1: ಫೈಲ್ ಅಪ್ಲೋಡ್ ಮತ್ತು ಪರಿವಿಡಿ ಪುಟ == ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿ ಹೊಸ ಪುಸ್ತಕವನ್ನು ಸೇರಿಸಲು ಈ ಹಂತಗಳನ್ನು ಅನುಸರಿಸಿ: {| class="wikitable" ! ಕಾರ್ಯ !! ಸೂಚನೆಗಳು |- | '''ಫೈಲ್ ಅಪ್ಲೋಡ್''' ||...
282426
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|contents =
== ಹಂತ 1: ಫೈಲ್ ಅಪ್ಲೋಡ್ ಮತ್ತು ಪರಿವಿಡಿ ಪುಟ ==
ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿ ಹೊಸ ಪುಸ್ತಕವನ್ನು ಸೇರಿಸಲು ಈ ಹಂತಗಳನ್ನು ಅನುಸರಿಸಿ:
{| class="wikitable"
! ಕಾರ್ಯ !! ಸೂಚನೆಗಳು
|-
| '''ಫೈಲ್ ಅಪ್ಲೋಡ್''' || ಕಾಮನ್ಸ್ನಲ್ಲಿ ಉಚಿತ ಪರವಾನಗಿ ಇರುವ ಕಡತಗಳನ್ನು ಅಪ್ಲೋಡ್ ಮಾಡಿ.
|-
| '''ಪರಿವಿಡಿ ಪುಟ''' || <code>Index:ಕಡತದ_ಹೆಸರು.djvu</code> ರಚಿಸಿ, <code><nowiki><pagelist/></nowiki></code> ಸೇರಿಸಿ.
|}
|exercise =
ನಿಮ್ಮ ಕಂಪ್ಯೂಟರ್ನಲ್ಲಿರುವ ಒಂದು ಸಾರ್ವಜನಿಕಾಧೀನ ಪುಸ್ತಕದ PDF ಅನ್ನು Commonsನಲ್ಲಿ ಅಪ್ಲೋಡ್ ಮಾಡಿ ಮತ್ತು ಅದಕ್ಕೆ Index ಪುಟವನ್ನು ರಚಿಸಿ.
}}
j2j1z9exm5x109nxhexla66z9we4c93
282439
282426
2026-04-03T04:50:38Z
A826
6806
282439
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|title = ಹಂತ 1: ಫೈಲ್ಗಳನ್ನು ಅಪ್ಲೋಡ್ ಮಾಡಿ ಮತ್ತು ಪರಿವಿಡಿ ಪುಟ ರಚಿಸಿ
|contents =
== 📤 ಫೈಲ್ಗಳನ್ನು ಅಪ್ಲೋಡ್ ಮಾಡಿ ==
'''ಗಮನಿಸಿ:''' ನೀವು ಅಪ್ಲೋಡ್ ಮಾಡಲು ಪ್ರಯತ್ನಿಸುತ್ತಿರುವ ಪುಸ್ತಕವನ್ನು ಪರಿಶೀಲಿಸಲು ದಯವಿಟ್ಟು ನೆನಪಿಡಿ.
{| class="wikitable"
! ಸ್ಥಳ !! ಯಾವಾಗ ಬಳಸಬೇಕು
|-
| '''ಕಾಮನ್ಸ್ (Commons)''' || ಉಚಿತ ಪರವಾನಗಿ ಇರುವ ಕಡತಗಳು:
* [[c:Commons:Licensing]] ವಿವರಿಸಿದ ಪರವಾನಗಿ ಇರುವ
* ಸ್ವಂತ ರಚಿತ
* ಇತರ ಲೇಖಕರು ಪರವಾನಗಿ ಬಿಟ್ಟು ಕೊಟ್ಟಿರುವ ([[w:en:Copyleft|Copyleft or Relicencing]])
|-
| '''ಸ್ಥಳೀಯವಾಗಿ''' || [[ವಿಕಿಸೋರ್ಸ್:ಸದ್ಬಳಕೆ]] ನಲ್ಲಿ ವಿವರಿಸಿದ ಹಾಗೆ ಭಾರತೀಯ ಹಕ್ಕುಸ್ವಾಮ್ಯ ನಿಯಮದ ಅನುಗುಣವಾಗಿ ಉಚಿತವಲ್ಲದ ಸದ್ಬಳಕೆ ಪುಟಗಳು.
|}
== 📖 ಪರಿವಿಡಿ (Index) ಪುಟಗಳನ್ನು ರಚಿಸಿ ==
'''ಸಹಾಯ ಪುಟಗಳು:'''
* [[ಸಹಾಯ:Beginner's guide to Index: files]]
* [[ಸಹಾಯ:Index pages]]
=== ಸೂಚ್ಯಂಕ ಪುಟವನ್ನು ರಚಿಸುವ ಹಂತಗಳು ===
# ಕಾಮನ್ಸ್ನಲ್ಲಿ ಫೈಲ್ ಹೆಸರು <code>ಫೈಲ್:ರಮಾನಂದ.djvu</code> ಆಗಿದ್ದರೆ, ಕೆಳಗಿನ ಲಿಂಕ್ಗಳಲ್ಲಿ ಒಂದಕ್ಕೆ ಹೋಗಿ:
#* https://kn.wikisource.org/wiki/ಪರಿವಿಡಿ:ರಮಾನಂದ.djvu
#* https://kn.wikisource.org/wiki/Index:ರಮಾನಂದ.djvu
# '''ಪುಟ ರಚಿಸಿ''' ಕ್ಲಿಕ್ ಮಾಡಿ
# ಈ ವಿವರಗಳನ್ನು ಸೇರಿಸಿ:
#* ಶೀರ್ಷಿಕೆ
#* ಲೇಖಕರ ಹೆಸರು
#* ಪ್ರಕಾಶಕರು, ವರ್ಷ, ಇತರ ವಿವರಗಳು
# <code><nowiki><pagelist></nowiki></code> ಸೇರಿಸಿ (ಇದನ್ನು ಮೌಲ್ಯೀಕರಣದ ನಂತರವೂ ಮಾಡಬಹುದು)
<div style="background: #e6f3ff; padding: 10px; border-left: 4px solid #36c; margin: 15px 0;">
'''💡 ಸಲಹೆ:''' ಪರಿವಿಡಿ ರಚನೆ ಪ್ರಕ್ರಿಯೆಯನ್ನು ಪೂರ್ಣಗೊಳಿಸಿದ ನಂತರ ಮತ್ತು ಪುಟವನ್ನು ಉಳಿಸಿದ ನಂತರ, ಪುಟಪಟ್ಟಿ ಉತ್ಪಾದನೆಯಾಗುತ್ತದೆ. ಇದು ಸಾಮಾನ್ಯವಾಗಿ ಫೈಲ್ ಪುಟದಲ್ಲಿರುವ ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ಒಳಗೊಂಡಿರುತ್ತದೆ.
</div>
== 🔧 ಪ್ರತ್ಯೇಕ ಪುಟಗಳನ್ನು ರಚಿಸುವುದು ==
ನೀವು ರಚಿಸದ ಪುಟಗಳನ್ನು ರಚಿಸಬೇಕು.
{| class="wikitable" style="width: 100%;"
|+ OCR ಮೂಲಕ ಪಠ್ಯ ಪಡೆಯುವುದು
|-
| '''ಮೊದಲ ಬಾರಿಗೆ''' ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿ ಸ್ಕ್ಯಾನ್ ಪ್ರತಿಯಿಂದ ಪಠ್ಯ ತೆಗೆಯಲು:
# '''Transcribe text''' ಬಟನ್ ಪಕ್ಕದಲ್ಲಿರುವ '''v''' ಆಯ್ಕೆ ಕ್ಲಿಕ್ ಮಾಡಿ
# '''Google OCR''' ಆಯ್ಕೆ ಮಾಡಿ
# '''Languages (optional):''' ನಲ್ಲಿ ಕನ್ನಡ ಛಾಪಿಸಿ ಪ್ರಾಶಸ್ತ್ಯವನ್ನು ನಿಗದಿಪಡಿಸಿ
|-
| [[File:Proofread page - Transcribe text 2.PNG|500px]]
|}
----
{| class="wikitable" style="width: 100%;"
| '''Transcribe text''' ಬಟನ್ ಕ್ಲಿಕ್ ಮಾಡುವ ಮೂಲಕ ನೀವು ಸ್ಕ್ಯಾನ್ ಮಾಡಿದ ಪುಟಗಳಿಂದ ಪಠ್ಯವನ್ನು ಪಡೆಯಬಹುದು.
|-
| [[File:Proofread page - Transcribe text 1.PNG|500px]]
|}
|exercise =
ನಿಮ್ಮ ಕಂಪ್ಯೂಟರ್ನಲ್ಲಿರುವ ಒಂದು ಸಾರ್ವಜನಿಕಾಧೀನ ಪುಸ್ತಕದ PDF ಅನ್ನು Commonsನಲ್ಲಿ ಅಪ್ಲೋಡ್ ಮಾಡಿ ಮತ್ತು ಅದಕ್ಕೆ Index ಪುಟವನ್ನು ರಚಿಸಿ. Index ಪುಟದಲ್ಲಿ ಶೀರ್ಷಿಕೆ, ಲೇಖಕ, ಮತ್ತು <code><nowiki><pagelist/></nowiki></code> ಸೇರಿಸಲು ಮರೆಯಬೇಡಿ.
}}
tlutoi4satxmt2vndb902aa7idrwfio
282558
282439
2026-04-03T05:11:46Z
A826
6806
282558
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|title = ಹಂತ 1: ಫೈಲ್ಗಳನ್ನು ಅಪ್ಲೋಡ್ ಮಾಡಿ ಮತ್ತು ಪರಿವಿಡಿ ಪುಟ ರಚಿಸಿ
|1 =
== 📤 ಫೈಲ್ಗಳನ್ನು ಅಪ್ಲೋಡ್ ಮಾಡಿ ==
'''ಗಮನಿಸಿ:''' ನೀವು ಅಪ್ಲೋಡ್ ಮಾಡಲು ಪ್ರಯತ್ನಿಸುತ್ತಿರುವ ಪುಸ್ತಕವನ್ನು ಪರಿಶೀಲಿಸಲು ದಯವಿಟ್ಟು ನೆನಪಿಡಿ.
{| class="wikitable"
! ಸ್ಥಳ !! ಯಾವಾಗ ಬಳಸಬೇಕು
|-
| '''ಕಾಮನ್ಸ್ (Commons)''' || ಉಚಿತ ಪರವಾನಗಿ ಇರುವ ಕಡತಗಳು:
* [[c:Commons:Licensing]] ವಿವರಿಸಿದ ಪರವಾನಗಿ ಇರುವ
* ಸ್ವಂತ ರಚಿತ
* ಇತರ ಲೇಖಕರು ಪರವಾನಗಿ ಬಿಟ್ಟು ಕೊಟ್ಟಿರುವ ([[w:en:Copyleft|Copyleft or Relicencing]])
|-
| '''ಸ್ಥಳೀಯವಾಗಿ''' || [[ವಿಕಿಸೋರ್ಸ್:ಸದ್ಬಳಕೆ]] ನಲ್ಲಿ ವಿವರಿಸಿದ ಹಾಗೆ ಭಾರತೀಯ ಹಕ್ಕುಸ್ವಾಮ್ಯ ನಿಯಮದ ಅನುಗುಣವಾಗಿ ಉಚಿತವಲ್ಲದ ಸದ್ಬಳಕೆ ಪುಟಗಳು.
|}
== 📖 ಪರಿವಿಡಿ (Index) ಪುಟಗಳನ್ನು ರಚಿಸಿ ==
'''ಸಹಾಯ ಪುಟಗಳು:'''
* [[ಸಹಾಯ:Beginner's guide to Index: files]]
* [[ಸಹಾಯ:Index pages]]
=== ಸೂಚ್ಯಂಕ ಪುಟವನ್ನು ರಚಿಸುವ ಹಂತಗಳು ===
# ಕಾಮನ್ಸ್ನಲ್ಲಿ ಫೈಲ್ ಹೆಸರು <code>ಫೈಲ್:ರಮಾನಂದ.djvu</code> ಆಗಿದ್ದರೆ, ಕೆಳಗಿನ ಲಿಂಕ್ಗಳಲ್ಲಿ ಒಂದಕ್ಕೆ ಹೋಗಿ:
#* https://kn.wikisource.org/wiki/ಪರಿವಿಡಿ:ರಮಾನಂದ.djvu
#* https://kn.wikisource.org/wiki/Index:ರಮಾನಂದ.djvu
# '''ಪುಟ ರಚಿಸಿ''' ಕ್ಲಿಕ್ ಮಾಡಿ
# ಈ ವಿವರಗಳನ್ನು ಸೇರಿಸಿ:
#* ಶೀರ್ಷಿಕೆ
#* ಲೇಖಕರ ಹೆಸರು
#* ಪ್ರಕಾಶಕರು, ವರ್ಷ, ಇತರ ವಿವರಗಳು
# <code><nowiki><pagelist></nowiki></code> ಸೇರಿಸಿ (ಇದನ್ನು ಮೌಲ್ಯೀಕರಣದ ನಂತರವೂ ಮಾಡಬಹುದು)
<div style="background: #e6f3ff; padding: 10px; border-left: 4px solid #36c; margin: 15px 0;">
'''💡 ಸಲಹೆ:''' ಪರಿವಿಡಿ ರಚನೆ ಪ್ರಕ್ರಿಯೆಯನ್ನು ಪೂರ್ಣಗೊಳಿಸಿದ ನಂತರ ಮತ್ತು ಪುಟವನ್ನು ಉಳಿಸಿದ ನಂತರ, ಪುಟಪಟ್ಟಿ ಉತ್ಪಾದನೆಯಾಗುತ್ತದೆ. ಇದು ಸಾಮಾನ್ಯವಾಗಿ ಫೈಲ್ ಪುಟದಲ್ಲಿರುವ ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ಒಳಗೊಂಡಿರುತ್ತದೆ.
</div>
== 🔧 ಪ್ರತ್ಯೇಕ ಪುಟಗಳನ್ನು ರಚಿಸುವುದು ==
ನೀವು ರಚಿಸದ ಪುಟಗಳನ್ನು ರಚಿಸಬೇಕು.
{| class="wikitable" style="width: 100%;"
|+ OCR ಮೂಲಕ ಪಠ್ಯ ಪಡೆಯುವುದು
|-
| '''ಮೊದಲ ಬಾರಿಗೆ''' ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿ ಸ್ಕ್ಯಾನ್ ಪ್ರತಿಯಿಂದ ಪಠ್ಯ ತೆಗೆಯಲು:
# '''Transcribe text''' ಬಟನ್ ಪಕ್ಕದಲ್ಲಿರುವ '''v''' ಆಯ್ಕೆ ಕ್ಲಿಕ್ ಮಾಡಿ
# '''Google OCR''' ಆಯ್ಕೆ ಮಾಡಿ
# '''Languages (optional):''' ನಲ್ಲಿ ಕನ್ನಡ ಛಾಪಿಸಿ ಪ್ರಾಶಸ್ತ್ಯವನ್ನು ನಿಗದಿಪಡಿಸಿ
|-
| [[File:Proofread page - Transcribe text 2.PNG|500px]]
|}
----
{| class="wikitable" style="width: 100%;"
| '''Transcribe text''' ಬಟನ್ ಕ್ಲಿಕ್ ಮಾಡುವ ಮೂಲಕ ನೀವು ಸ್ಕ್ಯಾನ್ ಮಾಡಿದ ಪುಟಗಳಿಂದ ಪಠ್ಯವನ್ನು ಪಡೆಯಬಹುದು.
|-
| [[File:Proofread page - Transcribe text 1.PNG|500px]]
|}
|2 =
ನಿಮ್ಮ ಕಂಪ್ಯೂಟರ್ನಲ್ಲಿರುವ ಒಂದು ಸಾರ್ವಜನಿಕಾಧೀನ ಪುಸ್ತಕದ PDF ಅನ್ನು Commonsನಲ್ಲಿ ಅಪ್ಲೋಡ್ ಮಾಡಿ ಮತ್ತು ಅದಕ್ಕೆ Index ಪುಟವನ್ನು ರಚಿಸಿ. Index ಪುಟದಲ್ಲಿ ಶೀರ್ಷಿಕೆ, ಲೇಖಕ, ಮತ್ತು <code><nowiki><pagelist/></nowiki></code> ಸೇರಿಸಲು ಮರೆಯಬೇಡಿ.
}}
69e5gj5lyecjvyn3a7pt4s2xy5na7l4
282560
282558
2026-04-03T05:18:52Z
A826
6806
282560
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|title = ಹಂತ 1: ಫೈಲ್ಗಳನ್ನು ಅಪ್ಲೋಡ್ ಮಾಡಿ ಮತ್ತು ಪರಿವಿಡಿ ಪುಟ ರಚಿಸಿ
|content =
== ಫೈಲ್ಗಳನ್ನು ಅಪ್ಲೋಡ್ ಮಾಡಿ ==
'''ಗಮನಿಸಿ:''' ನೀವು ಅಪ್ಲೋಡ್ ಮಾಡಲು ಪ್ರಯತ್ನಿಸುತ್ತಿರುವ ಪುಸ್ತಕವನ್ನು ಪರಿಶೀಲಿಸಲು ದಯವಿಟ್ಟು ನೆನಪಿಡಿ.
{| class="wikitable"
! ಸ್ಥಳ !! ಯಾವಾಗ ಬಳಸಬೇಕು
|-
| '''ಕಾಮನ್ಸ್ (Commons)''' || ಉಚಿತ ಪರವಾನಗಿ ಇರುವ ಕಡತಗಳು:
* [[c:Commons:Licensing]] ವಿವರಿಸಿದ ಪರವಾನಗಿ ಇರುವ
* ಸ್ವಂತ ರಚಿತ
* ಇತರ ಲೇಖಕರು ಪರವಾನಗಿ ಬಿಟ್ಟು ಕೊಟ್ಟಿರುವ ([[w:en:Copyleft|Copyleft or Relicencing]])
|-
| '''ಸ್ಥಳೀಯವಾಗಿ''' || [[ವಿಕಿಸೋರ್ಸ್:ಸದ್ಬಳಕೆ]] ನಲ್ಲಿ ವಿವರಿಸಿದ ಹಾಗೆ ಭಾರತೀಯ ಹಕ್ಕುಸ್ವಾಮ್ಯ ನಿಯಮದ ಅನುಗುಣವಾಗಿ ಉಚಿತವಲ್ಲದ ಸದ್ಬಳಕೆ ಪುಟಗಳು.
|}
== ಪರಿವಿಡಿ (Index) ಪುಟಗಳನ್ನು ರಚಿಸಿ ==
'''ಸಹಾಯ ಪುಟಗಳು:'''
* [[ಸಹಾಯ:Beginner's guide to Index: files]]
* [[ಸಹಾಯ:Index pages]]
=== ಸೂಚ್ಯಂಕ ಪುಟವನ್ನು ರಚಿಸುವ ಹಂತಗಳು ===
# ಕಾಮನ್ಸ್ನಲ್ಲಿ ಫೈಲ್ ಹೆಸರು <code>ಫೈಲ್:ರಮಾನಂದ.djvu</code> ಆಗಿದ್ದರೆ, ಕೆಳಗಿನ ಲಿಂಕ್ಗಳಲ್ಲಿ ಒಂದಕ್ಕೆ ಹೋಗಿ:
#* https://kn.wikisource.org/wiki/ಪರಿವಿಡಿ:ರಮಾನಂದ.djvu
#* https://kn.wikisource.org/wiki/Index:ರಮಾನಂದ.djvu
# '''ಪುಟ ರಚಿಸಿ''' ಕ್ಲಿಕ್ ಮಾಡಿ
# ಈ ವಿವರಗಳನ್ನು ಸೇರಿಸಿ:
#* ಶೀರ್ಷಿಕೆ
#* ಲೇಖಕರ ಹೆಸರು
#* ಪ್ರಕಾಶಕರು, ವರ್ಷ, ಇತರ ವಿವರಗಳು
# <code><nowiki><pagelist></nowiki></code> ಸೇರಿಸಿ (ಇದನ್ನು ಮೌಲ್ಯೀಕರಣದ ನಂತರವೂ ಮಾಡಬಹುದು)
<div style="background: #e6f3ff; padding: 10px; border-left: 4px solid #36c; margin: 15px 0;">
'''💡 ಸಲಹೆ:''' ಪರಿವಿಡಿ ರಚನೆ ಪ್ರಕ್ರಿಯೆಯನ್ನು ಪೂರ್ಣಗೊಳಿಸಿದ ನಂತರ ಮತ್ತು ಪುಟವನ್ನು ಉಳಿಸಿದ ನಂತರ, ಪುಟಪಟ್ಟಿ ಉತ್ಪಾದನೆಯಾಗುತ್ತದೆ. ಇದು ಸಾಮಾನ್ಯವಾಗಿ ಫೈಲ್ ಪುಟದಲ್ಲಿರುವ ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ಒಳಗೊಂಡಿರುತ್ತದೆ.
</div>
== ಪ್ರತ್ಯೇಕ ಪುಟಗಳನ್ನು ರಚಿಸುವುದು ==
ನೀವು ರಚಿಸದ ಪುಟಗಳನ್ನು ರಚಿಸಬೇಕು.
{| class="wikitable" style="width: 100%;"
|+ OCR ಮೂಲಕ ಪಠ್ಯ ಪಡೆಯುವುದು
|-
| '''ಮೊದಲ ಬಾರಿಗೆ''' ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿ ಸ್ಕ್ಯಾನ್ ಪ್ರತಿಯಿಂದ ಪಠ್ಯ ತೆಗೆಯಲು:
# '''Transcribe text''' ಬಟನ್ ಪಕ್ಕದಲ್ಲಿರುವ '''v''' ಆಯ್ಕೆ ಕ್ಲಿಕ್ ಮಾಡಿ
# '''Google OCR''' ಆಯ್ಕೆ ಮಾಡಿ
# '''Languages (optional):''' ನಲ್ಲಿ ಕನ್ನಡ ಛಾಪಿಸಿ ಪ್ರಾಶಸ್ತ್ಯವನ್ನು ನಿಗದಿಪಡಿಸಿ
|-
| [[File:Proofread page - Transcribe text 2.PNG|500px]]
|}
----
{| class="wikitable" style="width: 100%;"
| '''Transcribe text''' ಬಟನ್ ಕ್ಲಿಕ್ ಮಾಡುವ ಮೂಲಕ ನೀವು ಸ್ಕ್ಯಾನ್ ಮಾಡಿದ ಪುಟಗಳಿಂದ ಪಠ್ಯವನ್ನು ಪಡೆಯಬಹುದು.
|-
| [[File:Proofread page - Transcribe text 1.PNG|500px]]
|}
|exercise =
ನಿಮ್ಮ ಕಂಪ್ಯೂಟರ್ನಲ್ಲಿರುವ ಒಂದು ಸಾರ್ವಜನಿಕಾಧೀನ ಪುಸ್ತಕದ PDF ಅನ್ನು Commonsನಲ್ಲಿ ಅಪ್ಲೋಡ್ ಮಾಡಿ ಮತ್ತು ಅದಕ್ಕೆ Index ಪುಟವನ್ನು ರಚಿಸಿ. Index ಪುಟದಲ್ಲಿ ಶೀರ್ಷಿಕೆ, ಲೇಖಕ, ಮತ್ತು <code><nowiki><pagelist/></nowiki></code> ಸೇರಿಸಲು ಮರೆಯಬೇಡಿ.
}}
1udkbe75y6dlskh1xgbg1mxdcu4lod6
282561
282560
2026-04-03T05:30:00Z
A826
6806
282561
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|title = ಹಂತ 1: ಫೈಲ್ಗಳನ್ನು ಅಪ್ಲೋಡ್ ಮಾಡಿ ಮತ್ತು ಪರಿವಿಡಿ ಪುಟ ರಚಿಸಿ
|content =
== ಫೈಲ್ಗಳನ್ನು ಅಪ್ಲೋಡ್ ಮಾಡಿ ==
'''ಗಮನಿಸಿ:''' ನೀವು ಅಪ್ಲೋಡ್ ಮಾಡಲು ಪ್ರಯತ್ನಿಸುತ್ತಿರುವ ಪುಸ್ತಕವನ್ನು ಪರಿಶೀಲಿಸಲು ದಯವಿಟ್ಟು ನೆನಪಿಡಿ.
<table class="wikitable">
<tr>
<th>ಸ್ಥಳ</th>
<th>ಯಾವಾಗ ಬಳಸಬೇಕು</th>
</tr>
<tr>
<td><b>ಕಾಮನ್ಸ್ (Commons)</b></td>
<td>ಉಚಿತ ಪರವಾನಗಿ ಇರುವ ಕಡತಗಳು:
<ul>
<li>[[c:Commons:Licensing]] ವಿವರಿಸಿದ ಪರವಾನಗಿ ಇರುವ</li>
<li>ಸ್ವಂತ ರಚಿತ</li>
<li>ಇತರ ಲೇಖಕರು ಪರವಾನಗಿ ಬಿಟ್ಟು ಕೊಟ್ಟಿರುವ ([[w:en:Copyleft|Copyleft or Relicencing]])</li>
</ul>
</td>
</tr>
<tr>
<td><b>ಸ್ಥಳೀಯವಾಗಿ</b></td>
<td>[[ವಿಕಿಸೋರ್ಸ್:ಸದ್ಬಳಕೆ]] ನಲ್ಲಿ ವಿವರಿಸಿದ ಹಾಗೆ ಭಾರತೀಯ ಹಕ್ಕುಸ್ವಾಮ್ಯ ನಿಯಮದ ಅನುಗುಣವಾಗಿ ಉಚಿತವಲ್ಲದ ಸದ್ಬಳಕೆ ಪುಟಗಳು.</td>
</tr>
</table>
== ಪರಿವಿಡಿ (Index) ಪುಟಗಳನ್ನು ರಚಿಸಿ ==
'''ಸಹಾಯ ಪುಟಗಳು:'''
* [[ಸಹಾಯ:Beginner's guide to Index: files]]
* [[ಸಹಾಯ:Index pages]]
=== ಸೂಚ್ಯಂಕ ಪುಟವನ್ನು ರಚಿಸುವ ಹಂತಗಳು ===
# ಕಾಮನ್ಸ್ನಲ್ಲಿ ಫೈಲ್ ಹೆಸರು <code>ಫೈಲ್:ರಮಾನಂದ.djvu</code> ಆಗಿದ್ದರೆ, ಕೆಳಗಿನ ಲಿಂಕ್ಗಳಲ್ಲಿ ಒಂದಕ್ಕೆ ಹೋಗಿ:
#* https://kn.wikisource.org/wiki/ಪರಿವಿಡಿ:ರಮಾನಂದ.djvu
#* https://kn.wikisource.org/wiki/Index:ರಮಾನಂದ.djvu
# '''ಪುಟ ರಚಿಸಿ''' ಕ್ಲಿಕ್ ಮಾಡಿ
# ಈ ವಿವರಗಳನ್ನು ಸೇರಿಸಿ:
#* ಶೀರ್ಷಿಕೆ
#* ಲೇಖಕರ ಹೆಸರು
#* ಪ್ರಕಾಶಕರು, ವರ್ಷ, ಇತರ ವಿವರಗಳು
# <code><nowiki><pagelist></nowiki></code> ಸೇರಿಸಿ (ಇದನ್ನು ಮೌಲ್ಯೀಕರಣದ ನಂತರವೂ ಮಾಡಬಹುದು)
<div style="background: #e6f3ff; padding: 10px; border-left: 4px solid #36c; margin: 15px 0;">
'''💡 ಸಲಹೆ:''' ಪರಿವಿಡಿ ರಚನೆ ಪ್ರಕ್ರಿಯೆಯನ್ನು ಪೂರ್ಣಗೊಳಿಸಿದ ನಂತರ ಮತ್ತು ಪುಟವನ್ನು ಉಳಿಸಿದ ನಂತರ, ಪುಟಪಟ್ಟಿ ಉತ್ಪಾದನೆಯಾಗುತ್ತದೆ. ಇದು ಸಾಮಾನ್ಯವಾಗಿ ಫೈಲ್ ಪುಟದಲ್ಲಿರುವ ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ಒಳಗೊಂಡಿರುತ್ತದೆ.
</div>
== ಪ್ರತ್ಯೇಕ ಪುಟಗಳನ್ನು ರಚಿಸುವುದು ==
ನೀವು ರಚಿಸದ ಪುಟಗಳನ್ನು ರಚಿಸಬೇಕು.
<table class="wikitable" style="width: 100%;">
<caption>OCR ಮೂಲಕ ಪಠ್ಯ ಪಡೆಯುವುದು</caption>
<tr>
<td>
<strong>ಮೊದಲ ಬಾರಿಗೆ</strong> ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿ ಸ್ಕ್ಯಾನ್ ಪ್ರತಿಯಿಂದ ಪಠ್ಯ ತೆಗೆಯಲು:
<ol>
<li><strong>Transcribe text</strong> ಬಟನ್ ಪಕ್ಕದಲ್ಲಿರುವ <strong>v</strong> ಆಯ್ಕೆ ಕ್ಲಿಕ್ ಮಾಡಿ</li>
<li><strong>Google OCR</strong> ಆಯ್ಕೆ ಮಾಡಿ</li>
<li><strong>Languages (optional):</strong> ನಲ್ಲಿ ಕನ್ನಡ ಛಾಪಿಸಿ ಪ್ರಾಶಸ್ತ್ಯವನ್ನು ನಿಗದಿಪಡಿಸಿ</li>
</ol>
</td>
</tr>
<tr>
<td>[[File:Proofread page - Transcribe text 2.PNG|500px]]</td>
</tr>
</table>
<hr />
<table class="wikitable" style="width: 100%;">
<tr>
<td><strong>Transcribe text</strong> ಬಟನ್ ಕ್ಲಿಕ್ ಮಾಡುವ ಮೂಲಕ ನೀವು ಸ್ಕ್ಯಾನ್ ಮಾಡಿದ ಪುಟಗಳಿಂದ ಪಠ್ಯವನ್ನು ಪಡೆಯಬಹುದು.</td>
</tr>
<tr>
<td>[[File:Proofread page - Transcribe text 1.PNG|500px]]</td>
</tr>
</table>
|exercise =
ನಿಮ್ಮ ಕಂಪ್ಯೂಟರ್ನಲ್ಲಿರುವ ಒಂದು ಸಾರ್ವಜನಿಕಾಧೀನ ಪುಸ್ತಕದ PDF ಅನ್ನು Commonsನಲ್ಲಿ ಅಪ್ಲೋಡ್ ಮಾಡಿ ಮತ್ತು ಅದಕ್ಕೆ Index ಪುಟವನ್ನು ರಚಿಸಿ. Index ಪುಟದಲ್ಲಿ ಶೀರ್ಷಿಕೆ, ಲೇಖಕ, ಮತ್ತು <code><nowiki><pagelist/></nowiki></code> ಸೇರಿಸಲು ಮರೆಯಬೇಡಿ.
}}
mik8l389596wrll6xq2otfvrssnghyh
ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/2
12
100792
282427
2026-04-03T03:34:28Z
A826
6806
ಹೊಸ ಪುಟ: {{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ |contents = == ಹಂತ 2: ಪ್ರೂಫ್ ರೀಡಿಂಗ್ (Proofreading) == Index ಪುಟ ರಚಿಸಿದ ನಂತರ, ನೀವು ಪ್ರತಿಯೊಂದು ಪುಟವನ್ನು ಪ್ರೂಫ್ ರೀಡ್ ಮಾಡಬೇಕಾಗುತ್ತದೆ. === ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಹಂತಗಳು === # '''ಪುಟವನ್ನು ತೆರೆಯಿರಿ''': Index ಪು...
282427
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|contents =
== ಹಂತ 2: ಪ್ರೂಫ್ ರೀಡಿಂಗ್ (Proofreading) ==
Index ಪುಟ ರಚಿಸಿದ ನಂತರ, ನೀವು ಪ್ರತಿಯೊಂದು ಪುಟವನ್ನು ಪ್ರೂಫ್ ರೀಡ್ ಮಾಡಬೇಕಾಗುತ್ತದೆ.
=== ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಹಂತಗಳು ===
# '''ಪುಟವನ್ನು ತೆರೆಯಿರಿ''': Index ಪುಟದಲ್ಲಿನ ಪುಟ ಸಂಖ್ಯೆಯ ಮೇಲೆ ಕ್ಲಿಕ್ ಮಾಡಿ.
# '''OCR ಪಡೆಯಿರಿ''': ''Transcribe text'' ಬಟನ್ ಪಕ್ಕದಲ್ಲಿರುವ '''v''' ಆಯ್ಕೆಮಾಡಿ → '''Google OCR''' → '''Languages:''' ಕನ್ನಡ ಆಯ್ಕೆಮಾಡಿ.
# '''ಪಠ್ಯ ಸರಿಪಡಿಸಿ''':
#* ಸ್ಕ್ಯಾನ್ ಪ್ರತಿಯನ್ನು ಎಡಗಡೆಯಲ್ಲಿ ನೋಡುತ್ತಾ, ಬಲಗಡೆಯ ಪಠ್ಯವನ್ನು ಹೊಂದಿಸಿ.
#* ತಪ್ಪಾದ ಅಕ್ಷರಗಳು, ಕಾಣೆಯಾದ ಪದಗಳನ್ನು ಸರಿಪಡಿಸಿ.
#* ಮೂಲ ಪುಸ್ತಕದಲ್ಲಿರುವಂತೆ ಪ್ಯಾರಾಗ್ರಾಫ್ ವಿಭಾಗಗಳನ್ನು ಇರಿಸಿ.
# '''ಫಾರ್ಮ್ಯಾಟಿಂಗ್ ಸೇರಿಸಿ''':
#* ದಪ್ಪ ಅಕ್ಷರಕ್ಕೆ: <code><nowiki>'''ಪಠ್ಯ'''</nowiki></code>
#* ಇಟಾಲಿಕ್ಗೆ: <code><nowiki>''ಪಠ್ಯ''</nowiki></code>
#* ಶೀರ್ಷಿಕೆಗಳಿಗೆ: <code><nowiki>== ಶೀರ್ಷಿಕೆ ==</nowiki></code> (2ನೇ ಮಟ್ಟ), <code><nowiki>=== ಉಪಶೀರ್ಷಿಕೆ ===</nowiki></code> (3ನೇ ಮಟ್ಟ)
# '''ಪುಟ ಸ್ಥಿತಿಯನ್ನು ಬದಲಾಯಿಸಿ''': ಸಂಪಾದನೆ ವಿಂಡೋ ಕೆಳಗೆ '''Proofread''' ಆಯ್ಕೆಮಾಡಿ.
# '''ಪುಟ ಉಳಿಸಿ''': ''Publish changes'' ಕ್ಲಿಕ್ ಮಾಡಿ.
{| class="wikitable" style="margin: auto; width: 90%;"
|+ ಪುಟ ಸ್ಥಿತಿಗಳು – ಯಾವಾಗ ಬಳಸಬೇಕು?
! ಸ್ಥಿತಿ !! ಬಣ್ಣ !! ಯಾವಾಗ ಬಳಸಬೇಕು
|-
| Without text || ಬೂದು || ಸಂಪೂರ್ಣ ಖಾಲಿ ಪುಟಗಳಿಗೆ (ಚಿತ್ರಗಳಿಲ್ಲದಿದ್ದರೆ)
|-
| Not proofread || ಕೆಂಪು || ಇನ್ನೂ ಯಾರೂ ಕೆಲಸ ಮಾಡದ ಪುಟ (ಡೀಫಾಲ್ಟ್)
|-
| Proofread || ಹಳದಿ || ಒಬ್ಬ ಸಂಪಾದಕ ಪೂರ್ಣವಾಗಿ ಸರಿಪಡಿಸಿದ ಪುಟ
|-
| Validated || ಹಸಿರು || ಇಬ್ಬರು ಸಂಪಾದಕರು ಪರಿಶೀಲಿಸಿದ ಪುಟ
|-
| Problematic || ನೀಲಿ || OCR ಸರಿಯಾಗಿ ಕೆಲಸ ಮಾಡದ, ಅಥವಾ ಚರ್ಚೆ ಅಗತ್ಯವಿರುವ ಪುಟ
|}
=== ಸಾಮಾನ್ಯ ಸಮಸ್ಯೆಗಳು ಮತ್ತು ಪರಿಹಾರಗಳು ===
* '''ಅಕ್ಷರಗಳು ಸರಿಯಾಗಿ ಗೋಚರಿಸುತ್ತಿಲ್ಲ''': <code><nowiki><span lang="kn"></nowiki></code> ಟ್ಯಾಗ್ ಬಳಸಿ.
* '''ಪುಟದಲ್ಲಿ ಚಿತ್ರ ಮಾತ್ರ ಇದೆ''': <code><nowiki>[[ಚಿತ್ರ:ಹೆಸರು.jpg|center|500px]]</nowiki></code> ಸೇರಿಸಿ ಮತ್ತು '''Without text''' ಆಯ್ಕೆಮಾಡಿ.
* '''ಸ್ಕ್ಯಾನ್ ಅಸ್ಪಷ್ಟವಾಗಿದೆ''': '''Problematic''' ಸ್ಥಿತಿಯಲ್ಲಿ ಬಿಡಿ ಮತ್ತು ಚರ್ಚೆ ಪುಟದಲ್ಲಿ ವಿವರಿಸಿ.
|exercise =
ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿರುವ ಯಾವುದೇ ಒಂದು Index ಪುಟದಿಂದ ಒಂದು ಪುಟವನ್ನು ಆಯ್ಕೆಮಾಡಿ. ಅದನ್ನು OCR ಮೂಲಕ ಪಠ್ಯರೂಪಕ್ಕೆ ತಂದು, ಸರಿಪಡಿಸಿ, ಮತ್ತು '''Proofread''' ಸ್ಥಿತಿಗೆ ಬದಲಾಯಿಸಿ.
}}
r5pq585ojkdhpvz4c9rcxlzxt19zaye
282440
282427
2026-04-03T04:51:03Z
A826
6806
282440
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|title = ಹಂತ 2: ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮತ್ತು ಪುಟದ ಸ್ಥಿತಿ
|contents =
== ✏️ ಪುಟದ ಸ್ಥಿತಿ (Page Status) ==
'''ಸಹಾಯ ಪುಟ:''' [[ಸಹಾಯ:ಪುಟದ ಸ್ಥಿತಿಗತಿ]]
ಸಂಪಾದನೆ ವಿಂಡೋ ಅಡಿಯಲ್ಲಿ ಸ್ಥಿತಿಗಳನ್ನು ಸೂಚಿಸುವ ಬಟನ್ಗಳನ್ನು ನೀವು ಕಾಣಬಹುದು.
=== ಸ್ಥಿತಿಗಳ ನಕ್ಷೆ ===
<div style="text-align: center; padding: 15px;">
<span style="background-color:#DDD; padding: 5px;">↗ ಪಠ್ಯವಿಲ್ಲದ ಪುಟ</span><br/>
↓<br/>
<span style="color:#C00000;">'''ಖಾಲಿ ಪುಟ'''</span>
→ <span style="background-color:#FFA0A0; padding: 5px;">ಪರಿಶೀಲಿಸಲಾಗಿಲ್ಲದ ಪುಟ</span>
→ <span style="background-color:#FFE867; padding: 5px;">ಪರಿಶೀಲಿಸಲಾಗಿರುವ ಪುಟ</span>
→ <span style="background-color:#90FF90; padding: 5px;">ಪ್ರಕಟಿಸಲಾಗಿರುವ ಪುಟ</span><br/>
↘ <span style="background-color:#B0B0FF; padding: 5px;">ಸಮಸ್ಯಾಪೂರ್ಣ ಪುಟ</span> ↗
</div>
=== ಪ್ರತಿಯೊಂದು ಸ್ಥಿತಿಯ ವಿವರ ===
{| class="wikitable"
! ಸ್ಥಿತಿ !! ವಿವರಣೆ !! ವರ್ಗ
|-
| {{page status text|Not proofread}} || ಪೂರ್ವನಿಯೋಜಿತ ಮೌಲ್ಯ. ಇನ್ನೂ ಯಾರೂ ಕೆಲಸ ಮಾಡಿಲ್ಲ. || [[:Category:ಪರಿಶೀಲಿಸಲಾಗಿಲ್ಲ|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]
|-
| {{page status text|Proofread}} || ಒಬ್ಬ ಸಂಪಾದಕ ಪರಿಶೀಲಿಸಿದ ಪುಟ. ಪಠ್ಯವು ಸ್ಕ್ಯಾನ್ಗೆ ಹೊಂದಿಕೆಯಾಗುತ್ತದೆ, ಮೂಲಭೂತ ಫಾರ್ಮ್ಯಾಟಿಂಗ್ ಮಾಡಲಾಗಿದೆ. || [[:ವರ್ಗ:Proofread|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]
|-
| {{page status text|Validated}} || ಒಬ್ಬರಿಗಿಂತ ಹೆಚ್ಚು ಸಂಪಾದಕರು ಪರಿಶೀಲಿಸಿದ ಪುಟ. (ಈಗಾಗಲೇ Proofread ಆಗಿದ್ದರೆ ಮಾತ್ರ ಲಭ್ಯ) || [[:Category:ಪ್ರಕಟಿಸಿದವು|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]
|-
| {{page status text|Without text}} || ಸಂಪೂರ್ಣ ಖಾಲಿ ಪುಟಗಳಿಗೆ. '''ಚಿತ್ರಗಳಿರುವ ಪುಟಗಳಿಗೆ ಬಳಸಬೇಡಿ.''' || [[:Category:ಪಠ್ಯವಿಲ್ಲದ್ದು|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]
|-
| {{page status text|Problematic}} || ದೋಷಯುಕ್ತ ಸ್ಕ್ಯಾನ್ ಅಥವಾ ಸಂಪಾದಕರ ನಡುವೆ ಚರ್ಚೆ ಅಗತ್ಯವಿರುವ ಪುಟ. || [[:Category:ಸಮಸ್ಯಾಪೂರ್ಣ|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]
|}
== 📖 ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮಾರ್ಗದರ್ಶಿ ==
'''ಸಹಾಯ ಪುಟಗಳು:'''
* [[Help:Beginner's guide to proofreading|ಆರಂಭಿಕರಿಗೆ ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮಾರ್ಗದರ್ಶಿ]]
* [[ಸಹಾಯ:Proofread]]
* [[Help:Beginner's guide to typography|Beginner's guide to Typography]]
* [[Wikisource:Style guide|Style guide]]
* [[Help:ProofreadPage extension|ProofreadPage extension]]
* [[Help:Proofread/Proofreading example|Proofreading example]]
=== ಪ್ರೂಫ್ ರೀಡ್ ಪುಟ ಕೈಪಿಡಿ ===
{| class="wikitable" style="width: 100%;"
|+ ಸಂಪಾದನೆ ಪುಟದ ವಿವಿಧ ಭಾಗಗಳು
|-
| style="width: 30%;" |
'''1''': ಎಡದಿಂದ ಬಲಕ್ಕೆ:<br/>
• '''ᐸ''': ಹಿಂದಿನ ಪುಟದ ಕೊಂಡಿ<br/>
• '''ᐳ''': ಮುಂದಿನ ಪುಟದ ಕೊಂಡಿ<br/>
• '''page''': ಪ್ರಸ್ತುತ ಪುಟದ ಕೊಂಡಿ<br/>
• '''discussion''': ಚರ್ಚೆ ಪುಟ ಕೊಂಡಿ<br/>
• '''Image''': ಸ್ಕ್ಯಾನ್ ಪುಟದ ಚಿತ್ರದ ಕೊಂಡಿ<br/>
• '''read''': ಪ್ರಸ್ತುತ ಪುಟದ ಕೊಂಡಿ<br/>
• '''Edit source''': ಪುಟ ಸಂಪಾದನೆ ಕೊಂಡಿ<br/>
• '''View history''': ಪುಟದ ಇತಿಹಾಸ ಕೊಂಡಿ
| rowspan="5" style="width: 40%;" | [[File:Proofread_page_-_kn.wikisource.org.png|500px]]
| style="width: 30%;" |
'''2''': ಟೂಲ್ಬಾರ್ ವಿವರಣೆ:
* '''Special characters''' - [[File:Proofread_page_-_Toolbar_symbols.PNG|200px]] - ಉಪಯುಕ್ತ ಚಿಹ್ನೆಗಳು
* '''Help''' - [[File:Proofread page - Toolbar help.PNG|200px]] - ಫಾರ್ಮ್ಯಾಟಿಂಗ್ ಪರಿಕರಗಳು
* '''Proofread tools''' - [[File:Proofread page - Enable header and footer.PNG|200px]] - ಹೆಡರ್/ಫೂಟರ್ ಸೆಟ್ಟಿಂಗ್ಗಳು
|-
| '''3''': ಹೆಡರ್ - ಪುಸ್ತಕದ ಶೀರ್ಷಿಕೆ, ಪುಟ ಸಂಖ್ಯೆ (Transclude ಮಾಡಿದಾಗ ಕಾಣುವುದಿಲ್ಲ) || '''4''': Transclude ಮಾಡುವ ಪಠ್ಯ
|-
| '''5''': ಸ್ಕ್ಯಾನ್ ಮಾಡಿದ ಪುಸ್ತಕದ ಚಿತ್ರ ಪ್ರತಿ || '''6''': ಫೂಟರ್ - ಪುಸ್ತಕದ ಶೀರ್ಷಿಕೆ, ಪುಟ ಸಂಖ್ಯೆ (Transclude ಮಾಡಿದಾಗ ಕಾಣುವುದಿಲ್ಲ)
|-
| '''7''': ಸಾರಾಂಶ || '''8''': [[#ಪುಟದ ಸ್ಥಿತಿ]] ವಿವರಗಳು
|-
| colspan="2" | '''9''': ಪುಟ ಉಳಿಸುವ, ಪೂರ್ವವೀಕ್ಷಣೆ, ಪ್ರಸ್ತುತ ಬದಲಾವಣೆಗಳು ಬಟನ್ಗಳು
|}
=== ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಉದಾಹರಣೆಗಳು ===
<gallery class="center" heights="200px" widths="200px">
File:Proofread page - sample page not formatted.PNG|❌ ಪ್ರೂಫ್ ರೀಡ್ ಮೊದಲು
File:Proofread page - edit preview not formatted.png|❌ ಫಾರ್ಮ್ಯಾಟ್ ಮಾಡದ ಮುನ್ನೋಟ
File:Proofread page -edit preview formatted.png|✅ ಫಾರ್ಮ್ಯಾಟ್ ಮಾಡಿದ ಮುನ್ನೋಟ
File:Proofread page - page preview formmated.png|✅ ಫಾರ್ಮ್ಯಾಟ್ ಮಾಡಿ ಉಳಿಸಿದ ಪುಟ
</gallery>
|exercise =
ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿರುವ ಯಾವುದೇ Index ಪುಟದಿಂದ 3 ಪುಟಗಳನ್ನು ಆಯ್ಕೆಮಾಡಿ. ಅವುಗಳನ್ನು:
1. OCR ಮೂಲಕ ಪಠ್ಯರೂಪಕ್ಕೆ ತನ್ನಿ
2. ಸ್ಕ್ಯಾನ್ ಪ್ರತಿಗೆ ಹೊಂದಿಸಿ ಸರಿಪಡಿಸಿ
3. ಸೂಕ್ತವಾದ ಸ್ಥಿತಿಯನ್ನು ಆಯ್ಕೆಮಾಡಿ (Proofread ಅಥವಾ Problematic)
4. ಉಳಿಸಿ
}}
6bli2p1h1o21nqicn2s1incjqc309wz
282562
282440
2026-04-03T05:34:57Z
A826
6806
282562
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|title = ಹಂತ 2: ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮತ್ತು ಪುಟದ ಸ್ಥಿತಿ
|content =
== ಪುಟದ ಸ್ಥಿತಿ (Page Status) ==
'''ಸಹಾಯ ಪುಟ:''' [[ಸಹಾಯ:ಪುಟದ ಸ್ಥಿತಿಗತಿ]]
ಸಂಪಾದನೆ ವಿಂಡೋ ಅಡಿಯಲ್ಲಿ ಸ್ಥಿತಿಗಳನ್ನು ಸೂಚಿಸುವ ಬಟನ್ಗಳನ್ನು ನೀವು ಕಾಣಬಹುದು.
=== ಸ್ಥಿತಿಗಳ ನಕ್ಷೆ ===
<div style="text-align: center; padding: 15px;">
<span style="background-color:#DDD; padding: 5px;">↗ ಪಠ್ಯವಿಲ್ಲದ ಪುಟ</span><br/>
↓<br/>
<span style="color:#C00000;">'''ಖಾಲಿ ಪುಟ'''</span>
→ <span style="background-color:#FFA0A0; padding: 5px;">ಪರಿಶೀಲಿಸಲಾಗಿಲ್ಲದ ಪುಟ</span>
→ <span style="background-color:#FFE867; padding: 5px;">ಪರಿಶೀಲಿಸಲಾಗಿರುವ ಪುಟ</span>
→ <span style="background-color:#90FF90; padding: 5px;">ಪ್ರಕಟಿಸಲಾಗಿರುವ ಪುಟ</span><br/>
↘ <span style="background-color:#B0B0FF; padding: 5px;">ಸಮಸ್ಯಾಪೂರ್ಣ ಪುಟ</span> ↗
</div>
=== ಪ್ರತಿಯೊಂದು ಸ್ಥಿತಿಯ ವಿವರ ===
<table class="wikitable">
<tr>
<th>ಸ್ಥಿತಿ</th>
<th>ವಿವರಣೆ</th>
<th>ವರ್ಗ</th>
</tr>
<tr>
<td>{{page status text|Not proofread}}</td>
<td>ಪೂರ್ವನಿಯೋಜಿತ ಮೌಲ್ಯ. ಇನ್ನೂ ಯಾರೂ ಕೆಲಸ ಮಾಡಿಲ್ಲ.</td>
<td>[[:Category:ಪರಿಶೀಲಿಸಲಾಗಿಲ್ಲ|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]</td>
</tr>
<tr>
<td>{{page status text|Proofread}}</td>
<td>ಒಬ್ಬ ಸಂಪಾದಕ ಪರಿಶೀಲಿಸಿದ ಪುಟ. ಪಠ್ಯವು ಸ್ಕ್ಯಾನ್ಗೆ ಹೊಂದಿಕೆಯಾಗುತ್ತದೆ, ಮೂಲಭೂತ ಫಾರ್ಮ್ಯಾಟಿಂಗ್ ಮಾಡಲಾಗಿದೆ.</td>
<td>[[:ವರ್ಗ:Proofread|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]</td>
</tr>
<tr>
<td>{{page status text|Validated}}</td>
<td>ಒಬ್ಬರಿಗಿಂತ ಹೆಚ್ಚು ಸಂಪಾದಕರು ಪರಿಶೀಲಿಸಿದ ಪುಟ. (ಈಗಾಗಲೇ Proofread ಆಗಿದ್ದರೆ ಮಾತ್ರ ಲಭ್ಯ)</td>
<td>[[:Category:ಪ್ರಕಟಿಸಿದವು|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]</td>
</tr>
<tr>
<td>{{page status text|Without text}}</td>
<td>ಸಂಪೂರ್ಣ ಖಾಲಿ ಪುಟಗಳಿಗೆ. <b>ಚಿತ್ರಗಳಿರುವ ಪುಟಗಳಿಗೆ ಬಳಸಬೇಡಿ.</b></td>
<td>[[:Category:ಪಠ್ಯವಿಲ್ಲದ್ದು|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]</td>
</tr>
<tr>
<td>{{page status text|Problematic}}</td>
<td>ದೋಷಯುಕ್ತ ಸ್ಕ್ಯಾನ್ ಅಥವಾ ಸಂಪಾದಕರ ನಡುವೆ ಚರ್ಚೆ ಅಗತ್ಯವಿರುವ ಪುಟ.</td>
<td>[[:Category:ಸಮಸ್ಯಾಪೂರ್ಣ|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]</td>
</tr>
</table>
== ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮಾರ್ಗದರ್ಶಿ ==
'''ಸಹಾಯ ಪುಟಗಳು:'''
* [[Help:Beginner's guide to proofreading|ಆರಂಭಿಕರಿಗೆ ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮಾರ್ಗದರ್ಶಿ]]
* [[ಸಹಾಯ:Proofread]]
* [[Help:Beginner's guide to typography|Beginner's guide to Typography]]
* [[Wikisource:Style guide|Style guide]]
* [[Help:ProofreadPage extension|ProofreadPage extension]]
* [[Help:Proofread/Proofreading example|Proofreading example]]
=== ಪ್ರೂಫ್ ರೀಡ್ ಪುಟ ಕೈಪಿಡಿ ===
<table class="wikitable" style="width: 100%;">
<tr>
<th colspan="3">ಸಂಪಾದನೆ ಪುಟದ ವಿವಿಧ ಭಾಗಗಳು</th>
</tr>
<tr>
<td style="width: 30%;">
'''1''': ಎಡದಿಂದ ಬಲಕ್ಕೆ:<br/>
• '''ᐸ''': ಹಿಂದಿನ ಪುಟದ ಕೊಂಡಿ<br/>
• '''ᐳ''': ಮುಂದಿನ ಪುಟದ ಕೊಂಡಿ<br/>
• '''page''': ಪ್ರಸ್ತುತ ಪುಟದ ಕೊಂಡಿ<br/>
• '''discussion''': ಚರ್ಚೆ ಪುಟ ಕೊಂಡಿ<br/>
• '''Image''': ಸ್ಕ್ಯಾನ್ ಪುಟದ ಚಿತ್ರದ ಕೊಂಡಿ<br/>
• '''read''': ಪ್ರಸ್ತುತ ಪುಟದ ಕೊಂಡಿ<br/>
• '''Edit source''': ಪುಟ ಸಂಪಾದನೆ ಕೊಂಡಿ<br/>
• '''View history''': ಪುಟದ ಇತಿಹಾಸ ಕೊಂಡಿ
</td>
<td rowspan="5" style="width: 40%;">[[File:Proofread_page_-_kn.wikisource.org.png|500px]]</td>
<td style="width: 30%;">
'''2''': ಟೂಲ್ಬಾರ್ ವಿವರಣೆ:
* '''Special characters''' - [[File:Proofread_page_-_Toolbar_symbols.PNG|200px]] - ಉಪಯುಕ್ತ ಚಿಹ್ನೆಗಳು
* '''Help''' - [[File:Proofread page - Toolbar help.PNG|200px]] - ಫಾರ್ಮ್ಯಾಟಿಂಗ್ ಪರಿಕರಗಳು
* '''Proofread tools''' - [[File:Proofread page - Enable header and footer.PNG|200px]] - ಹೆಡರ್/ಫೂಟರ್ ಸೆಟ್ಟಿಂಗ್ಗಳು
</td>
</tr>
<tr>
<td>'''3''': ಹೆಡರ್ - ಪುಸ್ತಕದ ಶೀರ್ಷಿಕೆ, ಪುಟ ಸಂಖ್ಯೆ (Transclude ಮಾಡಿದಾಗ ಕಾಣುವುದಿಲ್ಲ)</td>
<td>'''4''': Transclude ಮಾಡುವ ಪಠ್ಯ</td>
</tr>
<tr>
<td>'''5''': ಸ್ಕ್ಯಾನ್ ಮಾಡಿದ ಪುಸ್ತಕದ ಚಿತ್ರ ಪ್ರತಿ</td>
<td>'''6''': ಫೂಟರ್ - ಪುಸ್ತಕದ ಶೀರ್ಷಿಕೆ, ಪುಟ ಸಂಖ್ಯೆ (Transclude ಮಾಡಿದಾಗ ಕಾಣುವುದಿಲ್ಲ)</td>
</tr>
<tr>
<td>'''7''': ಸಾರಾಂಶ</td>
<td>'''8''': [[#ಪುಟದ ಸ್ಥಿತಿ]] ವಿವರಗಳು</td>
</tr>
<tr>
<td colspan="2">'''9''': ಪುಟ ಉಳಿಸುವ, ಪೂರ್ವವೀಕ್ಷಣೆ, ಪ್ರಸ್ತುತ ಬದಲಾವಣೆಗಳು ಬಟನ್ಗಳು</td>
</tr>
</table>
=== ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಉದಾಹರಣೆಗಳು ===
<gallery class="center" heights="200px" widths="200px">
File:Proofread page - sample page not formatted.PNG|❌ ಪ್ರೂಫ್ ರೀಡ್ ಮೊದಲು
File:Proofread page - edit preview not formatted.png|❌ ಫಾರ್ಮ್ಯಾಟ್ ಮಾಡದ ಮುನ್ನೋಟ
File:Proofread page -edit preview formatted.png|✅ ಫಾರ್ಮ್ಯಾಟ್ ಮಾಡಿದ ಮುನ್ನೋಟ
File:Proofread page - page preview formmated.png|✅ ಫಾರ್ಮ್ಯಾಟ್ ಮಾಡಿ ಉಳಿಸಿದ ಪುಟ
</gallery>
|exercise =
ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿರುವ ಯಾವುದೇ Index ಪುಟದಿಂದ 3 ಪುಟಗಳನ್ನು ಆಯ್ಕೆಮಾಡಿ. ಅವುಗಳನ್ನು:
1. OCR ಮೂಲಕ ಪಠ್ಯರೂಪಕ್ಕೆ ತನ್ನಿ
2. ಸ್ಕ್ಯಾನ್ ಪ್ರತಿಗೆ ಹೊಂದಿಸಿ ಸರಿಪಡಿಸಿ
3. ಸೂಕ್ತವಾದ ಸ್ಥಿತಿಯನ್ನು ಆಯ್ಕೆಮಾಡಿ (Proofread ಅಥವಾ Problematic)
4. ಉಳಿಸಿ
}}
lguhcn5pmmgg6z3r2t52gspfas6frs5
282574
282562
2026-04-03T11:04:53Z
A826
6806
282574
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|title = ಹಂತ 2: ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮತ್ತು ಪುಟದ ಸ್ಥಿತಿ
|content =
== ಪುಟದ ಸ್ಥಿತಿ (Page Status) ==
'''ಸಹಾಯ ಪುಟ:''' [[ಸಹಾಯ:ಪುಟದ ಸ್ಥಿತಿಗತಿ]]
ಸಂಪಾದನೆ ವಿಂಡೋ ಅಡಿಯಲ್ಲಿ ಸ್ಥಿತಿಗಳನ್ನು ಸೂಚಿಸುವ ಬಟನ್ಗಳನ್ನು ನೀವು ಕಾಣಬಹುದು.
=== ಸ್ಥಿತಿಗಳ ನಕ್ಷೆ ===
<div style="text-align: center; padding: 15px;">
<span style="background-color:#DDD; padding: 5px;">↗ ಪಠ್ಯವಿಲ್ಲದ ಪುಟ</span><br/>
↓<br/>
<span style="color:#C00000;">'''ಖಾಲಿ ಪುಟ'''</span>
→ <span style="background-color:#FFA0A0; padding: 5px;">ಪರಿಶೀಲಿಸಲಾಗಿಲ್ಲದ ಪುಟ</span>
→ <span style="background-color:#FFE867; padding: 5px;">ಪರಿಶೀಲಿಸಲಾಗಿರುವ ಪುಟ</span>
→ <span style="background-color:#90FF90; padding: 5px;">ಪ್ರಕಟಿಸಲಾಗಿರುವ ಪುಟ</span><br/>
↘ <span style="background-color:#B0B0FF; padding: 5px;">ಸಮಸ್ಯಾಪೂರ್ಣ ಪುಟ</span> ↗
</div>
=== ಪ್ರತಿಯೊಂದು ಸ್ಥಿತಿಯ ವಿವರ ===
<table class="wikitable">
<tr>
<th>ಸ್ಥಿತಿ</th>
<th>ವಿವರಣೆ</th>
<th>ವರ್ಗ</th>
</tr>
<tr>
<td>{{page status text|Not proofread}}</td>
<td>ಪೂರ್ವನಿಯೋಜಿತ ಮೌಲ್ಯ. ಇನ್ನೂ ಯಾರೂ ಕೆಲಸ ಮಾಡಿಲ್ಲ.</td>
<td>[[:Category:ಪರಿಶೀಲಿಸಲಾಗಿಲ್ಲ|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]</td>
</tr>
<tr>
<td>{{page status text|Proofread}}</td>
<td>ಒಬ್ಬ ಸಂಪಾದಕ ಪರಿಶೀಲಿಸಿದ ಪುಟ. ಪಠ್ಯವು ಸ್ಕ್ಯಾನ್ಗೆ ಹೊಂದಿಕೆಯಾಗುತ್ತದೆ, ಮೂಲಭೂತ ಫಾರ್ಮ್ಯಾಟಿಂಗ್ ಮಾಡಲಾಗಿದೆ.</td>
<td>[[:ವರ್ಗ:Proofread|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]</td>
</tr>
<tr>
<td>{{page status text|Validated}}</td>
<td>ಒಬ್ಬರಿಗಿಂತ ಹೆಚ್ಚು ಸಂಪಾದಕರು ಪರಿಶೀಲಿಸಿದ ಪುಟ. (ಈಗಾಗಲೇ Proofread ಆಗಿದ್ದರೆ ಮಾತ್ರ ಲಭ್ಯ)</td>
<td>[[:Category:ಪ್ರಕಟಿಸಿದವು|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]</td>
</tr>
<tr>
<td>{{page status text|Without text}}</td>
<td>ಸಂಪೂರ್ಣ ಖಾಲಿ ಪುಟಗಳಿಗೆ. <b>ಚಿತ್ರಗಳಿರುವ ಪುಟಗಳಿಗೆ ಬಳಸಬೇಡಿ.</b></td>
<td>[[:Category:ಪಠ್ಯವಿಲ್ಲದ್ದು|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]</td>
</tr>
<tr>
<td>{{page status text|Problematic}}</td>
<td>ದೋಷಯುಕ್ತ ಸ್ಕ್ಯಾನ್ ಅಥವಾ ಸಂಪಾದಕರ ನಡುವೆ ಚರ್ಚೆ ಅಗತ್ಯವಿರುವ ಪುಟ.</td>
<td>[[:Category:ಸಮಸ್ಯಾಪೂರ್ಣ|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]</td>
</tr>
</table>
== ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮಾರ್ಗದರ್ಶಿ ==
'''ಸಹಾಯ ಪುಟಗಳು:'''
* [[Help:Beginner's guide to proofreading|ಆರಂಭಿಕರಿಗೆ ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮಾರ್ಗದರ್ಶಿ]]
* [[ಸಹಾಯ:Proofread]]
* [[Help:Beginner's guide to typography|Beginner's guide to Typography]]
* [[Wikisource:Style guide|Style guide]]
* [[Help:ProofreadPage extension|ProofreadPage extension]]
* [[Help:Proofread/Proofreading example|Proofreading example]]
=== ಪ್ರೂಫ್ ರೀಡ್ ಪುಟ ಕೈಪಿಡಿ ===
<table class="wikitable" style="width: 100%; table-layout: fixed; word-wrap: break-word; overflow-wrap: break-word;">
<tr>
<th colspan="3" style="padding: 10px;">ಸಂಪಾದನೆ ಪುಟದ ವಿವಿಧ ಭಾಗಗಳು</th>
</tr>
<tr>
<td style="width: 30%; vertical-align: top; white-space: normal;">
'''1''': ಎಡದಿಂದ ಬಲಕ್ಕೆ:<br/>
• '''ᐸ''': ಹಿಂದಿನ ಪುಟದ ಕೊಂಡಿ<br/>
• '''ᐳ''': ಮುಂದಿನ ಪುಟದ ಕೊಂಡಿ<br/>
• '''page''': ಪ್ರಸ್ತುತ ಪುಟದ ಕೊಂಡಿ<br/>
• '''discussion''': ಚರ್ಚೆ ಪುಟ ಕೊಂಡಿ<br/>
• '''Image''': ಸ್ಕ್ಯಾನ್ ಪುಟದ ಚಿತ್ರದ ಕೊಂಡಿ<br/>
• '''read''': ಪ್ರಸ್ತುತ ಪುಟದ ಕೊಂಡಿ<br/>
• '''Edit source''': ಪುಟ ಸಂಪಾದನೆ ಕೊಂಡಿ<br/>
• '''View history''': ಪುಟದ ಇತಿಹಾಸ ಕೊಂಡಿ
</td>
<td rowspan="5" style="width: 40%; text-align: center; vertical-align: middle;">
[[File:Proofread_page_-_kn.wikisource.org.png|frameless|center|upright=1.5]]
</td>
<td style="width: 30%; vertical-align: top; white-space: normal;">
'''2''': ಟೂಲ್ಬಾರ್ ವಿವರಣೆ:
* '''Special characters''' - [[File:Proofread_page_-_Toolbar_symbols.PNG|150px]] - ಉಪಯುಕ್ತ ಚಿಹ್ನೆಗಳು
* '''Help''' - [[File:Proofread page - Toolbar help.PNG|150px]] - ಫಾರ್ಮ್ಯಾಟಿಂಗ್ ಪರಿಕರಗಳು
* '''Proofread tools''' - [[File:Proofread page - Enable header and footer.PNG|150px]] - ಹೆಡರ್/ಫೂಟರ್ ಸೆಟ್ಟಿಂಗ್ಗಳು
</td>
</tr>
<tr>
<td style="vertical-align: top; white-space: normal;">'''3''': ಹೆಡರ್ - ಪುಸ್ತಕದ ಶೀರ್ಷಿಕೆ, ಪುಟ ಸಂಖ್ಯೆ (Transclude ಮಾಡಿದಾಗ ಕಾಣುವುದಿಲ್ಲ)</td>
<td style="vertical-align: top; white-space: normal;">'''4''': Transclude ಮಾಡುವ ಪಠ್ಯ</td>
</tr>
<tr>
<td style="vertical-align: top; white-space: normal;">'''5''': ಸ್ಕ್ಯಾನ್ ಮಾಡಿದ ಪುಸ್ತಕದ ಚಿತ್ರ ಪ್ರತಿ</td>
<td style="vertical-align: top; white-space: normal;">'''6''': ಫೂಟರ್ - ಪುಸ್ತಕದ ಶೀರ್ಷಿಕೆ, ಪುಟ ಸಂಖ್ಯೆ (Transclude ಮಾಡಿದಾಗ ಕಾಣುವುದಿಲ್ಲ)</td>
</tr>
<tr>
<td style="vertical-align: top; white-space: normal;">'''7''': ಸಾರಾಂಶ</td>
<td style="vertical-align: top; white-space: normal;">'''8''': [[#ಪುಟದ ಸ್ಥಿತಿ]] ವಿವರಗಳು</td>
</tr>
<tr>
<td colspan="2" style="vertical-align: top; white-space: normal;">'''9''': ಪುಟ ಉಳಿಸುವ, ಪೂರ್ವವೀಕ್ಷಣೆ, ಪ್ರಸ್ತುತ ಬದಲಾವಣೆಗಳು ಬಟನ್ಗಳು</td>
</tr>
</table>
=== ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಉದಾಹರಣೆಗಳು ===
<gallery class="center" heights="200px" widths="200px">
File:Proofread page - sample page not formatted.PNG|❌ ಪ್ರೂಫ್ ರೀಡ್ ಮೊದಲು
File:Proofread page - edit preview not formatted.png|❌ ಫಾರ್ಮ್ಯಾಟ್ ಮಾಡದ ಮುನ್ನೋಟ
File:Proofread page -edit preview formatted.png|✅ ಫಾರ್ಮ್ಯಾಟ್ ಮಾಡಿದ ಮುನ್ನೋಟ
File:Proofread page - page preview formmated.png|✅ ಫಾರ್ಮ್ಯಾಟ್ ಮಾಡಿ ಉಳಿಸಿದ ಪುಟ
</gallery>
|exercise =
ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿರುವ ಯಾವುದೇ Index ಪುಟದಿಂದ 3 ಪುಟಗಳನ್ನು ಆಯ್ಕೆಮಾಡಿ. ಅವುಗಳನ್ನು:
1. OCR ಮೂಲಕ ಪಠ್ಯರೂಪಕ್ಕೆ ತನ್ನಿ
2. ಸ್ಕ್ಯಾನ್ ಪ್ರತಿಗೆ ಹೊಂದಿಸಿ ಸರಿಪಡಿಸಿ
3. ಸೂಕ್ತವಾದ ಸ್ಥಿತಿಯನ್ನು ಆಯ್ಕೆಮಾಡಿ (Proofread ಅಥವಾ Problematic)
4. ಉಳಿಸಿ
}}
a81j4y5j9xrz7jsxpfg8551ybovbh94
282575
282574
2026-04-03T11:11:32Z
A826
6806
282575
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|title = ಹಂತ 2: ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮತ್ತು ಪುಟದ ಸ್ಥಿತಿ
|content =
<table class="wikitable" style="width: 100%; table-layout: fixed; word-wrap: break-word; overflow-wrap: break-word; border-collapse: collapse;">
<tr>
<th colspan="2" style="padding: 10px; font-size: 1.2em; background-color: #eaecf0;">ಸಂಪಾದನೆ ಪುಟದ ವಿವಿಧ ಭಾಗಗಳು</th>
</tr>
<tr>
<td style="width: 50%; vertical-align: top; padding: 10px;">
<ul style="margin-top: 5px;">
<li><strong>ᐸ / ᐳ</strong>: ಹಿಂದಿನ/ಮುಂದಿನ ಪುಟದ ಕೊಂಡಿ</li>
<li><strong>page / discussion</strong>: ಪುಟ ಮತ್ತು ಚರ್ಚೆ ಪುಟ</li>
<li><strong>Image / read</strong>: ಚಿತ್ರ ಮತ್ತು ಓದುವಿಕೆ ಕೊಂಡಿ</li>
<li><strong>Edit source / View history</strong>: ಸಂಪಾದನೆ ಮತ್ತು ಇತಿಹಾಸ</li>
</ul>
</td>
<td style="width: 50%; vertical-align: top; padding: 10px;">
<ul style="margin-top: 5px;">
<li><strong>Special characters</strong>: [[File:Proofread_page_-_Toolbar_symbols.PNG|150px]]</li>
<li><strong>Help</strong>: [[File:Proofread page - Toolbar help.PNG|150px]]</li>
<li><strong>Proofread tools</strong>: [[File:Proofread page - Enable header and footer.PNG|150px]]</li>
</ul>
</td>
</tr>
<tr>
<td colspan="2" style="text-align: center; padding: 15px; background-color: #f8f9fa; border-top: 1px solid #a2a9b1; border-bottom: 1px solid #a2a9b1;">
[[File:Proofread_page_-_kn.wikisource.org.png|800px]]
<br/><small style="color: #666;">ಚಿತ್ರದ ವಿವರಣೆ: ವಿಕಿಸೋರ್ಸ್ ಸಂಪಾದನೆ ಇಂಟರ್ಫೇಸ್</small>
</td>
</tr>
<tr>
<td style="vertical-align: top; padding: 10px;">
<ul style="margin-top: 5px;">
<li><strong>3</strong>: ಹೆಡರ್ - ಶೀರ್ಷಿಕೆ ಮತ್ತು ಪುಟ ಸಂಖ್ಯೆ</li>
<li><strong>5</strong>: ಸ್ಕ್ಯಾನ್ ಮಾಡಿದ ಪುಸ್ತಕದ ಮೂಲ ಚಿತ್ರ ಪ್ರತಿ</li>
<li><strong>7</strong>: ಸಂಪಾದನೆ ಸಾರಾಂಶ (Summary)</li>
</ul>
</td>
<td style="vertical-align: top; padding: 10px;">
<ul style="margin-top: 5px;">
<li><strong>4</strong>: Transclude ಮಾಡುವ ಪಠ್ಯ ಭಾಗ</li>
<li><strong>6</strong>: ಫೂಟರ್ ವಿವರಗಳು</li>
<li><strong>8</strong>: [[#ಪುಟದ ಸ್ಥಿತಿ]] ವಿವರಗಳು</li>
</ul>
</td>
</tr>
<tr>
<td colspan="2" style="text-align: center; padding: 15px; background-color: #f8f9fa;">
<p style="margin: 5px 0 0 0;">ಪುಟ ಉಳಿಸುವ (Save), ಪೂರ್ವವೀಕ್ಷಣೆ (Preview), ಮತ್ತು ಬದಲಾವಣೆಗಳನ್ನು ತೋರಿಸುವ ಬಟನ್ಗಳು</p>
</td>
</tr>
</table>
== ಪುಟದ ಸ್ಥಿತಿ (Page Status) ==
'''ಸಹಾಯ ಪುಟ:''' [[ಸಹಾಯ:ಪುಟದ ಸ್ಥಿತಿಗತಿ]]
ಸಂಪಾದನೆ ವಿಂಡೋ ಅಡಿಯಲ್ಲಿ ಸ್ಥಿತಿಗಳನ್ನು ಸೂಚಿಸುವ ಬಟನ್ಗಳನ್ನು ನೀವು ಕಾಣಬಹುದು.
=== ಸ್ಥಿತಿಗಳ ನಕ್ಷೆ ===
<div style="text-align: center; padding: 15px;">
<span style="background-color:#DDD; padding: 5px;">↗ ಪಠ್ಯವಿಲ್ಲದ ಪುಟ</span><br/>
↓<br/>
<span style="color:#C00000;">'''ಖಾಲಿ ಪುಟ'''</span>
→ <span style="background-color:#FFA0A0; padding: 5px;">ಪರಿಶೀಲಿಸಲಾಗಿಲ್ಲದ ಪುಟ</span>
→ <span style="background-color:#FFE867; padding: 5px;">ಪರಿಶೀಲಿಸಲಾಗಿರುವ ಪುಟ</span>
→ <span style="background-color:#90FF90; padding: 5px;">ಪ್ರಕಟಿಸಲಾಗಿರುವ ಪುಟ</span><br/>
↘ <span style="background-color:#B0B0FF; padding: 5px;">ಸಮಸ್ಯಾಪೂರ್ಣ ಪುಟ</span> ↗
</div>
=== ಪ್ರತಿಯೊಂದು ಸ್ಥಿತಿಯ ವಿವರ ===
<table class="wikitable">
<tr>
<th>ಸ್ಥಿತಿ</th>
<th>ವಿವರಣೆ</th>
<th>ವರ್ಗ</th>
</tr>
<tr>
<td>{{page status text|Not proofread}}</td>
<td>ಪೂರ್ವನಿಯೋಜಿತ ಮೌಲ್ಯ. ಇನ್ನೂ ಯಾರೂ ಕೆಲಸ ಮಾಡಿಲ್ಲ.</td>
<td>[[:Category:ಪರಿಶೀಲಿಸಲಾಗಿಲ್ಲ|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]</td>
</tr>
<tr>
<td>{{page status text|Proofread}}</td>
<td>ಒಬ್ಬ ಸಂಪಾದಕ ಪರಿಶೀಲಿಸಿದ ಪುಟ. ಪಠ್ಯವು ಸ್ಕ್ಯಾನ್ಗೆ ಹೊಂದಿಕೆಯಾಗುತ್ತದೆ, ಮೂಲಭೂತ ಫಾರ್ಮ್ಯಾಟಿಂಗ್ ಮಾಡಲಾಗಿದೆ.</td>
<td>[[:ವರ್ಗ:Proofread|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]</td>
</tr>
<tr>
<td>{{page status text|Validated}}</td>
<td>ಒಬ್ಬರಿಗಿಂತ ಹೆಚ್ಚು ಸಂಪಾದಕರು ಪರಿಶೀಲಿಸಿದ ಪುಟ. (ಈಗಾಗಲೇ Proofread ಆಗಿದ್ದರೆ ಮಾತ್ರ ಲಭ್ಯ)</td>
<td>[[:Category:ಪ್ರಕಟಿಸಿದವು|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]</td>
</tr>
<tr>
<td>{{page status text|Without text}}</td>
<td>ಸಂಪೂರ್ಣ ಖಾಲಿ ಪುಟಗಳಿಗೆ. <b>ಚಿತ್ರಗಳಿರುವ ಪುಟಗಳಿಗೆ ಬಳಸಬೇಡಿ.</b></td>
<td>[[:Category:ಪಠ್ಯವಿಲ್ಲದ್ದು|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]</td>
</tr>
<tr>
<td>{{page status text|Problematic}}</td>
<td>ದೋಷಯುಕ್ತ ಸ್ಕ್ಯಾನ್ ಅಥವಾ ಸಂಪಾದಕರ ನಡುವೆ ಚರ್ಚೆ ಅಗತ್ಯವಿರುವ ಪುಟ.</td>
<td>[[:Category:ಸಮಸ್ಯಾಪೂರ್ಣ|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]</td>
</tr>
</table>
== ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮಾರ್ಗದರ್ಶಿ ==
'''ಸಹಾಯ ಪುಟಗಳು:'''
* [[Help:Beginner's guide to proofreading|ಆರಂಭಿಕರಿಗೆ ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮಾರ್ಗದರ್ಶಿ]]
* [[ಸಹಾಯ:Proofread]]
* [[Help:Beginner's guide to typography|Beginner's guide to Typography]]
* [[Wikisource:Style guide|Style guide]]
* [[Help:ProofreadPage extension|ProofreadPage extension]]
* [[Help:Proofread/Proofreading example|Proofreading example]]
=== ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಉದಾಹರಣೆಗಳು ===
<gallery class="center" heights="200px" widths="200px">
File:Proofread page - sample page not formatted.PNG|❌ ಪ್ರೂಫ್ ರೀಡ್ ಮೊದಲು
File:Proofread page - edit preview not formatted.png|❌ ಫಾರ್ಮ್ಯಾಟ್ ಮಾಡದ ಮುನ್ನೋಟ
File:Proofread page -edit preview formatted.png|✅ ಫಾರ್ಮ್ಯಾಟ್ ಮಾಡಿದ ಮುನ್ನೋಟ
File:Proofread page - page preview formmated.png|✅ ಫಾರ್ಮ್ಯಾಟ್ ಮಾಡಿ ಉಳಿಸಿದ ಪುಟ
</gallery>
|exercise =
ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿರುವ ಯಾವುದೇ Index ಪುಟದಿಂದ 3 ಪುಟಗಳನ್ನು ಆಯ್ಕೆಮಾಡಿ. ಅವುಗಳನ್ನು:
1. OCR ಮೂಲಕ ಪಠ್ಯರೂಪಕ್ಕೆ ತನ್ನಿ
2. ಸ್ಕ್ಯಾನ್ ಪ್ರತಿಗೆ ಹೊಂದಿಸಿ ಸರಿಪಡಿಸಿ
3. ಸೂಕ್ತವಾದ ಸ್ಥಿತಿಯನ್ನು ಆಯ್ಕೆಮಾಡಿ (Proofread ಅಥವಾ Problematic)
4. ಉಳಿಸಿ
}}
n347myz74p6uexwijk55jos30o3qfck
282576
282575
2026-04-03T11:16:09Z
A826
6806
282576
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|title = ಹಂತ 2: ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮತ್ತು ಪುಟದ ಸ್ಥಿತಿ
|content =
<table class="wikitable" style="width: 100%; table-layout: fixed; word-wrap: break-word; overflow-wrap: break-word; border-collapse: collapse;">
<tr>
<th colspan="2" style="padding: 10px; font-size: 1.2em; background-color: #eaecf0;">ಸಂಪಾದನೆ ಪುಟದ ವಿವಿಧ ಭಾಗಗಳು</th>
</tr>
<tr>
<td style="width: 50%; vertical-align: top; padding: 10px;">
<ul style="margin-top: 5px;">
'''1''': ಎಡದಿಂದ ಬಲಕ್ಕೆ:<br/>
<li>'''ᐸ / ᐳ''': ಹಿಂದಿನ/ಮುಂದಿನ ಪುಟದ ಕೊಂಡಿ</li>
<li>'''page / discussion''': ಪುಟ ಮತ್ತು ಚರ್ಚೆ ಪುಟ</li>
<li>'''Image / read''': ಚಿತ್ರ ಮತ್ತು ಓದುವಿಕೆ ಕೊಂಡಿ</li>
<li>'''Edit source / View history''': ಸಂಪಾದನೆ ಮತ್ತು ಇತಿಹಾಸ</li>
</ul>
</td>
<td style="width: 50%; vertical-align: top; padding: 10px;">
<ul style="margin-top: 5px;">
'''2''': ಟೂಲ್ಬಾರ್ ವಿವರಣೆ:
<li>'''Special characters''': [[File:Proofread_page_-_Toolbar_symbols.PNG|150px]]</li>
<li>'''Help''': [[File:Proofread page - Toolbar help.PNG|150px]]</li>
<li>'''Proofread tools''': [[File:Proofread page - Enable header and footer.PNG|150px]]</li>
</ul>
</td>
</tr>
<tr>
<td colspan="2" style="text-align: center; padding: 15px; background-color: #f8f9fa; border-top: 1px solid #a2a9b1; border-bottom: 1px solid #a2a9b1;">
[[File:Proofread_page_-_kn.wikisource.org.png|800px]]
<br/><small style="color: #666;">ಚಿತ್ರದ ವಿವರಣೆ: ವಿಕಿಸೋರ್ಸ್ ಸಂಪಾದನೆ ಇಂಟರ್ಫೇಸ್</small>
</td>
</tr>
<tr>
<td style="vertical-align: top; padding: 10px;">
<ul style="margin-top: 5px;">
<li>'''3''': ಹೆಡರ್ - ಶೀರ್ಷಿಕೆ ಮತ್ತು ಪುಟ ಸಂಖ್ಯೆ</li>
<li>'''5''': ಸ್ಕ್ಯಾನ್ ಮಾಡಿದ ಪುಸ್ತಕದ ಮೂಲ ಚಿತ್ರ ಪ್ರತಿ</li>
<li>'''7''': ಸಂಪಾದನೆ ಸಾರಾಂಶ (Summary)</li>
</ul>
</td>
<td style="vertical-align: top; padding: 10px;">
<ul style="margin-top: 5px;">
<li>'''4''': Transclude ಮಾಡುವ ಪಠ್ಯ ಭಾಗ</li>
<li>'''6''': ಫೂಟರ್ ವಿವರಗಳು</li>
<li>'''8''': [[#ಪುಟದ ಸ್ಥಿತಿ]] ವಿವರಗಳು</li>
</ul>
</td>
</tr>
<tr>
<td colspan="2" style="text-align: center; padding: 15px; background-color: #f8f9fa;">
<p style="margin: 5px 0 0 0;">ಪುಟ ಉಳಿಸುವ (Save), ಪೂರ್ವವೀಕ್ಷಣೆ (Preview), ಮತ್ತು ಬದಲಾವಣೆಗಳನ್ನು ತೋರಿಸುವ ಬಟನ್ಗಳು</p>
</td>
</tr>
</table>
== ಪುಟದ ಸ್ಥಿತಿ (Page Status) ==
'''ಸಹಾಯ ಪುಟ:''' [[ಸಹಾಯ:ಪುಟದ ಸ್ಥಿತಿಗತಿ]]
ಸಂಪಾದನೆ ವಿಂಡೋ ಅಡಿಯಲ್ಲಿ ಸ್ಥಿತಿಗಳನ್ನು ಸೂಚಿಸುವ ಬಟನ್ಗಳನ್ನು ನೀವು ಕಾಣಬಹುದು.
=== ಸ್ಥಿತಿಗಳ ನಕ್ಷೆ ===
<div style="text-align: center; padding: 15px;">
<span style="background-color:#DDD; padding: 5px;">↗ ಪಠ್ಯವಿಲ್ಲದ ಪುಟ</span><br/>
↓<br/>
<span style="color:#C00000;">'''ಖಾಲಿ ಪುಟ'''</span>
→ <span style="background-color:#FFA0A0; padding: 5px;">ಪರಿಶೀಲಿಸಲಾಗಿಲ್ಲದ ಪುಟ</span>
→ <span style="background-color:#FFE867; padding: 5px;">ಪರಿಶೀಲಿಸಲಾಗಿರುವ ಪುಟ</span>
→ <span style="background-color:#90FF90; padding: 5px;">ಪ್ರಕಟಿಸಲಾಗಿರುವ ಪುಟ</span><br/>
↘ <span style="background-color:#B0B0FF; padding: 5px;">ಸಮಸ್ಯಾಪೂರ್ಣ ಪುಟ</span> ↗
</div>
=== ಪ್ರತಿಯೊಂದು ಸ್ಥಿತಿಯ ವಿವರ ===
<table class="wikitable">
<tr>
<th>ಸ್ಥಿತಿ</th>
<th>ವಿವರಣೆ</th>
<th>ವರ್ಗ</th>
</tr>
<tr>
<td>{{page status text|Not proofread}}</td>
<td>ಪೂರ್ವನಿಯೋಜಿತ ಮೌಲ್ಯ. ಇನ್ನೂ ಯಾರೂ ಕೆಲಸ ಮಾಡಿಲ್ಲ.</td>
<td>[[:Category:ಪರಿಶೀಲಿಸಲಾಗಿಲ್ಲ|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]</td>
</tr>
<tr>
<td>{{page status text|Proofread}}</td>
<td>ಒಬ್ಬ ಸಂಪಾದಕ ಪರಿಶೀಲಿಸಿದ ಪುಟ. ಪಠ್ಯವು ಸ್ಕ್ಯಾನ್ಗೆ ಹೊಂದಿಕೆಯಾಗುತ್ತದೆ, ಮೂಲಭೂತ ಫಾರ್ಮ್ಯಾಟಿಂಗ್ ಮಾಡಲಾಗಿದೆ.</td>
<td>[[:ವರ್ಗ:Proofread|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]</td>
</tr>
<tr>
<td>{{page status text|Validated}}</td>
<td>ಒಬ್ಬರಿಗಿಂತ ಹೆಚ್ಚು ಸಂಪಾದಕರು ಪರಿಶೀಲಿಸಿದ ಪುಟ. (ಈಗಾಗಲೇ Proofread ಆಗಿದ್ದರೆ ಮಾತ್ರ ಲಭ್ಯ)</td>
<td>[[:Category:ಪ್ರಕಟಿಸಿದವು|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]</td>
</tr>
<tr>
<td>{{page status text|Without text}}</td>
<td>ಸಂಪೂರ್ಣ ಖಾಲಿ ಪುಟಗಳಿಗೆ. <b>ಚಿತ್ರಗಳಿರುವ ಪುಟಗಳಿಗೆ ಬಳಸಬೇಡಿ.</b></td>
<td>[[:Category:ಪಠ್ಯವಿಲ್ಲದ್ದು|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]</td>
</tr>
<tr>
<td>{{page status text|Problematic}}</td>
<td>ದೋಷಯುಕ್ತ ಸ್ಕ್ಯಾನ್ ಅಥವಾ ಸಂಪಾದಕರ ನಡುವೆ ಚರ್ಚೆ ಅಗತ್ಯವಿರುವ ಪುಟ.</td>
<td>[[:Category:ಸಮಸ್ಯಾಪೂರ್ಣ|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]</td>
</tr>
</table>
== ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮಾರ್ಗದರ್ಶಿ ==
'''ಸಹಾಯ ಪುಟಗಳು:'''
* [[Help:Beginner's guide to proofreading|ಆರಂಭಿಕರಿಗೆ ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮಾರ್ಗದರ್ಶಿ]]
* [[ಸಹಾಯ:Proofread]]
* [[Help:Beginner's guide to typography|Beginner's guide to Typography]]
* [[Wikisource:Style guide|Style guide]]
* [[Help:ProofreadPage extension|ProofreadPage extension]]
* [[Help:Proofread/Proofreading example|Proofreading example]]
=== ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಉದಾಹರಣೆಗಳು ===
<gallery class="center" heights="200px" widths="200px">
File:Proofread page - sample page not formatted.PNG|❌ ಪ್ರೂಫ್ ರೀಡ್ ಮೊದಲು
File:Proofread page - edit preview not formatted.png|❌ ಫಾರ್ಮ್ಯಾಟ್ ಮಾಡದ ಮುನ್ನೋಟ
File:Proofread page -edit preview formatted.png|✅ ಫಾರ್ಮ್ಯಾಟ್ ಮಾಡಿದ ಮುನ್ನೋಟ
File:Proofread page - page preview formmated.png|✅ ಫಾರ್ಮ್ಯಾಟ್ ಮಾಡಿ ಉಳಿಸಿದ ಪುಟ
</gallery>
|exercise =
ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿರುವ ಯಾವುದೇ Index ಪುಟದಿಂದ 3 ಪುಟಗಳನ್ನು ಆಯ್ಕೆಮಾಡಿ. ಅವುಗಳನ್ನು:
1. OCR ಮೂಲಕ ಪಠ್ಯರೂಪಕ್ಕೆ ತನ್ನಿ
2. ಸ್ಕ್ಯಾನ್ ಪ್ರತಿಗೆ ಹೊಂದಿಸಿ ಸರಿಪಡಿಸಿ
3. ಸೂಕ್ತವಾದ ಸ್ಥಿತಿಯನ್ನು ಆಯ್ಕೆಮಾಡಿ (Proofread ಅಥವಾ Problematic)
4. ಉಳಿಸಿ
}}
e0lwisz6lfzinni3n17t3pmzuy2o1c8
282577
282576
2026-04-03T11:17:43Z
A826
6806
282577
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|title = ಹಂತ 2: ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮತ್ತು ಪುಟದ ಸ್ಥಿತಿ
|content =
<table class="wikitable" style="width: 100%; table-layout: fixed; word-wrap: break-word; overflow-wrap: break-word; border-collapse: collapse;">
<tr>
<th colspan="2" style="padding: 10px; font-size: 1.2em; background-color: #eaecf0;">ಸಂಪಾದನೆ ಪುಟದ ವಿವಿಧ ಭಾಗಗಳು</th>
</tr>
<tr>
<td style="width: 50%; vertical-align: top; padding: 10px;">
<ul style="margin-top: 5px;">
'''1''': ಎಡದಿಂದ ಬಲಕ್ಕೆ:<br/>
<li>'''ᐸ / ᐳ''': ಹಿಂದಿನ/ಮುಂದಿನ ಪುಟದ ಕೊಂಡಿ</li>
<li>'''page / discussion''': ಪುಟ ಮತ್ತು ಚರ್ಚೆ ಪುಟ</li>
<li>'''Image / read''': ಚಿತ್ರ ಮತ್ತು ಓದುವಿಕೆ ಕೊಂಡಿ</li>
<li>'''Edit source / View history''': ಸಂಪಾದನೆ ಮತ್ತು ಇತಿಹಾಸ</li>
</ul>
</td>
<td style="width: 50%; vertical-align: top; padding: 10px;">
<ul style="margin-top: 5px;">
'''2''': ಟೂಲ್ಬಾರ್ ವಿವರಣೆ:
<li>'''Special characters''': [[File:Proofread_page_-_Toolbar_symbols.PNG|150px]]</li>
<li>'''Help''': [[File:Proofread page - Toolbar help.PNG|150px]]</li>
<li>'''Proofread tools''': [[File:Proofread page - Enable header and footer.PNG|150px]]</li>
</ul>
</td>
</tr>
<tr>
<td colspan="2" style="text-align: center; padding: 15px; background-color: #f8f9fa; border-top: 1px solid #a2a9b1; border-bottom: 1px solid #a2a9b1;">
[[File:Proofread_page_-_kn.wikisource.org.png|800px]]
<br/><small style="color: #666;">ಚಿತ್ರದ ವಿವರಣೆ: ವಿಕಿಸೋರ್ಸ್ ಸಂಪಾದನೆ ಇಂಟರ್ಫೇಸ್</small>
</td>
</tr>
<tr>
<td style="vertical-align: top; padding: 10px;">
<ul style="margin-top: 5px;">
<li>'''3''': ಹೆಡರ್ - ಶೀರ್ಷಿಕೆ ಮತ್ತು ಪುಟ ಸಂಖ್ಯೆ</li>
<li>'''5''': ಸ್ಕ್ಯಾನ್ ಮಾಡಿದ ಪುಸ್ತಕದ ಮೂಲ ಚಿತ್ರ ಪ್ರತಿ</li>
<li>'''7''': ಸಂಪಾದನೆ ಸಾರಾಂಶ (Summary)</li>
</ul>
</td>
<td style="vertical-align: top; padding: 10px;">
<ul style="margin-top: 5px;">
<li>'''4''': Transclude ಮಾಡುವ ಪಠ್ಯ ಭಾಗ</li>
<li>'''6''': ಫೂಟರ್ ವಿವರಗಳು</li>
<li>'''8''': [[#ಪುಟದ ಸ್ಥಿತಿ]] ವಿವರಗಳು</li>
</ul>
</td>
</tr>
<tr>
<td colspan="2" style="text-align: center; padding: 15px; background-color: #f8f9fa;">
<p style="margin: 5px 0 0 0;">9: ಪುಟ ಉಳಿಸುವ (Save), ಪೂರ್ವವೀಕ್ಷಣೆ (Preview), ಮತ್ತು ಬದಲಾವಣೆಗಳನ್ನು ತೋರಿಸುವ ಬಟನ್ಗಳು</p>
</td>
</tr>
</table>
== ಪುಟದ ಸ್ಥಿತಿ (Page Status) ==
'''ಸಹಾಯ ಪುಟ:''' [[ಸಹಾಯ:ಪುಟದ ಸ್ಥಿತಿಗತಿ]]
ಸಂಪಾದನೆ ವಿಂಡೋ ಅಡಿಯಲ್ಲಿ ಸ್ಥಿತಿಗಳನ್ನು ಸೂಚಿಸುವ ಬಟನ್ಗಳನ್ನು ನೀವು ಕಾಣಬಹುದು.
=== ಸ್ಥಿತಿಗಳ ನಕ್ಷೆ ===
<div style="text-align: center; padding: 15px;">
<span style="background-color:#DDD; padding: 5px;">↗ ಪಠ್ಯವಿಲ್ಲದ ಪುಟ</span><br/>
↓<br/>
<span style="color:#C00000;">'''ಖಾಲಿ ಪುಟ'''</span>
→ <span style="background-color:#FFA0A0; padding: 5px;">ಪರಿಶೀಲಿಸಲಾಗಿಲ್ಲದ ಪುಟ</span>
→ <span style="background-color:#FFE867; padding: 5px;">ಪರಿಶೀಲಿಸಲಾಗಿರುವ ಪುಟ</span>
→ <span style="background-color:#90FF90; padding: 5px;">ಪ್ರಕಟಿಸಲಾಗಿರುವ ಪುಟ</span><br/>
↘ <span style="background-color:#B0B0FF; padding: 5px;">ಸಮಸ್ಯಾಪೂರ್ಣ ಪುಟ</span> ↗
</div>
=== ಪ್ರತಿಯೊಂದು ಸ್ಥಿತಿಯ ವಿವರ ===
<table class="wikitable">
<tr>
<th>ಸ್ಥಿತಿ</th>
<th>ವಿವರಣೆ</th>
<th>ವರ್ಗ</th>
</tr>
<tr>
<td>{{page status text|Not proofread}}</td>
<td>ಪೂರ್ವನಿಯೋಜಿತ ಮೌಲ್ಯ. ಇನ್ನೂ ಯಾರೂ ಕೆಲಸ ಮಾಡಿಲ್ಲ.</td>
<td>[[:Category:ಪರಿಶೀಲಿಸಲಾಗಿಲ್ಲ|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]</td>
</tr>
<tr>
<td>{{page status text|Proofread}}</td>
<td>ಒಬ್ಬ ಸಂಪಾದಕ ಪರಿಶೀಲಿಸಿದ ಪುಟ. ಪಠ್ಯವು ಸ್ಕ್ಯಾನ್ಗೆ ಹೊಂದಿಕೆಯಾಗುತ್ತದೆ, ಮೂಲಭೂತ ಫಾರ್ಮ್ಯಾಟಿಂಗ್ ಮಾಡಲಾಗಿದೆ.</td>
<td>[[:ವರ್ಗ:Proofread|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]</td>
</tr>
<tr>
<td>{{page status text|Validated}}</td>
<td>ಒಬ್ಬರಿಗಿಂತ ಹೆಚ್ಚು ಸಂಪಾದಕರು ಪರಿಶೀಲಿಸಿದ ಪುಟ. (ಈಗಾಗಲೇ Proofread ಆಗಿದ್ದರೆ ಮಾತ್ರ ಲಭ್ಯ)</td>
<td>[[:Category:ಪ್ರಕಟಿಸಿದವು|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]</td>
</tr>
<tr>
<td>{{page status text|Without text}}</td>
<td>ಸಂಪೂರ್ಣ ಖಾಲಿ ಪುಟಗಳಿಗೆ. <b>ಚಿತ್ರಗಳಿರುವ ಪುಟಗಳಿಗೆ ಬಳಸಬೇಡಿ.</b></td>
<td>[[:Category:ಪಠ್ಯವಿಲ್ಲದ್ದು|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]</td>
</tr>
<tr>
<td>{{page status text|Problematic}}</td>
<td>ದೋಷಯುಕ್ತ ಸ್ಕ್ಯಾನ್ ಅಥವಾ ಸಂಪಾದಕರ ನಡುವೆ ಚರ್ಚೆ ಅಗತ್ಯವಿರುವ ಪುಟ.</td>
<td>[[:Category:ಸಮಸ್ಯಾಪೂರ್ಣ|ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ನೋಡಿ]]</td>
</tr>
</table>
== ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮಾರ್ಗದರ್ಶಿ ==
'''ಸಹಾಯ ಪುಟಗಳು:'''
* [[Help:Beginner's guide to proofreading|ಆರಂಭಿಕರಿಗೆ ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮಾರ್ಗದರ್ಶಿ]]
* [[ಸಹಾಯ:Proofread]]
* [[Help:Beginner's guide to typography|Beginner's guide to Typography]]
* [[Wikisource:Style guide|Style guide]]
* [[Help:ProofreadPage extension|ProofreadPage extension]]
* [[Help:Proofread/Proofreading example|Proofreading example]]
=== ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಉದಾಹರಣೆಗಳು ===
<gallery class="center" heights="200px" widths="200px">
File:Proofread page - sample page not formatted.PNG|❌ ಪ್ರೂಫ್ ರೀಡ್ ಮೊದಲು
File:Proofread page - edit preview not formatted.png|❌ ಫಾರ್ಮ್ಯಾಟ್ ಮಾಡದ ಮುನ್ನೋಟ
File:Proofread page -edit preview formatted.png|✅ ಫಾರ್ಮ್ಯಾಟ್ ಮಾಡಿದ ಮುನ್ನೋಟ
File:Proofread page - page preview formmated.png|✅ ಫಾರ್ಮ್ಯಾಟ್ ಮಾಡಿ ಉಳಿಸಿದ ಪುಟ
</gallery>
|exercise =
ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿರುವ ಯಾವುದೇ Index ಪುಟದಿಂದ 3 ಪುಟಗಳನ್ನು ಆಯ್ಕೆಮಾಡಿ. ಅವುಗಳನ್ನು:
1. OCR ಮೂಲಕ ಪಠ್ಯರೂಪಕ್ಕೆ ತನ್ನಿ
2. ಸ್ಕ್ಯಾನ್ ಪ್ರತಿಗೆ ಹೊಂದಿಸಿ ಸರಿಪಡಿಸಿ
3. ಸೂಕ್ತವಾದ ಸ್ಥಿತಿಯನ್ನು ಆಯ್ಕೆಮಾಡಿ (Proofread ಅಥವಾ Problematic)
4. ಉಳಿಸಿ
}}
oaho5ssljj9xirl83znc4u7x08nptjp
ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/3
12
100793
282428
2026-04-03T03:34:58Z
A826
6806
ಹೊಸ ಪುಟ: {{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ |contents = == ಹಂತ 3: ಟ್ರಾನ್ಸ್ಕ್ಲೂಷನ್ (Transclusion) == ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ಪ್ರೂಫ್ ರೀಡ್ ಮಾಡಿದ ನಂತರ, ನೀವು ಅವುಗಳನ್ನು ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ ಒಂದು ಸಂಪುಟವಾಗಿ ಸೇರಿಸಬೇಕು. ಇದನ್ನು '''ಟ್ರಾನ್ಸ್...
282428
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|contents =
== ಹಂತ 3: ಟ್ರಾನ್ಸ್ಕ್ಲೂಷನ್ (Transclusion) ==
ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ಪ್ರೂಫ್ ರೀಡ್ ಮಾಡಿದ ನಂತರ, ನೀವು ಅವುಗಳನ್ನು ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ ಒಂದು ಸಂಪುಟವಾಗಿ ಸೇರಿಸಬೇಕು. ಇದನ್ನು '''ಟ್ರಾನ್ಸ್ಕ್ಲೂಷನ್''' ಎನ್ನುತ್ತಾರೆ.
=== ಟ್ರಾನ್ಸ್ಕ್ಲೂಷನ್ ಹಂತಗಳು ===
# '''ಹೊಸ ಪುಟ ರಚಿಸಿ''': ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ (kn.wikisource.org/wiki/...) ಪುಸ್ತಕದ ಹೆಸರಿನಲ್ಲಿ ಪುಟವನ್ನು ರಚಿಸಿ.
# '''pages ಟ್ಯಾಗ್ ಬಳಸಿ''': ಕೆಳಗಿನ ಸಿಂಟ್ಯಾಕ್ಸ್ ಬಳಸಿ ಪುಟಗಳನ್ನು ಸೇರಿಸಿ.
=== pages ಟ್ಯಾಗ್ ಉದಾಹರಣೆಗಳು ===
{| class="wikitable" style="width: 100%;"
! ನೀವು ಏನು ಮಾಡಲು ಬಯಸುತ್ತೀರಿ? !! ಕೋಡ್
|-
| ಒಂದೇ ಪುಟ ಸೇರಿಸಲು || <code><nowiki><pages index="ಪುಸ್ತಕ.djvu" include="5" /></nowiki></code>
|-
| ಒಂದರಿಂದ ಇನ್ನೊಂದು ಪುಟದವರೆಗೆ (1 ರಿಂದ 10) || <code><nowiki><pages index="ಪುಸ್ತಕ.djvu" from="1" to="10" /></nowiki></code>
|-
| ಬಿಟ್ಟುಬಿಟ್ಟು ಪುಟಗಳು (1,3,5,7) || <code><nowiki><pages index="ಪುಸ್ತಕ.djvu" include="1,3,5,7" /></nowiki></code>
|-
| ಒಂದು ವ್ಯಾಪ್ತಿ ಮತ್ತು ಮತ್ತೊಂದು ಪುಟ (1–5 ಮತ್ತು 8) || <code><nowiki><pages index="ಪುಸ್ತಕ.djvu" from="1" to="5" include="8" /></nowiki></code>
|-
| ಕೆಲವು ಪುಟಗಳನ್ನು ಹೊರತುಪಡಿಸಿ (1–10 ರಿಂದ 5 ಬಿಟ್ಟು) || <code><nowiki><pages index="ಪುಸ್ತಕ.djvu" from="1" to="10" exclude="5" /></nowiki></code>
|}
=== ಪುಟ ವಿರಾಮಗಳು ===
ಎರಡು ಪುಟಗಳ ನಡುವೆ '''ಪುಟ ವಿರಾಮ''' ಸೂಚಿಸಲು <code><nowiki>{{ppb}}</nowiki></code> ಟೆಂಪ್ಲೇಟು ಬಳಸಿ:
<pre>
<pages index="ಪುಸ್ತಕ.djvu" include="1" />
{{ppb}}
<pages index="ಪುಸ್ತಕ.djvu" include="2" />
</pre>
=== ಹೆಡರ್ ಮತ್ತು ಫೂಟರ್ ಅನ್ನು ಸೇರಿಸುವುದು ===
pages ಟ್ಯಾಗ್ನಲ್ಲಿ <code>header="1"</code> ಸೇರಿಸಿದರೆ, Index ಪುಟದಲ್ಲಿ ನೀವು ಹೆಡರ್/ಫೂಟರ್ನಲ್ಲಿ ಸೇರಿಸಿದ ವಿಷಯವು transclude ಆಗುವುದಿಲ್ಲ.
ಸಂಪೂರ್ಣ ಪುಸ್ತಕಕ್ಕೆ ಸಾಮಾನ್ಯ ಹೆಡರ್ ಸೇರಿಸಲು:
<pre>
<pages index="ಪುಸ್ತಕ.djvu" from="1" to="100" header="1" />
</pre>
=== PDF ಮತ್ತು ಇತರ ಸ್ವರೂಪಗಳಲ್ಲಿ ರಫ್ತು ಮಾಡುವುದು ===
ನಿಮ್ಮ ಪುಸ್ತಕವನ್ನು PDF ಆಗಿ ಡೌನ್ಲೋಡ್ ಮಾಡಲು, ಪುಟದಲ್ಲಿ ಈ ಕೆಳಗಿನ ಟೆಂಪ್ಲೇಟು ಸೇರಿಸಿ:
<pre>
{{featured download
|pagename={{PAGENAME}}
|pdf={{PAGENAME}}.pdf
}}
</pre>
|exercise =
ನೀವು ಹಿಂದಿನ ಪಾಠದಲ್ಲಿ ಪ್ರೂಫ್ ರೀಡ್ ಮಾಡಿದ ಪುಸ್ತಕವನ್ನು ತೆಗೆದುಕೊಳ್ಳಿ. ಅದರ ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ ಹೊಸ ಪುಟವನ್ನು ರಚಿಸಿ ಮತ್ತು <code><nowiki><pages></nowiki></code> ಟ್ಯಾಗ್ ಬಳಸಿ ಎಲ್ಲಾ ಪುಟಗಳನ್ನು ಒಟ್ಟಿಗೆ ಸೇರಿಸಿ.
}}
on40wdta5fpugh33s2uymzrts0y4jpv
282441
282428
2026-04-03T04:51:42Z
A826
6806
282441
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|title = ಹಂತ 3: ಮೌಲ್ಯೀಕರಣ (Validation) ಮತ್ತು ಟ್ರಾನ್ಸ್ಕ್ಲೂಷನ್
|contents =
== ✅ ಮೌಲ್ಯೀಕರಿಸುವುದು / ವ್ಯಾಲಿಡೇಟ್ ಮಾಡುವುದು ==
'''ಸಹಾಯ ಪುಟ:''' [[Help:Beginner's guide to validation|Beginner's guide to Validation]]
{| class="wikitable"
|-
| ಸಂಪಾದನೆ ವಿಂಡೋ ಅಡಿಯಲ್ಲಿ ಸ್ಥಿತಿಗಳನ್ನು ಸೂಚಿಸುವ ಬಟನ್ಗಳನ್ನು ನೀವು ಕಾಣಬಹುದು. ಹಿಂದಿನ ಕೊಡುಗೆದಾರರು ಈಗಾಗಲೇ ಪುಟವನ್ನು ಪ್ರೂಫ್ ರೀಡ್ ಮಾಡಿದ್ದರೆ, ಅದು ಈ ಕೆಳಗಿನಂತೆ ಕಾಣಿಸಿಕೊಳ್ಳುತ್ತದೆ.
|-
| [[File:Wikisource page proofread buttons.png|200px|left|ಐದು ಗುಂಡಿಗಳು]]
|}
'''ಮೌಲ್ಯೀಕರಣ ಹಂತಗಳು:'''
# ಪುಟವನ್ನು ಎಚ್ಚರಿಕೆಯಿಂದ ಪುನಃ ಓದಿ
# ಪ್ರೂಫ್ ರೀಡ್ ಮಾಡಿದ ಪಠ್ಯವು ಸ್ಕ್ಯಾನ್ ಪ್ರತಿಗೆ 100% ಹೊಂದಿಕೆಯಾಗುತ್ತದೆಯೇ ಎಂದು ಪರಿಶೀಲಿಸಿ
# ಸರಿಯಾಗಿದ್ದರೆ, '''Validated''' (ಹಸಿರು) ಬಟನ್ ಕ್ಲಿಕ್ ಮಾಡಿ
# ತಪ್ಪುಗಳಿದ್ದರೆ, ಅವುಗಳನ್ನು ಸರಿಪಡಿಸಿ ಮತ್ತು Proofread ಸ್ಥಿತಿಯಲ್ಲೇ ಬಿಡಿ
== 🔧 ಮೌಲ್ಯೀಕರಣದ ನಂತರ ಮುಕ್ತಾಯದ ಸ್ಪರ್ಶಗಳು ==
=== ಪರಿವಿಡಿ ಪುಟಗಳನ್ನು ಪೂರ್ಣಗೊಳಿಸುವುದು ===
<code><nowiki><pagelist></nowiki></code> ಉದಾಹರಣೆಗಳು:
<gallery heights="300px" widths="300px">
File:Index pagelist preview 1.PNG
File:Index pagelist preview 2.PNG
</gallery>
=== ಪರಿವಿಡಿ (Table of Contents) ರಚನೆ ===
ಪರಿವಿಡಿಯನ್ನು ಸಾಮಾನ್ಯವಾಗಿ <code><nowiki>{{#lst:pagename.pdf/12}}</nowiki></code> ಉಪಯೋಗಿಸಿ ರಚಿಸಬಹುದು.
{| class="wikitable"
! ಪರಿವಿಡಿ ಇರುವ ಪುಟ !! ಬಳಸಬೇಕಾಗಿರುವ ವಾಕ್ಯ
|-
| [[ಪುಟ:ಕನ್ನಡದ ಬಾವುಟ.djvu/೧೦೩]] || <code><nowiki>{{#lst:ಪುಟ:ಕನ್ನಡದ ಬಾವುಟ.djvu/೧೦೩}}</nowiki></code>
|}
== 🔗 ಟ್ರಾನ್ಸ್ಕ್ಲುಷನ್ (Transclusion) ==
ಪುಟ ಮೌಲ್ಯೀಕರಿಸಿದ ನಂತರ ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ ಪುಸ್ತಕದ ಕನ್ನಡಿ ಪ್ರತಿಯನ್ನು ಸೇರಿಸಬೇಕು.
'''ಸಹಾಯ ಪುಟಗಳು:'''
* [[ಸಹಾಯ:Beginner's_guide_to_transclusion]]
* [[ಸಹಾಯ:Transclusion]]
=== ಟ್ರಾನ್ಸ್ಕ್ಲೂಷನ್ ಪರಿಕರಗಳು ===
{| class="wikitable" style="width: 100%;"
! ಕೋಡ್ !! ವಿವರಣೆ !! ಉದಾಹರಣೆ
|-
| <code><nowiki><pages index="filename" include="X" header="1" /></nowiki></code> || ಒಂದು ಪುಟದ ಕನ್ನಡಿ ಪ್ರತಿ || <code><nowiki><pages index="ವಾಗರ್ಥ_ಗೌರವ.pdf" include=5 /></nowiki></code>
|-
| <code><nowiki><pages index="filename" from="X" to="Y" header="1" /></nowiki></code> || ಹಲವು ಪುಟಗಳ ಕನ್ನಡಿ ಪ್ರತಿ || <code><nowiki><pages index="ವಾಗರ್ಥ_ಗೌರವ.pdf" from=1 to=83 /></nowiki></code>
|-
| <code><nowiki>{{featured download|pagename={{PAGENAME}}|pdf={{PAGENAME}}.pdf}}</nowiki></code> || PDF ಮತ್ತು ಇತರ ಸ್ವರೂಪಗಳಲ್ಲಿ ರಫ್ತು || <code><nowiki>{{featured download|pagename=ವಾಗರ್ಥ ಗೌರವ|pdf=ವಾಗರ್ಥ_ಗೌರವ.pdf}}</nowiki></code>
|-
| <code><nowiki>{{ppb}}</nowiki></code> || ಎರಡು ಪುಟಗಳ ನಡುವೆ ಪುಟ ವಿರಾಮ || <pre><pages index="file.pdf" include=1 />
{{ppb}}
<pages index="file.pdf" include=2 /></pre>
|}
|exercise =
ನೀವು ಹಿಂದಿನ ಪಾಠದಲ್ಲಿ ಪ್ರೂಫ್ ರೀಡ್ ಮಾಡಿದ 3 ಪುಟಗಳನ್ನು ತೆಗೆದುಕೊಳ್ಳಿ. ಅವುಗಳನ್ನು:
1. ಮತ್ತೊಬ್ಬ ಸಂಪಾದಕರಾಗಿ ಪರಿಶೀಲಿಸಿ (ನೀವೇ ಪುನಃ ಓದಿ)
2. ಸರಿಯಾಗಿದ್ದರೆ Validated ಸ್ಥಿತಿಗೆ ಬದಲಾಯಿಸಿ
3. ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ ಹೊಸ ಪುಟ ರಚಿಸಿ ಮತ್ತು <code><nowiki><pages></nowiki></code> ಟ್ಯಾಗ್ ಬಳಸಿ ಪುಟಗಳನ್ನು ಸೇರಿಸಿ
}}
7kho1fzg5ugknnl5cabl1yx8h7j7pyq
282564
282441
2026-04-03T05:46:49Z
A826
6806
282564
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|title = ಹಂತ 3: ಮೌಲ್ಯೀಕರಣ (Validation) ಮತ್ತು ಟ್ರಾನ್ಸ್ಕ್ಲೂಷನ್
|content =
== ಮೌಲ್ಯೀಕರಿಸುವುದು / ವ್ಯಾಲಿಡೇಟ್ ಮಾಡುವುದು ==
'''ಸಹಾಯ ಪುಟ:''' [[Help:Beginner's guide to validation|Beginner's guide to Validation]]
<table class="wikitable">
<tr>
<td>ಸಂಪಾದನೆ ವಿಂಡೋ ಅಡಿಯಲ್ಲಿ ಸ್ಥಿತಿಗಳನ್ನು ಸೂಚಿಸುವ ಬಟನ್ಗಳನ್ನು ನೀವು ಕಾಣಬಹುದು. ಹಿಂದಿನ ಕೊಡುಗೆದಾರರು ಈಗಾಗಲೇ ಪುಟವನ್ನು ಪ್ರೂಫ್ ರೀಡ್ ಮಾಡಿದ್ದರೆ, ಅದು ಈ ಕೆಳಗಿನಂತೆ ಕಾಣಿಸಿಕೊಳ್ಳುತ್ತದೆ.</td>
</tr>
<tr>
<td>[[File:Wikisource page proofread buttons.png|200px|left|ಐದು ಗುಂಡಿಗಳು]]</td>
</tr>
</table>
'''ಮೌಲ್ಯೀಕರಣ ಹಂತಗಳು:'''
# ಪುಟವನ್ನು ಎಚ್ಚರಿಕೆಯಿಂದ ಪುನಃ ಓದಿ
# ಪ್ರೂಫ್ ರೀಡ್ ಮಾಡಿದ ಪಠ್ಯವು ಸ್ಕ್ಯಾನ್ ಪ್ರತಿಗೆ 100% ಹೊಂದಿಕೆಯಾಗುತ್ತದೆಯೇ ಎಂದು ಪರಿಶೀಲಿಸಿ
# ಸರಿಯಾಗಿದ್ದರೆ, '''Validated''' (ಹಸಿರು) ಬಟನ್ ಕ್ಲಿಕ್ ಮಾಡಿ
# ತಪ್ಪುಗಳಿದ್ದರೆ, ಅವುಗಳನ್ನು ಸರಿಪಡಿಸಿ ಮತ್ತು Proofread ಸ್ಥಿತಿಯಲ್ಲೇ ಬಿಡಿ
== 🔧 ಮೌಲ್ಯೀಕರಣದ ನಂತರ ಮುಕ್ತಾಯದ ಸ್ಪರ್ಶಗಳು ==
=== ಪರಿವಿಡಿ ಪುಟಗಳನ್ನು ಪೂರ್ಣಗೊಳಿಸುವುದು ===
<code><nowiki><pagelist></nowiki></code> ಉದಾಹರಣೆಗಳು:
<gallery heights="300px" widths="300px">
File:Index pagelist preview 1.PNG
File:Index pagelist preview 2.PNG
</gallery>
=== ಪರಿವಿಡಿ (Table of Contents) ರಚನೆ ===
ಪರಿವಿಡಿಯನ್ನು ಸಾಮಾನ್ಯವಾಗಿ <code><nowiki>{{#lst:pagename.pdf/12}}</nowiki></code> ಉಪಯೋಗಿಸಿ ರಚಿಸಬಹುದು.
<table class="wikitable">
<tr>
<th>ಪರಿವಿಡಿ ಇರುವ ಪುಟ</th>
<th>ಬಳಸಬೇಕಾಗಿರುವ ವಾಕ್ಯ</th>
</tr>
<tr>
<td>[[ಪುಟ:ಕನ್ನಡದ ಬಾವುಟ.djvu/೧೦೩]]</td>
<td><code><nowiki>{{#lst:ಪುಟ:ಕನ್ನಡದ ಬಾವುಟ.djvu/೧೦೩}}</nowiki></code></td>
</tr>
</table>
== ಟ್ರಾನ್ಸ್ಕ್ಲುಷನ್ (Transclusion) ==
ಪುಟ ಮೌಲ್ಯೀಕರಿಸಿದ ನಂತರ ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ ಪುಸ್ತಕದ ಕನ್ನಡಿ ಪ್ರತಿಯನ್ನು ಸೇರಿಸಬೇಕು.
'''ಸಹಾಯ ಪುಟಗಳು:'''
* [[ಸಹಾಯ:Beginner's_guide_to_transclusion]]
* [[ಸಹಾಯ:Transclusion]]
=== ಟ್ರಾನ್ಸ್ಕ್ಲೂಷನ್ ಪರಿಕರಗಳು ===
<table class="wikitable" style="width: 100%;">
<tr>
<th>ಕೋಡ್</th>
<th>ವಿವರಣೆ</th>
<th>ಉದಾಹರಣೆ</th>
</tr>
<tr>
<td><code><nowiki><pages index="filename" include="X" header="1" /></nowiki></code></td>
<td>ಒಂದು ಪುಟದ ಕನ್ನಡಿ ಪ್ರತಿ</td>
<td><code><nowiki><pages index="ವಾಗರ್ಥ_ಗೌರವ.pdf" include=5 /></nowiki></code></td>
</tr>
<tr>
<td><code><nowiki><pages index="filename" from="X" to="Y" header="1" /></nowiki></code></td>
<td>ಹಲವು ಪುಟಗಳ ಕನ್ನಡಿ ಪ್ರತಿ</td>
<td><code><nowiki><pages index="ವಾಗರ್ಥ_ಗೌರವ.pdf" from=1 to=83 /></nowiki></code></td>
</tr>
<tr>
<td><code><nowiki>{{featured download|pagename={{PAGENAME}}|pdf={{PAGENAME}}.pdf}}</nowiki></code></td>
<td>PDF ಮತ್ತು ಇತರ ಸ್ವರೂಪಗಳಲ್ಲಿ ರಫ್ತು</td>
<td><code><nowiki>{{featured download|pagename=ವಾಗರ್ಥ ಗೌರವ|pdf=ವಾಗರ್ಥ_ಗೌರವ.pdf}}</nowiki></code></td>
</tr>
<tr>
<td><code><nowiki>{{ppb}}</nowiki></code></td>
<td>ಎರಡು ಪುಟಗಳ ನಡುವೆ ಪುಟ ವಿರಾಮ</td>
<td><pre><pages index="file.pdf" include=1 />
{{ppb}}
<pages index="file.pdf" include=2 /></pre></td>
</tr>
</table>
|exercise =
ನೀವು ಹಿಂದಿನ ಪಾಠದಲ್ಲಿ ಪ್ರೂಫ್ ರೀಡ್ ಮಾಡಿದ 3 ಪುಟಗಳನ್ನು ತೆಗೆದುಕೊಳ್ಳಿ. ಅವುಗಳನ್ನು:
1. ಮತ್ತೊಬ್ಬ ಸಂಪಾದಕರಾಗಿ ಪರಿಶೀಲಿಸಿ (ನೀವೇ ಪುನಃ ಓದಿ)
2. ಸರಿಯಾಗಿದ್ದರೆ Validated ಸ್ಥಿತಿಗೆ ಬದಲಾಯಿಸಿ
3. ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ ಹೊಸ ಪುಟ ರಚಿಸಿ ಮತ್ತು <code><nowiki><pages></nowiki></code> ಟ್ಯಾಗ್ ಬಳಸಿ ಪುಟಗಳನ್ನು ಸೇರಿಸಿ
}}
6chgkyeo4qh2wj4ev0ezha5f49l3qky
ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/4
12
100794
282429
2026-04-03T03:35:34Z
A826
6806
ಹೊಸ ಪುಟ: {{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ |contents = == ಹಂತ 4: ವಿಕಿಡಾಟ (Wikidata) ಸಂಪರ್ಕ == ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿರುವ ಪ್ರತಿಯೊಂದು ಪುಸ್ತಕ ಮತ್ತು ಲೇಖಕರು '''ವಿಕಿಡಾಟ''' (wikidata.org) ನಲ್ಲಿ ಒಂದು ಐಟಂ ಅನ್ನು ಹೊಂದಿರಬೇಕು. ಇದು ಎಲ್ಲಾ ವಿಕಿಮೀಡಿಯ ಯೋಜನ...
282429
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|contents =
== ಹಂತ 4: ವಿಕಿಡಾಟ (Wikidata) ಸಂಪರ್ಕ ==
ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿರುವ ಪ್ರತಿಯೊಂದು ಪುಸ್ತಕ ಮತ್ತು ಲೇಖಕರು '''ವಿಕಿಡಾಟ''' (wikidata.org) ನಲ್ಲಿ ಒಂದು ಐಟಂ ಅನ್ನು ಹೊಂದಿರಬೇಕು. ಇದು ಎಲ್ಲಾ ವಿಕಿಮೀಡಿಯ ಯೋಜನೆಗಳಲ್ಲಿ ಮಾಹಿತಿಯನ್ನು ಸಂಪರ್ಕಿಸುತ್ತದೆ.
=== ಪುಸ್ತಕಕ್ಕಾಗಿ ಎರಡು ಐಟಂಗಳು ===
ಪ್ರತಿ ಪುಸ್ತಕಕ್ಕೂ '''ಎರಡು''' ವಿಕಿಡಾಟ ಐಟಂಗಳು ಬೇಕಾಗುತ್ತವೆ:
| ಐಟಂ ಪ್ರಕಾರ | ವಿವರಣೆ | ಉದಾಹರಣೆ |
|-------------|---------|-----------|
| '''Work item''' | ಪುಸ್ತಕದ ಮೂಲ ಕೃತಿ (ಕರ್ತೃ, ಭಾಷೆ, ಪ್ರಕಟಣಾ ವರ್ಷ) | ಮೂಲ ಕನ್ನಡ ಕಾದಂಬರಿ |
| '''Edition item''' | ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿರುವ ನಿರ್ದಿಷ್ಟ ಆವೃತ್ತಿ (PDF, ಸ್ಕ್ಯಾನ್, Index ಪುಟ) | 1922ರ ಮುದ್ರಣದ ಸ್ಕ್ಯಾನ್ |
=== ಹಂತ 1: Work item ರಚಿಸುವುದು ===
# [https://www.wikidata.org/wiki/Special:NewItem wikidata.org/wiki/Special:NewItem] ಗೆ ಹೋಗಿ.
# ಈ ಮಾಹಿತಿಯನ್ನು ಭರ್ತಿ ಮಾಡಿ:
{| class="wikitable"
! ಕ್ಷೇತ್ರ !! ನಮೂದು
|-
| '''Label (en)''' || ಪುಸ್ತಕದ ಇಂಗ್ಲಿಷ್ ಶೀರ್ಷಿಕೆ
|-
| '''Label (kn)''' || ಪುಸ್ತಕದ ಕನ್ನಡ ಶೀರ್ಷಿಕೆ
|-
| '''Description (en)''' || ''book by [author name]'' (ಉದಾ: "book by Kuvempu")
|-
| '''Description (kn)''' || ಕನ್ನಡ ವಿವರಣೆ
|}
# '''Instance of (P31)''' → '''written work''' ಸೇರಿಸಿ.
# '''author (P50)''' → ಲೇಖಕರ ಐಟಂ ಸೇರಿಸಿ (ಲೇಖಕರ ಐಟಂ ಮೊದಲೇ ರಚಿಸಿರಬೇಕು).
# '''language of work or name (P407)''' → '''Kannada''' ಸೇರಿಸಿ.
# '''title (P1476)''' → ಪುಸ್ತಕದ ಶೀರ್ಷಿಕೆ ಸೇರಿಸಿ.
=== ಹಂತ 2: Edition item ರಚಿಸುವುದು ===
# ಮತ್ತೆ '''Special:NewItem''' ಗೆ ಹೋಗಿ.
# '''Label''': ಅದೇ ಶೀರ್ಷಿಕೆ + ಆವೃತ್ತಿ ವಿವರ (ಉದಾ: "Mookajjiya Kanasugalu - 1922 edition")
# '''Description''': "Kannada Wikisource scan" ಅಥವಾ "digitised version of 1922 print"
# '''Instance of (P31)''' → '''version, edition or translation''' ಸೇರಿಸಿ.
# '''edition or translation of (P629)''' → ನೀವು ಮೇಲೆ ರಚಿಸಿದ '''Work item''' ನ ಕೋಡ್ ಸೇರಿಸಿ.
# '''Wikisource index page URL (P1957)''' → ನಿಮ್ಮ Index ಪುಟದ ಪೂರ್ಣ URL ಸೇರಿಸಿ.
# '''document file on Wikimedia Commons (P996)''' → Commons ನಲ್ಲಿರುವ PDF/DJVU ಫೈಲ್ ಹೆಸರು ಸೇರಿಸಿ.
# '''language (P407)''' → '''Kannada''' ಸೇರಿಸಿ.
=== ಲೇಖಕರ ಐಟಂ ರಚಿಸುವುದು ===
ಲೇಖಕರಿಗೆ ಈ ಗುಣಲಕ್ಷಣಗಳು ಅಗತ್ಯ:
* '''instance of (P31)''' → '''human'''
* '''occupation (P106)''' → '''writer'''
* '''date of birth (P569)''' (ತಿಳಿದಿದ್ದರೆ)
* '''date of death (P570)''' (ತಿಳಿದಿದ್ದರೆ)
* '''country of citizenship (P27)'''
* '''native language (P103)''' → '''Kannada'''
* '''Wikimedia username (P4174)''' → ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿ ನಿಮ್ಮ ಹೆಸರು (ಐಚ್ಛಿಕ)
=== ಪರಿಶೀಲನಾಪಟ್ಟಿ ===
ನಿಮ್ಮ ಪುಸ್ತಕ ಸಂಪೂರ್ಣವಾಗಿ ವಿಕಿಡಾಟಕ್ಕೆ ಸಂಪರ್ಕಗೊಂಡಿದೆಯೇ ಎಂದು ಖಚಿತಪಡಿಸಿಕೊಳ್ಳಿ:
* [ ] Work item ರಚಿಸಲಾಗಿದೆ
* [ ] Edition item ರಚಿಸಲಾಗಿದೆ
* [ ] Work ↔ Edition ಸಂಪರ್ಕವಿದೆ (P629)
* [ ] Index ಪುಟ URL ಸೇರಿದೆ (P1957)
* [ ] Commons ಫೈಲ್ ಸೇರಿದೆ (P996)
* [ ] ಲೇಖಕರ ಐಟಂ ರಚಿಸಲಾಗಿದೆ
* [ ] ಲೇಖಕರು ↔ Work item ಸಂಪರ್ಕವಿದೆ (P50)
|exercise =
ನೀವು ಈವರೆಗೆ ಕೆಲಸ ಮಾಡಿದ ಪುಸ್ತಕಕ್ಕಾಗಿ Wikidata ನಲ್ಲಿ Work item ಮತ್ತು Edition item ಅನ್ನು ರಚಿಸಿ. Index ಪುಟದಲ್ಲಿ ಅದರ ವಿಕಿಡಾಟ ಕೋಡ್ ಅನ್ನು <code><nowiki>[[d:XXXXXX]]</nowiki></code> ರೂಪದಲ್ಲಿ ಸೇರಿಸಿ.
}}
d1v6c34sj40pso1mkmrj8n85n1zq9q5
282442
282429
2026-04-03T04:52:30Z
A826
6806
282442
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|title = ಹಂತ 4: ವಿಕಿಡಾಟ (Wikidata) ಸಂಪರ್ಕ
|contents =
== 🪙 ವಿಕಿಡಾಟ ಪರಿಚಯ ==
<div style="background: #ffcccc; padding: 10px; border-left: 4px solid #c00; margin: 15px 0;">
'''⚠️ ಪ್ರಮುಖ:''' ಮೊದಲಿಗೆ ಪುಸ್ತಕ/ವಿಕಿಡಾಟ ವಸ್ತು ಈಗಾಗಲೇ ಅಸ್ತಿತ್ವದಲ್ಲಿದೆಯೇ ಎಂದು ಪರಿಶೀಲಿಸಿ!
</div>
ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿರುವ ಪ್ರತಿಯೊಂದು ಪುಸ್ತಕ ಮತ್ತು ಲೇಖಕರು '''ವಿಕಿಡಾಟ''' (wikidata.org) ನಲ್ಲಿ ಒಂದು ಐಟಂ ಹೊಂದಿರಬೇಕು.
== 👤 ಕರ್ತೃ (Author) ವಿಕಿಡಾಟ ==
'''ಸಹಾಯ ಪುಟಗಳು:'''
* [[:wikidata:Help:Items]]
* [[:wikidata:Help:Statements]]
* [[:wikidata:Wikidata:Living people]]
=== ಹಂತ 1: ಹೊಸ ಐಟಂ ರಚಿಸಿ ===
{| class="wikitable"
|+ ವಿಕಿಡಾಟ ಮುಖ್ಯ ಪುಟಕ್ಕೆ ಹೋಗಿ "Create a new Item" ಕ್ಲಿಕ್ ಮಾಡಿ ([[:wikidata:Special:NewItem]])
! ಕ್ಷೇತ್ರ !! ನಮೂದು
|-
| '''Label''' || ಲೇಖಕರ ಹೆಸರು (ಉದಾ: "ಕುವೆಂಪು")
|-
| '''Description''' || ಸಣ್ಣ ವಿವರಣೆ (ಉದಾ: "ಕನ್ನಡದ ಪ್ರಸಿದ್ಧ ಕವಿ ಮತ್ತು ಲೇಖಕ")
|-
| '''Alias''' || ಪರ್ಯಾಯ ಹೆಸರುಗಳು (ಐಚ್ಛಿಕ)
|}
=== ಹಂತ 2: ಹೇಳಿಕೆಗಳನ್ನು (Statements) ಸೇರಿಸಿ ===
{| class="wikitable"
|+ ಸಾಮಾನ್ಯ ಗುಣಲಕ್ಷಣಗಳು
! ಗುಣಲಕ್ಷಣ !! ಮೌಲ್ಯ
|-
| Instance of (P31) || Human (ಅಥವಾ Writer)
|-
| Occupation (P106) || Writer (ಅಥವಾ ಹೆಚ್ಚು ನಿರ್ದಿಷ್ಟ)
|-
| Date of Birth (P569) || ಜನ್ಮ ದಿನಾಂಕ (ತಿಳಿದಿದ್ದರೆ)
|-
| Date of Death (P570) || ಮರಣ ದಿನಾಂಕ (ತಿಳಿದಿದ್ದರೆ)
|-
| Nationality (P27) || ರಾಷ್ಟ್ರೀಯತೆ
|-
| Works (P800) || ಲೇಖಕರ ಮಹತ್ವದ ಕೃತಿಗಳಿಗೆ ಲಿಂಕ್
|}
<div style="background: #ffcccc; padding: 10px; border-left: 4px solid #c00; margin: 15px 0;">
'''⚠️ ಇತರ ಯೋಜನೆಗಳಿಗೆ ಲಿಂಕ್:''' ಲೇಖಕರು ವಿಕಿಪೀಡಿಯಾ ಅಥವಾ ಇತರ ಸಹೋದರ ಯೋಜನೆಗಳಲ್ಲಿ ಲೇಖನಗಳನ್ನು ಹೊಂದಿದ್ದರೆ, ಆ ಲಿಂಕ್ಗಳನ್ನು "other Wikimedia" ಅಡಿಯಲ್ಲಿ ಸೇರಿಸಿ.
</div>
* {{ns:102}} ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ ಕರ್ತೃ/ಲೇಖಕರಿಗಾಗಿ ಪುಟವನ್ನು ರಚಿಸಿ.
* {{t|Author}} ಟೆಂಪ್ಲೇಟು ಬಳಸಿ ವಿವರ ಸೇರಿಸಿ. [[ಟೆಂಪ್ಲೇಟು:Author/doc#Usage_example]] ನೋಡಿ.
== 📚 ಪುಸ್ತಕದ ವಿಕಿಡಾಟ ==
'''ಸಹಾಯ ಪುಟಗಳು:'''
* [[:wikidata:Wikidata:WikiProject_Books]]
'''ಪ್ರಮುಖ:''' ಪುಸ್ತಕಗಳಿಗೆ '''ಎರಡು''' ವಿಕಿಡಾಟ ವಸ್ತುಗಳನ್ನು ರಚಿಸಬೇಕು:
{| class="wikitable" style="width: 100%;"
! Work Item !! Edition Item
|-
| ಶೀರ್ಷಿಕೆ ಕುರಿತು ವಿಕಿಡಾಟ ವಸ್ತು || ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿ ಉಪಯೋಗಿಸುವ ಪುಸ್ತಕದ ಅನುವಾದ/ಆವೃತ್ತಿ
|-
| [[:wikidata:Wikidata:WikiProject_Books#Work_item_properties]] || [[:wikidata:Wikidata:WikiProject_Books#Edition_item_properties]]
|}
=== ಹೊಸ ಐಟಂ ರಚಿಸಿ - ವಿವರಗಳು ===
{| class="wikitable" style="width: 100%;"
! ವಿವರ !! Work Item !! Edition Item
|-
| '''Label''' || colspan="2" style="text-align:center;" | ಪುಸ್ತಕದ ಹೆಸರು
|-
| '''Description''' || "book about [ವಿಷಯ]" (ಉದಾ: "book about Kannada literature") || "2020 edition of [ಪುಸ್ತಕದ ಹೆಸರು]" (ಗಮನ: ವಿಭಿನ್ನವಾಗಿರಬೇಕು!)
|-
| '''Instance of (P31)''' || written work || version, edition or translation
|-
| '''title (P1476)''' || colspan="2" style="text-align:center;" | ಪುಸ್ತಕದ ಶೀರ್ಷಿಕೆ
|-
| '''author (P50)''' || ಮುಖ್ಯ ಲೇಖಕ || ಅನುವಾದಕ/ಸಂಪಾದಕ
|-
| '''language (P407)''' || ಮೂಲ ಭಾಷೆ || ಆವೃತ್ತಿಯ ಭಾಷೆ
|-
| '''has edition or translation (P747)''' || Edition item ಕೋಡ್ || ಬೇಕಾಗಿಲ್ಲ
|-
| '''edition or translation of (P629)''' || ಬೇಕಾಗಿಲ್ಲ || Work item ಕೋಡ್
|-
| '''Wikisource index page URL (P1957)''' || ಬೇಕಾಗಿಲ್ಲ || Index ಪುಟದ ಪೂರ್ಣ URL
|-
| '''document file on Commons (P996)''' || ಬೇಕಾಗಿಲ್ಲ || Commons ನಲ್ಲಿನ ಕಡತದ ಲಿಂಕ್
|}
=== ಸ್ಥಳೀಯ ವಿಕಿಸೋರ್ಸ್ ಸಂಪರ್ಕ ===
ಸ್ಥಳೀಯ ವಿಕಿಸೋರ್ಸ್ ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ transclude ಮಾಡಿದ ಪುಟದ ಲಿಂಕ್ ಅನ್ನು "Wikisource" ವಿಭಾಗದಲ್ಲಿ ಸೇರಿಸಿ.
|exercise =
ನೀವು ಈವರೆಗೆ ಕೆಲಸ ಮಾಡಿದ ಪುಸ್ತಕಕ್ಕಾಗಿ:
1. Wikidata ನಲ್ಲಿ Work item ರಚಿಸಿ
2. Edition item ರಚಿಸಿ
3. ಎರಡನ್ನೂ ಸರಿಯಾಗಿ ಸಂಪರ್ಕಿಸಿ (P747 ಮತ್ತು P629)
4. Index ಪುಟದಲ್ಲಿ ವಿಕಿಡಾಟ ಕೋಡ್ ಅನ್ನು <code><nowiki>[[d:XXXXXX]]</nowiki></code> ರೂಪದಲ್ಲಿ ಸೇರಿಸಿ
5. Author item ರಚಿಸಿ ಮತ್ತು ಅದನ್ನು Work item ಗೆ ಸಂಪರ್ಕಿಸಿ
}}
jwoddojqyglrsv68hgrr5ask7698cy9
282565
282442
2026-04-03T05:53:51Z
A826
6806
282565
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|title = ಹಂತ 4: ವಿಕಿಡಾಟ (Wikidata) ಸಂಪರ್ಕ
|content =
== ವಿಕಿಡಾಟ ಪರಿಚಯ ==
<div style="background: #ffcccc; padding: 10px; border-left: 4px solid #c00; margin: 15px 0;">
<strong>ಪ್ರಮುಖ:</strong> ಮೊದಲಿಗೆ ಪುಸ್ತಕ/ವಿಕಿಡಾಟ ವಸ್ತು ಈಗಾಗಲೇ ಅಸ್ತಿತ್ವದಲ್ಲಿದೆಯೇ ಎಂದು ಪರಿಶೀಲಿಸಿ!
</div>
ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿರುವ ಪ್ರತಿಯೊಂದು ಪುಸ್ತಕ ಮತ್ತು ಲೇಖಕರು <strong>ವಿಕಿಡಾಟ</strong> (wikidata.org) ನಲ್ಲಿ ಒಂದು ಐಟಂ ಹೊಂದಿರಬೇಕು.
== ಕರ್ತೃ (Author) ವಿಕಿಡಾಟ ==
<strong>ಸಹಾಯ ಪುಟಗಳು:</strong>
<ul>
<li>[[:wikidata:Help:Items]]</li>
<li>[[:wikidata:Help:Statements]]</li>
<li>[[:wikidata:Wikidata:Living people]]</li>
</ul>
=== ಹಂತ 1: ಹೊಸ ಐಟಂ ರಚಿಸಿ ===
<table class="wikitable">
<caption>ವಿಕಿಡಾಟ ಮುಖ್ಯ ಪುಟಕ್ಕೆ ಹೋಗಿ "Create a new Item" ಕ್ಲಿಕ್ ಮಾಡಿ ([[:wikidata:Special:NewItem]])</caption>
<tr>
<th>ಕ್ಷೇತ್ರ</th>
<th>ನಮೂದು</th>
</tr>
<tr>
<td><strong>Label</strong></td>
<td>ಲೇಖಕರ ಹೆಸರು (ಉದಾ: "ಕುವೆಂಪು")</td>
</tr>
<tr>
<td><strong>Description</strong></td>
<td>ಸಣ್ಣ ವಿವರಣೆ (ಉದಾ: "ಕನ್ನಡದ ಪ್ರಸಿದ್ಧ ಕವಿ ಮತ್ತು ಲೇಖಕ")</td>
</tr>
<tr>
<td><strong>Alias</strong></td>
<td>ಪರ್ಯಾಯ ಹೆಸರುಗಳು (ಐಚ್ಛಿಕ)</td>
</tr>
</table>
=== ಹಂತ 2: ಹೇಳಿಕೆಗಳನ್ನು (Statements) ಸೇರಿಸಿ ===
<table class="wikitable">
<caption>ಸಾಮಾನ್ಯ ಗುಣಲಕ್ಷಣಗಳು</caption>
<tr>
<th>ಗುಣಲಕ್ಷಣ</th>
<th>ಮೌಲ್ಯ</th>
</tr>
<tr>
<td>Instance of (P31)</td>
<td>Human (ಅಥವಾ Writer)</td>
</tr>
<tr>
<td>Occupation (P106)</td>
<td>Writer (ಅಥವಾ ಹೆಚ್ಚು ನಿರ್ದಿಷ್ಟ)</td>
</tr>
<tr>
<td>Date of Birth (P569)</td>
<td>ಜನ್ಮ ದಿನಾಂಕ (ತಿಳಿದಿದ್ದರೆ)</td>
</tr>
<tr>
<td>Date of Death (P570)</td>
<td>ಮರಣ ದಿನಾಂಕ (ತಿಳಿದಿದ್ದರೆ)</td>
</tr>
<tr>
<td>Nationality (P27)</td>
<td>ರಾಷ್ಟ್ರೀಯತೆ</td>
</tr>
<tr>
<td>Works (P800)</td>
<td>ಲೇಖಕರ ಮಹತ್ವದ ಕೃತಿಗಳಿಗೆ ಲಿಂಕ್</td>
</tr>
</table>
<div style="background: #ffcccc; padding: 10px; border-left: 4px solid #c00; margin: 15px 0;">
<strong>ಇತರ ಯೋಜನೆಗಳಿಗೆ ಲಿಂಕ್:</strong> ಲೇಖಕರು ವಿಕಿಪೀಡಿಯಾ ಅಥವಾ ಇತರ ಸಹೋದರ ಯೋಜನೆಗಳಲ್ಲಿ ಲೇಖನಗಳನ್ನು ಹೊಂದಿದ್ದರೆ, ಆ ಲಿಂಕ್ಗಳನ್ನು "other Wikimedia" ಅಡಿಯಲ್ಲಿ ಸೇರಿಸಿ.
</div>
<ul>
<li>[[Special:MyLanguage/Help:Author page|ಲೇಖಕ]] ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ ಕರ್ತೃ/ಲೇಖಕರಿಗಾಗಿ ಪುಟವನ್ನು ರಚಿಸಿ.</li>
<li><code>{{Author}}</code> ಟೆಂಪ್ಲೇಟು ಬಳಸಿ ವಿವರ ಸೇರಿಸಿ. [[ಟೆಂಪ್ಲೇಟು:Author/doc#Usage_example]] ನೋಡಿ.</li>
</ul>
== ಪುಸ್ತಕದ ವಿಕಿಡಾಟ ==
<strong>ಸಹಾಯ ಪುಟಗಳು:</strong>
<ul>
<li>[[:wikidata:Wikidata:WikiProject_Books]]</li>
</ul>
<strong>ಪ್ರಮುಖ:</strong> ಪುಸ್ತಕಗಳಿಗೆ <strong>ಎರಡು</strong> ವಿಕಿಡಾಟ ವಸ್ತುಗಳನ್ನು ರಚಿಸಬೇಕು:
<table class="wikitable" style="width: 100%;">
<tr>
<th>Work Item</th>
<th>Edition Item</th>
</tr>
<tr>
<td>ಶೀರ್ಷಿಕೆ ಕುರಿತು ವಿಕಿಡಾಟ ವಸ್ತು</td>
<td>ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿ ಉಪಯೋಗಿಸುವ ಪುಸ್ತಕದ ಅನುವಾದ/ಆವೃತ್ತಿ</td>
</tr>
<tr>
<td>[[:wikidata:Wikidata:WikiProject_Books#Work_item_properties]]</td>
<td>[[:wikidata:Wikidata:WikiProject_Books#Edition_item_properties]]</td>
</tr>
</table>
=== ಹೊಸ ಐಟಂ ರಚಿಸಿ - ವಿವರಗಳು ===
<table class="wikitable" style="width: 100%;">
<tr>
<th>ವಿವರ</th>
<th>Work Item</th>
<th>Edition Item</th>
</tr>
<tr>
<td><strong>Label</strong></td>
<td colspan="2" style="text-align:center;">ಪುಸ್ತಕದ ಹೆಸರು</td>
</tr>
<tr>
<td><strong>Description</strong></td>
<td>"book about [ವಿಷಯ]" (ಉದಾ: "book about Kannada literature")</td>
<td>"2020 edition of [ಪುಸ್ತಕದ ಹೆಸರು]" (ಗಮನ: ವಿಭಿನ್ನವಾಗಿರಬೇಕು!)</td>
</tr>
<tr>
<td><strong>Instance of (P31)</strong></td>
<td>written work</td>
<td>version, edition or translation</td>
</tr>
<tr>
<td><strong>title (P1476)</strong></td>
<td colspan="2" style="text-align:center;">ಪುಸ್ತಕದ ಶೀರ್ಷಿಕೆ</td>
</tr>
<tr>
<td><strong>author (P50)</strong></td>
<td>ಮುಖ್ಯ ಲೇಖಕ</td>
<td>ಅನುವಾದಕ/ಸಂಪಾದಕ</td>
</tr>
<tr>
<td><strong>language (P407)</strong></td>
<td>ಮೂಲ ಭಾಷೆ</td>
<td>ಆವೃತ್ತಿಯ ಭಾಷೆ</td>
</tr>
<tr>
<td><strong>has edition or translation (P747)</strong></td>
<td>Edition item ಕೋಡ್</td>
<td>ಬೇಕಾಗಿಲ್ಲ</td>
</tr>
<tr>
<td><strong>edition or translation of (P629)</strong></td>
<td>ಬೇಕಾಗಿಲ್ಲ</td>
<td>Work item ಕೋಡ್</td>
</tr>
<tr>
<td><strong>Wikisource index page URL (P1957)</strong></td>
<td>ಬೇಕಾಗಿಲ್ಲ</td>
<td>Index ಪುಟದ ಪೂರ್ಣ URL</td>
</tr>
<tr>
<td><strong>document file on Commons (P996)</strong></td>
<td>ಬೇಕಾಗಿಲ್ಲ</td>
<td>Commons ನಲ್ಲಿನ ಕಡತದ ಲಿಂಕ್</td>
</tr>
</table>
=== ಸ್ಥಳೀಯ ವಿಕಿಸೋರ್ಸ್ ಸಂಪರ್ಕ ===
ಸ್ಥಳೀಯ ವಿಕಿಸೋರ್ಸ್ ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ transclude ಮಾಡಿದ ಪುಟದ ಲಿಂಕ್ ಅನ್ನು "Wikisource" ವಿಭಾಗದಲ್ಲಿ ಸೇರಿಸಿ.
|exercise =
ನೀವು ಈವರೆಗೆ ಕೆಲಸ ಮಾಡಿದ ಪುಸ್ತಕಕ್ಕಾಗಿ:
<ol>
<li>Wikidata ನಲ್ಲಿ Work item ರಚಿಸಿ</li>
<li>Edition item ರಚಿಸಿ</li>
<li>ಎರಡನ್ನೂ ಸರಿಯಾಗಿ ಸಂಪರ್ಕಿಸಿ (P747 ಮತ್ತು P629)</li>
<li>Index ಪುಟದಲ್ಲಿ ವಿಕಿಡಾಟ ಕೋಡ್ ಅನ್ನು <code>[[d:XXXXXX]]</code> ರೂಪದಲ್ಲಿ ಸೇರಿಸಿ</li>
<li>Author item ರಚಿಸಿ ಮತ್ತು ಅದನ್ನು Work item ಗೆ ಸಂಪರ್ಕಿಸಿ</li>
</ol>
}}
glkk54v91lsvy5697xs1h2hp5gf9pmm
282567
282565
2026-04-03T06:03:04Z
A826
6806
282567
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|title = ಹಂತ 4: ವಿಕಿಡಾಟ (Wikidata) ಸಂಪರ್ಕ
|content =
== ವಿಕಿಡಾಟ ಪರಿಚಯ ==
<div style="background: #ffcccc; padding: 10px; border-left: 4px solid #c00; margin: 15px 0;">
<strong>ಪ್ರಮುಖ:</strong> ಮೊದಲಿಗೆ ಪುಸ್ತಕ/ವಿಕಿಡಾಟ ವಸ್ತು ಈಗಾಗಲೇ ಅಸ್ತಿತ್ವದಲ್ಲಿದೆಯೇ ಎಂದು ಪರಿಶೀಲಿಸಿ!
</div>
ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿರುವ ಪ್ರತಿಯೊಂದು ಪುಸ್ತಕ ಮತ್ತು ಲೇಖಕರು <strong>ವಿಕಿಡಾಟ</strong> (wikidata.org) ನಲ್ಲಿ ಒಂದು ಐಟಂ ಹೊಂದಿರಬೇಕು.
== ಕರ್ತೃ (Author) ವಿಕಿಡಾಟ ==
<strong>ಸಹಾಯ ಪುಟಗಳು:</strong>
<ul>
<li>[[:wikidata:Help:Items]]</li>
<li>[[:wikidata:Help:Statements]]</li>
<li>[[:wikidata:Wikidata:Living people]]</li>
</ul>
=== ಹಂತ 1: ಹೊಸ ಐಟಂ ರಚಿಸಿ ===
<table class="wikitable">
<caption>ವಿಕಿಡಾಟ ಮುಖ್ಯ ಪುಟಕ್ಕೆ ಹೋಗಿ "Create a new Item" ಕ್ಲಿಕ್ ಮಾಡಿ ([[:wikidata:Special:NewItem]])</caption>
<tr>
<th>ಕ್ಷೇತ್ರ</th>
<th>ನಮೂದು</th>
</tr>
<tr>
<td><strong>Label</strong></td>
<td>ಲೇಖಕರ ಹೆಸರು (ಉದಾ: "ಕುವೆಂಪು")</td>
</tr>
<tr>
<td><strong>Description</strong></td>
<td>ಸಣ್ಣ ವಿವರಣೆ (ಉದಾ: "ಕನ್ನಡದ ಪ್ರಸಿದ್ಧ ಕವಿ ಮತ್ತು ಲೇಖಕ")</td>
</tr>
<tr>
<td><strong>Alias</strong></td>
<td>ಪರ್ಯಾಯ ಹೆಸರುಗಳು (ಐಚ್ಛಿಕ)</td>
</tr>
</table>
=== ಹಂತ 2: ಹೇಳಿಕೆಗಳನ್ನು (Statements) ಸೇರಿಸಿ ===
<table class="wikitable">
<caption>ಸಾಮಾನ್ಯ ಗುಣಲಕ್ಷಣಗಳು</caption>
<tr>
<th>ಗುಣಲಕ್ಷಣ</th>
<th>ಮೌಲ್ಯ</th>
</tr>
<tr>
<td>Instance of (P31)</td>
<td>Human (ಅಥವಾ Writer)</td>
</tr>
<tr>
<td>Occupation (P106)</td>
<td>Writer (ಅಥವಾ ಹೆಚ್ಚು ನಿರ್ದಿಷ್ಟ)</td>
</tr>
<tr>
<td>Date of Birth (P569)</td>
<td>ಜನ್ಮ ದಿನಾಂಕ (ತಿಳಿದಿದ್ದರೆ)</td>
</tr>
<tr>
<td>Date of Death (P570)</td>
<td>ಮರಣ ದಿನಾಂಕ (ತಿಳಿದಿದ್ದರೆ)</td>
</tr>
<tr>
<td>Nationality (P27)</td>
<td>ರಾಷ್ಟ್ರೀಯತೆ</td>
</tr>
<tr>
<td>Works (P800)</td>
<td>ಲೇಖಕರ ಮಹತ್ವದ ಕೃತಿಗಳಿಗೆ ಲಿಂಕ್</td>
</tr>
</table>
<div style="background: #ffcccc; padding: 10px; border-left: 4px solid #c00; margin: 15px 0;">
<strong>ಇತರ ಯೋಜನೆಗಳಿಗೆ ಲಿಂಕ್:</strong> ಲೇಖಕರು ವಿಕಿಪೀಡಿಯಾ ಅಥವಾ ಇತರ ಸಹೋದರ ಯೋಜನೆಗಳಲ್ಲಿ ಲೇಖನಗಳನ್ನು ಹೊಂದಿದ್ದರೆ, ಆ ಲಿಂಕ್ಗಳನ್ನು "other Wikimedia" ಅಡಿಯಲ್ಲಿ ಸೇರಿಸಿ.
</div>
<ul>
<li>[[Special:MyLanguage/Help:Author page|ಲೇಖಕ]] ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ ಕರ್ತೃ/ಲೇಖಕರಿಗಾಗಿ ಪುಟವನ್ನು ರಚಿಸಿ.</li>
<li><code>{{t|Author}}</code> ಟೆಂಪ್ಲೇಟು ಬಳಸಿ ವಿವರ ಸೇರಿಸಿ. [[ಟೆಂಪ್ಲೇಟು:Author/doc#Usage_example]] ನೋಡಿ.</li>
</ul>
== ಪುಸ್ತಕದ ವಿಕಿಡಾಟ ==
<strong>ಸಹಾಯ ಪುಟಗಳು:</strong>
<ul>
<li>[[:wikidata:Wikidata:WikiProject_Books]]</li>
</ul>
<strong>ಪ್ರಮುಖ:</strong> ಪುಸ್ತಕಗಳಿಗೆ <strong>ಎರಡು</strong> ವಿಕಿಡಾಟ ವಸ್ತುಗಳನ್ನು ರಚಿಸಬೇಕು:
<table class="wikitable" style="width: 100%;">
<tr>
<th>Work Item</th>
<th>Edition Item</th>
</tr>
<tr>
<td>ಶೀರ್ಷಿಕೆ ಕುರಿತು ವಿಕಿಡಾಟ ವಸ್ತು</td>
<td>ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿ ಉಪಯೋಗಿಸುವ ಪುಸ್ತಕದ ಅನುವಾದ/ಆವೃತ್ತಿ</td>
</tr>
<tr>
<td>[[:wikidata:Wikidata:WikiProject_Books#Work_item_properties]]</td>
<td>[[:wikidata:Wikidata:WikiProject_Books#Edition_item_properties]]</td>
</tr>
</table>
=== ಹೊಸ ಐಟಂ ರಚಿಸಿ - ವಿವರಗಳು ===
<table class="wikitable" style="width: 100%;">
<tr>
<th>ವಿವರ</th>
<th>Work Item</th>
<th>Edition Item</th>
</tr>
<tr>
<td><strong>Label</strong></td>
<td colspan="2" style="text-align:center;">ಪುಸ್ತಕದ ಹೆಸರು</td>
</tr>
<tr>
<td><strong>Description</strong></td>
<td>"book about [ವಿಷಯ]" (ಉದಾ: "book about Kannada literature")</td>
<td>"2020 edition of [ಪುಸ್ತಕದ ಹೆಸರು]" (ಗಮನ: ವಿಭಿನ್ನವಾಗಿರಬೇಕು!)</td>
</tr>
<tr>
<td><strong>Instance of (P31)</strong></td>
<td>written work</td>
<td>version, edition or translation</td>
</tr>
<tr>
<td><strong>title (P1476)</strong></td>
<td colspan="2" style="text-align:center;">ಪುಸ್ತಕದ ಶೀರ್ಷಿಕೆ</td>
</tr>
<tr>
<td><strong>author (P50)</strong></td>
<td>ಮುಖ್ಯ ಲೇಖಕ</td>
<td>ಅನುವಾದಕ/ಸಂಪಾದಕ</td>
</tr>
<tr>
<td><strong>language (P407)</strong></td>
<td>ಮೂಲ ಭಾಷೆ</td>
<td>ಆವೃತ್ತಿಯ ಭಾಷೆ</td>
</tr>
<tr>
<td><strong>has edition or translation (P747)</strong></td>
<td>Edition item ಕೋಡ್</td>
<td>ಬೇಕಾಗಿಲ್ಲ</td>
</tr>
<tr>
<td><strong>edition or translation of (P629)</strong></td>
<td>ಬೇಕಾಗಿಲ್ಲ</td>
<td>Work item ಕೋಡ್</td>
</tr>
<tr>
<td><strong>Wikisource index page URL (P1957)</strong></td>
<td>ಬೇಕಾಗಿಲ್ಲ</td>
<td>Index ಪುಟದ ಪೂರ್ಣ URL</td>
</tr>
<tr>
<td><strong>document file on Commons (P996)</strong></td>
<td>ಬೇಕಾಗಿಲ್ಲ</td>
<td>Commons ನಲ್ಲಿನ ಕಡತದ ಲಿಂಕ್</td>
</tr>
</table>
=== ಸ್ಥಳೀಯ ವಿಕಿಸೋರ್ಸ್ ಸಂಪರ್ಕ ===
ಸ್ಥಳೀಯ ವಿಕಿಸೋರ್ಸ್ ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ transclude ಮಾಡಿದ ಪುಟದ ಲಿಂಕ್ ಅನ್ನು "Wikisource" ವಿಭಾಗದಲ್ಲಿ ಸೇರಿಸಿ.
|exercise =
ನೀವು ಈವರೆಗೆ ಕೆಲಸ ಮಾಡಿದ ಪುಸ್ತಕಕ್ಕಾಗಿ:
<ol>
<li>Wikidata ನಲ್ಲಿ Work item ರಚಿಸಿ</li>
<li>Edition item ರಚಿಸಿ</li>
<li>ಎರಡನ್ನೂ ಸರಿಯಾಗಿ ಸಂಪರ್ಕಿಸಿ (P747 ಮತ್ತು P629)</li>
<li>Index ಪುಟದಲ್ಲಿ ವಿಕಿಡಾಟ ಕೋಡ್ ಅನ್ನು <code>[[d:XXXXXX]]</code> ರೂಪದಲ್ಲಿ ಸೇರಿಸಿ</li>
<li>Author item ರಚಿಸಿ ಮತ್ತು ಅದನ್ನು Work item ಗೆ ಸಂಪರ್ಕಿಸಿ</li>
</ol>
}}
e89asovdss5jhlx338xck7ikomt93zj
282578
282567
2026-04-03T11:34:20Z
A826
6806
282578
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|title = ಹಂತ 4: ವಿಕಿಡಾಟ (Wikidata) ಸಂಪರ್ಕ
|content =
== ವಿಕಿಡಾಟ ಪರಿಚಯ ==
<div style="background: #ffcccc; padding: 10px; border-left: 4px solid #c00; margin: 15px 0;">
<strong>ಪ್ರಮುಖ:</strong> ಮೊದಲಿಗೆ ಪುಸ್ತಕ/ವಿಕಿಡಾಟ ವಸ್ತು ಈಗಾಗಲೇ ಅಸ್ತಿತ್ವದಲ್ಲಿದೆಯೇ ಎಂದು ಪರಿಶೀಲಿಸಿ!
</div>
ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿರುವ ಪ್ರತಿಯೊಂದು ಪುಸ್ತಕ ಮತ್ತು ಲೇಖಕರು <strong>ವಿಕಿಡಾಟ</strong> (wikidata.org) ನಲ್ಲಿ ಒಂದು ಐಟಂ ಹೊಂದಿರಬೇಕು.
== ಕರ್ತೃ (Author) ವಿಕಿಡಾಟ ==
<strong>ಸಹಾಯ ಪುಟಗಳು:</strong>
<ul>
<li>[[:wikidata:Help:Items]]</li>
<li>[[:wikidata:Help:Statements]]</li>
<li>[[:wikidata:Wikidata:Living people]]</li>
</ul>
=== ಹಂತ 1: ಹೊಸ ಐಟಂ ರಚಿಸಿ ===
<table class="wikitable">
<caption>ವಿಕಿಡಾಟ ಮುಖ್ಯ ಪುಟಕ್ಕೆ ಹೋಗಿ "Create a new Item" ಕ್ಲಿಕ್ ಮಾಡಿ ([[:wikidata:Special:NewItem]])</caption>
<tr>
<th>ಕ್ಷೇತ್ರ</th>
<th>ನಮೂದು</th>
</tr>
<tr>
<td><strong>Label</strong></td>
<td>ಲೇಖಕರ ಹೆಸರು (ಉದಾ: "ಕುವೆಂಪು")</td>
</tr>
<tr>
<td><strong>Description</strong></td>
<td>ಸಣ್ಣ ವಿವರಣೆ (ಉದಾ: "ಕನ್ನಡದ ಪ್ರಸಿದ್ಧ ಕವಿ ಮತ್ತು ಲೇಖಕ")</td>
</tr>
<tr>
<td><strong>Alias</strong></td>
<td>ಪರ್ಯಾಯ ಹೆಸರುಗಳು (ಐಚ್ಛಿಕ)</td>
</tr>
</table>
=== ಹಂತ 2: ಹೇಳಿಕೆಗಳನ್ನು (Statements) ಸೇರಿಸಿ ===
<table class="wikitable">
<caption>ಸಾಮಾನ್ಯ ಗುಣಲಕ್ಷಣಗಳು</caption>
<tr>
<th>ಗುಣಲಕ್ಷಣ</th>
<th>ಮೌಲ್ಯ</th>
</tr>
<tr>
<td>Instance of (P31)</td>
<td>Human (ಅಥವಾ Writer)</td>
</tr>
<tr>
<td>Occupation (P106)</td>
<td>Writer (ಅಥವಾ ಹೆಚ್ಚು ನಿರ್ದಿಷ್ಟ)</td>
</tr>
<tr>
<td>Date of Birth (P569)</td>
<td>ಜನ್ಮ ದಿನಾಂಕ (ತಿಳಿದಿದ್ದರೆ)</td>
</tr>
<tr>
<td>Date of Death (P570)</td>
<td>ಮರಣ ದಿನಾಂಕ (ತಿಳಿದಿದ್ದರೆ)</td>
</tr>
<tr>
<td>Nationality (P27)</td>
<td>ರಾಷ್ಟ್ರೀಯತೆ</td>
</tr>
<tr>
<td>Works (P800)</td>
<td>ಲೇಖಕರ ಮಹತ್ವದ ಕೃತಿಗಳಿಗೆ ಲಿಂಕ್</td>
</tr>
</table>
<div style="background: #ffcccc; padding: 10px; border-left: 4px solid #c00; margin: 15px 0;">
<strong>ಇತರ ಯೋಜನೆಗಳಿಗೆ ಲಿಂಕ್:</strong> ಲೇಖಕರು ವಿಕಿಪೀಡಿಯಾ ಅಥವಾ ಇತರ ಸಹೋದರ ಯೋಜನೆಗಳಲ್ಲಿ ಲೇಖನಗಳನ್ನು ಹೊಂದಿದ್ದರೆ, ಆ ಲಿಂಕ್ಗಳನ್ನು "other Wikimedia" ಅಡಿಯಲ್ಲಿ ಸೇರಿಸಿ.
</div>
<ul>
<li>[[Special:MyLanguage/Help:Author page|ಲೇಖಕ]] ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ ಕರ್ತೃ/ಲೇಖಕರಿಗಾಗಿ ಪುಟವನ್ನು ರಚಿಸಿ.</li>
<li><code>{{t|Author}}</code> ಟೆಂಪ್ಲೇಟು ಬಳಸಿ ವಿವರ ಸೇರಿಸಿ. [[ಟೆಂಪ್ಲೇಟು:Author/doc#Usage_example]] ನೋಡಿ.</li>
</ul>
== ಪುಸ್ತಕದ ವಿಕಿಡಾಟ ==
<div style="max-width: 100%; overflow-x: auto; font-size: 14px; line-height: 1.5; margin: 0; padding: 0;">
<div style="background-color: #f8f9fa; border-radius: 8px; padding: 16px; margin-bottom: 20px; border-left: 4px solid #2196F3;">
<strong>ಸಹಾಯ ಪುಟಗಳು:</strong>
<ul>
<li>[[:wikidata:Wikidata:WikiProject_Books]]</li>
</ul>
<strong>ಪ್ರಮುಖ:</strong> ಪುಸ್ತಕಗಳಿಗೆ <strong>ಎರಡು</strong> ವಿಕಿಡಾಟ ವಸ್ತುಗಳನ್ನು ರಚಿಸಬೇಕು:
<table class="wikitable" style="width: 100%;">
<tr>
<th>Work Item</th>
<th>Edition Item</th>
</tr>
<tr>
<td>ಶೀರ್ಷಿಕೆ ಕುರಿತು ವಿಕಿಡಾಟ ವಸ್ತು</td>
<td>ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿ ಉಪಯೋಗಿಸುವ ಪುಸ್ತಕದ ಅನುವಾದ/ಆವೃತ್ತಿ</td>
</tr>
<tr>
<td>[[:wikidata:Wikidata:WikiProject_Books#Work_item_properties]]</td>
<td>[[:wikidata:Wikidata:WikiProject_Books#Edition_item_properties]]</td>
</tr>
</table>
</div>
<table style="width: 100%; border-collapse: collapse; background-color: #ffffff; border: 1px solid #aaa;">
<tr>
<th style="width: 28%; background-color: #4CAF50; color: white; padding: 10px; border: 1px solid #aaa; text-align: left; font-weight: bold;">ವಿವರ</th>
<th style="width: 36%; background-color: #4CAF50; color: white; padding: 10px; border: 1px solid #aaa; text-align: left; font-weight: bold;">work item</th>
<th style="width: 36%; background-color: #4CAF50; color: white; padding: 10px; border: 1px solid #aaa; text-align: left; font-weight: bold;">edition item</th>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">Label :</th>
<td colspan="2" style="border: 1px solid #aaa; padding: 10px; text-align: center;">ಪುಸ್ತಕದ ಹೆಸರನ್ನು ನಮೂದಿಸಿ (ಉದಾ., "ಜಾನ್ ಡೋ").</td>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">Description :<br> <span style="color: red;">ಇದು work item ಮತ್ತು edition item ಗಳಲ್ಲಿ ವಿಭಿನ್ನವಾಗಿರಬೇಕು, ಇಲ್ಲದಿದ್ದರೆ ಎರಡನೇ ಬಾರಿಗೆ ರಚಿಸುವ ವಸ್ತು ಉಳಿಸಲು ಆಗುವುದಿಲ್ಲ</span></th>
<td style="border: 1px solid #aaa; padding: 10px;">ಸಣ್ಣ ವಿವರಣೆಯನ್ನು ಒದಗಿಸಿ (ಉದಾ., "book about folklore").</td>
<td style="border: 1px solid #aaa; padding: 10px;">ಸಣ್ಣ ವಿವರಣೆಯನ್ನು ಒದಗಿಸಿ (ಉದಾ., "2020 book about folklore").</td>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">Alias :</th>
<td colspan="2" style="border: 1px solid #aaa; padding: 10px; text-align: center;">ಅನ್ವಯಿಸಿದರೆ ನೀವು ಪರ್ಯಾಯ ಹೆಸರುಗಳನ್ನು ಸೇರಿಸಬಹುದು.</td>
</tr>
<tr style="background-color: #e0e0e0;">
<th colspan="3" style="border: 1px solid #aaa; padding: 10px; text-align: center;">Help:Statements : ಸಂಬಂಧಿತ ಹೇಳಿಕೆಗಳನ್ನು ಸೇರಿಸಲು "add statement" ಕ್ಲಿಕ್ ಮಾಡಿ ಮತ್ತು ಪುಸ್ತಕದ ವಿವರಿಸುವ ಗುಣಲಕ್ಷಣಗಳನ್ನು ಸೇರಿಸಿ.
</th>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">Instance of (P31) :</th>
<td style="border: 1px solid #aaa; padding: 10px;">"written work" ಬಳಸಿ.</td>
<td style="border: 1px solid #aaa; padding: 10px;">version, edition or translation ಬಳಸಿ</td>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">title (P1476) :</th>
<td colspan="2" style="border: 1px solid #aaa; padding: 10px; text-align: center;">ಪುಸ್ತಕದ ಶೀರ್ಷಿಕೆ ಸೇರಿಸಿ</td>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">author (P50) :</th>
<td style="border: 1px solid #aaa; padding: 10px;">ಮುಖ್ಯ ರಚನಕಾರರ ಹೆಸರು ಸೇರಿಸಿ</td>
<td style="border: 1px solid #aaa; padding: 10px;">ಅನುವಾದ/ಆವೃತ್ತಿ ಯ ಲೇಖಕರ ಹೆಸರು ಸೇರಿಸಿ</td>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">language of work or name (P407) :</th>
<td style="border: 1px solid #aaa; padding: 10px;">ಮೂಲ ಪುಸ್ತಕದ ಸ್ಥಳೀಯ ಭಾಷೆಯ ಶೀರ್ಷಿಕೆ ಬಳಸಿ, ಇದರಲ್ಲಿ ನಿಮಗೆ ಯಾವ ಭಾಷೆಯಲ್ಲಿ ಪುಸ್ತಕವಿದೆ ಎಂದೂ ಕೇಳಲಾಗುತ್ತದೆ</td>
<td style="border: 1px solid #aaa; padding: 10px;">ಆವೃತ್ತಿಯ ಸ್ಥಳೀಯ ಭಾಷೆಯ ಶೀರ್ಷಿಕೆ ಬಳಸಿ, ಇದರಲ್ಲಿ ನಿಮಗೆ ಯಾವ ಭಾಷೆಯಲ್ಲಿ ಪುಸ್ತಕವಿದೆ ಎಂದೂ ಕೇಳಲಾಗುತ್ತದೆ</td>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">has edition or translation (P747) :</th>
<td style="border: 1px solid #aaa; padding: 10px;">ಅನುವಾದ/ಆವೃತ್ತಿ (edition item) ವಿಕಿಡಾಟ ವಸ್ತುವಿನ ಕೋಡ್ ಬಳಸಿ</td>
<td style="border: 1px solid #aaa; padding: 10px;"><span style="color: red;">ಬೇಕಾಗಿಲ್ಲ</span></td>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">edition or translation of (P629) :</th>
<td style="border: 1px solid #aaa; padding: 10px;"><span style="color: red;">ಬೇಕಾಗಿಲ್ಲ</span></td>
<td style="border: 1px solid #aaa; padding: 10px;">ಮುಖ್ಯ ಪುಸ್ತಕ(work item) ವಿಕಿಡಾಟ ವಸ್ತುವಿನ ಕೋಡ್ ಬಳಸಿ</td>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">Wikisource index page URL (P1957) :</th>
<td style="border: 1px solid #aaa; padding: 10px;"><span style="color: red;">ಬೇಕಾಗಿಲ್ಲ</span></td>
<td style="border: 1px solid #aaa; padding: 10px;">ವಿಕಿಸೋರ್ಸ್ ನಲ್ಲಿನ ಪರಿವಿಡಿ ಪುಟದ ಪೂರ್ಣ URL ಸೇರಿಸಿ</td>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">document file on Wikimedia Commons (P996) :</th>
<td style="border: 1px solid #aaa; padding: 10px;"><span style="color: red;">ಬೇಕಾಗಿಲ್ಲ</span></td>
<td style="border: 1px solid #aaa; padding: 10px;">commons ನಲ್ಲಿನ ಕಡತದ ಲಿಂಕ್ ಸೇರಿಸಿ</td>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">ಇತರ ಯೋಜನೆ</th>
<td style="border: 1px solid #aaa; padding: 10px;">
* ಪುಸ್ತಕ ವಿಕಿ ಅಥವಾ ಇತರ ಸಹೋದರ ಯೋಜನೆಗಳಲ್ಲಿ ಲೇಖನಗಳನ್ನು ಹೊಂದಿದ್ದರೆ, ನೀವು ಆ ಲಿಂಕ್ಗಳನ್ನು ಇತರ ವಿಕಿಮಿಡಿಯ (ಉದಾಹರಣೆಗೆ Wikipedia, Wikibooks, Wikinews, Wikiquote, <span style="color: red;">Wikisource ಹೊರತು ಪಡಿಸಿ</span>, Wikiversity, Wikivoyage, Wiktionary, Multilingual sites) ಅಡಿಯಲ್ಲಿ ಸೇರಿಸಬಹುದು.
</td>
<td style="border: 1px solid #aaa; padding: 10px;">ಸ್ಥಳೀಯ ವಿಕಿಸೋರ್ಸ್ ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ transclude ಮಾಡಿದ ಪುಟದ ಲಿಂಕ್ಅನ್ನು ವಿಕಿಸೋರ್ಸ್ ವಿಭಾಗದಲ್ಲಿ ಸೇರಿಸಿ</td>
</tr>
</table>
</div>
=== ಸ್ಥಳೀಯ ವಿಕಿಸೋರ್ಸ್ ಸಂಪರ್ಕ ===
ಸ್ಥಳೀಯ ವಿಕಿಸೋರ್ಸ್ ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ transclude ಮಾಡಿದ ಪುಟದ ಲಿಂಕ್ ಅನ್ನು "Wikisource" ವಿಭಾಗದಲ್ಲಿ ಸೇರಿಸಿ.
|exercise =
ನೀವು ಈವರೆಗೆ ಕೆಲಸ ಮಾಡಿದ ಪುಸ್ತಕಕ್ಕಾಗಿ:
<ol>
<li>Wikidata ನಲ್ಲಿ Work item ರಚಿಸಿ</li>
<li>Edition item ರಚಿಸಿ</li>
<li>ಎರಡನ್ನೂ ಸರಿಯಾಗಿ ಸಂಪರ್ಕಿಸಿ (P747 ಮತ್ತು P629)</li>
<li>Index ಪುಟದಲ್ಲಿ ವಿಕಿಡಾಟ ಕೋಡ್ ಅನ್ನು <code>[[d:XXXXXX]]</code> ರೂಪದಲ್ಲಿ ಸೇರಿಸಿ</li>
<li>Author item ರಚಿಸಿ ಮತ್ತು ಅದನ್ನು Work item ಗೆ ಸಂಪರ್ಕಿಸಿ</li>
</ol>
}}
nko65arvesqq9qatm3pl28ojsi4bbqj
282579
282578
2026-04-03T11:36:05Z
A826
6806
282579
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|title = ಹಂತ 4: ವಿಕಿಡಾಟ (Wikidata) ಸಂಪರ್ಕ
|content =
== ವಿಕಿಡಾಟ ಪರಿಚಯ ==
<div style="background: #ffcccc; padding: 10px; border-left: 4px solid #c00; margin: 15px 0;">
<strong>ಪ್ರಮುಖ:</strong> ಮೊದಲಿಗೆ ಪುಸ್ತಕ/ವಿಕಿಡಾಟ ವಸ್ತು ಈಗಾಗಲೇ ಅಸ್ತಿತ್ವದಲ್ಲಿದೆಯೇ ಎಂದು ಪರಿಶೀಲಿಸಿ!
</div>
ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿರುವ ಪ್ರತಿಯೊಂದು ಪುಸ್ತಕ ಮತ್ತು ಲೇಖಕರು <strong>ವಿಕಿಡಾಟ</strong> (wikidata.org) ನಲ್ಲಿ ಒಂದು ಐಟಂ ಹೊಂದಿರಬೇಕು.
== ಕರ್ತೃ (Author) ವಿಕಿಡಾಟ ==
<strong>ಸಹಾಯ ಪುಟಗಳು:</strong>
<ul>
<li>[[:wikidata:Help:Items]]</li>
<li>[[:wikidata:Help:Statements]]</li>
<li>[[:wikidata:Wikidata:Living people]]</li>
</ul>
=== ಹಂತ 1: ಹೊಸ ಐಟಂ ರಚಿಸಿ ===
<table class="wikitable">
<caption>ವಿಕಿಡಾಟ ಮುಖ್ಯ ಪುಟಕ್ಕೆ ಹೋಗಿ "Create a new Item" ಕ್ಲಿಕ್ ಮಾಡಿ ([[:wikidata:Special:NewItem]])</caption>
<tr>
<th>ಕ್ಷೇತ್ರ</th>
<th>ನಮೂದು</th>
</tr>
<tr>
<td><strong>Label</strong></td>
<td>ಲೇಖಕರ ಹೆಸರು (ಉದಾ: "ಕುವೆಂಪು")</td>
</tr>
<tr>
<td><strong>Description</strong></td>
<td>ಸಣ್ಣ ವಿವರಣೆ (ಉದಾ: "ಕನ್ನಡದ ಪ್ರಸಿದ್ಧ ಕವಿ ಮತ್ತು ಲೇಖಕ")</td>
</tr>
<tr>
<td><strong>Alias</strong></td>
<td>ಪರ್ಯಾಯ ಹೆಸರುಗಳು (ಐಚ್ಛಿಕ)</td>
</tr>
</table>
=== ಹಂತ 2: ಹೇಳಿಕೆಗಳನ್ನು (Statements) ಸೇರಿಸಿ ===
<table class="wikitable">
<caption>ಸಾಮಾನ್ಯ ಗುಣಲಕ್ಷಣಗಳು</caption>
<tr>
<th>ಗುಣಲಕ್ಷಣ</th>
<th>ಮೌಲ್ಯ</th>
</tr>
<tr>
<td>Instance of (P31)</td>
<td>Human (ಅಥವಾ Writer)</td>
</tr>
<tr>
<td>Occupation (P106)</td>
<td>Writer (ಅಥವಾ ಹೆಚ್ಚು ನಿರ್ದಿಷ್ಟ)</td>
</tr>
<tr>
<td>Date of Birth (P569)</td>
<td>ಜನ್ಮ ದಿನಾಂಕ (ತಿಳಿದಿದ್ದರೆ)</td>
</tr>
<tr>
<td>Date of Death (P570)</td>
<td>ಮರಣ ದಿನಾಂಕ (ತಿಳಿದಿದ್ದರೆ)</td>
</tr>
<tr>
<td>Nationality (P27)</td>
<td>ರಾಷ್ಟ್ರೀಯತೆ</td>
</tr>
<tr>
<td>Works (P800)</td>
<td>ಲೇಖಕರ ಮಹತ್ವದ ಕೃತಿಗಳಿಗೆ ಲಿಂಕ್</td>
</tr>
</table>
<div style="background: #ffcccc; padding: 10px; border-left: 4px solid #c00; margin: 15px 0;">
<strong>ಇತರ ಯೋಜನೆಗಳಿಗೆ ಲಿಂಕ್:</strong> ಲೇಖಕರು ವಿಕಿಪೀಡಿಯಾ ಅಥವಾ ಇತರ ಸಹೋದರ ಯೋಜನೆಗಳಲ್ಲಿ ಲೇಖನಗಳನ್ನು ಹೊಂದಿದ್ದರೆ, ಆ ಲಿಂಕ್ಗಳನ್ನು "other Wikimedia" ಅಡಿಯಲ್ಲಿ ಸೇರಿಸಿ.
</div>
<ul>
<li>[[Special:MyLanguage/Help:Author page|ಲೇಖಕ]] ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ ಕರ್ತೃ/ಲೇಖಕರಿಗಾಗಿ ಪುಟವನ್ನು ರಚಿಸಿ.</li>
<li><code>{{t|Author}}</code> ಟೆಂಪ್ಲೇಟು ಬಳಸಿ ವಿವರ ಸೇರಿಸಿ. [[ಟೆಂಪ್ಲೇಟು:Author/doc#Usage_example]] ನೋಡಿ.</li>
</ul>
== ಪುಸ್ತಕದ ವಿಕಿಡಾಟ ==
<div style="max-width: 100%; overflow-x: auto; font-size: 14px; line-height: 1.5; margin: 0; padding: 0;">
<div style="background-color: #f8f9fa; border-radius: 8px; padding: 16px; margin-bottom: 20px; border-left: 4px solid #2196F3;">
<strong>ಸಹಾಯ ಪುಟಗಳು:</strong>
<ul>
<li>[[:wikidata:Wikidata:WikiProject_Books]]</li>
</ul>
<strong>ಪ್ರಮುಖ:</strong> ಪುಸ್ತಕಗಳಿಗೆ <strong>ಎರಡು</strong> ವಿಕಿಡಾಟ ವಸ್ತುಗಳನ್ನು ರಚಿಸಬೇಕು:
<table class="wikitable" style="width: 100%;">
<tr>
<th>Work Item</th>
<th>Edition Item</th>
</tr>
<tr>
<td>ಶೀರ್ಷಿಕೆ ಕುರಿತು ವಿಕಿಡಾಟ ವಸ್ತು</td>
<td>ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿ ಉಪಯೋಗಿಸುವ ಪುಸ್ತಕದ ಅನುವಾದ/ಆವೃತ್ತಿ</td>
</tr>
<tr>
<td>[[:wikidata:Wikidata:WikiProject_Books#Work_item_properties]]</td>
<td>[[:wikidata:Wikidata:WikiProject_Books#Edition_item_properties]]</td>
</tr>
</table>
</div>
<table style="width: 100%; border-collapse: collapse; background-color: #ffffff; border: 1px solid #aaa;">
<tr>
<th style="width: 28%; background-color: #4CAF50; color: white; padding: 10px; border: 1px solid #aaa; text-align: left; font-weight: bold;">ವಿವರ</th>
<th style="width: 36%; background-color: #4CAF50; color: white; padding: 10px; border: 1px solid #aaa; text-align: left; font-weight: bold;">work item</th>
<th style="width: 36%; background-color: #4CAF50; color: white; padding: 10px; border: 1px solid #aaa; text-align: left; font-weight: bold;">edition item</th>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">Label :</th>
<td colspan="2" style="border: 1px solid #aaa; padding: 10px; text-align: center;">ಪುಸ್ತಕದ ಹೆಸರನ್ನು ನಮೂದಿಸಿ (ಉದಾ., "ಜಾನ್ ಡೋ").</td>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">Description :<br> <span style="color: red;">ಇದು work item ಮತ್ತು edition item ಗಳಲ್ಲಿ ವಿಭಿನ್ನವಾಗಿರಬೇಕು, ಇಲ್ಲದಿದ್ದರೆ ಎರಡನೇ ಬಾರಿಗೆ ರಚಿಸುವ ವಸ್ತು ಉಳಿಸಲು ಆಗುವುದಿಲ್ಲ</span></th>
<td style="border: 1px solid #aaa; padding: 10px;">ಸಣ್ಣ ವಿವರಣೆಯನ್ನು ಒದಗಿಸಿ (ಉದಾ., "book about folklore").</td>
<td style="border: 1px solid #aaa; padding: 10px;">ಸಣ್ಣ ವಿವರಣೆಯನ್ನು ಒದಗಿಸಿ (ಉದಾ., "2020 book about folklore").</td>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">Alias :</th>
<td colspan="2" style="border: 1px solid #aaa; padding: 10px; text-align: center;">ಅನ್ವಯಿಸಿದರೆ ನೀವು ಪರ್ಯಾಯ ಹೆಸರುಗಳನ್ನು ಸೇರಿಸಬಹುದು.</td>
</tr>
<tr style="background-color: #e0e0e0;">
<th colspan="3" style="border: 1px solid #aaa; padding: 10px; text-align: center;">Help:Statements : ಸಂಬಂಧಿತ ಹೇಳಿಕೆಗಳನ್ನು ಸೇರಿಸಲು "add statement" ಕ್ಲಿಕ್ ಮಾಡಿ ಮತ್ತು ಪುಸ್ತಕದ ವಿವರಿಸುವ ಗುಣಲಕ್ಷಣಗಳನ್ನು ಸೇರಿಸಿ.
</th>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">Instance of (P31) :</th>
<td style="border: 1px solid #aaa; padding: 10px;">"written work" ಬಳಸಿ.</td>
<td style="border: 1px solid #aaa; padding: 10px;">version, edition or translation ಬಳಸಿ</td>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">title (P1476) :</th>
<td colspan="2" style="border: 1px solid #aaa; padding: 10px; text-align: center;">ಪುಸ್ತಕದ ಶೀರ್ಷಿಕೆ ಸೇರಿಸಿ</td>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">author (P50) :</th>
<td style="border: 1px solid #aaa; padding: 10px;">ಮುಖ್ಯ ರಚನಕಾರರ ಹೆಸರು ಸೇರಿಸಿ</td>
<td style="border: 1px solid #aaa; padding: 10px;">ಅನುವಾದ/ಆವೃತ್ತಿ ಯ ಲೇಖಕರ ಹೆಸರು ಸೇರಿಸಿ</td>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">language of work or name (P407) :</th>
<td style="border: 1px solid #aaa; padding: 10px;">ಮೂಲ ಪುಸ್ತಕದ ಸ್ಥಳೀಯ ಭಾಷೆಯ ಶೀರ್ಷಿಕೆ ಬಳಸಿ, ಇದರಲ್ಲಿ ನಿಮಗೆ ಯಾವ ಭಾಷೆಯಲ್ಲಿ ಪುಸ್ತಕವಿದೆ ಎಂದೂ ಕೇಳಲಾಗುತ್ತದೆ</td>
<td style="border: 1px solid #aaa; padding: 10px;">ಆವೃತ್ತಿಯ ಸ್ಥಳೀಯ ಭಾಷೆಯ ಶೀರ್ಷಿಕೆ ಬಳಸಿ, ಇದರಲ್ಲಿ ನಿಮಗೆ ಯಾವ ಭಾಷೆಯಲ್ಲಿ ಪುಸ್ತಕವಿದೆ ಎಂದೂ ಕೇಳಲಾಗುತ್ತದೆ</td>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">has edition or translation (P747) :</th>
<td style="border: 1px solid #aaa; padding: 10px;">ಅನುವಾದ/ಆವೃತ್ತಿ (edition item) ವಿಕಿಡಾಟ ವಸ್ತುವಿನ ಕೋಡ್ ಬಳಸಿ</td>
<td style="border: 1px solid #aaa; padding: 10px;"><span style="color: red;">ಬೇಕಾಗಿಲ್ಲ</span></td>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">edition or translation of (P629) :</th>
<td style="border: 1px solid #aaa; padding: 10px;"><span style="color: red;">ಬೇಕಾಗಿಲ್ಲ</span></td>
<td style="border: 1px solid #aaa; padding: 10px;">ಮುಖ್ಯ ಪುಸ್ತಕ(work item) ವಿಕಿಡಾಟ ವಸ್ತುವಿನ ಕೋಡ್ ಬಳಸಿ</td>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">Wikisource index page URL (P1957) :</th>
<td style="border: 1px solid #aaa; padding: 10px;"><span style="color: red;">ಬೇಕಾಗಿಲ್ಲ</span></td>
<td style="border: 1px solid #aaa; padding: 10px;">ವಿಕಿಸೋರ್ಸ್ ನಲ್ಲಿನ ಪರಿವಿಡಿ ಪುಟದ ಪೂರ್ಣ URL ಸೇರಿಸಿ</td>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">document file on Wikimedia Commons (P996) :</th>
<td style="border: 1px solid #aaa; padding: 10px;"><span style="color: red;">ಬೇಕಾಗಿಲ್ಲ</span></td>
<td style="border: 1px solid #aaa; padding: 10px;">commons ನಲ್ಲಿನ ಕಡತದ ಲಿಂಕ್ ಸೇರಿಸಿ</td>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">ಇತರ ಯೋಜನೆ</th>
<td style="border: 1px solid #aaa; padding: 10px;">
* ಪುಸ್ತಕ ವಿಕಿ ಅಥವಾ ಇತರ ಸಹೋದರ ಯೋಜನೆಗಳಲ್ಲಿ ಲೇಖನಗಳನ್ನು ಹೊಂದಿದ್ದರೆ, ನೀವು ಆ ಲಿಂಕ್ಗಳನ್ನು ಇತರ ವಿಕಿಮಿಡಿಯ (ಉದಾಹರಣೆಗೆ Wikipedia, Wikibooks, Wikinews, Wikiquote, <span style="color: red;">Wikisource ಹೊರತು ಪಡಿಸಿ</span>, Wikiversity, Wikivoyage, Wiktionary, Multilingual sites) ಅಡಿಯಲ್ಲಿ ಸೇರಿಸಬಹುದು.
</td>
<td style="border: 1px solid #aaa; padding: 10px;">ಸ್ಥಳೀಯ ವಿಕಿಸೋರ್ಸ್ ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ transclude ಮಾಡಿದ ಪುಟದ ಲಿಂಕ್ಅನ್ನು ವಿಕಿಸೋರ್ಸ್ ವಿಭಾಗದಲ್ಲಿ ಸೇರಿಸಿ</td>
</tr>
</table>
</div>
|exercise =
ನೀವು ಈವರೆಗೆ ಕೆಲಸ ಮಾಡಿದ ಪುಸ್ತಕಕ್ಕಾಗಿ:
<ol>
<li>Wikidata ನಲ್ಲಿ Work item ರಚಿಸಿ</li>
<li>Edition item ರಚಿಸಿ</li>
<li>ಎರಡನ್ನೂ ಸರಿಯಾಗಿ ಸಂಪರ್ಕಿಸಿ (P747 ಮತ್ತು P629)</li>
<li>Index ಪುಟದಲ್ಲಿ ವಿಕಿಡಾಟ ಕೋಡ್ ಅನ್ನು <code>[[d:XXXXXX]]</code> ರೂಪದಲ್ಲಿ ಸೇರಿಸಿ</li>
<li>Author item ರಚಿಸಿ ಮತ್ತು ಅದನ್ನು Work item ಗೆ ಸಂಪರ್ಕಿಸಿ</li>
</ol>
}}
d6zxfdd3m18s9imq9no54bmxwc4exsq
282583
282579
2026-04-03T11:51:30Z
A826
6806
282583
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|title = ಹಂತ 4: ವಿಕಿಡಾಟ (Wikidata) ಸಂಪರ್ಕ
|content =
== ವಿಕಿಡಾಟ ಪರಿಚಯ ==
<div style="background: #ffcccc; padding: 10px; border-left: 4px solid #c00; margin: 15px 0;">
<strong>ಪ್ರಮುಖ:</strong> ಮೊದಲಿಗೆ ಪುಸ್ತಕ/ವಿಕಿಡಾಟ ವಸ್ತು ಈಗಾಗಲೇ ಅಸ್ತಿತ್ವದಲ್ಲಿದೆಯೇ ಎಂದು ಪರಿಶೀಲಿಸಿ!
</div>
ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿರುವ ಪ್ರತಿಯೊಂದು ಪುಸ್ತಕ ಮತ್ತು ಲೇಖಕರು <strong>ವಿಕಿಡಾಟ</strong> (wikidata.org) ನಲ್ಲಿ ಒಂದು ಐಟಂ ಹೊಂದಿರಬೇಕು.
== ಕರ್ತೃ (Author) ವಿಕಿಡಾಟ ==
<strong>ಸಹಾಯ ಪುಟಗಳು:</strong>
<ul>
<li>[[:wikidata:Help:Items]]</li>
<li>[[:wikidata:Help:Statements]]</li>
<li>[[:wikidata:Wikidata:Living people]]</li>
</ul>
=== ಹಂತ 1: ಹೊಸ ಐಟಂ ರಚಿಸಿ ===
<table class="wikitable">
<caption>ವಿಕಿಡಾಟ ಮುಖ್ಯ ಪುಟಕ್ಕೆ ಹೋಗಿ "Create a new Item" ಕ್ಲಿಕ್ ಮಾಡಿ ([[:wikidata:Special:NewItem]])</caption>
<tr>
<th>ಕ್ಷೇತ್ರ</th>
<th>ನಮೂದು</th>
</tr>
<tr>
<td><strong>Label</strong></td>
<td>ಲೇಖಕರ ಹೆಸರು (ಉದಾ: "ಕುವೆಂಪು")</td>
</tr>
<tr>
<td><strong>Description</strong></td>
<td>ಸಣ್ಣ ವಿವರಣೆ (ಉದಾ: "ಕನ್ನಡದ ಪ್ರಸಿದ್ಧ ಕವಿ ಮತ್ತು ಲೇಖಕ")</td>
</tr>
<tr>
<td><strong>Alias</strong></td>
<td>ಪರ್ಯಾಯ ಹೆಸರುಗಳು (ಐಚ್ಛಿಕ)</td>
</tr>
</table>
=== ಹಂತ 2: ಹೇಳಿಕೆಗಳನ್ನು (Statements) ಸೇರಿಸಿ ===
<table class="wikitable">
<caption>ಸಾಮಾನ್ಯ ಗುಣಲಕ್ಷಣಗಳು</caption>
<tr>
<th>ಗುಣಲಕ್ಷಣ</th>
<th>ಮೌಲ್ಯ</th>
</tr>
<tr>
<td>Instance of (P31)</td>
<td>Human (ಅಥವಾ Writer)</td>
</tr>
<tr>
<td>Occupation (P106)</td>
<td>Writer (ಅಥವಾ ಹೆಚ್ಚು ನಿರ್ದಿಷ್ಟ)</td>
</tr>
<tr>
<td>Date of Birth (P569)</td>
<td>ಜನ್ಮ ದಿನಾಂಕ (ತಿಳಿದಿದ್ದರೆ)</td>
</tr>
<tr>
<td>Date of Death (P570)</td>
<td>ಮರಣ ದಿನಾಂಕ (ತಿಳಿದಿದ್ದರೆ)</td>
</tr>
<tr>
<td>Nationality (P27)</td>
<td>ರಾಷ್ಟ್ರೀಯತೆ</td>
</tr>
<tr>
<td>Works (P800)</td>
<td>ಲೇಖಕರ ಮಹತ್ವದ ಕೃತಿಗಳಿಗೆ ಲಿಂಕ್</td>
</tr>
</table>
<div style="background: #ffcccc; padding: 10px; border-left: 4px solid #c00; margin: 15px 0;">
<strong>ಇತರ ಯೋಜನೆಗಳಿಗೆ ಲಿಂಕ್:</strong> ಲೇಖಕರು ವಿಕಿಪೀಡಿಯಾ ಅಥವಾ ಇತರ ಸಹೋದರ ಯೋಜನೆಗಳಲ್ಲಿ ಲೇಖನಗಳನ್ನು ಹೊಂದಿದ್ದರೆ, ಆ ಲಿಂಕ್ಗಳನ್ನು "other Wikimedia" ಅಡಿಯಲ್ಲಿ ಸೇರಿಸಿ.
</div>
<ul>
<li>[[Special:MyLanguage/Help:Author page|ಲೇಖಕ]] ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ ಕರ್ತೃ/ಲೇಖಕರಿಗಾಗಿ ಪುಟವನ್ನು ರಚಿಸಿ.</li>
<li><code>{{t|Author}}</code> ಟೆಂಪ್ಲೇಟು ಬಳಸಿ ವಿವರ ಸೇರಿಸಿ. [[ಟೆಂಪ್ಲೇಟು:Author/doc#Usage_example]] ನೋಡಿ.</li>
</ul>
== ಪುಸ್ತಕದ ವಿಕಿಡಾಟ ==
<div style="max-width: 100%; word-wrap: break-word; white-space: normal; font-size: 14px; line-height: 1.5; margin: 0; padding: 0;">
<div style="background-color: #f8f9fa; border-radius: 8px; padding: 16px; margin-bottom: 20px; border-left: 4px solid #2196F3;">
<strong>ಸಹಾಯ ಪುಟಗಳು:</strong>
<ul>
<li>[[:wikidata:Wikidata:WikiProject_Books]]</li>
</ul>
<strong>ಪ್ರಮುಖ:</strong> ಪುಸ್ತಕಗಳಿಗೆ <strong>ಎರಡು</strong> ವಿಕಿಡಾಟ ವಸ್ತುಗಳನ್ನು ರಚಿಸಬೇಕು:
<table class="wikitable" style="width: 100%;">
<tr>
<th>Work Item</th>
<th>Edition Item</th>
</tr>
<tr>
<td>ಶೀರ್ಷಿಕೆ ಕುರಿತು ವಿಕಿಡಾಟ ವಸ್ತು</td>
<td>ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿ ಉಪಯೋಗಿಸುವ ಪುಸ್ತಕದ ಅನುವಾದ/ಆವೃತ್ತಿ</td>
</tr>
<tr>
<td>[[:wikidata:Wikidata:WikiProject_Books#Work_item_properties]]</td>
<td>[[:wikidata:Wikidata:WikiProject_Books#Edition_item_properties]]</td>
</tr>
</table>
</div>
<table style="width: 100%; border-collapse: collapse; background-color: #ffffff; border: 1px solid #aaa;">
<tr>
<th style="width: 28%; background-color: #4CAF50; color: white; padding: 10px; border: 1px solid #aaa; text-align: left; font-weight: bold;">ವಿವರ</th>
<th style="width: 36%; background-color: #4CAF50; color: white; padding: 10px; border: 1px solid #aaa; text-align: left; font-weight: bold;">work item</th>
<th style="width: 36%; background-color: #4CAF50; color: white; padding: 10px; border: 1px solid #aaa; text-align: left; font-weight: bold;">edition item</th>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">Label :</th>
<td colspan="2" style="border: 1px solid #aaa; padding: 10px; text-align: center;">ಪುಸ್ತಕದ ಹೆಸರನ್ನು ನಮೂದಿಸಿ (ಉದಾ., "ಜಾನ್ ಡೋ").</td>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">Description :<br> <span style="color: red;">ಇದು work item ಮತ್ತು edition item ಗಳಲ್ಲಿ ವಿಭಿನ್ನವಾಗಿರಬೇಕು, ಇಲ್ಲದಿದ್ದರೆ ಎರಡನೇ ಬಾರಿಗೆ ರಚಿಸುವ ವಸ್ತು ಉಳಿಸಲು ಆಗುವುದಿಲ್ಲ</span></th>
<td style="border: 1px solid #aaa; padding: 10px;">ಸಣ್ಣ ವಿವರಣೆಯನ್ನು ಒದಗಿಸಿ (ಉದಾ., "book about folklore").</td>
<td style="border: 1px solid #aaa; padding: 10px;">ಸಣ್ಣ ವಿವರಣೆಯನ್ನು ಒದಗಿಸಿ (ಉದಾ., "2020 book about folklore").</td>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">Alias :</th>
<td colspan="2" style="border: 1px solid #aaa; padding: 10px; text-align: center;">ಅನ್ವಯಿಸಿದರೆ ನೀವು ಪರ್ಯಾಯ ಹೆಸರುಗಳನ್ನು ಸೇರಿಸಬಹುದು.</td>
</tr>
<tr style="background-color: #e0e0e0;">
<th colspan="3" style="border: 1px solid #aaa; padding: 10px; text-align: center;">Help:Statements : ಸಂಬಂಧಿತ ಹೇಳಿಕೆಗಳನ್ನು ಸೇರಿಸಲು "add statement" ಕ್ಲಿಕ್ ಮಾಡಿ ಮತ್ತು ಪುಸ್ತಕದ ವಿವರಿಸುವ ಗುಣಲಕ್ಷಣಗಳನ್ನು ಸೇರಿಸಿ.
</th>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">Instance of (P31) :</th>
<td style="border: 1px solid #aaa; padding: 10px;">"written work" ಬಳಸಿ.</td>
<td style="border: 1px solid #aaa; padding: 10px;">version, edition or translation ಬಳಸಿ</td>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">title (P1476) :</th>
<td colspan="2" style="border: 1px solid #aaa; padding: 10px; text-align: center;">ಪುಸ್ತಕದ ಶೀರ್ಷಿಕೆ ಸೇರಿಸಿ</td>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">author (P50) :</th>
<td style="border: 1px solid #aaa; padding: 10px;">ಮುಖ್ಯ ರಚನಕಾರರ ಹೆಸರು ಸೇರಿಸಿ</td>
<td style="border: 1px solid #aaa; padding: 10px;">ಅನುವಾದ/ಆವೃತ್ತಿ ಯ ಲೇಖಕರ ಹೆಸರು ಸೇರಿಸಿ</td>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">language of work or name (P407) :</th>
<td style="border: 1px solid #aaa; padding: 10px;">ಮೂಲ ಪುಸ್ತಕದ ಸ್ಥಳೀಯ ಭಾಷೆಯ ಶೀರ್ಷಿಕೆ ಬಳಸಿ, ಇದರಲ್ಲಿ ನಿಮಗೆ ಯಾವ ಭಾಷೆಯಲ್ಲಿ ಪುಸ್ತಕವಿದೆ ಎಂದೂ ಕೇಳಲಾಗುತ್ತದೆ</td>
<td style="border: 1px solid #aaa; padding: 10px;">ಆವೃತ್ತಿಯ ಸ್ಥಳೀಯ ಭಾಷೆಯ ಶೀರ್ಷಿಕೆ ಬಳಸಿ, ಇದರಲ್ಲಿ ನಿಮಗೆ ಯಾವ ಭಾಷೆಯಲ್ಲಿ ಪುಸ್ತಕವಿದೆ ಎಂದೂ ಕೇಳಲಾಗುತ್ತದೆ</td>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">has edition or translation (P747) :</th>
<td style="border: 1px solid #aaa; padding: 10px;">ಅನುವಾದ/ಆವೃತ್ತಿ (edition item) ವಿಕಿಡಾಟ ವಸ್ತುವಿನ ಕೋಡ್ ಬಳಸಿ</td>
<td style="border: 1px solid #aaa; padding: 10px;"><span style="color: red;">ಬೇಕಾಗಿಲ್ಲ</span></td>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">edition or translation of (P629) :</th>
<td style="border: 1px solid #aaa; padding: 10px;"><span style="color: red;">ಬೇಕಾಗಿಲ್ಲ</span></td>
<td style="border: 1px solid #aaa; padding: 10px;">ಮುಖ್ಯ ಪುಸ್ತಕ(work item) ವಿಕಿಡಾಟ ವಸ್ತುವಿನ ಕೋಡ್ ಬಳಸಿ</td>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">Wikisource index page URL (P1957) :</th>
<td style="border: 1px solid #aaa; padding: 10px;"><span style="color: red;">ಬೇಕಾಗಿಲ್ಲ</span></td>
<td style="border: 1px solid #aaa; padding: 10px;">ವಿಕಿಸೋರ್ಸ್ ನಲ್ಲಿನ ಪರಿವಿಡಿ ಪುಟದ ಪೂರ್ಣ URL ಸೇರಿಸಿ</td>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">document file on Wikimedia Commons (P996) :</th>
<td style="border: 1px solid #aaa; padding: 10px;"><span style="color: red;">ಬೇಕಾಗಿಲ್ಲ</span></td>
<td style="border: 1px solid #aaa; padding: 10px;">commons ನಲ್ಲಿನ ಕಡತದ ಲಿಂಕ್ ಸೇರಿಸಿ</td>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">ಇತರ ಯೋಜನೆ</th>
<td style="border: 1px solid #aaa; padding: 10px;">
* ಪುಸ್ತಕ ವಿಕಿ ಅಥವಾ ಇತರ ಸಹೋದರ ಯೋಜನೆಗಳಲ್ಲಿ ಲೇಖನಗಳನ್ನು ಹೊಂದಿದ್ದರೆ, ನೀವು ಆ ಲಿಂಕ್ಗಳನ್ನು ಇತರ ವಿಕಿಮಿಡಿಯ (ಉದಾಹರಣೆಗೆ Wikipedia, Wikibooks, Wikinews, Wikiquote, <span style="color: red;">Wikisource ಹೊರತು ಪಡಿಸಿ</span>, Wikiversity, Wikivoyage, Wiktionary, Multilingual sites) ಅಡಿಯಲ್ಲಿ ಸೇರಿಸಬಹುದು.
</td>
<td style="border: 1px solid #aaa; padding: 10px;">ಸ್ಥಳೀಯ ವಿಕಿಸೋರ್ಸ್ ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ transclude ಮಾಡಿದ ಪುಟದ ಲಿಂಕ್ಅನ್ನು ವಿಕಿಸೋರ್ಸ್ ವಿಭಾಗದಲ್ಲಿ ಸೇರಿಸಿ</td>
</tr>
</table>
</div>
|exercise =
ನೀವು ಈವರೆಗೆ ಕೆಲಸ ಮಾಡಿದ ಪುಸ್ತಕಕ್ಕಾಗಿ:
<ol>
<li>Wikidata ನಲ್ಲಿ Work item ರಚಿಸಿ</li>
<li>Edition item ರಚಿಸಿ</li>
<li>ಎರಡನ್ನೂ ಸರಿಯಾಗಿ ಸಂಪರ್ಕಿಸಿ (P747 ಮತ್ತು P629)</li>
<li>Index ಪುಟದಲ್ಲಿ ವಿಕಿಡಾಟ ಕೋಡ್ ಅನ್ನು <code>[[d:XXXXXX]]</code> ರೂಪದಲ್ಲಿ ಸೇರಿಸಿ</li>
<li>Author item ರಚಿಸಿ ಮತ್ತು ಅದನ್ನು Work item ಗೆ ಸಂಪರ್ಕಿಸಿ</li>
</ol>
}}
bcwym3kcf03rjndodibpeeakiqhe31e
282584
282583
2026-04-03T11:52:31Z
A826
6806
282584
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|title = ಹಂತ 4: ವಿಕಿಡಾಟ (Wikidata) ಸಂಪರ್ಕ
|content =
== ವಿಕಿಡಾಟ ಪರಿಚಯ ==
<div style="background: #ffcccc; padding: 10px; border-left: 4px solid #c00; margin: 15px 0;">
<strong>ಪ್ರಮುಖ:</strong> ಮೊದಲಿಗೆ ಪುಸ್ತಕ/ವಿಕಿಡಾಟ ವಸ್ತು ಈಗಾಗಲೇ ಅಸ್ತಿತ್ವದಲ್ಲಿದೆಯೇ ಎಂದು ಪರಿಶೀಲಿಸಿ!
</div>
ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿರುವ ಪ್ರತಿಯೊಂದು ಪುಸ್ತಕ ಮತ್ತು ಲೇಖಕರು <strong>ವಿಕಿಡಾಟ</strong> (wikidata.org) ನಲ್ಲಿ ಒಂದು ಐಟಂ ಹೊಂದಿರಬೇಕು.
== ಕರ್ತೃ (Author) ವಿಕಿಡಾಟ ==
<strong>ಸಹಾಯ ಪುಟಗಳು:</strong>
<ul>
<li>[[:wikidata:Help:Items]]</li>
<li>[[:wikidata:Help:Statements]]</li>
<li>[[:wikidata:Wikidata:Living people]]</li>
</ul>
=== ಹಂತ 1: ಹೊಸ ಐಟಂ ರಚಿಸಿ ===
<table class="wikitable">
<caption>ವಿಕಿಡಾಟ ಮುಖ್ಯ ಪುಟಕ್ಕೆ ಹೋಗಿ "Create a new Item" ಕ್ಲಿಕ್ ಮಾಡಿ ([[:wikidata:Special:NewItem]])</caption>
<tr>
<th>ಕ್ಷೇತ್ರ</th>
<th>ನಮೂದು</th>
</tr>
<tr>
<td><strong>Label</strong></td>
<td>ಲೇಖಕರ ಹೆಸರು (ಉದಾ: "ಕುವೆಂಪು")</td>
</tr>
<tr>
<td><strong>Description</strong></td>
<td>ಸಣ್ಣ ವಿವರಣೆ (ಉದಾ: "ಕನ್ನಡದ ಪ್ರಸಿದ್ಧ ಕವಿ ಮತ್ತು ಲೇಖಕ")</td>
</tr>
<tr>
<td><strong>Alias</strong></td>
<td>ಪರ್ಯಾಯ ಹೆಸರುಗಳು (ಐಚ್ಛಿಕ)</td>
</tr>
</table>
=== ಹಂತ 2: ಹೇಳಿಕೆಗಳನ್ನು (Statements) ಸೇರಿಸಿ ===
<table class="wikitable">
<caption>ಸಾಮಾನ್ಯ ಗುಣಲಕ್ಷಣಗಳು</caption>
<tr>
<th>ಗುಣಲಕ್ಷಣ</th>
<th>ಮೌಲ್ಯ</th>
</tr>
<tr>
<td>Instance of (P31)</td>
<td>Human (ಅಥವಾ Writer)</td>
</tr>
<tr>
<td>Occupation (P106)</td>
<td>Writer (ಅಥವಾ ಹೆಚ್ಚು ನಿರ್ದಿಷ್ಟ)</td>
</tr>
<tr>
<td>Date of Birth (P569)</td>
<td>ಜನ್ಮ ದಿನಾಂಕ (ತಿಳಿದಿದ್ದರೆ)</td>
</tr>
<tr>
<td>Date of Death (P570)</td>
<td>ಮರಣ ದಿನಾಂಕ (ತಿಳಿದಿದ್ದರೆ)</td>
</tr>
<tr>
<td>Nationality (P27)</td>
<td>ರಾಷ್ಟ್ರೀಯತೆ</td>
</tr>
<tr>
<td>Works (P800)</td>
<td>ಲೇಖಕರ ಮಹತ್ವದ ಕೃತಿಗಳಿಗೆ ಲಿಂಕ್</td>
</tr>
</table>
<div style="background: #ffcccc; padding: 10px; border-left: 4px solid #c00; margin: 15px 0;">
<strong>ಇತರ ಯೋಜನೆಗಳಿಗೆ ಲಿಂಕ್:</strong> ಲೇಖಕರು ವಿಕಿಪೀಡಿಯಾ ಅಥವಾ ಇತರ ಸಹೋದರ ಯೋಜನೆಗಳಲ್ಲಿ ಲೇಖನಗಳನ್ನು ಹೊಂದಿದ್ದರೆ, ಆ ಲಿಂಕ್ಗಳನ್ನು "other Wikimedia" ಅಡಿಯಲ್ಲಿ ಸೇರಿಸಿ.
</div>
<ul>
<li>[[Special:MyLanguage/Help:Author page|ಲೇಖಕ]] ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ ಕರ್ತೃ/ಲೇಖಕರಿಗಾಗಿ ಪುಟವನ್ನು ರಚಿಸಿ.</li>
<li><code>{{t|Author}}</code> ಟೆಂಪ್ಲೇಟು ಬಳಸಿ ವಿವರ ಸೇರಿಸಿ. [[ಟೆಂಪ್ಲೇಟು:Author/doc#Usage_example]] ನೋಡಿ.</li>
</ul>
== ಪುಸ್ತಕದ ವಿಕಿಡಾಟ ==
<div style="max-width: 100%; word-wrap: break-word; white-space: normal; font-size: 14px; line-height: 1.5; margin: 0; padding: 0;">
<div style="background-color: #f8f9fa; border-radius: 8px; padding: 16px; margin-bottom: 20px; border-left: 4px solid #2196F3;">
<strong>ಸಹಾಯ ಪುಟಗಳು:</strong>
<ul>
<li>[[:wikidata:Wikidata:WikiProject_Books]]</li>
</ul>
<strong>ಪ್ರಮುಖ:</strong> ಪುಸ್ತಕಗಳಿಗೆ <strong>ಎರಡು</strong> ವಿಕಿಡಾಟ ವಸ್ತುಗಳನ್ನು ರಚಿಸಬೇಕು:
<table class="wikitable" style="width: 100%; font-size: 80%;">
<tr>
<th>Work Item</th>
<th>Edition Item</th>
</tr>
<tr>
<td>ಶೀರ್ಷಿಕೆ ಕುರಿತು ವಿಕಿಡಾಟ ವಸ್ತು</td>
<td>ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿ ಉಪಯೋಗಿಸುವ ಪುಸ್ತಕದ ಅನುವಾದ/ಆವೃತ್ತಿ</td>
</tr>
<tr>
<td>[[:wikidata:Wikidata:WikiProject_Books#Work_item_properties]]</td>
<td>[[:wikidata:Wikidata:WikiProject_Books#Edition_item_properties]]</td>
</tr>
</table>
</div>
<table style="width: 100%; border-collapse: collapse; background-color: #ffffff; border: 1px solid #aaa;">
<tr>
<th style="width: 28%; background-color: #4CAF50; color: white; padding: 10px; border: 1px solid #aaa; text-align: left; font-weight: bold;">ವಿವರ</th>
<th style="width: 36%; background-color: #4CAF50; color: white; padding: 10px; border: 1px solid #aaa; text-align: left; font-weight: bold;">work item</th>
<th style="width: 36%; background-color: #4CAF50; color: white; padding: 10px; border: 1px solid #aaa; text-align: left; font-weight: bold;">edition item</th>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">Label :</th>
<td colspan="2" style="border: 1px solid #aaa; padding: 10px; text-align: center;">ಪುಸ್ತಕದ ಹೆಸರನ್ನು ನಮೂದಿಸಿ (ಉದಾ., "ಜಾನ್ ಡೋ").</td>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">Description :<br> <span style="color: red;">ಇದು work item ಮತ್ತು edition item ಗಳಲ್ಲಿ ವಿಭಿನ್ನವಾಗಿರಬೇಕು, ಇಲ್ಲದಿದ್ದರೆ ಎರಡನೇ ಬಾರಿಗೆ ರಚಿಸುವ ವಸ್ತು ಉಳಿಸಲು ಆಗುವುದಿಲ್ಲ</span></th>
<td style="border: 1px solid #aaa; padding: 10px;">ಸಣ್ಣ ವಿವರಣೆಯನ್ನು ಒದಗಿಸಿ (ಉದಾ., "book about folklore").</td>
<td style="border: 1px solid #aaa; padding: 10px;">ಸಣ್ಣ ವಿವರಣೆಯನ್ನು ಒದಗಿಸಿ (ಉದಾ., "2020 book about folklore").</td>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">Alias :</th>
<td colspan="2" style="border: 1px solid #aaa; padding: 10px; text-align: center;">ಅನ್ವಯಿಸಿದರೆ ನೀವು ಪರ್ಯಾಯ ಹೆಸರುಗಳನ್ನು ಸೇರಿಸಬಹುದು.</td>
</tr>
<tr style="background-color: #e0e0e0;">
<th colspan="3" style="border: 1px solid #aaa; padding: 10px; text-align: center;">Help:Statements : ಸಂಬಂಧಿತ ಹೇಳಿಕೆಗಳನ್ನು ಸೇರಿಸಲು "add statement" ಕ್ಲಿಕ್ ಮಾಡಿ ಮತ್ತು ಪುಸ್ತಕದ ವಿವರಿಸುವ ಗುಣಲಕ್ಷಣಗಳನ್ನು ಸೇರಿಸಿ.
</th>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">Instance of (P31) :</th>
<td style="border: 1px solid #aaa; padding: 10px;">"written work" ಬಳಸಿ.</td>
<td style="border: 1px solid #aaa; padding: 10px;">version, edition or translation ಬಳಸಿ</td>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">title (P1476) :</th>
<td colspan="2" style="border: 1px solid #aaa; padding: 10px; text-align: center;">ಪುಸ್ತಕದ ಶೀರ್ಷಿಕೆ ಸೇರಿಸಿ</td>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">author (P50) :</th>
<td style="border: 1px solid #aaa; padding: 10px;">ಮುಖ್ಯ ರಚನಕಾರರ ಹೆಸರು ಸೇರಿಸಿ</td>
<td style="border: 1px solid #aaa; padding: 10px;">ಅನುವಾದ/ಆವೃತ್ತಿ ಯ ಲೇಖಕರ ಹೆಸರು ಸೇರಿಸಿ</td>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">language of work or name (P407) :</th>
<td style="border: 1px solid #aaa; padding: 10px;">ಮೂಲ ಪುಸ್ತಕದ ಸ್ಥಳೀಯ ಭಾಷೆಯ ಶೀರ್ಷಿಕೆ ಬಳಸಿ, ಇದರಲ್ಲಿ ನಿಮಗೆ ಯಾವ ಭಾಷೆಯಲ್ಲಿ ಪುಸ್ತಕವಿದೆ ಎಂದೂ ಕೇಳಲಾಗುತ್ತದೆ</td>
<td style="border: 1px solid #aaa; padding: 10px;">ಆವೃತ್ತಿಯ ಸ್ಥಳೀಯ ಭಾಷೆಯ ಶೀರ್ಷಿಕೆ ಬಳಸಿ, ಇದರಲ್ಲಿ ನಿಮಗೆ ಯಾವ ಭಾಷೆಯಲ್ಲಿ ಪುಸ್ತಕವಿದೆ ಎಂದೂ ಕೇಳಲಾಗುತ್ತದೆ</td>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">has edition or translation (P747) :</th>
<td style="border: 1px solid #aaa; padding: 10px;">ಅನುವಾದ/ಆವೃತ್ತಿ (edition item) ವಿಕಿಡಾಟ ವಸ್ತುವಿನ ಕೋಡ್ ಬಳಸಿ</td>
<td style="border: 1px solid #aaa; padding: 10px;"><span style="color: red;">ಬೇಕಾಗಿಲ್ಲ</span></td>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">edition or translation of (P629) :</th>
<td style="border: 1px solid #aaa; padding: 10px;"><span style="color: red;">ಬೇಕಾಗಿಲ್ಲ</span></td>
<td style="border: 1px solid #aaa; padding: 10px;">ಮುಖ್ಯ ಪುಸ್ತಕ(work item) ವಿಕಿಡಾಟ ವಸ್ತುವಿನ ಕೋಡ್ ಬಳಸಿ</td>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">Wikisource index page URL (P1957) :</th>
<td style="border: 1px solid #aaa; padding: 10px;"><span style="color: red;">ಬೇಕಾಗಿಲ್ಲ</span></td>
<td style="border: 1px solid #aaa; padding: 10px;">ವಿಕಿಸೋರ್ಸ್ ನಲ್ಲಿನ ಪರಿವಿಡಿ ಪುಟದ ಪೂರ್ಣ URL ಸೇರಿಸಿ</td>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">document file on Wikimedia Commons (P996) :</th>
<td style="border: 1px solid #aaa; padding: 10px;"><span style="color: red;">ಬೇಕಾಗಿಲ್ಲ</span></td>
<td style="border: 1px solid #aaa; padding: 10px;">commons ನಲ್ಲಿನ ಕಡತದ ಲಿಂಕ್ ಸೇರಿಸಿ</td>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">ಇತರ ಯೋಜನೆ</th>
<td style="border: 1px solid #aaa; padding: 10px;">
* ಪುಸ್ತಕ ವಿಕಿ ಅಥವಾ ಇತರ ಸಹೋದರ ಯೋಜನೆಗಳಲ್ಲಿ ಲೇಖನಗಳನ್ನು ಹೊಂದಿದ್ದರೆ, ನೀವು ಆ ಲಿಂಕ್ಗಳನ್ನು ಇತರ ವಿಕಿಮಿಡಿಯ (ಉದಾಹರಣೆಗೆ Wikipedia, Wikibooks, Wikinews, Wikiquote, <span style="color: red;">Wikisource ಹೊರತು ಪಡಿಸಿ</span>, Wikiversity, Wikivoyage, Wiktionary, Multilingual sites) ಅಡಿಯಲ್ಲಿ ಸೇರಿಸಬಹುದು.
</td>
<td style="border: 1px solid #aaa; padding: 10px;">ಸ್ಥಳೀಯ ವಿಕಿಸೋರ್ಸ್ ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ transclude ಮಾಡಿದ ಪುಟದ ಲಿಂಕ್ಅನ್ನು ವಿಕಿಸೋರ್ಸ್ ವಿಭಾಗದಲ್ಲಿ ಸೇರಿಸಿ</td>
</tr>
</table>
</div>
|exercise =
ನೀವು ಈವರೆಗೆ ಕೆಲಸ ಮಾಡಿದ ಪುಸ್ತಕಕ್ಕಾಗಿ:
<ol>
<li>Wikidata ನಲ್ಲಿ Work item ರಚಿಸಿ</li>
<li>Edition item ರಚಿಸಿ</li>
<li>ಎರಡನ್ನೂ ಸರಿಯಾಗಿ ಸಂಪರ್ಕಿಸಿ (P747 ಮತ್ತು P629)</li>
<li>Index ಪುಟದಲ್ಲಿ ವಿಕಿಡಾಟ ಕೋಡ್ ಅನ್ನು <code>[[d:XXXXXX]]</code> ರೂಪದಲ್ಲಿ ಸೇರಿಸಿ</li>
<li>Author item ರಚಿಸಿ ಮತ್ತು ಅದನ್ನು Work item ಗೆ ಸಂಪರ್ಕಿಸಿ</li>
</ol>
}}
rip83vpscdwvrpjw3pg98hxsua3bwds
282585
282584
2026-04-03T11:54:58Z
A826
6806
282585
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|title = ಹಂತ 4: ವಿಕಿಡಾಟ (Wikidata) ಸಂಪರ್ಕ
|content =
== ವಿಕಿಡಾಟ ಪರಿಚಯ ==
<div style="background: #ffcccc;border-left: 4px solid #c00; padding-left: 15px;">
<strong>ಪ್ರಮುಖ:</strong> ಮೊದಲಿಗೆ ಪುಸ್ತಕ/ವಿಕಿಡಾಟ ವಸ್ತು ಈಗಾಗಲೇ ಅಸ್ತಿತ್ವದಲ್ಲಿದೆಯೇ ಎಂದು ಪರಿಶೀಲಿಸಿ!
</div>
ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿರುವ ಪ್ರತಿಯೊಂದು ಪುಸ್ತಕ ಮತ್ತು ಲೇಖಕರು <strong>ವಿಕಿಡಾಟ</strong> (wikidata.org) ನಲ್ಲಿ ಒಂದು ಐಟಂ ಹೊಂದಿರಬೇಕು.
== ಕರ್ತೃ (Author) ವಿಕಿಡಾಟ ==
<strong>ಸಹಾಯ ಪುಟಗಳು:</strong>
<ul>
<li>[[:wikidata:Help:Items]]</li>
<li>[[:wikidata:Help:Statements]]</li>
<li>[[:wikidata:Wikidata:Living people]]</li>
</ul>
=== ಹಂತ 1: ಹೊಸ ಐಟಂ ರಚಿಸಿ ===
<table class="wikitable">
<caption>ವಿಕಿಡಾಟ ಮುಖ್ಯ ಪುಟಕ್ಕೆ ಹೋಗಿ "Create a new Item" ಕ್ಲಿಕ್ ಮಾಡಿ ([[:wikidata:Special:NewItem]])</caption>
<tr>
<th>ಕ್ಷೇತ್ರ</th>
<th>ನಮೂದು</th>
</tr>
<tr>
<td><strong>Label</strong></td>
<td>ಲೇಖಕರ ಹೆಸರು (ಉದಾ: "ಕುವೆಂಪು")</td>
</tr>
<tr>
<td><strong>Description</strong></td>
<td>ಸಣ್ಣ ವಿವರಣೆ (ಉದಾ: "ಕನ್ನಡದ ಪ್ರಸಿದ್ಧ ಕವಿ ಮತ್ತು ಲೇಖಕ")</td>
</tr>
<tr>
<td><strong>Alias</strong></td>
<td>ಪರ್ಯಾಯ ಹೆಸರುಗಳು (ಐಚ್ಛಿಕ)</td>
</tr>
</table>
=== ಹಂತ 2: ಹೇಳಿಕೆಗಳನ್ನು (Statements) ಸೇರಿಸಿ ===
<table class="wikitable">
<caption>ಸಾಮಾನ್ಯ ಗುಣಲಕ್ಷಣಗಳು</caption>
<tr>
<th>ಗುಣಲಕ್ಷಣ</th>
<th>ಮೌಲ್ಯ</th>
</tr>
<tr>
<td>Instance of (P31)</td>
<td>Human (ಅಥವಾ Writer)</td>
</tr>
<tr>
<td>Occupation (P106)</td>
<td>Writer (ಅಥವಾ ಹೆಚ್ಚು ನಿರ್ದಿಷ್ಟ)</td>
</tr>
<tr>
<td>Date of Birth (P569)</td>
<td>ಜನ್ಮ ದಿನಾಂಕ (ತಿಳಿದಿದ್ದರೆ)</td>
</tr>
<tr>
<td>Date of Death (P570)</td>
<td>ಮರಣ ದಿನಾಂಕ (ತಿಳಿದಿದ್ದರೆ)</td>
</tr>
<tr>
<td>Nationality (P27)</td>
<td>ರಾಷ್ಟ್ರೀಯತೆ</td>
</tr>
<tr>
<td>Works (P800)</td>
<td>ಲೇಖಕರ ಮಹತ್ವದ ಕೃತಿಗಳಿಗೆ ಲಿಂಕ್</td>
</tr>
</table>
<div style="background: #ffcccc; padding: 10px; border-left: 4px solid #c00; margin: 15px 0;">
<strong>ಇತರ ಯೋಜನೆಗಳಿಗೆ ಲಿಂಕ್:</strong> ಲೇಖಕರು ವಿಕಿಪೀಡಿಯಾ ಅಥವಾ ಇತರ ಸಹೋದರ ಯೋಜನೆಗಳಲ್ಲಿ ಲೇಖನಗಳನ್ನು ಹೊಂದಿದ್ದರೆ, ಆ ಲಿಂಕ್ಗಳನ್ನು "other Wikimedia" ಅಡಿಯಲ್ಲಿ ಸೇರಿಸಿ.
</div>
<ul>
<li>[[Special:MyLanguage/Help:Author page|ಲೇಖಕ]] ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ ಕರ್ತೃ/ಲೇಖಕರಿಗಾಗಿ ಪುಟವನ್ನು ರಚಿಸಿ.</li>
<li><code>{{t|Author}}</code> ಟೆಂಪ್ಲೇಟು ಬಳಸಿ ವಿವರ ಸೇರಿಸಿ. [[ಟೆಂಪ್ಲೇಟು:Author/doc#Usage_example]] ನೋಡಿ.</li>
</ul>
== ಪುಸ್ತಕದ ವಿಕಿಡಾಟ ==
<div style="max-width: 100%; word-wrap: break-word; white-space: normal; font-size: 14px; line-height: 1.5; margin: 0; padding: 0;">
<div style="background-color: #f8f9fa; border-radius: 8px; padding: 16px; margin-bottom: 20px; border-left: 4px solid #2196F3;">
<strong>ಸಹಾಯ ಪುಟಗಳು:</strong>
<ul>
<li>[[:wikidata:Wikidata:WikiProject_Books]]</li>
</ul>
<strong>ಪ್ರಮುಖ:</strong> ಪುಸ್ತಕಗಳಿಗೆ <strong>ಎರಡು</strong> ವಿಕಿಡಾಟ ವಸ್ತುಗಳನ್ನು ರಚಿಸಬೇಕು:
<table class="wikitable" style="width: 100%; font-size: 80%;">
<tr>
<th>Work Item</th>
<th>Edition Item</th>
</tr>
<tr>
<td>ಶೀರ್ಷಿಕೆ ಕುರಿತು ವಿಕಿಡಾಟ ವಸ್ತು</td>
<td>ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿ ಉಪಯೋಗಿಸುವ ಪುಸ್ತಕದ ಅನುವಾದ/ಆವೃತ್ತಿ</td>
</tr>
<tr>
<td>[[:wikidata:Wikidata:WikiProject_Books#Work_item_properties]]</td>
<td>[[:wikidata:Wikidata:WikiProject_Books#Edition_item_properties]]</td>
</tr>
</table>
</div>
<table style="width: 100%; border-collapse: collapse; background-color: #ffffff; border: 1px solid #aaa;">
<tr>
<th style="width: 28%; background-color: #4CAF50; color: white; padding: 10px; border: 1px solid #aaa; text-align: left; font-weight: bold;">ವಿವರ</th>
<th style="width: 36%; background-color: #4CAF50; color: white; padding: 10px; border: 1px solid #aaa; text-align: left; font-weight: bold;">work item</th>
<th style="width: 36%; background-color: #4CAF50; color: white; padding: 10px; border: 1px solid #aaa; text-align: left; font-weight: bold;">edition item</th>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">Label :</th>
<td colspan="2" style="border: 1px solid #aaa; padding: 10px; text-align: center;">ಪುಸ್ತಕದ ಹೆಸರನ್ನು ನಮೂದಿಸಿ (ಉದಾ., "ಜಾನ್ ಡೋ").</td>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">Description :<br> <span style="color: red;">ಇದು work item ಮತ್ತು edition item ಗಳಲ್ಲಿ ವಿಭಿನ್ನವಾಗಿರಬೇಕು, ಇಲ್ಲದಿದ್ದರೆ ಎರಡನೇ ಬಾರಿಗೆ ರಚಿಸುವ ವಸ್ತು ಉಳಿಸಲು ಆಗುವುದಿಲ್ಲ</span></th>
<td style="border: 1px solid #aaa; padding: 10px;">ಸಣ್ಣ ವಿವರಣೆಯನ್ನು ಒದಗಿಸಿ (ಉದಾ., "book about folklore").</td>
<td style="border: 1px solid #aaa; padding: 10px;">ಸಣ್ಣ ವಿವರಣೆಯನ್ನು ಒದಗಿಸಿ (ಉದಾ., "2020 book about folklore").</td>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">Alias :</th>
<td colspan="2" style="border: 1px solid #aaa; padding: 10px; text-align: center;">ಅನ್ವಯಿಸಿದರೆ ನೀವು ಪರ್ಯಾಯ ಹೆಸರುಗಳನ್ನು ಸೇರಿಸಬಹುದು.</td>
</tr>
<tr style="background-color: #e0e0e0;">
<th colspan="3" style="border: 1px solid #aaa; padding: 10px; text-align: center;">Help:Statements : ಸಂಬಂಧಿತ ಹೇಳಿಕೆಗಳನ್ನು ಸೇರಿಸಲು "add statement" ಕ್ಲಿಕ್ ಮಾಡಿ ಮತ್ತು ಪುಸ್ತಕದ ವಿವರಿಸುವ ಗುಣಲಕ್ಷಣಗಳನ್ನು ಸೇರಿಸಿ.
</th>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">Instance of (P31) :</th>
<td style="border: 1px solid #aaa; padding: 10px;">"written work" ಬಳಸಿ.</td>
<td style="border: 1px solid #aaa; padding: 10px;">version, edition or translation ಬಳಸಿ</td>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">title (P1476) :</th>
<td colspan="2" style="border: 1px solid #aaa; padding: 10px; text-align: center;">ಪುಸ್ತಕದ ಶೀರ್ಷಿಕೆ ಸೇರಿಸಿ</td>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">author (P50) :</th>
<td style="border: 1px solid #aaa; padding: 10px;">ಮುಖ್ಯ ರಚನಕಾರರ ಹೆಸರು ಸೇರಿಸಿ</td>
<td style="border: 1px solid #aaa; padding: 10px;">ಅನುವಾದ/ಆವೃತ್ತಿ ಯ ಲೇಖಕರ ಹೆಸರು ಸೇರಿಸಿ</td>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">language of work or name (P407) :</th>
<td style="border: 1px solid #aaa; padding: 10px;">ಮೂಲ ಪುಸ್ತಕದ ಸ್ಥಳೀಯ ಭಾಷೆಯ ಶೀರ್ಷಿಕೆ ಬಳಸಿ, ಇದರಲ್ಲಿ ನಿಮಗೆ ಯಾವ ಭಾಷೆಯಲ್ಲಿ ಪುಸ್ತಕವಿದೆ ಎಂದೂ ಕೇಳಲಾಗುತ್ತದೆ</td>
<td style="border: 1px solid #aaa; padding: 10px;">ಆವೃತ್ತಿಯ ಸ್ಥಳೀಯ ಭಾಷೆಯ ಶೀರ್ಷಿಕೆ ಬಳಸಿ, ಇದರಲ್ಲಿ ನಿಮಗೆ ಯಾವ ಭಾಷೆಯಲ್ಲಿ ಪುಸ್ತಕವಿದೆ ಎಂದೂ ಕೇಳಲಾಗುತ್ತದೆ</td>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">has edition or translation (P747) :</th>
<td style="border: 1px solid #aaa; padding: 10px;">ಅನುವಾದ/ಆವೃತ್ತಿ (edition item) ವಿಕಿಡಾಟ ವಸ್ತುವಿನ ಕೋಡ್ ಬಳಸಿ</td>
<td style="border: 1px solid #aaa; padding: 10px;"><span style="color: red;">ಬೇಕಾಗಿಲ್ಲ</span></td>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">edition or translation of (P629) :</th>
<td style="border: 1px solid #aaa; padding: 10px;"><span style="color: red;">ಬೇಕಾಗಿಲ್ಲ</span></td>
<td style="border: 1px solid #aaa; padding: 10px;">ಮುಖ್ಯ ಪುಸ್ತಕ(work item) ವಿಕಿಡಾಟ ವಸ್ತುವಿನ ಕೋಡ್ ಬಳಸಿ</td>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">Wikisource index page URL (P1957) :</th>
<td style="border: 1px solid #aaa; padding: 10px;"><span style="color: red;">ಬೇಕಾಗಿಲ್ಲ</span></td>
<td style="border: 1px solid #aaa; padding: 10px;">ವಿಕಿಸೋರ್ಸ್ ನಲ್ಲಿನ ಪರಿವಿಡಿ ಪುಟದ ಪೂರ್ಣ URL ಸೇರಿಸಿ</td>
</tr>
<tr style="background-color: #f9f9f9;">
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">document file on Wikimedia Commons (P996) :</th>
<td style="border: 1px solid #aaa; padding: 10px;"><span style="color: red;">ಬೇಕಾಗಿಲ್ಲ</span></td>
<td style="border: 1px solid #aaa; padding: 10px;">commons ನಲ್ಲಿನ ಕಡತದ ಲಿಂಕ್ ಸೇರಿಸಿ</td>
</tr>
<tr>
<th scope="row" style="border: 1px solid #aaa; padding: 10px; text-align: left; background-color: #f2f2f2;">ಇತರ ಯೋಜನೆ</th>
<td style="border: 1px solid #aaa; padding: 10px;">
* ಪುಸ್ತಕ ವಿಕಿ ಅಥವಾ ಇತರ ಸಹೋದರ ಯೋಜನೆಗಳಲ್ಲಿ ಲೇಖನಗಳನ್ನು ಹೊಂದಿದ್ದರೆ, ನೀವು ಆ ಲಿಂಕ್ಗಳನ್ನು ಇತರ ವಿಕಿಮಿಡಿಯ (ಉದಾಹರಣೆಗೆ Wikipedia, Wikibooks, Wikinews, Wikiquote, <span style="color: red;">Wikisource ಹೊರತು ಪಡಿಸಿ</span>, Wikiversity, Wikivoyage, Wiktionary, Multilingual sites) ಅಡಿಯಲ್ಲಿ ಸೇರಿಸಬಹುದು.
</td>
<td style="border: 1px solid #aaa; padding: 10px;">ಸ್ಥಳೀಯ ವಿಕಿಸೋರ್ಸ್ ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ transclude ಮಾಡಿದ ಪುಟದ ಲಿಂಕ್ಅನ್ನು ವಿಕಿಸೋರ್ಸ್ ವಿಭಾಗದಲ್ಲಿ ಸೇರಿಸಿ</td>
</tr>
</table>
</div>
|exercise =
ನೀವು ಈವರೆಗೆ ಕೆಲಸ ಮಾಡಿದ ಪುಸ್ತಕಕ್ಕಾಗಿ:
<ol>
<li>Wikidata ನಲ್ಲಿ Work item ರಚಿಸಿ</li>
<li>Edition item ರಚಿಸಿ</li>
<li>ಎರಡನ್ನೂ ಸರಿಯಾಗಿ ಸಂಪರ್ಕಿಸಿ (P747 ಮತ್ತು P629)</li>
<li>Index ಪುಟದಲ್ಲಿ ವಿಕಿಡಾಟ ಕೋಡ್ ಅನ್ನು <code>[[d:XXXXXX]]</code> ರೂಪದಲ್ಲಿ ಸೇರಿಸಿ</li>
<li>Author item ರಚಿಸಿ ಮತ್ತು ಅದನ್ನು Work item ಗೆ ಸಂಪರ್ಕಿಸಿ</li>
</ol>
}}
0b0sibrvxrmdbbenuq86b9ex8vnyrsd
ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/5
12
100795
282430
2026-04-03T03:36:08Z
A826
6806
ಹೊಸ ಪುಟ: {{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ |contents = == ಹಂತ 5: ಅಂತಿಮ ಹಂತಗಳು ಮತ್ತು ಸಾಮಾನ್ಯ ಸಮಸ್ಯೆಗಳು == ಅಭಿನಂದನೆಗಳು! ನೀವು ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿ ಒಂದು ಪುಸ್ತಕವನ್ನು ಸೇರಿಸುವ ಎಲ್ಲಾ ಹಂತಗಳನ್ನು ಕಲಿತಿದ್ದೀರಿ. === ಅಂತಿಮ ಪರ...
282430
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|contents =
== ಹಂತ 5: ಅಂತಿಮ ಹಂತಗಳು ಮತ್ತು ಸಾಮಾನ್ಯ ಸಮಸ್ಯೆಗಳು ==
ಅಭಿನಂದನೆಗಳು! ನೀವು ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿ ಒಂದು ಪುಸ್ತಕವನ್ನು ಸೇರಿಸುವ ಎಲ್ಲಾ ಹಂತಗಳನ್ನು ಕಲಿತಿದ್ದೀರಿ.
=== ಅಂತಿಮ ಪರಿಶೀಲನಾಪಟ್ಟಿ ===
ಪುಸ್ತಕವನ್ನು ಸಂಪೂರ್ಣವಾಗಿ ಪ್ರಕಟಿಸುವ ಮೊದಲು ಈ ಎಲ್ಲಾ ಅಂಶಗಳನ್ನು ಪರಿಶೀಲಿಸಿ:
* [ ] ಎಲ್ಲಾ ಪುಟಗಳನ್ನು '''Proofread''' ಅಥವಾ '''Validated''' ಸ್ಥಿತಿಗೆ ತರಲಾಗಿದೆಯೇ?
* [ ] Index ಪುಟದಲ್ಲಿ <code><nowiki><pagelist></nowiki></code> ಸರಿಯಾಗಿದೆಯೇ?
* [ ] ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ ಪುಟದಲ್ಲಿ transclusion ಸರಿಯಾಗಿ ಕೆಲಸ ಮಾಡುತ್ತಿದೆಯೇ?
* [ ] ಎಲ್ಲಾ ಚಿತ್ರಗಳು ಸರಿಯಾಗಿ ಗೋಚರಿಸುತ್ತಿವೆಯೇ?
* [ ] ವಿಕಿಡಾಟ ಸಂಪರ್ಕ ಸರಿಯಾಗಿದೆಯೇ?
* [ ] ಪುಸ್ತಕದ ಮುಖಪುಟದಲ್ಲಿ <code><nowiki>{{header}}</nowiki></code> ಟೆಂಪ್ಲೇಟು ಸೇರಿಸಲಾಗಿದೆಯೇ?
=== header ಟೆಂಪ್ಲೇಟು ===
ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ ಪುಟದಲ್ಲಿ ಈ ಟೆಂಪ್ಲೇಟು ಸೇರಿಸಿ:
<pre>
{{header
| title = ಪುಸ್ತಕದ ಶೀರ್ಷಿಕೆ
| author = [[ಲೇಖಕ:ಲೇಖಕರ_ಹೆಸರು|ಲೇಖಕರ_ಹೆಸರು]]
| translator =
| section =
| previous =
| next =
| notes = ಈ ಪುಸ್ತಕದ ಬಗ್ಗೆ ಟಿಪ್ಪಣಿಗಳು
}}
</pre>
=== ಸಾಮಾನ್ಯ ಸಮಸ್ಯೆಗಳು ಮತ್ತು ಪರಿಹಾರಗಳು ===
{| class="wikitable" style="width: 100%;"
! ಸಮಸ್ಯೆ !! ಪರಿಹಾರ
|-
| OCR ಅಕ್ಷರಗಳು ಸರಿಯಾಗಿ ಬರುತ್ತಿಲ್ಲ || <code><nowiki><span lang="kn"></nowiki></code> ಸೇರಿಸಿ, ಅಥವಾ '''Problematic''' ಸ್ಥಿತಿಯಲ್ಲಿ ಬಿಟ್ಟು ಸಹಾಯ ಕೇಳಿ
|-
| Transclusion ನಂತರ ಪುಟ ವಿಭಾಗಗಳು ಅಸ್ತವ್ಯಸ್ತವಾಗಿವೆ || <code><nowiki><pages></nowiki></code> ಟ್ಯಾಗ್ನಲ್ಲಿ <code>header="1"</code> ತೆಗೆದು ನೋಡಿ
|-
| Index ಪುಟದಲ್ಲಿ ಪುಟ ಸಂಖ್ಯೆಗಳು ತಪ್ಪಾಗಿವೆ || <code><nowiki><pagelist from=1 to=100 /></nowiki></code> ನಲ್ಲಿ from/to ಸರಿಯಾಗಿದೆಯೇ ಪರಿಶೀಲಿಸಿ
|-
| ವಿಕಿಡಾಟ ಸಂಪರ್ಕ ಕಾಣಿಸುತ್ತಿಲ್ಲ || Index ಪುಟದಲ್ಲಿ <code><nowiki>[[d:XXXXXX]]</nowiki></code> ಸೇರಿಸಿ
|}
=== ಹೆಚ್ಚಿನ ಸಹಾಯ ಎಲ್ಲಿ ಪಡೆಯಬಹುದು ===
* '''ಚರ್ಚಾ ಪುಟ''': [[ವಿಕಿಸೋರ್ಸ್:ಅರಳಿ ಕಟ್ಟೆ]]
|exercise =
ನಿಮ್ಮ ಮೊದಲ ಸಂಪೂರ್ಣ ಪುಸ್ತಕವನ್ನು ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿ ಪ್ರಕಟಿಸಿ. ಪ್ರಕಟಿಸಿದ ನಂತರ, [[ವಿಕಿಸೋರ್ಸ್:ಹೊಸ ಪುಸ್ತಕಗಳು]] ಪುಟದಲ್ಲಿ ಅದರ ಲಿಂಕ್ ಅನ್ನು ಸೇರಿಸಿ.
}}
4xxt2n73digh3jupm1j4vc7ea5upoys
282443
282430
2026-04-03T04:53:10Z
A826
6806
282443
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|title = ಹಂತ 5: ಅಂತಿಮ ಹಂತಗಳು ಮತ್ತು ಸಂಪನ್ಮೂಲಗಳು
|contents =
== 🎉 ಅಭಿನಂದನೆಗಳು! ==
ನೀವು ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿ ಒಂದು ಪುಸ್ತಕವನ್ನು ಸೇರಿಸುವ ಎಲ್ಲಾ ಹಂತಗಳನ್ನು ಕಲಿತಿದ್ದೀರಿ!
== ✅ ಅಂತಿಮ ಪರಿಶೀಲನಾಪಟ್ಟಿ (Final Checklist) ==
ಪುಸ್ತಕವನ್ನು ಸಂಪೂರ್ಣವಾಗಿ ಪ್ರಕಟಿಸುವ ಮೊದಲು ಈ ಎಲ್ಲಾ ಅಂಶಗಳನ್ನು ಪರಿಶೀಲಿಸಿ:
{| class="wikitable" style="width: 100%;"
! ಕ್ರಮ ಸಂ. !! ಕಾರ್ಯ !! ಪೂರ್ಣವಾಯಿತೇ?
|-
| 1 || ಫೈಲ್ ಅನ್ನು Commons ಅಥವಾ ಸ್ಥಳೀಯವಾಗಿ ಅಪ್ಲೋಡ್ ಮಾಡಲಾಗಿದೆ || ☐
|-
| 2 || Index ಪುಟ ರಚಿಸಲಾಗಿದೆ (ಶೀರ್ಷಿಕೆ, ಲೇಖಕ, <code><nowiki><pagelist></nowiki></code> ಸಹಿತ) || ☐
|-
| 3 || ಎಲ್ಲಾ ಪುಟಗಳನ್ನು OCR ಮೂಲಕ ಪಠ್ಯರೂಪಕ್ಕೆ ತರಲಾಗಿದೆ || ☐
|-
| 4 || ಎಲ್ಲಾ ಪುಟಗಳನ್ನು Proofread ಸ್ಥಿತಿಗೆ ತರಲಾಗಿದೆ || ☐
|-
| 5 || ಪ್ರತಿ ಪುಟವನ್ನು ಕನಿಷ್ಠ ಇಬ್ಬರು ಸಂಪಾದಕರು ಪರಿಶೀಲಿಸಿ Validated ಸ್ಥಿತಿಗೆ ತರಲಾಗಿದೆ || ☐
|-
| 6 || ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ ಪುಸ್ತಕದ ಪುಟ ರಚಿಸಲಾಗಿದೆ || ☐
|-
| 7 || <code><nowiki><pages></nowiki></code> ಟ್ಯಾಗ್ ಬಳಸಿ Transclusion ಸರಿಯಾಗಿ ಮಾಡಲಾಗಿದೆ || ☐
|-
| 8 || ವಿಕಿಡಾಟದಲ್ಲಿ Work ಮತ್ತು Edition items ರಚಿಸಲಾಗಿದೆ || ☐
|-
| 9 || Author item ರಚಿಸಿ ಸಂಪರ್ಕಿಸಲಾಗಿದೆ || ☐
|-
| 10 || Index ಪುಟದಲ್ಲಿ <code><nowiki>[[d:XXXXXX]]</nowiki></code> ಸೇರಿಸಲಾಗಿದೆ || ☐
|}
== 📋 header ಟೆಂಪ್ಲೇಟು ==
ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ ಪುಟದಲ್ಲಿ ಈ ಟೆಂಪ್ಲೇಟು ಸೇರಿಸಿ:
<pre>
{{header
| title = ಪುಸ್ತಕದ ಶೀರ್ಷಿಕೆ
| author = [[ಲೇಖಕ:ಲೇಖಕರ_ಹೆಸರು|ಲೇಖಕರ_ಹೆಸರು]]
| translator =
| section =
| previous =
| next =
| notes = ಈ ಪುಸ್ತಕದ ಬಗ್ಗೆ ಟಿಪ್ಪಣಿಗಳು
}}
</pre>
== 🔧 ಸಾಮಾನ್ಯ ಸಮಸ್ಯೆಗಳು ಮತ್ತು ಪರಿಹಾರಗಳು ==
{| class="wikitable" style="width: 100%;"
! ಸಮಸ್ಯೆ !! ಪರಿಹಾರ
|-
| OCR ಅಕ್ಷರಗಳು ಸರಿಯಾಗಿ ಬರುತ್ತಿಲ್ಲ || <code><nowiki><span lang="kn"></nowiki></code> ಸೇರಿಸಿ, ಅಥವಾ '''Problematic''' ಸ್ಥಿತಿಯಲ್ಲಿ ಬಿಟ್ಟು ಸಹಾಯ ಕೇಳಿ
|-
| Transclusion ನಂತರ ಪುಟ ವಿಭಾಗಗಳು ಅಸ್ತವ್ಯಸ್ತವಾಗಿವೆ || <code><nowiki><pages></nowiki></code> ಟ್ಯಾಗ್ನಲ್ಲಿ <code>header="1"</code> ತೆಗೆದು ನೋಡಿ
|-
| Index ಪುಟದಲ್ಲಿ ಪುಟ ಸಂಖ್ಯೆಗಳು ತಪ್ಪಾಗಿವೆ || <code><nowiki><pagelist from=1 to=100 /></nowiki></code> ನಲ್ಲಿ from/to ಸರಿಯಾಗಿದೆಯೇ ಪರಿಶೀಲಿಸಿ
|-
| ವಿಕಿಡಾಟ ಸಂಪರ್ಕ ಕಾಣಿಸುತ್ತಿಲ್ಲ || Index ಪುಟದಲ್ಲಿ <code><nowiki>[[d:XXXXXX]]</nowiki></code> ಸೇರಿಸಿ
|-
| ಚಿತ್ರಗಳು ಕಾಣಿಸುತ್ತಿಲ್ಲ || <code><nowiki>[[File:filename.jpg|center|500px]]</nowiki></code> ಸರಿಯಾಗಿದೆಯೇ ಪರಿಶೀಲಿಸಿ
|}
== 📞 ಹೆಚ್ಚಿನ ಸಹಾಯ ಎಲ್ಲಿ ಪಡೆಯಬಹುದು ==
* '''ಚರ್ಚಾ ಪುಟ:''' [[ವಿಕಿಸೋರ್ಸ್:ಅರಳಿ ಕಟ್ಟೆ]]
* '''ಇಮೇಲ್:''' wikisource-kn@wikimedia.org
* '''Telegram/WhatsApp:''' ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ಗುಂಪು
== 📚 ಉಪಯುಕ್ತ ಸಂಪನ್ಮೂಲಗಳು ==
* [[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಕೈಪಿಡಿ]]
* [[ವಿಕಿಸೋರ್ಸ್:ಶೈಲಿ ಮಾರ್ಗದರ್ಶಿ]]
* [[c:Commons:Licensing]] - Commons ಪರವಾನಗಿ ಮಾಹಿತಿ
* [[:wikidata:Help:Items]] - Wikidata ಸಹಾಯ
|exercise =
ನಿಮ್ಮ ಮೊದಲ ಸಂಪೂರ್ಣ ಪುಸ್ತಕವನ್ನು ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿ ಪ್ರಕಟಿಸಿ. ಪ್ರಕಟಿಸಿದ ನಂತರ:
1. ಮೇಲಿನ ಪರಿಶೀಲನಾಪಟ್ಟಿಯನ್ನು ಪೂರ್ಣಗೊಳಿಸಿ
2. [[ವಿಕಿಸೋರ್ಸ್:ಹೊಸ ಪುಸ್ತಕಗಳು]] ಪುಟದಲ್ಲಿ ಅದರ ಲಿಂಕ್ ಸೇರಿಸಿ
3. ನಿಮ್ಮ ಅನುಭವವನ್ನು [[ವಿಕಿಸೋರ್ಸ್:ಅರಳಿ ಕಟ್ಟೆ]] ನಲ್ಲಿ ಹಂಚಿಕೊಳ್ಳಿ
}}
13fviadpz2cd3hlo0phygs0jby8ibqt
282566
282443
2026-04-03T05:57:02Z
A826
6806
282566
wikitext
text/x-wiki
{{ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
|title = ಹಂತ 5: ಅಂತಿಮ ಹಂತಗಳು ಮತ್ತು ಸಂಪನ್ಮೂಲಗಳು
|content =
== ಅಂತಿಮ ಪರಿಶೀಲನಾಪಟ್ಟಿ (Final Checklist) ==
ಪುಸ್ತಕವನ್ನು ಸಂಪೂರ್ಣವಾಗಿ ಪ್ರಕಟಿಸುವ ಮೊದಲು ಈ ಎಲ್ಲಾ ಅಂಶಗಳನ್ನು ಪರಿಶೀಲಿಸಿ:
<table class="wikitable" style="width: 100%;">
<tr>
<th>ಕ್ರಮ ಸಂ.</th>
<th>ಕಾರ್ಯ</th>
<th>ಪೂರ್ಣವಾಯಿತೇ?</th>
</tr>
<tr>
<td>1</td>
<td>ಫೈಲ್ ಅನ್ನು Commons ಅಥವಾ ಸ್ಥಳೀಯವಾಗಿ ಅಪ್ಲೋಡ್ ಮಾಡಲಾಗಿದೆ</td>
<td>☐</td>
</tr>
<tr>
<td>2</td>
<td>Index ಪುಟ ರಚಿಸಲಾಗಿದೆ (ಶೀರ್ಷಿಕೆ, ಲೇಖಕ, <code><nowiki><pagelist></nowiki></code> ಸಹಿತ)</td>
<td>☐</td>
</tr>
<tr>
<td>3</td>
<td>ಎಲ್ಲಾ ಪುಟಗಳನ್ನು OCR ಮೂಲಕ ಪಠ್ಯರೂಪಕ್ಕೆ ತರಲಾಗಿದೆ</td>
<td>☐</td>
</tr>
<tr>
<td>4</td>
<td>ಎಲ್ಲಾ ಪುಟಗಳನ್ನು Proofread ಸ್ಥಿತಿಗೆ ತರಲಾಗಿದೆ</td>
<td>☐</td>
</tr>
<tr>
<td>5</td>
<td>ಪ್ರತಿ ಪುಟವನ್ನು ಕನಿಷ್ಠ ಇಬ್ಬರು ಸಂಪಾದಕರು ಪರಿಶೀಲಿಸಿ Validated ಸ್ಥಿತಿಗೆ ತರಲಾಗಿದೆ</td>
<td>☐</td>
</tr>
<tr>
<td>6</td>
<td>ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ ಪುಸ್ತಕದ ಪುಟ ರಚಿಸಲಾಗಿದೆ</td>
<td>☐</td>
</tr>
<tr>
<td>7</td>
<td><code><nowiki><pages></nowiki></code> ಟ್ಯಾಗ್ ಬಳಸಿ Transclusion ಸರಿಯಾಗಿ ಮಾಡಲಾಗಿದೆ</td>
<td>☐</td>
</tr>
<tr>
<td>8</td>
<td>ವಿಕಿಡಾಟದಲ್ಲಿ Work ಮತ್ತು Edition items ರಚಿಸಲಾಗಿದೆ</td>
<td>☐</td>
</tr>
<tr>
<td>9</td>
<td>Author item ರಚಿಸಿ ಸಂಪರ್ಕಿಸಲಾಗಿದೆ</td>
<td>☐</td>
</tr>
<tr>
<td>10</td>
<td>Index ಪುಟದಲ್ಲಿ <code><nowiki>[[d:XXXXXX]]</nowiki></code> ಸೇರಿಸಲಾಗಿದೆ</td>
<td>☐</td>
</tr>
</table>
== header ಟೆಂಪ್ಲೇಟು ==
ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ ಪುಟದಲ್ಲಿ ಈ ಟೆಂಪ್ಲೇಟು ಸೇರಿಸಿ:
<pre>
{{header
| title = ಪುಸ್ತಕದ ಶೀರ್ಷಿಕೆ
| author = [[ಲೇಖಕ:ಲೇಖಕರ_ಹೆಸರು|ಲೇಖಕರ_ಹೆಸರು]]
| translator =
| section =
| previous =
| next =
| notes = ಈ ಪುಸ್ತಕದ ಬಗ್ಗೆ ಟಿಪ್ಪಣಿಗಳು
}}
</pre>
== ಸಾಮಾನ್ಯ ಸಮಸ್ಯೆಗಳು ಮತ್ತು ಪರಿಹಾರಗಳು ==
<table class="wikitable" style="width: 100%;">
<tr>
<th>ಸಮಸ್ಯೆ</th>
<th>ಪರಿಹಾರ</th>
</tr>
<tr>
<td>OCR ಅಕ್ಷರಗಳು ಸರಿಯಾಗಿ ಬರುತ್ತಿಲ್ಲ</td>
<td><code><nowiki><span lang="kn"></nowiki></code> ಸೇರಿಸಿ, ಅಥವಾ <strong>Problematic</strong> ಸ್ಥಿತಿಯಲ್ಲಿ ಬಿಟ್ಟು ಸಹಾಯ ಕೇಳಿ</td>
</tr>
<tr>
<td>Transclusion ನಂತರ ಪುಟ ವಿಭಾಗಗಳು ಅಸ್ತವ್ಯಸ್ತವಾಗಿವೆ</td>
<td><code><nowiki><pages></nowiki></code> ಟ್ಯಾಗ್ನಲ್ಲಿ <code>header="1"</code> ತೆಗೆದು ನೋಡಿ</td>
</tr>
<tr>
<td>Index ಪುಟದಲ್ಲಿ ಪುಟ ಸಂಖ್ಯೆಗಳು ತಪ್ಪಾಗಿವೆ</td>
<td><code><nowiki><pagelist from=1 to=100 /></nowiki></code> ನಲ್ಲಿ from/to ಸರಿಯಾಗಿದೆಯೇ ಪರಿಶೀಲಿಸಿ</td>
</tr>
<tr>
<td>ವಿಕಿಡಾಟ ಸಂಪರ್ಕ ಕಾಣಿಸುತ್ತಿಲ್ಲ</td>
<td>Index ಪುಟದಲ್ಲಿ <code><nowiki>[[d:XXXXXX]]</nowiki></code> ಸೇರಿಸಿ</td>
</tr>
<tr>
<td>ಚಿತ್ರಗಳು ಕಾಣಿಸುತ್ತಿಲ್ಲ</td>
<td><code><nowiki>[[File:filename.jpg|center|500px]]</nowiki></code> ಸರಿಯಾಗಿದೆಯೇ ಪರಿಶೀಲಿಸಿ</td>
</tr>
</table>
== ಹೆಚ್ಚಿನ ಸಹಾಯ ಎಲ್ಲಿ ಪಡೆಯಬಹುದು ==
* '''ಚರ್ಚಾ ಪುಟ:''' [[ವಿಕಿಸೋರ್ಸ್:ಅರಳಿ ಕಟ್ಟೆ]]
== ಉಪಯುಕ್ತ ಸಂಪನ್ಮೂಲಗಳು ==
* [[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಕೈಪಿಡಿ]]
* [[c:Commons:Licensing]] - Commons ಪರವಾನಗಿ ಮಾಹಿತಿ
* [[:wikidata:Help:Items]] - Wikidata ಸಹಾಯ
|exercise =
ನಿಮ್ಮ ಮೊದಲ ಸಂಪೂರ್ಣ ಪುಸ್ತಕವನ್ನು ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿ ಪ್ರಕಟಿಸಿ. ಪ್ರಕಟಿಸಿದ ನಂತರ:
1. ಮೇಲಿನ ಪರಿಶೀಲನಾಪಟ್ಟಿಯನ್ನು ಪೂರ್ಣಗೊಳಿಸಿ
2. [[ವಿಕಿಸೋರ್ಸ್:ಹೊಸ ಪುಸ್ತಕಗಳು]] ಪುಟದಲ್ಲಿ ಅದರ ಲಿಂಕ್ ಸೇರಿಸಿ
3. ನಿಮ್ಮ ಅನುಭವವನ್ನು [[ವಿಕಿಸೋರ್ಸ್:ಅರಳಿ ಕಟ್ಟೆ]] ನಲ್ಲಿ ಹಂಚಿಕೊಳ್ಳಿ
}}
7teoqfet2z0339sv3288xuvjvx8vy7y
ಸದಸ್ಯ:A826/sandbox
2
100796
282431
2026-04-03T03:37:02Z
A826
6806
ಹೊಸ ಪುಟ: {| class="wikitable" style="margin: auto; width: 100%;" |+ ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ಮಾರ್ಗದರ್ಶಿ – ಪ್ರಮುಖ ಹಂತಗಳು |- ! style="width: 15%;" | ಹಂತ ! style="width: 25%;" | ಕಾರ್ಯ ! style="width: 60%;" | ಪ್ರಮುಖ ಸೂಚನೆಗಳು |- | 1 | '''ಫೈಲ್ ಅಪ್ಲೋಡ್''' | * '''ಕಾಮನ್ಸ್ (Commons):''' ಉಚಿತ ಪರವಾನಗಿ (CC0, CC-BY-SA) ಇರ...
282431
wikitext
text/x-wiki
{| class="wikitable" style="margin: auto; width: 100%;"
|+ ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ಮಾರ್ಗದರ್ಶಿ – ಪ್ರಮುಖ ಹಂತಗಳು
|-
! style="width: 15%;" | ಹಂತ
! style="width: 25%;" | ಕಾರ್ಯ
! style="width: 60%;" | ಪ್ರಮುಖ ಸೂಚನೆಗಳು
|-
| 1
| '''ಫೈಲ್ ಅಪ್ಲೋಡ್'''
|
* '''ಕಾಮನ್ಸ್ (Commons):''' ಉಚಿತ ಪರವಾನಗಿ (CC0, CC-BY-SA) ಇರುವ, ಸ್ವಂತ ರಚಿತ ಕಡತಗಳಿಗೆ.
* '''ಸ್ಥಳೀಯ:''' ಭಾರತೀಯ ಹಕ್ಕುಸ್ವಾಮ್ಯ ನಿಯಮದ ಅಡಿಯಲ್ಲಿ ಸದ್ಬಳಕೆ (Fair use) ಪುಟಗಳಿಗೆ ಮಾತ್ರ.
|-
| 2
| '''ಪರಿವಿಡಿ (Index) ಪುಟ ರಚನೆ'''
|
* <code>Index:ಕಡತದ_ಹೆಸರು.djvu</code> ಲಿಂಕ್ ಬಳಸಿ ಪುಟ ರಚಿಸಿ.
* ಶೀರ್ಷಿಕೆ, ಲೇಖಕ, ಪ್ರಕಾಶಕ ಮಾಹಿತಿ ಸೇರಿಸಿ.
* <code><nowiki><pagelist></nowiki></code> ಟ್ಯಾಗ್ ಸೇರಿಸುವುದು ಕಡ್ಡಾಯ.
|-
| 3
| '''ಪ್ರತ್ಯೇಕ ಪುಟಗಳ ನಿರ್ಮಾಣ'''
|
* '''Transcribe text''' ಬಟನ್ ಬಳಸಿ.
* '''Google OCR''' ಆಯ್ಕೆ ಮಾಡಿ.
* '''Languages:''' ಕನ್ನಡ ಆಯ್ಕೆ ಮಾಡಿ.
|-
| 4
| '''ಪ್ರೂಫ್ ರೀಡಿಂಗ್ (Proofreading)'''
|
* ಪಠ್ಯವನ್ನು ಸ್ಕ್ಯಾನ್ ಪ್ರತಿಗೆ ಹೊಂದಿಸಿ ಸರಿಪಡಿಸಿ.
* ಮೂಲಭೂತ ಫಾರ್ಮ್ಯಾಟಿಂಗ್ (ಅಕ್ಷರದ ದಪ್ಪ, ಇಟಾಲಿಕ್) ಸೇರಿಸಿ.
* ಸ್ಥಿತಿಯನ್ನು '''"ಪರಿಶೀಲಿಸಲಾಗಿದೆ (Proofread)"''' ಎಂದು ಗುರುತಿಸಿ.
|-
| 5
| '''ಪುಟದ ಸ್ಥಿತಿ ನಿಗದಿ'''
|
* '''ಹಸಿರು (Validated):''' ಇಬ್ಬರಿಗಿಂತ ಹೆಚ್ಚು ಸಂಪಾದಕರು ಪರಿಶೀಲಿಸಿದ ಪುಟ.
* '''ಹಳದಿ (Proofread):''' ಒಬ್ಬ ಸಂಪಾದಕ ಪರಿಶೀಲಿಸಿದ, ಸಿದ್ಧ ಪುಟ.
* '''ಕೆಂಪು (Problematic):''' ದೋಷಯುಕ್ತ ಅಥವಾ ಚರ್ಚೆ ಅಗತ್ಯವಿರುವ ಪುಟ.
|-
| 6
| '''ಮೌಲ್ಯೀಕರಣ (Validation)'''
|
* ಈಗಾಗಲೇ '''Proofread''' ಆಗಿರುವ ಪುಟವನ್ನು ಇನ್ನೊಬ್ಬ ಸಂಪಾದಕರು ಪುನಃ ಪರಿಶೀಲಿಸಿ.
* ಸರಿಯಾಗಿದ್ದರೆ ಸ್ಥಿತಿಯನ್ನು '''"ಪ್ರಕಟಿಸಲಾಗಿದೆ (Validated)"''' ಗೆ ಬದಲಾಯಿಸಿ.
|-
| 7
| '''ಟ್ರಾನ್ಸ್ಕ್ಲೂಷನ್ (Transclusion)'''
|
* ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ ಪುಸ್ತಕದ ಪ್ರತಿಯನ್ನು ಸೇರಿಸಲು <code><nowiki><pages></nowiki></code> ಟ್ಯಾಗ್ ಬಳಸಿ.
* ಉದಾ: <code><nowiki><pages index="ಫೈಲ್.pdf" from=1 to=10 /></nowiki></code>
* ಪುಟ ವಿರಾಮಕ್ಕೆ <code><nowiki>{{ppb}}</nowiki></code> ಟೆಂಪ್ಲೇಟ್ ಬಳಸಿ.
|-
| 8
| '''ವಿಕಿಡಾಟ (Wikidata)'''
|
* '''ಕರ್ತೃ (Author):''' ಪ್ರತ್ಯೇಕ ಐಟಂ ರಚಿಸಿ (ಹೆಸರು, ಉದ್ಯೋಗ, ರಾಷ್ಟ್ರೀಯತೆ).
* '''ಪುಸ್ತಕ (Book):''' '''Work''' (ಮೂಲ ಕೃತಿ) ಮತ್ತು '''Edition''' (ಆವೃತ್ತಿ) ಎಂದು ಎರಡು ಐಟಂಗಳನ್ನು ರಚಿಸಿ.
* <code>P1957</code> (Index page URL) ಮತ್ತು <code>P996</code> (Commons file) ಗುಣಲಕ್ಷಣಗಳನ್ನು ಸೇರಿಸಿ.
|}
2vl70a4lwp4o5ej6708kwirattqm98z
ಟೆಂಪ್ಲೇಟು:FULLROOTPAGENAME
10
100799
282471
2022-01-02T08:54:02Z
w:en>Dinoguy1000
0
fix "|=foo" bug
282471
wikitext
text/x-wiki
{{ safesubst:<noinclude/>#if: {{ safesubst:<noinclude/>Ns has subpages | {{ safesubst:<noinclude/>#if:{{{1|}}}|{{ safesubst:<noinclude/>NAMESPACE:{{{1}}}}}|{{ safesubst:<noinclude/>NAMESPACE}}}} }}
| {{ safesubst:<noinclude/>#titleparts:{{ safesubst:<noinclude/>#if:{{{1|}}}|{{{1}}}|{{ safesubst:<noinclude/>FULLPAGENAME}}}}|1}}
| {{ safesubst:<noinclude/>#if:{{{1|}}}|{{{1}}}|{{ safesubst:<noinclude/>FULLPAGENAME}}}}
}}<noinclude>
{{documentation}}
</noinclude>
tk494gglkhfogc40do2k58d4bbttx9o
282472
282471
2026-04-03T05:07:31Z
A826
6806
೧ ಬದಲಾವಣೆ
282471
wikitext
text/x-wiki
{{ safesubst:<noinclude/>#if: {{ safesubst:<noinclude/>Ns has subpages | {{ safesubst:<noinclude/>#if:{{{1|}}}|{{ safesubst:<noinclude/>NAMESPACE:{{{1}}}}}|{{ safesubst:<noinclude/>NAMESPACE}}}} }}
| {{ safesubst:<noinclude/>#titleparts:{{ safesubst:<noinclude/>#if:{{{1|}}}|{{{1}}}|{{ safesubst:<noinclude/>FULLPAGENAME}}}}|1}}
| {{ safesubst:<noinclude/>#if:{{{1|}}}|{{{1}}}|{{ safesubst:<noinclude/>FULLPAGENAME}}}}
}}<noinclude>
{{documentation}}
</noinclude>
tk494gglkhfogc40do2k58d4bbttx9o
ಟೆಂಪ್ಲೇಟು:SUBPAGENAME
10
100800
282473
2020-03-27T15:25:40Z
w:en>Primefac
0
making a [[WP:BOLD]] yet minor change - changing the sort structure in [[Category:Pages which use a template in place of a magic word|the tracking category]] to make it less convoluted
282473
wikitext
text/x-wiki
{{<includeonly>safesubst:</includeonly>SUBPAGENAME:{{{1|}}}}}<includeonly>[[Category:Pages which use a template in place of a magic word|K{{PAGENAME}}]]</includeonly><noinclude>
{{Documentation}}</noinclude>
7xiucvb6zjglyy0s8wp5u7hpbmjl2p3
282474
282473
2026-04-03T05:07:32Z
A826
6806
೧ ಬದಲಾವಣೆ
282473
wikitext
text/x-wiki
{{<includeonly>safesubst:</includeonly>SUBPAGENAME:{{{1|}}}}}<includeonly>[[Category:Pages which use a template in place of a magic word|K{{PAGENAME}}]]</includeonly><noinclude>
{{Documentation}}</noinclude>
7xiucvb6zjglyy0s8wp5u7hpbmjl2p3
ಮಾಡ್ಯೂಲ್:Transclusion count/data/F
828
100801
282525
2026-03-29T05:09:56Z
w:en>Ahechtbot
0
[[Wikipedia:BOT|Bot]]: Updated page.
282525
Scribunto
text/plain
return {
["F1"] = 5300,
["FA-Class"] = 16000,
["FAA-airport"] = 3800,
["FACClosed"] = 6300,
["FAC_link"] = 117000,
["FAR_link"] = 117000,
["FCC-LMS-Facility"] = 5800,
["FCC_Licensing_and_Management_System_facility"] = 16000,
["FFU"] = 2000,
["FIDE"] = 2500,
["FIFA_player"] = 10000,
["FIG_country_code"] = 2500,
["FIN"] = 9900,
["FIPS"] = 2400,
["FJC_Bio"] = 4000,
["FL-Class"] = 13000,
["FLCClosed"] = 3600,
["FM-Class"] = 4300,
["FMA"] = 3400,
["FMARB"] = 8900,
["FMXL"] = 2600,
["FM_station_data"] = 8500,
["FPCnom/VotingEnds"] = 11000,
["FPCresult"] = 17000,
["FRA"] = 21000,
["FRG"] = 3800,
["FTE"] = 3100,
["FULLBASEPAGENAME"] = 351000,
["FULLROOTPAGENAME"] = 3710000,
["FXL"] = 2200,
["FYI"] = 2100,
["Fa_bottom"] = 3300,
["Fa_top"] = 3300,
["Facebook"] = 14000,
["Facepalm"] = 2800,
["Facl"] = 117000,
["Fact"] = 40000,
["FadedPage"] = 2700,
["FailedGA"] = 3700,
["Failed_verification"] = 18000,
["Fake_heading"] = 2100,
["Fake_heading/styles.css"] = 2100,
["Family_name_explanation"] = 96000,
["Family_name_explanation/core"] = 96000,
["Family_name_footnote"] = 2100,
["Family_name_hatnote"] = 94000,
["Farl"] = 117000,
["Fb"] = 31000,
["Fb-rt"] = 6200,
["Fb_cs_footer"] = 3200,
["Fb_gd"] = 11000,
["Fb_overview"] = 5800,
["Fb_overview2"] = 5100,
["Fb_rs"] = 11000,
["Fb_rs_footer"] = 10000,
["Fba/core"] = 8900,
["Fba/list"] = 11000,
["Fbaicon"] = 11000,
["Fbaicon/core"] = 11000,
["Fbicon"] = 3600,
["Fbu"] = 4000,
["Fbu-rt"] = 2600,
["Fbw"] = 6000,
["Fdacite"] = 14000,
["Fdate"] = 2900,
["FeaturedPicture"] = 7200,
["Featured_article"] = 7200,
["Featured_article_tools"] = 12000,
["Featured_list"] = 4800,
["Featured_picture"] = 8700,
["Featured_topic_box"] = 3600,
["Featured_topic_box/styles.css"] = 3600,
["Feedback_link"] = 4600,
["Fiction-based_redirects_to_list_entries_category_handler"] = 3200,
["Fictional_character_redirect"] = 3700,
["File-Class"] = 13000,
["File_other"] = 989000,
["Filipino_name"] = 4300,
["Film_date"] = 165000,
["Filter_category_by_topic"] = 2700,
["Find"] = 8300,
["FindYDCportal"] = 221000,
["Find_a_Grave"] = 24000,
["Find_country"] = 39000,
["Find_demonym"] = 37000,
["Find_general_sources"] = 910000,
["Find_medical_sources"] = 8200,
["Find_page_text"] = 2780000,
["Find_sources"] = 622000,
["Find_sources/proj/is_biography"] = 607000,
["Find_sources/proj/is_med"] = 622000,
["Find_sources/proj/is_video"] = 614000,
["Find_sources/top_proj"] = 622000,
["Find_sources_AFD"] = 254000,
["Find_sources_mainspace"] = 700000,
["Find_video_game_sources"] = 6800,
["Find_video_game_sources_short"] = 3100,
["Findsources"] = 42000,
["First_word"] = 657000,
["FishBase"] = 20000,
["FishBase_genus"] = 4200,
["Fix"] = 1050000,
["Fix-span"] = 64000,
["Fix/category"] = 1010000,
["Fix_comma_category"] = 594000,
["Fixed"] = 10000,
["Fl."] = 3600,
["Flag"] = 347000,
["Flag/core"] = 347000,
["FlagCGFathlete"] = 2200,
["FlagIOC"] = 10000,
["FlagIOC2"] = 4600,
["FlagIOC2athlete"] = 6600,
["FlagIOC2team"] = 2900,
["FlagIOCathlete"] = 11000,
["FlagIPC"] = 3300,
["FlagPASO"] = 2100,
["FlagPASOathlete"] = 3300,
["Flag_CGF_athlete"] = 2400,
["Flag_IOC"] = 13000,
["Flag_IOC_2"] = 18000,
["Flag_IOC_2_athlete"] = 15000,
["Flag_IOC_2_medalist"] = 5100,
["Flag_IOC_2_team"] = 4300,
["Flag_IOC_athlete"] = 13000,
["Flag_IPC"] = 4000,
["Flag_PASO"] = 3000,
["Flag_PASO_athlete"] = 3500,
["Flag_athlete"] = 39000,
["Flag_country"] = 41000,
["Flag_country/core"] = 41000,
["Flag_data"] = 12000,
["Flag_decoration"] = 94000,
["Flag_decoration/core"] = 94000,
["Flag_icon"] = 614000,
["Flag_icon/core"] = 614000,
["Flag_icon/nt"] = 9500,
["Flag_link"] = 2100,
["Flag_link/core"] = 86000,
["Flag_medalist"] = 2800,
["Flag_medalist/core"] = 2800,
["Flag_team"] = 2900,
["Flagathlete"] = 31000,
["Flagbig"] = 5100,
["Flagbig/core"] = 8900,
["Flagcountry"] = 26000,
["Flagdeco"] = 65000,
["Flagg"] = 22000,
["Flagicon"] = 461000,
["Flagicon_image"] = 51000,
["Flagmedalist"] = 2700,
["Flagright/core"] = 26000,
["Flagteam"] = 2500,
["Flagu"] = 31000,
["Flagu/core"] = 31000,
["Flat_list"] = 7700,
["Flatlist"] = 2590000,
["FloraBase"] = 6100,
["Floruit"] = 7400,
["Fmbox"] = 23000,
["FoP-USonly"] = 5000,
["Font"] = 11000,
["Font_color"] = 27000,
["Fontcolor"] = 6900,
["Fooian_companies_established_in_the_year"] = 5500,
["Fooian_expatriate_sportspeople_in_Bar_cat"] = 11000,
["Fooian_expatriate_sportspeople_in_Bar_cat/core"] = 11000,
["Fooian_expatriate_sportspeople_in_Bar_cat/sortname"] = 11000,
["Fooian_fooers"] = 14000,
["FootballFacts.ru"] = 6000,
["Football_box"] = 29000,
["Football_box_collapsible"] = 30000,
["Football_box_collapsible/styles.css"] = 30000,
["Football_kit"] = 54000,
["Football_manager_history"] = 23000,
["Football_squad"] = 46000,
["Football_squad2_player"] = 49000,
["Football_squad_end"] = 21000,
["Football_squad_manager"] = 47000,
["Football_squad_mid"] = 19000,
["Football_squad_player"] = 22000,
["Football_squad_player/role"] = 8100,
["Football_squad_player/styles.css"] = 21000,
["Football_squad_start"] = 21000,
["Footballbox"] = 5900,
["Footballbox_collapsible"] = 8800,
["Footballstats"] = 4100,
["Foo–Bar_relations_category"] = 10000,
["Foo–Bar_relations_category/core"] = 10000,
["Foo–Bar_relations_category/countrynamesortfix"] = 10000,
["Foo–Bar_relations_category/fixcountryname"] = 10000,
["Foo–Bar_relations_category/inner_core"] = 10000,
["Foo–Bar_relations_category/mapname"] = 10000,
["For"] = 206000,
["For-multi"] = 13000,
["For_loop"] = 1150000,
["For_multi"] = 7200,
["For_nowiki"] = 9400,
["ForaDeJogo"] = 4100,
["Force_plural"] = 17000,
["Force_singular"] = 2800,
["Format_link"] = 12000,
["Format_linkr"] = 6800,
["Format_numeric_span"] = 3800,
["Format_price"] = 8700,
["Format_price/digits"] = 8500,
["Formatprice"] = 4000,
["Fossil_range"] = 14000,
["Fossil_range/bar"] = 25000,
["Fossil_range/marker"] = 25000,
["Fossilrange"] = 6600,
["Foundational_Model_of_Anatomy"] = 3400,
["Frac"] = 35000,
["Fraction"] = 41000,
["Fraction/styles.css"] = 105000,
["France_metadata_Wikidata"] = 36000,
["Free_access"] = 5200,
["Free_in_US_media"] = 23000,
["Free_media"] = 137000,
["Freedom_of_panorama_(US_only)"] = 5100,
["Frequency"] = 6900,
["Friday"] = 2700,
["Fs_end"] = 20000,
["Fs_mid"] = 18000,
["Fs_player"] = 20000,
["Fs_start"] = 20000,
["Full-time_equivalent"] = 3100,
["Full_citation_needed"] = 10000,
["Full_party_name_with_color"] = 6100,
["Fullurl"] = 6900,
["Fullurl:"] = 6700,
["Further"] = 75000,
["Further_information"] = 2400,
["Fussballdaten"] = 4200,
["Module:Fb_overview"] = 6000,
["Module:Fba"] = 18000,
["Module:Fba/list"] = 35000,
["Module:FeaturedTopicSum"] = 6800,
["Module:Fedi-share"] = 3800,
["Module:Fiction-based_redirects_to_list_entries_category_handler"] = 3200,
["Module:Fiction-based_redirects_to_list_entries_category_handler/RedirectType"] = 3200,
["Module:Fiction_redirect_category_handler"] = 5000,
["Module:File_link"] = 85000,
["Module:FindYDCportal"] = 390000,
["Module:Find_country"] = 39000,
["Module:Find_demonym"] = 37000,
["Module:Find_sources"] = 1620000,
["Module:Find_sources/config"] = 1620000,
["Module:Find_sources/links"] = 1620000,
["Module:Find_sources/templates/Find_general_sources"] = 910000,
["Module:Find_sources/templates/Find_sources_mainspace"] = 700000,
["Module:Find_sources/templates/Find_sources_medical"] = 8200,
["Module:Find_sources/templates/Find_sources_video_games"] = 6800,
["Module:Flag"] = 370000,
["Module:Flag_list"] = 11000,
["Module:Flagg"] = 450000,
["Module:Flagg/Altvar_data"] = 32000,
["Module:Football_box"] = 29000,
["Module:Football_box/styles.css"] = 29000,
["Module:Football_box_collapsible"] = 30000,
["Module:Football_manager_history"] = 23000,
["Module:Football_squad"] = 46000,
["Module:Footballer_positions"] = 210000,
["Module:Footnotes"] = 357000,
["Module:Footnotes/anchor_id_list"] = 264000,
["Module:Footnotes/anchor_id_list/data"] = 264000,
["Module:Footnotes/whitelist"] = 264000,
["Module:For"] = 207000,
["Module:For_loop"] = 1150000,
["Module:For_nowiki"] = 9400,
["Module:Format_link"] = 1490000,
["Module:Formatted_appearance"] = 5900,
}
dgviumm2zf8lkm4dt23jer395zhphpf
282526
282525
2026-04-03T05:07:34Z
A826
6806
೧ ಬದಲಾವಣೆ
282525
Scribunto
text/plain
return {
["F1"] = 5300,
["FA-Class"] = 16000,
["FAA-airport"] = 3800,
["FACClosed"] = 6300,
["FAC_link"] = 117000,
["FAR_link"] = 117000,
["FCC-LMS-Facility"] = 5800,
["FCC_Licensing_and_Management_System_facility"] = 16000,
["FFU"] = 2000,
["FIDE"] = 2500,
["FIFA_player"] = 10000,
["FIG_country_code"] = 2500,
["FIN"] = 9900,
["FIPS"] = 2400,
["FJC_Bio"] = 4000,
["FL-Class"] = 13000,
["FLCClosed"] = 3600,
["FM-Class"] = 4300,
["FMA"] = 3400,
["FMARB"] = 8900,
["FMXL"] = 2600,
["FM_station_data"] = 8500,
["FPCnom/VotingEnds"] = 11000,
["FPCresult"] = 17000,
["FRA"] = 21000,
["FRG"] = 3800,
["FTE"] = 3100,
["FULLBASEPAGENAME"] = 351000,
["FULLROOTPAGENAME"] = 3710000,
["FXL"] = 2200,
["FYI"] = 2100,
["Fa_bottom"] = 3300,
["Fa_top"] = 3300,
["Facebook"] = 14000,
["Facepalm"] = 2800,
["Facl"] = 117000,
["Fact"] = 40000,
["FadedPage"] = 2700,
["FailedGA"] = 3700,
["Failed_verification"] = 18000,
["Fake_heading"] = 2100,
["Fake_heading/styles.css"] = 2100,
["Family_name_explanation"] = 96000,
["Family_name_explanation/core"] = 96000,
["Family_name_footnote"] = 2100,
["Family_name_hatnote"] = 94000,
["Farl"] = 117000,
["Fb"] = 31000,
["Fb-rt"] = 6200,
["Fb_cs_footer"] = 3200,
["Fb_gd"] = 11000,
["Fb_overview"] = 5800,
["Fb_overview2"] = 5100,
["Fb_rs"] = 11000,
["Fb_rs_footer"] = 10000,
["Fba/core"] = 8900,
["Fba/list"] = 11000,
["Fbaicon"] = 11000,
["Fbaicon/core"] = 11000,
["Fbicon"] = 3600,
["Fbu"] = 4000,
["Fbu-rt"] = 2600,
["Fbw"] = 6000,
["Fdacite"] = 14000,
["Fdate"] = 2900,
["FeaturedPicture"] = 7200,
["Featured_article"] = 7200,
["Featured_article_tools"] = 12000,
["Featured_list"] = 4800,
["Featured_picture"] = 8700,
["Featured_topic_box"] = 3600,
["Featured_topic_box/styles.css"] = 3600,
["Feedback_link"] = 4600,
["Fiction-based_redirects_to_list_entries_category_handler"] = 3200,
["Fictional_character_redirect"] = 3700,
["File-Class"] = 13000,
["File_other"] = 989000,
["Filipino_name"] = 4300,
["Film_date"] = 165000,
["Filter_category_by_topic"] = 2700,
["Find"] = 8300,
["FindYDCportal"] = 221000,
["Find_a_Grave"] = 24000,
["Find_country"] = 39000,
["Find_demonym"] = 37000,
["Find_general_sources"] = 910000,
["Find_medical_sources"] = 8200,
["Find_page_text"] = 2780000,
["Find_sources"] = 622000,
["Find_sources/proj/is_biography"] = 607000,
["Find_sources/proj/is_med"] = 622000,
["Find_sources/proj/is_video"] = 614000,
["Find_sources/top_proj"] = 622000,
["Find_sources_AFD"] = 254000,
["Find_sources_mainspace"] = 700000,
["Find_video_game_sources"] = 6800,
["Find_video_game_sources_short"] = 3100,
["Findsources"] = 42000,
["First_word"] = 657000,
["FishBase"] = 20000,
["FishBase_genus"] = 4200,
["Fix"] = 1050000,
["Fix-span"] = 64000,
["Fix/category"] = 1010000,
["Fix_comma_category"] = 594000,
["Fixed"] = 10000,
["Fl."] = 3600,
["Flag"] = 347000,
["Flag/core"] = 347000,
["FlagCGFathlete"] = 2200,
["FlagIOC"] = 10000,
["FlagIOC2"] = 4600,
["FlagIOC2athlete"] = 6600,
["FlagIOC2team"] = 2900,
["FlagIOCathlete"] = 11000,
["FlagIPC"] = 3300,
["FlagPASO"] = 2100,
["FlagPASOathlete"] = 3300,
["Flag_CGF_athlete"] = 2400,
["Flag_IOC"] = 13000,
["Flag_IOC_2"] = 18000,
["Flag_IOC_2_athlete"] = 15000,
["Flag_IOC_2_medalist"] = 5100,
["Flag_IOC_2_team"] = 4300,
["Flag_IOC_athlete"] = 13000,
["Flag_IPC"] = 4000,
["Flag_PASO"] = 3000,
["Flag_PASO_athlete"] = 3500,
["Flag_athlete"] = 39000,
["Flag_country"] = 41000,
["Flag_country/core"] = 41000,
["Flag_data"] = 12000,
["Flag_decoration"] = 94000,
["Flag_decoration/core"] = 94000,
["Flag_icon"] = 614000,
["Flag_icon/core"] = 614000,
["Flag_icon/nt"] = 9500,
["Flag_link"] = 2100,
["Flag_link/core"] = 86000,
["Flag_medalist"] = 2800,
["Flag_medalist/core"] = 2800,
["Flag_team"] = 2900,
["Flagathlete"] = 31000,
["Flagbig"] = 5100,
["Flagbig/core"] = 8900,
["Flagcountry"] = 26000,
["Flagdeco"] = 65000,
["Flagg"] = 22000,
["Flagicon"] = 461000,
["Flagicon_image"] = 51000,
["Flagmedalist"] = 2700,
["Flagright/core"] = 26000,
["Flagteam"] = 2500,
["Flagu"] = 31000,
["Flagu/core"] = 31000,
["Flat_list"] = 7700,
["Flatlist"] = 2590000,
["FloraBase"] = 6100,
["Floruit"] = 7400,
["Fmbox"] = 23000,
["FoP-USonly"] = 5000,
["Font"] = 11000,
["Font_color"] = 27000,
["Fontcolor"] = 6900,
["Fooian_companies_established_in_the_year"] = 5500,
["Fooian_expatriate_sportspeople_in_Bar_cat"] = 11000,
["Fooian_expatriate_sportspeople_in_Bar_cat/core"] = 11000,
["Fooian_expatriate_sportspeople_in_Bar_cat/sortname"] = 11000,
["Fooian_fooers"] = 14000,
["FootballFacts.ru"] = 6000,
["Football_box"] = 29000,
["Football_box_collapsible"] = 30000,
["Football_box_collapsible/styles.css"] = 30000,
["Football_kit"] = 54000,
["Football_manager_history"] = 23000,
["Football_squad"] = 46000,
["Football_squad2_player"] = 49000,
["Football_squad_end"] = 21000,
["Football_squad_manager"] = 47000,
["Football_squad_mid"] = 19000,
["Football_squad_player"] = 22000,
["Football_squad_player/role"] = 8100,
["Football_squad_player/styles.css"] = 21000,
["Football_squad_start"] = 21000,
["Footballbox"] = 5900,
["Footballbox_collapsible"] = 8800,
["Footballstats"] = 4100,
["Foo–Bar_relations_category"] = 10000,
["Foo–Bar_relations_category/core"] = 10000,
["Foo–Bar_relations_category/countrynamesortfix"] = 10000,
["Foo–Bar_relations_category/fixcountryname"] = 10000,
["Foo–Bar_relations_category/inner_core"] = 10000,
["Foo–Bar_relations_category/mapname"] = 10000,
["For"] = 206000,
["For-multi"] = 13000,
["For_loop"] = 1150000,
["For_multi"] = 7200,
["For_nowiki"] = 9400,
["ForaDeJogo"] = 4100,
["Force_plural"] = 17000,
["Force_singular"] = 2800,
["Format_link"] = 12000,
["Format_linkr"] = 6800,
["Format_numeric_span"] = 3800,
["Format_price"] = 8700,
["Format_price/digits"] = 8500,
["Formatprice"] = 4000,
["Fossil_range"] = 14000,
["Fossil_range/bar"] = 25000,
["Fossil_range/marker"] = 25000,
["Fossilrange"] = 6600,
["Foundational_Model_of_Anatomy"] = 3400,
["Frac"] = 35000,
["Fraction"] = 41000,
["Fraction/styles.css"] = 105000,
["France_metadata_Wikidata"] = 36000,
["Free_access"] = 5200,
["Free_in_US_media"] = 23000,
["Free_media"] = 137000,
["Freedom_of_panorama_(US_only)"] = 5100,
["Frequency"] = 6900,
["Friday"] = 2700,
["Fs_end"] = 20000,
["Fs_mid"] = 18000,
["Fs_player"] = 20000,
["Fs_start"] = 20000,
["Full-time_equivalent"] = 3100,
["Full_citation_needed"] = 10000,
["Full_party_name_with_color"] = 6100,
["Fullurl"] = 6900,
["Fullurl:"] = 6700,
["Further"] = 75000,
["Further_information"] = 2400,
["Fussballdaten"] = 4200,
["Module:Fb_overview"] = 6000,
["Module:Fba"] = 18000,
["Module:Fba/list"] = 35000,
["Module:FeaturedTopicSum"] = 6800,
["Module:Fedi-share"] = 3800,
["Module:Fiction-based_redirects_to_list_entries_category_handler"] = 3200,
["Module:Fiction-based_redirects_to_list_entries_category_handler/RedirectType"] = 3200,
["Module:Fiction_redirect_category_handler"] = 5000,
["Module:File_link"] = 85000,
["Module:FindYDCportal"] = 390000,
["Module:Find_country"] = 39000,
["Module:Find_demonym"] = 37000,
["Module:Find_sources"] = 1620000,
["Module:Find_sources/config"] = 1620000,
["Module:Find_sources/links"] = 1620000,
["Module:Find_sources/templates/Find_general_sources"] = 910000,
["Module:Find_sources/templates/Find_sources_mainspace"] = 700000,
["Module:Find_sources/templates/Find_sources_medical"] = 8200,
["Module:Find_sources/templates/Find_sources_video_games"] = 6800,
["Module:Flag"] = 370000,
["Module:Flag_list"] = 11000,
["Module:Flagg"] = 450000,
["Module:Flagg/Altvar_data"] = 32000,
["Module:Football_box"] = 29000,
["Module:Football_box/styles.css"] = 29000,
["Module:Football_box_collapsible"] = 30000,
["Module:Football_manager_history"] = 23000,
["Module:Football_squad"] = 46000,
["Module:Footballer_positions"] = 210000,
["Module:Footnotes"] = 357000,
["Module:Footnotes/anchor_id_list"] = 264000,
["Module:Footnotes/anchor_id_list/data"] = 264000,
["Module:Footnotes/whitelist"] = 264000,
["Module:For"] = 207000,
["Module:For_loop"] = 1150000,
["Module:For_nowiki"] = 9400,
["Module:Format_link"] = 1490000,
["Module:Formatted_appearance"] = 5900,
}
dgviumm2zf8lkm4dt23jer395zhphpf
ಟೆಂಪ್ಲೇಟು:FULLROOTPAGENAME/doc
10
100802
282529
2023-09-29T00:10:00Z
w:en>Andrybak
0
remove over-categorization
282529
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) -->
{{used in system}}
Get the namespace and the root of the page name. It is similar to the template {{tl|FULLBASEPAGENAME}}, but returns the '''root''' of the page hierarchy instead of the '''parent'''.
=== Usage ===
* {{tlx|FULLROOTPAGENAME}} → {{FULLROOTPAGENAME}}
* {{tlx|FULLROOTPAGENAME|Template:1x/sandbox}} → {{FULLROOTPAGENAME|Template:1x/sandbox}}
* {{tlx|FULLROOTPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}} → {{FULLROOTPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}}
In namespaces with subpages disabled, it will return the full page name:
* {{tlx|FULLROOTPAGENAME|List of 28 Days/Weeks Later characters}} → {{FULLROOTPAGENAME|List of 28 Days/Weeks Later characters}}
Note that this template can be substituted.
== TemplateData ==
{{TemplateData header}}
<templatedata>{
"description": "A meta template that takes a page name and returns its root page name (including namespace).",
"params": {
"1": {
"label": "Page name",
"description": "The input page name. If omitted or empty, the current page name will be used",
"type": "string/wiki-page-name",
"required": false
}
}
}</templatedata>
== See also ==
* [[mw:Help:Magic words#Page names]]
* {{tl|FULLBASEPAGENAME}}
* {{tl|ROOTPAGENAME}}
<includeonly>{{sandbox other||
<!-- Add categories below this line, and interwikis at Wikidata -->
[[Category:Wikipedia magic word templates]]
}}</includeonly>
1fyhiwitugs5gls4rwqdn87uqg8mqs4
282530
282529
2026-04-03T05:07:34Z
A826
6806
೧ ಬದಲಾವಣೆ
282529
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) -->
{{used in system}}
Get the namespace and the root of the page name. It is similar to the template {{tl|FULLBASEPAGENAME}}, but returns the '''root''' of the page hierarchy instead of the '''parent'''.
=== Usage ===
* {{tlx|FULLROOTPAGENAME}} → {{FULLROOTPAGENAME}}
* {{tlx|FULLROOTPAGENAME|Template:1x/sandbox}} → {{FULLROOTPAGENAME|Template:1x/sandbox}}
* {{tlx|FULLROOTPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}} → {{FULLROOTPAGENAME|Wikipedia:Administrators' noticeboard/Arbitration enforcement/Archive1}}
In namespaces with subpages disabled, it will return the full page name:
* {{tlx|FULLROOTPAGENAME|List of 28 Days/Weeks Later characters}} → {{FULLROOTPAGENAME|List of 28 Days/Weeks Later characters}}
Note that this template can be substituted.
== TemplateData ==
{{TemplateData header}}
<templatedata>{
"description": "A meta template that takes a page name and returns its root page name (including namespace).",
"params": {
"1": {
"label": "Page name",
"description": "The input page name. If omitted or empty, the current page name will be used",
"type": "string/wiki-page-name",
"required": false
}
}
}</templatedata>
== See also ==
* [[mw:Help:Magic words#Page names]]
* {{tl|FULLBASEPAGENAME}}
* {{tl|ROOTPAGENAME}}
<includeonly>{{sandbox other||
<!-- Add categories below this line, and interwikis at Wikidata -->
[[Category:Wikipedia magic word templates]]
}}</includeonly>
1fyhiwitugs5gls4rwqdn87uqg8mqs4
ಟೆಂಪ್ಲೇಟು:!mxt
10
100803
282537
2026-04-03T01:44:40Z
w:en>Primefac
0
Primefac moved page [[Template:!mxt]] to [[Template:Example text monospaced bad]]: expand name for clarity
282537
wikitext
text/x-wiki
#REDIRECT [[Template:Example text monospaced bad]]
{{Redirect category shell|
{{R from move}}
}}
cub4fzmiupa7knvtn7x39nnrn7l239n
282538
282537
2026-04-03T05:07:34Z
A826
6806
೧ ಬದಲಾವಣೆ
282537
wikitext
text/x-wiki
#REDIRECT [[Template:Example text monospaced bad]]
{{Redirect category shell|
{{R from move}}
}}
cub4fzmiupa7knvtn7x39nnrn7l239n
ಟೆಂಪ್ಲೇಟು:Mxt
10
100804
282539
2026-04-03T01:41:05Z
w:en>Primefac
0
Primefac moved page [[Template:Mxt]] to [[Template:Example text monospaced]]: expand name for clarity
282539
wikitext
text/x-wiki
#REDIRECT [[Template:Example text monospaced]]
{{Redirect category shell|
{{R from move}}
}}
6bebhg0a1y3hqh4h6i1w1f6hi97unid
282540
282539
2026-04-03T05:07:34Z
A826
6806
೧ ಬದಲಾವಣೆ
282539
wikitext
text/x-wiki
#REDIRECT [[Template:Example text monospaced]]
{{Redirect category shell|
{{R from move}}
}}
6bebhg0a1y3hqh4h6i1w1f6hi97unid
ಟೆಂಪ್ಲೇಟು:Transclusionless
10
100805
282547
2025-08-25T03:15:59Z
w:en>Jonesey95
0
Undid revision [[Special:Diff/1307330307|1307330307]] by [[Special:Contributions/64.114 etc|64.114 etc]] ([[User talk:64.114 etc|talk]]) ungrammatical
282547
wikitext
text/x-wiki
{{Mbox|text=This template {{Yesno|{{{should|}}}|yes=should|no=may}} have no [[Wikipedia:Transclusion|transclusions]]. This is because {{{reason|it is substituted by a tool or script, it is used as part of a short-term or less active Wikipedia process, or for some other reason}}}.}}<!--
--><includeonly>__EXPECTUNUSEDTEMPLATE__{{#switch: {{SUBPAGENAME}} |doc |sandbox= |{{module other | [[Category:Wikipedia transclusionless modules]] | [[Category:Wikipedia transclusionless templates]] }}}}</includeonly><noinclude>{{Documentation}}</noinclude>
dhnm7ib41234205ef8y0t8duuca6jti
282548
282547
2026-04-03T05:07:35Z
A826
6806
೧ ಬದಲಾವಣೆ
282547
wikitext
text/x-wiki
{{Mbox|text=This template {{Yesno|{{{should|}}}|yes=should|no=may}} have no [[Wikipedia:Transclusion|transclusions]]. This is because {{{reason|it is substituted by a tool or script, it is used as part of a short-term or less active Wikipedia process, or for some other reason}}}.}}<!--
--><includeonly>__EXPECTUNUSEDTEMPLATE__{{#switch: {{SUBPAGENAME}} |doc |sandbox= |{{module other | [[Category:Wikipedia transclusionless modules]] | [[Category:Wikipedia transclusionless templates]] }}}}</includeonly><noinclude>{{Documentation}}</noinclude>
dhnm7ib41234205ef8y0t8duuca6jti
ಟೆಂಪ್ಲೇಟು:BASEPAGENAME/doc
10
100806
282549
2026-02-24T04:12:38Z
w:en>Whyiseverythingalreadyused
0
282549
wikitext
text/x-wiki
{{Documentation subpage|[[Template:BASEPAGENAME]] ''and other similar templates''.}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{nutshell|Never write {{!mxt|{{{{BASEPAGENAME}}'''|'''''argument''}}}}. Write {{mxt|{{{{BASEPAGENAME}}''':'''''argument''}}}} instead.}}
{{transclusionless|should=yes|reason=it is a replacement to prevent breakage if editors attempt to invoke the magic word of the same name using a pipe instead of a colon}}
== Usage ==
The magic word {{BASEPAGENAME}} is described at [[Wikipedia:Magic words#Parser functions]]. An example of its output is <code>{{{{BASEPAGENAME}}:{{{example|Template:Example/with/subpages}}}}}</code> → "{{ {{BASEPAGENAME}}:{{{example|Template:Example/with/subpages}}} }}".
This ''template'' should never be used, but when someone uses the [[Wikipedia:Magic_words#Variables|magic word "{{BASEPAGENAME}}"]] with a piped parameter, it will prevent breakage. Parameter 1 will be used as the : parameter, other parameters will be discarded.
The page will be added to the hidden category {{clc|Pages which use a template in place of a magic word}}.
== Tracking category ==
* {{clc|Pages which use a template in place of a magic word}}
<includeonly>{{sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Wikipedia magic word templates]]
[[Category:Templates that add a tracking category]]
}}</includeonly>
gnd9qthmmysfy1pw39wwq7n4dbmmhjn
282550
282549
2026-04-03T05:07:35Z
A826
6806
೧ ಬದಲಾವಣೆ
282549
wikitext
text/x-wiki
{{Documentation subpage|[[Template:BASEPAGENAME]] ''and other similar templates''.}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{nutshell|Never write {{!mxt|{{{{BASEPAGENAME}}'''|'''''argument''}}}}. Write {{mxt|{{{{BASEPAGENAME}}''':'''''argument''}}}} instead.}}
{{transclusionless|should=yes|reason=it is a replacement to prevent breakage if editors attempt to invoke the magic word of the same name using a pipe instead of a colon}}
== Usage ==
The magic word {{BASEPAGENAME}} is described at [[Wikipedia:Magic words#Parser functions]]. An example of its output is <code>{{{{BASEPAGENAME}}:{{{example|Template:Example/with/subpages}}}}}</code> → "{{ {{BASEPAGENAME}}:{{{example|Template:Example/with/subpages}}} }}".
This ''template'' should never be used, but when someone uses the [[Wikipedia:Magic_words#Variables|magic word "{{BASEPAGENAME}}"]] with a piped parameter, it will prevent breakage. Parameter 1 will be used as the : parameter, other parameters will be discarded.
The page will be added to the hidden category {{clc|Pages which use a template in place of a magic word}}.
== Tracking category ==
* {{clc|Pages which use a template in place of a magic word}}
<includeonly>{{sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Wikipedia magic word templates]]
[[Category:Templates that add a tracking category]]
}}</includeonly>
gnd9qthmmysfy1pw39wwq7n4dbmmhjn
ಟೆಂಪ್ಲೇಟು:SUBPAGENAME/doc
10
100807
282551
2021-12-24T18:49:59Z
w:en>GKFX
0
[[WP:AES|←]]Redirected page to [[Template:BASEPAGENAME/doc]]
282551
wikitext
text/x-wiki
#REDIRECT [[Template:BASEPAGENAME/doc]]
3hevqruuk5q88zn4r47iihpxskeb0w4
282552
282551
2026-04-03T05:07:35Z
A826
6806
೧ ಬದಲಾವಣೆ
282551
wikitext
text/x-wiki
#REDIRECT [[Template:BASEPAGENAME/doc]]
3hevqruuk5q88zn4r47iihpxskeb0w4
ಟೆಂಪ್ಲೇಟು:Example text monospaced
10
100808
282553
2026-04-03T01:41:04Z
w:en>Primefac
0
Primefac moved page [[Template:Mxt]] to [[Template:Example text monospaced]]: expand name for clarity
282553
wikitext
text/x-wiki
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{FormattingError|[[:{{safesubst:<noinclude/>#invoke:TEMPLATENAME|main}}]] is only for examples of style and formatting. Do not use it in actual articles.}}|<span class="example monospaced example-mono" style="font-family: monospace, monospace; color: var(--color-content-added, #006400);" {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1|Example text}}}</span>}}<!--"monospace, monospace" needed per Wikipedia:Typography#The_monospace_'bug'--><noinclude>
{{Documentation|Template:Xt/doc}}
<!--This category has to be done on a per-template basis, not in the shared docs, since it only apply to four templates in the family.-->
[[Category:Programming typing-aid templates]]
</noinclude>
q0kpie8o6hae5vvli2tndi9cg7q0d5a
282554
282553
2026-04-03T05:07:35Z
A826
6806
೧ ಬದಲಾವಣೆ
282553
wikitext
text/x-wiki
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{FormattingError|[[:{{safesubst:<noinclude/>#invoke:TEMPLATENAME|main}}]] is only for examples of style and formatting. Do not use it in actual articles.}}|<span class="example monospaced example-mono" style="font-family: monospace, monospace; color: var(--color-content-added, #006400);" {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1|Example text}}}</span>}}<!--"monospace, monospace" needed per Wikipedia:Typography#The_monospace_'bug'--><noinclude>
{{Documentation|Template:Xt/doc}}
<!--This category has to be done on a per-template basis, not in the shared docs, since it only apply to four templates in the family.-->
[[Category:Programming typing-aid templates]]
</noinclude>
q0kpie8o6hae5vvli2tndi9cg7q0d5a
ಟೆಂಪ್ಲೇಟು:Example text monospaced bad
10
100809
282555
2026-04-03T01:44:40Z
w:en>Primefac
0
Primefac moved page [[Template:!mxt]] to [[Template:Example text monospaced bad]]: expand name for clarity
282555
wikitext
text/x-wiki
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{FormattingError|[[:{{safesubst:<noinclude/>#invoke:TEMPLATENAME|main}}]] is only for examples of style and formatting. Do not use it in actual articles.}}|<span class="example deprecated-content example-bad monospaced example-mono" style="font-family: monospace, monospace; color: var(--color-content-removed, #8B0000);" {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1|Example text}}}</span>}}<!--"monospace, monospace" needed per Wikipedia:Typography#The_monospace_'bug'--><noinclude>
{{Documentation|Template:Xt/doc}}
<!--This category has to be done on a per-template basis, not in the shared docs, since it only apply to four templates in the family.-->
[[Category:Programming typing-aid templates]]
</noinclude>
nj7gqt8gxp1hwt549605z0qaqxpdkqo
282556
282555
2026-04-03T05:07:35Z
A826
6806
೧ ಬದಲಾವಣೆ
282555
wikitext
text/x-wiki
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{FormattingError|[[:{{safesubst:<noinclude/>#invoke:TEMPLATENAME|main}}]] is only for examples of style and formatting. Do not use it in actual articles.}}|<span class="example deprecated-content example-bad monospaced example-mono" style="font-family: monospace, monospace; color: var(--color-content-removed, #8B0000);" {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1|Example text}}}</span>}}<!--"monospace, monospace" needed per Wikipedia:Typography#The_monospace_'bug'--><noinclude>
{{Documentation|Template:Xt/doc}}
<!--This category has to be done on a per-template basis, not in the shared docs, since it only apply to four templates in the family.-->
[[Category:Programming typing-aid templates]]
</noinclude>
nj7gqt8gxp1hwt549605z0qaqxpdkqo
ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ
12
100810
282563
2026-04-03T05:43:05Z
A826
6806
ಹೊಸ ಪುಟ: __NOTOC__ __NOEDITSECTION__ <div style="max-width: 800px; margin: auto;"> <div style="text-align: center; padding: 30px; background: #0645ad; color: white; border-radius: 8px; margin-bottom: 30px;"> <h1 style="color: white; margin: 0;">ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ</h1> <p style="font-size: 1.2em;">ಹೊಸ ಸಂಪಾದಕರಿಗೆ ಹಂತ ಹಂತದ ಮಾರ್ಗದರ್ಶಿ</p> </div> <div style="border: 1px solid #a2...
282563
wikitext
text/x-wiki
__NOTOC__ __NOEDITSECTION__
<div style="max-width: 800px; margin: auto;">
<div style="text-align: center; padding: 30px; background: #0645ad; color: white; border-radius: 8px; margin-bottom: 30px;">
<h1 style="color: white; margin: 0;">ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ</h1>
<p style="font-size: 1.2em;">ಹೊಸ ಸಂಪಾದಕರಿಗೆ ಹಂತ ಹಂತದ ಮಾರ್ಗದರ್ಶಿ</p>
</div>
<div style="border: 1px solid #a2a9b1; border-radius: 8px; overflow: hidden; margin-bottom: 20px;">
<div style="background: #eaecf0; padding: 15px; border-bottom: 1px solid #a2a9b1; font-weight: bold;">ಹಂತ 1: ಫೈಲ್ ಅಪ್ಲೋಡ್ ಮತ್ತು ಪರಿವಿಡಿ</div>
<div style="padding: 15px;">
<p>ಫೈಲ್ ಅನ್ನು Commons ಅಥವಾ ಸ್ಥಳೀಯವಾಗಿ ಅಪ್ಲೋಡ್ ಮಾಡುವುದು ಮತ್ತು Index ಪುಟ ರಚಿಸುವುದು ಹೇಗೆ ಎಂದು ಕಲಿಯಿರಿ.</p>
<p><strong>→ [[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/1|ಹಂತ 1 ಪ್ರಾರಂಭಿಸಿ]]</strong></p>
</div>
</div>
<div style="border: 1px solid #a2a9b1; border-radius: 8px; overflow: hidden; margin-bottom: 20px;">
<div style="background: #eaecf0; padding: 15px; border-bottom: 1px solid #a2a9b1; font-weight: bold;">ಹಂತ 2: ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮತ್ತು ಪುಟ ಸ್ಥಿತಿ</div>
<div style="padding: 15px;">
<p>OCR ಬಳಸಿ ಪಠ್ಯ ಪಡೆಯುವುದು, ಪುಟಗಳನ್ನು ಸರಿಪಡಿಸುವುದು ಮತ್ತು ಸ್ಥಿತಿಗಳನ್ನು ನಿಗದಿಪಡಿಸುವುದು.</p>
<p><strong>→ [[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/2|ಹಂತ 2 ಪ್ರಾರಂಭಿಸಿ]]</strong></p>
</div>
</div>
<div style="border: 1px solid #a2a9b1; border-radius: 8px; overflow: hidden; margin-bottom: 20px;">
<div style="background: #eaecf0; padding: 15px; border-bottom: 1px solid #a2a9b1; font-weight: bold;">ಹಂತ 3: ಮೌಲ್ಯೀಕರಣ ಮತ್ತು ಟ್ರಾನ್ಸ್ಕ್ಲೂಷನ್</div>
<div style="padding: 15px;">
<p>ಪುಟಗಳನ್ನು ಮೌಲ್ಯೀಕರಿಸುವುದು ಮತ್ತು ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ ಪುಸ್ತಕವನ್ನು ಸೇರಿಸುವುದು.</p>
<p><strong>→ [[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/3|ಹಂತ 3 ಪ್ರಾರಂಭಿಸಿ]]</strong></p>
</div>
</div>
<div style="border: 1px solid #a2a9b1; border-radius: 8px; overflow: hidden; margin-bottom: 20px;">
<div style="background: #eaecf0; padding: 15px; border-bottom: 1px solid #a2a9b1; font-weight: bold;">ಹಂತ 4: ವಿಕಿಡಾಟ ಸಂಪರ್ಕ</div>
<div style="padding: 15px;">
<p>ಪುಸ್ತಕ ಮತ್ತು ಲೇಖಕರಿಗೆ ವಿಕಿಡಾಟ ಐಟಂಗಳನ್ನು ರಚಿಸುವುದು ಮತ್ತು ಸಂಪರ್ಕಿಸುವುದು.</p>
<p><strong>→ [[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/4|ಹಂತ 4 ಪ್ರಾರಂಭಿಸಿ]]</strong></p>
</div>
</div>
<div style="border: 1px solid #a2a9b1; border-radius: 8px; overflow: hidden; margin-bottom: 20px;">
<div style="background: #eaecf0; padding: 15px; border-bottom: 1px solid #a2a9b1; font-weight: bold;">ಹಂತ 5: ಅಂತಿಮ ಹಂತಗಳು</div>
<div style="padding: 15px;">
<p>ಪರಿಶೀಲನಾಪಟ್ಟಿ, ಸಾಮಾನ್ಯ ಸಮಸ್ಯೆಗಳು ಮತ್ತು ಹೆಚ್ಚಿನ ಸಹಾಯ.</p>
<p><strong>→ [[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/5|ಹಂತ 5 ಪ್ರಾರಂಭಿಸಿ]]</strong></p>
</div>
</div>
<div style="margin-top: 30px; padding: 20px; background: #eaecf0; border-radius: 8px;">
<h3 style="margin-top: 0;">ಸಹಾಯಕ ಸಂಪನ್ಮೂಲಗಳು</h3>
<ul>
<li>[[ವಿಕಿಸೋರ್ಸ್:ಅರಳಿ ಕಟ್ಟೆ|ಪ್ರಶ್ನೆಗಳಿಗಾಗಿ ಚರ್ಚಾ ಪುಟ]]</li>
<li>[[c:Commons:Licensing|ಕಾಮನ್ಸ್ ಪರವಾನಗಿ ಮಾರ್ಗದರ್ಶಿ]]</li>
<li>[[:wikidata:Help:Items|ವಿಕಿಡಾಟ ಸಹಾಯ]]</li>
</ul>
</div>
c35c9uvv13cnsl50fgmxxyjzu05z6k5
282581
282563
2026-04-03T11:40:08Z
A826
6806
added [[Category:ವಿಕಿಸೋರ್ಸ್ ಟ್ಯುಟೋರಿಯಲ್ಗಳು]] using [[Help:Gadget-HotCat|HotCat]]
282581
wikitext
text/x-wiki
__NOTOC__ __NOEDITSECTION__
<div style="max-width: 800px; margin: auto;">
<div style="text-align: center; padding: 30px; background: #0645ad; color: white; border-radius: 8px; margin-bottom: 30px;">
<h1 style="color: white; margin: 0;">ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ</h1>
<p style="font-size: 1.2em;">ಹೊಸ ಸಂಪಾದಕರಿಗೆ ಹಂತ ಹಂತದ ಮಾರ್ಗದರ್ಶಿ</p>
</div>
<div style="border: 1px solid #a2a9b1; border-radius: 8px; overflow: hidden; margin-bottom: 20px;">
<div style="background: #eaecf0; padding: 15px; border-bottom: 1px solid #a2a9b1; font-weight: bold;">ಹಂತ 1: ಫೈಲ್ ಅಪ್ಲೋಡ್ ಮತ್ತು ಪರಿವಿಡಿ</div>
<div style="padding: 15px;">
<p>ಫೈಲ್ ಅನ್ನು Commons ಅಥವಾ ಸ್ಥಳೀಯವಾಗಿ ಅಪ್ಲೋಡ್ ಮಾಡುವುದು ಮತ್ತು Index ಪುಟ ರಚಿಸುವುದು ಹೇಗೆ ಎಂದು ಕಲಿಯಿರಿ.</p>
<p><strong>→ [[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/1|ಹಂತ 1 ಪ್ರಾರಂಭಿಸಿ]]</strong></p>
</div>
</div>
<div style="border: 1px solid #a2a9b1; border-radius: 8px; overflow: hidden; margin-bottom: 20px;">
<div style="background: #eaecf0; padding: 15px; border-bottom: 1px solid #a2a9b1; font-weight: bold;">ಹಂತ 2: ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮತ್ತು ಪುಟ ಸ್ಥಿತಿ</div>
<div style="padding: 15px;">
<p>OCR ಬಳಸಿ ಪಠ್ಯ ಪಡೆಯುವುದು, ಪುಟಗಳನ್ನು ಸರಿಪಡಿಸುವುದು ಮತ್ತು ಸ್ಥಿತಿಗಳನ್ನು ನಿಗದಿಪಡಿಸುವುದು.</p>
<p><strong>→ [[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/2|ಹಂತ 2 ಪ್ರಾರಂಭಿಸಿ]]</strong></p>
</div>
</div>
<div style="border: 1px solid #a2a9b1; border-radius: 8px; overflow: hidden; margin-bottom: 20px;">
<div style="background: #eaecf0; padding: 15px; border-bottom: 1px solid #a2a9b1; font-weight: bold;">ಹಂತ 3: ಮೌಲ್ಯೀಕರಣ ಮತ್ತು ಟ್ರಾನ್ಸ್ಕ್ಲೂಷನ್</div>
<div style="padding: 15px;">
<p>ಪುಟಗಳನ್ನು ಮೌಲ್ಯೀಕರಿಸುವುದು ಮತ್ತು ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ ಪುಸ್ತಕವನ್ನು ಸೇರಿಸುವುದು.</p>
<p><strong>→ [[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/3|ಹಂತ 3 ಪ್ರಾರಂಭಿಸಿ]]</strong></p>
</div>
</div>
<div style="border: 1px solid #a2a9b1; border-radius: 8px; overflow: hidden; margin-bottom: 20px;">
<div style="background: #eaecf0; padding: 15px; border-bottom: 1px solid #a2a9b1; font-weight: bold;">ಹಂತ 4: ವಿಕಿಡಾಟ ಸಂಪರ್ಕ</div>
<div style="padding: 15px;">
<p>ಪುಸ್ತಕ ಮತ್ತು ಲೇಖಕರಿಗೆ ವಿಕಿಡಾಟ ಐಟಂಗಳನ್ನು ರಚಿಸುವುದು ಮತ್ತು ಸಂಪರ್ಕಿಸುವುದು.</p>
<p><strong>→ [[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/4|ಹಂತ 4 ಪ್ರಾರಂಭಿಸಿ]]</strong></p>
</div>
</div>
<div style="border: 1px solid #a2a9b1; border-radius: 8px; overflow: hidden; margin-bottom: 20px;">
<div style="background: #eaecf0; padding: 15px; border-bottom: 1px solid #a2a9b1; font-weight: bold;">ಹಂತ 5: ಅಂತಿಮ ಹಂತಗಳು</div>
<div style="padding: 15px;">
<p>ಪರಿಶೀಲನಾಪಟ್ಟಿ, ಸಾಮಾನ್ಯ ಸಮಸ್ಯೆಗಳು ಮತ್ತು ಹೆಚ್ಚಿನ ಸಹಾಯ.</p>
<p><strong>→ [[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/5|ಹಂತ 5 ಪ್ರಾರಂಭಿಸಿ]]</strong></p>
</div>
</div>
<div style="margin-top: 30px; padding: 20px; background: #eaecf0; border-radius: 8px;">
<h3 style="margin-top: 0;">ಸಹಾಯಕ ಸಂಪನ್ಮೂಲಗಳು</h3>
<ul>
<li>[[ವಿಕಿಸೋರ್ಸ್:ಅರಳಿ ಕಟ್ಟೆ|ಪ್ರಶ್ನೆಗಳಿಗಾಗಿ ಚರ್ಚಾ ಪುಟ]]</li>
<li>[[c:Commons:Licensing|ಕಾಮನ್ಸ್ ಪರವಾನಗಿ ಮಾರ್ಗದರ್ಶಿ]]</li>
<li>[[:wikidata:Help:Items|ವಿಕಿಡಾಟ ಸಹಾಯ]]</li>
</ul>
</div>
[[ವರ್ಗ:ವಿಕಿಸೋರ್ಸ್ ಟ್ಯುಟೋರಿಯಲ್ಗಳು]]
0x8lgphj6pybslhgd1qbuwl9mx650jp
282582
282581
2026-04-03T11:41:55Z
A826
6806
282582
wikitext
text/x-wiki
__NOTOC__ __NOEDITSECTION__
<div style="max-width: 800px; margin: auto;">
<div style="text-align: center; background: #0645ad; color: white; border-radius: 8px; margin-bottom: 30px;">
<h2 style="color: white; margin: 0;">ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ಹೊಸ ಸಂಪಾದಕರಿಗೆ ಹಂತ ಹಂತದ ಮಾರ್ಗದರ್ಶಿ</h2>
</div>
<div style="border: 1px solid #a2a9b1; border-radius: 8px; overflow: hidden; margin-bottom: 20px;">
<div style="background: #eaecf0; padding: 15px; border-bottom: 1px solid #a2a9b1; font-weight: bold;">ಹಂತ 1: ಫೈಲ್ ಅಪ್ಲೋಡ್ ಮತ್ತು ಪರಿವಿಡಿ</div>
<div style="padding: 15px;">
<p>ಫೈಲ್ ಅನ್ನು Commons ಅಥವಾ ಸ್ಥಳೀಯವಾಗಿ ಅಪ್ಲೋಡ್ ಮಾಡುವುದು ಮತ್ತು Index ಪುಟ ರಚಿಸುವುದು ಹೇಗೆ ಎಂದು ಕಲಿಯಿರಿ.</p>
<p><strong>→ [[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/1|ಹಂತ 1 ಪ್ರಾರಂಭಿಸಿ]]</strong></p>
</div>
</div>
<div style="border: 1px solid #a2a9b1; border-radius: 8px; overflow: hidden; margin-bottom: 20px;">
<div style="background: #eaecf0; padding: 15px; border-bottom: 1px solid #a2a9b1; font-weight: bold;">ಹಂತ 2: ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮತ್ತು ಪುಟ ಸ್ಥಿತಿ</div>
<div style="padding: 15px;">
<p>OCR ಬಳಸಿ ಪಠ್ಯ ಪಡೆಯುವುದು, ಪುಟಗಳನ್ನು ಸರಿಪಡಿಸುವುದು ಮತ್ತು ಸ್ಥಿತಿಗಳನ್ನು ನಿಗದಿಪಡಿಸುವುದು.</p>
<p><strong>→ [[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/2|ಹಂತ 2 ಪ್ರಾರಂಭಿಸಿ]]</strong></p>
</div>
</div>
<div style="border: 1px solid #a2a9b1; border-radius: 8px; overflow: hidden; margin-bottom: 20px;">
<div style="background: #eaecf0; padding: 15px; border-bottom: 1px solid #a2a9b1; font-weight: bold;">ಹಂತ 3: ಮೌಲ್ಯೀಕರಣ ಮತ್ತು ಟ್ರಾನ್ಸ್ಕ್ಲೂಷನ್</div>
<div style="padding: 15px;">
<p>ಪುಟಗಳನ್ನು ಮೌಲ್ಯೀಕರಿಸುವುದು ಮತ್ತು ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ ಪುಸ್ತಕವನ್ನು ಸೇರಿಸುವುದು.</p>
<p><strong>→ [[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/3|ಹಂತ 3 ಪ್ರಾರಂಭಿಸಿ]]</strong></p>
</div>
</div>
<div style="border: 1px solid #a2a9b1; border-radius: 8px; overflow: hidden; margin-bottom: 20px;">
<div style="background: #eaecf0; padding: 15px; border-bottom: 1px solid #a2a9b1; font-weight: bold;">ಹಂತ 4: ವಿಕಿಡಾಟ ಸಂಪರ್ಕ</div>
<div style="padding: 15px;">
<p>ಪುಸ್ತಕ ಮತ್ತು ಲೇಖಕರಿಗೆ ವಿಕಿಡಾಟ ಐಟಂಗಳನ್ನು ರಚಿಸುವುದು ಮತ್ತು ಸಂಪರ್ಕಿಸುವುದು.</p>
<p><strong>→ [[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/4|ಹಂತ 4 ಪ್ರಾರಂಭಿಸಿ]]</strong></p>
</div>
</div>
<div style="border: 1px solid #a2a9b1; border-radius: 8px; overflow: hidden; margin-bottom: 20px;">
<div style="background: #eaecf0; padding: 15px; border-bottom: 1px solid #a2a9b1; font-weight: bold;">ಹಂತ 5: ಅಂತಿಮ ಹಂತಗಳು</div>
<div style="padding: 15px;">
<p>ಪರಿಶೀಲನಾಪಟ್ಟಿ, ಸಾಮಾನ್ಯ ಸಮಸ್ಯೆಗಳು ಮತ್ತು ಹೆಚ್ಚಿನ ಸಹಾಯ.</p>
<p><strong>→ [[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/5|ಹಂತ 5 ಪ್ರಾರಂಭಿಸಿ]]</strong></p>
</div>
</div>
<div style="margin-top: 30px; padding: 20px; background: #eaecf0; border-radius: 8px;">
<h3 style="margin-top: 0;">ಸಹಾಯಕ ಸಂಪನ್ಮೂಲಗಳು</h3>
<ul>
<li>[[ವಿಕಿಸೋರ್ಸ್:ಅರಳಿ ಕಟ್ಟೆ|ಪ್ರಶ್ನೆಗಳಿಗಾಗಿ ಚರ್ಚಾ ಪುಟ]]</li>
<li>[[c:Commons:Licensing|ಕಾಮನ್ಸ್ ಪರವಾನಗಿ ಮಾರ್ಗದರ್ಶಿ]]</li>
<li>[[:wikidata:Help:Items|ವಿಕಿಡಾಟ ಸಹಾಯ]]</li>
</ul>
</div>
[[ವರ್ಗ:ವಿಕಿಸೋರ್ಸ್ ಟ್ಯುಟೋರಿಯಲ್ಗಳು]]
76dzgbjshnexnqn7avar241utmj1fp6
ವಿಕಿಸೋರ್ಸ್:ವಿಕಿಸೋರ್ಸ್೨೦
4
100811
282568
2026-04-03T06:08:39Z
A826
6806
ಹೊಸ ಪುಟ: == ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ == {{:ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ}}
282568
wikitext
text/x-wiki
== ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ ==
{{:ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ}}
ad7yd8mwzk0jaqiryljudt19k6popt8
282569
282568
2026-04-03T07:44:20Z
A826
6806
Cleaned up using [[WP:AutoEd|AutoEd]]
282569
wikitext
text/x-wiki
<div style="border: 3px solid #2c3e50; border-radius: 15px; background: linear-gradient(135deg, #fef9e4 0%, #fff8f0 100%); padding: 20px; margin: 20px 0; box-shadow: 0 8px 20px rgba(0,0,0,0.1);">
<div style="text-align: center; margin-bottom: 20px;">
== ವಿಕಿಸೋರ್ಸ್೨೦ ==
[[File:Wikisource-logo-kn-v3.svg|120px|link=ಮುಖ್ಯ_ಪುಟ]]
[[File:Wikisource-logo-20th anniversary-kannada.svg|140px]]
<p style="font-size: 1.2em; color: #7f8c8d;">20ನೇ ವಾರ್ಷಿಕೋತ್ಸವದ ಪ್ರೂಫ್ರೀಡಿಂಗ್ ಸ್ಪರ್ಧೆ</p>
<hr style="border: 1px solid #f1c40f; width: 80%; margin: auto;">
</div>
<div style="background-color: #2c3e50; color: white; padding: 10px 20px; border-radius: 10px; margin: 20px 0; text-align: center;">
<span style="font-size: 1.3em;">'''45 ದಿನಗಳ ಪ್ರೂಫ್ರೀಡಿಂಗ್ ಸ್ಪರ್ಧೆ'''</span><br>
19 ಏಪ್ರಿಲ್ 2026 ರಿಂದ 3 ಜೂನ್ 2026 ರವರೆಗೆ
</div>
'''ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ತನ್ನ ೨೦ ಪೂರೈಸಿದ ವಾರ್ಷಿಕೋತ್ಸವವನ್ನು ಆಚರಿಸುತ್ತಿದೆ!'''
ವಿಕಿಸೋರ್ಸ್ ಯೋಜನೆಯು '''3 ಜೂನ್ 2006''' ರಂದು ಪ್ರಾರಂಭವಾಯಿತು ([[special:diff/1|03:32, 3 ಜೂನ್ 2006 ರ ಪುನರಾವರ್ತನೆ]]). ಈ ಸಂದರ್ಭದಲ್ಲಿ, ನಾವು '''45 ದಿನಗಳ ಕಾಲ''' ನಡೆಯುವ '''ಪ್ರೂಫ್ ರೀಡಿಂಗ್ (ಪುನರ್ ಮುದ್ರಣ) ಸ್ಪರ್ಧೆ'''ಯನ್ನು ಆಯೋಜಿಸುತ್ತಿದ್ದೇವೆ. ನಿಮ್ಮ ಟೈಪಿಂಗ್ ಕೌಶಲ್ಯ, ನಿಖರತೆ ಮತ್ತು ಛಲದ ಮೂಲಕ ಕನ್ನಡದ ಅಮೂಲ್ಯ ಗ್ರಂಥಗಳನ್ನು ಡಿಜಿಟಲ್ ರೂಪದಲ್ಲಿ ಸಂರಕ್ಷಿಸಲು ಸಹಕರಿಸಿ.
== ಸ್ಪರ್ಧೆಯ ವಿವರಗಳು ==
<div style="background: #ecf0f1; padding: 15px; border-radius: 10px; border-left: 5px solid #f1c40f;">
* '''ಆರಂಭ:''' 19 ಏಪ್ರಿಲ್ 2026 (ಬೆಳಿಗ್ಗೆ 00:01 UTC)
* '''ಅಂತ್ಯ:''' 3 ಜೂನ್ 2026 (ರಾತ್ರಿ 11:59 UTC)
* '''ಒಟ್ಟು ಅವಧಿ:''' 45 ದಿನಗಳು
* '''ಸ್ಥಳ:''' [https://kn.wikisource.org ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್]
* '''ಉದ್ದೇಶ:''' ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿ ಲಭ್ಯವಿರುವ ಪುಟಗಳನ್ನು ಪುನರ್ ಪರಿಶೀಲನೆ (ಪ್ರೂಫ್ ರೀಡಿಂಗ್) ಮಾಡಿ, ದೋಷರಹಿತವಾಗಿ ಸಂಪಾದಿಸುವುದು.
</div>
== ನಿಯಮಗಳು ==
<div style="background: #fff5e6; padding: 15px; border-radius: 10px; border: 1px solid #f1c40f;">
# ಈ ಸ್ಪರ್ಧೆಯು ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ನ ಎಲ್ಲಾ ಸಂಪಾದಕರಿಗೆ ಮುಕ್ತವಾಗಿದೆ.
# ಸ್ಪರ್ಧೆಯು ಪುಟ ಸ್ಥಳದಲ್ಲಿನ (Page namespace) ಬದಲಾವಣೆಗಳನ್ನು ಮಾತ್ರ ಗಣನೆಗೆ ತೆಗೆದುಕೊಳ್ಳುತ್ತದೆ.
# ಒಂದೇ ಪುಟವನ್ನು ಒಂದಕ್ಕಿಂತ ಹೆಚ್ಚು ಬಾರಿ ಅಂಕಗಳಿಗಾಗಿ ಸಲ್ಲಿಸಲಾಗದು.
# ಸ್ಪರ್ಧೆಯ ಅವಧಿಯಲ್ಲಿ (45 ದಿನಗಳು) ಸೇರಿಸಿದ ಎಲ್ಲಾ ಸಂಪಾದನೆಗಳು ಮಾತ್ರ ಅಂಕಗಳಿಗೆ ಪರಿಗಣಿತವಾಗುತ್ತವೆ.
== ಅಂಕಗಳ ವಿವರ (ಸ್ಕೋರಿಂಗ್ ವ್ಯವಸ್ಥೆ) ==
<div style="background: #eaf2f8; padding: 15px; border-radius: 10px; border-left: 5px solid #2980b9; margin: 20px 0;">
'''ಈ ಸ್ಪರ್ಧೆಯು [https://wscontest.toolforge.org/c/374 Wikisource Contests] ಉಪಕರಣವನ್ನು ಬಳಸುತ್ತದೆ.''' ಕೆಳಗಿನ ನಿಯಮಗಳ ಪ್ರಕಾರ ಅಂಕಗಳನ್ನು ಲೆಕ್ಕಹಾಕಲಾಗುವುದು.
</div>
=== ಅಂಕಿಗಳ ಅಂಶಗಳು ===
# ಪ್ರತಿ ಪುಟವನ್ನು ಸಂಪಾದಿಸಿದ ನಂತರ, ಸ್ಥಿತಿಯನ್ನು "Proofread" ಅಥವಾ "Validated" ಗೆ ಬದಲಾಯಿಸಿ.
ಪ್ರತಿ ಭಾಗವಹಿಸುವವರ ಸ್ಕೋರ್ ಮೂರು ವಿಭಾಗಗಳನ್ನು ಹೊಂದಿರುತ್ತದೆ:
# '''ಒಟ್ಟು ಅಂಕಗಳು (Points)''' – ಪ್ರೂಫ್ ರೀಡ್ ಮತ್ತು ವ್ಯಾಲಿಡೇಟೆಡ್ ಪುಟಗಳಿಂದ ಬಂದ ಅಂಕಗಳು
# '''ಮಾನ್ಯೀಕರಣಗಳು (Validations)''' – Proofread ಸ್ಥಿತಿಯಿಂದ Validated ಸ್ಥಿತಿಗೆ ತಂದ ಒಟ್ಟು ಪುಟಗಳು
# '''ಸೃಜನಾತ್ಮಕ ಕೊಡುಗೆಗಳು (Contributions)''' – ಎಲ್ಲಾ ರೀತಿಯ ಸಂಪಾದನೆಗಳ ಒಟ್ಟು ಸಂಖ್ಯೆ
=== ಅಂಕಗಳ ಕೋಷ್ಟಕ ===
{| class="wikitable" style="width: 80%; margin: 20px auto; border: 2px solid #2c3e50; text-align: center;"
|+ style="background: #f1c40f; padding: 8px; font-weight: bold;" | ಸ್ಕೋರಿಂಗ್ ವ್ಯವಸ್ಥೆ
! ಕ್ರಿಯೆ (Action taken) !! ಅಂಕಗಳು (Points) !! ಮಾನ್ಯೀಕರಣಗಳು (Validations) !! ಕೊಡುಗೆಗಳು (Contributions)
|-
| '''ಯಾವುದೇ ಸ್ಥಿತಿಯಿಂದ Proofread ಗೆ''' (From any status to Proofread) || 3 || 0 || 1
|-
| '''Proofread ನಿಂದ Validated ಗೆ''' (From Proofread to Validated) || 1 || 1 || 1
|-
| Validated ಪುಟವನ್ನು ಕೆಳಗಿಳಿಸಿದರೆ (Demoted) || -1 || -1 || -1
|-
| Proofread ಪುಟವನ್ನು ಕೆಳಗಿಳಿಸಿದರೆ (Demoted) || -3 || 0 || -1
|}
* '''[https://wscontest.toolforge.org/c/374 Wikisource Contests ಉಪಕರಣದಲ್ಲಿ ಅಂಕಗಳನ್ನು ನೇರವಾಗಿ ವೀಕ್ಷಿಸಿ]'''
</div>
=== ಮುಖ್ಯ ಸೂಚನೆ ===
* Proofread ಸ್ಥಿತಿಗೆ ತಂದ ಪ್ರತಿ ಪುಟಕ್ಕೆ '''3 ಅಂಕಗಳು''' ಮತ್ತು '''1 ಕೊಡುಗೆ''' ಸಿಗುತ್ತದೆ.
* Validated ಸ್ಥಿತಿಗೆ ತಂದ ಪ್ರತಿ ಪುಟಕ್ಕೆ '''1 ಅಂಕ''', '''1 ಮಾನ್ಯೀಕರಣ''' ಮತ್ತು '''1 ಕೊಡುಗೆ''' ಸಿಗುತ್ತದೆ.
* ತಪ್ಪು ಸಂಪಾದನೆಗಳನ್ನು ಹಿಮ್ಮೆಟ್ಟಿಸಿದಾಗ (demote) ಅಂಕಗಳು ಕಡಿತಗೊಳ್ಳುತ್ತವೆ – ಆದ್ದರಿಂದ ಎಚ್ಚರಿಕೆಯಿಂದ ಸಂಪಾದಿಸಿ.
</div>
== ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ ==
<div style="background: #f4f6f7; padding: 15px; border-radius: 10px; border: 1px solid #bdc3c7;">
{{:ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ}}
</div>
== ಪ್ರಶಸ್ತಿಗಳು ==
<div style="background: linear-gradient(135deg, #fff9e6, #fff0d4); padding: 15px; border-radius: 10px; border: 2px solid gold; text-align: center;">
ಸ್ಪರ್ಧೆಯ ಕೊನೆಯಲ್ಲಿ ಹೆಚ್ಚಿನ ಅಂಕಗಳನ್ನು ಗಳಿಸಿದ ಸಂಪಾದಕರಿಗೆ ಪ್ರಶಸ್ತಿಗಳನ್ನು ನೀಡಲಾಗುವುದು:
{| style="width: 100%; margin: 10px 0;"
|-
| style="width: 25%; text-align: center;" | '''೧ - ಪ್ರಥಮ'''<br>ವಿಕಿಸೋರ್ಸ್ ವಿಕಿಲರ್ನ್ ಮರ್ಚಂಡೈಸ್
| style="width: 25%; text-align: center;" | '''೨ - ದ್ವಿತೀಯ'''<br>ವಿಕಿಸೋರ್ಸ್ ವಿಕಿಲರ್ನ್ ಮರ್ಚಂಡೈಸ್
| style="width: 25%; text-align: center;" | '''೩ - ತೃತೀಯ'''<br>ವಿಕಿಸೋರ್ಸ್ ವಿಕಿಲರ್ನ್ ಮರ್ಚಂಡೈಸ್
| style="width: 25%; text-align: center;" | '''೪-೧೦ ವಿಶೇಷ'''<br>ವಿಕಿಸೋರ್ಸ್ ವಿಕಿಲರ್ನ್ ಮರ್ಚಂಡೈಸ್
|}
<p style="font-size: 0.9em; color: #7f8c8d;">(ಗಮನಿಸಿ: ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ಸಮುದಾಯದ ಗೌರವಾರ್ಥವಾಗಿ ನೀಡಲ್ಪಡುತ್ತವೆ.)</p>
</div>
=== ಆಯೋಜಕರು ಮತ್ತು ಪ್ರಾಯೋಜಕರು ===
<div style="background: #f0f7ff; padding: 20px; border-radius: 10px; border: 2px solid #2c3e50; margin: 20px 0; text-align: center;">
<div style="font-size: 1.5em; color: #2c3e50; margin: 10px 0;">'''ಕನ್ನಡ-ತುಳು ವಿಕಿಲರ್ನ್ (Kannada-Tulu Wikilearn)'''</div>
<p style="font-size: 1.1em;">ಈ ಸ್ಪರ್ಧೆಯನ್ನು '''ಕನ್ನಡ-ತುಳು ವಿಕಿಲರ್ನ್''' ಕಾರ್ಯಕ್ರಮದ ವತಿಯಿಂದ ಆಯೋಜಿಸಲಾಗಿದೆ ಮತ್ತು ಪ್ರಾಯೋಜಿಸಲಾಗಿದೆ.</p>
<div style="background: white; padding: 15px; border-radius: 8px; text-align: left; margin: 15px 0;">
'''ಕಾರ್ಯಕ್ರಮದ ಬಗ್ಗೆ:''' ಕನ್ನಡ-ತುಳು ವಿಕಿಲರ್ನ್ ಎಂಬುದು ಕನ್ನಡ ಮತ್ತು ತುಳು ವಿಕಿಮೀಡಿಯಾ ಯೋಜನೆಗಳ ಸುತ್ತ ಕಲಿಕೆ, ತರಬೇತಿ ಮತ್ತು ಸಮುದಾಯ ನಿರ್ಮಾಣಕ್ಕೆ ಮೀಸಲಾಗಿರುವ ಒಂದು ಉಪಕ್ರಮವಾಗಿದೆ. ೨೦೨೬ ರ ಏಪ್ರಿಲ್-ಜೂನ್ ತಿಂಗಳುಗಳಲ್ಲಿ ನಡೆಯುವ '''ವಿಕಿಸೋರ್ಸ್ 20ನೇ ವಾರ್ಷಿಕೋತ್ಸವದ ಎಡಿಟ್-ಎ-ಥಾನ್''' ಇದರ ಒಂದು ಪ್ರಮುಖ ಚಟುವಟಿಕೆಯಾಗಿದೆ.
</div>
<div style="margin: 15px 0;">
<span class="plainlinks">'''➡️ [https://meta.wikimedia.org/wiki/Kannada-Tulu_Wikilearn ಕನ್ನಡ-ತುಳು ವಿಕಿಲರ್ನ್ ಕುರಿತು ಇನ್ನಷ್ಟು ತಿಳಿಯಿರಿ (ಮೆಟಾ-ವಿಕಿ)]'''</span><br>
<span class="plainlinks">'''➡️ [https://ktlg.toolforge.org ಕನ್ನಡ-ತುಳು ಭಾಷಾ ಗುಂಪು (ktlg.toolforge.org)]'''</span>
</div>
</div>
== ಭಾಗವಹಿಸುವವರು ಮತ್ತು ಅಂಕಗಳು ==
ದಯವಿಟ್ಟು ನಿಮ್ಮ ಹೆಸರನ್ನು ಕೆಳಗೆ ಸೇರಿಸಿ.
== ಇತರೆ ಸಂಪನ್ಮೂಲಗಳು ==
<div style="background: #ecf0f1; padding: 15px; border-radius: 10px;">
* [[s:Proofreading help|ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಸಹಾಯ]]
* [[s:ವಿಕಿಸೋರ್ಸ್ ಸಂಭ್ರಮ ೨೦೦೬|ವಿಕಿಸೋರ್ಸ್ನ ಇತಿಹಾಸ: 3 ಜೂನ್ 2006]]
* [https://kn.wikisource.org/w/index.php?title=ವಿಶೇಷ:ಪುಟಗಳ_ಪಟ್ಟಿ&namespace=104&tagfilter=mw-rollback ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಅಗತ್ಯವಿರುವ ಪುಟಗಳು]
</div>
</div>
[[ವರ್ಗ:ವಿಕಿಸೋರ್ಸ್೨೦]]
5149dw1xjmonvlpag811p5rcyf5tags
282570
282569
2026-04-03T08:05:36Z
A826
6806
Cleaned up using [[WP:AutoEd|AutoEd]]
282570
wikitext
text/x-wiki
<div style="border: 3px solid #2c3e50; border-radius: 15px; background: linear-gradient(135deg, #fef9e4 0%, #fff8f0 100%); padding: 20px; margin: 20px 0; box-shadow: 0 8px 20px rgba(0,0,0,0.1);">
<div style="text-align: center; margin-bottom: 20px;">
==ವಿಕಿಸೋರ್ಸ್೨೦:೨೦ ವಾರ್ಷಿಕೋತ್ಸವದ ಪ್ರೂಫ್ರೀಡಿಂಗ್ ಸ್ಪರ್ಧೆ==
[[File:Wikisource-logo-kn-v3.svg|120px|link=ಮುಖ್ಯ_ಪುಟ]]- [[File:Wikisource-logo-20th anniversary-kannada.svg|140px]]
<hr style="border: 1px solid #f1c40f; width: 80%; margin: auto;">
</div>
<div style="background-color: #2c3e50; color: white; padding: 10px 20px; border-radius: 10px; margin: 20px 0; text-align: center;">
<span style="font-size: 1.3em;">'''45 ದಿನಗಳ ಪ್ರೂಫ್ರೀಡಿಂಗ್ ಸ್ಪರ್ಧೆ'''</span><br>
19 ಏಪ್ರಿಲ್ 2026 ರಿಂದ 3 ಜೂನ್ 2026 ರವರೆಗೆ
</div>
<p>'''ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ತನ್ನ ೨೦ ಪೂರೈಸಿದ ವಾರ್ಷಿಕೋತ್ಸವವನ್ನು ಆಚರಿಸುತ್ತಿದೆ!'''
ವಿಕಿಸೋರ್ಸ್ ಯೋಜನೆಯು '''3 ಜೂನ್ 2006''' ರಂದು ಪ್ರಾರಂಭವಾಯಿತು ([[special:diff/1|03:32, 3 ಜೂನ್ 2006 ರ ಪುನರಾವರ್ತನೆ]]). ಈ ಸಂದರ್ಭದಲ್ಲಿ, ನಾವು '''45 ದಿನಗಳ ಕಾಲ''' ನಡೆಯುವ '''ಪ್ರೂಫ್ ರೀಡಿಂಗ್ (ಪುನರ್ ಮುದ್ರಣ) ಸ್ಪರ್ಧೆ'''ಯನ್ನು ಆಯೋಜಿಸುತ್ತಿದ್ದೇವೆ. ನಿಮ್ಮ ಟೈಪಿಂಗ್ ಕೌಶಲ್ಯ, ನಿಖರತೆ ಮತ್ತು ಛಲದ ಮೂಲಕ ಕನ್ನಡದ ಅಮೂಲ್ಯ ಗ್ರಂಥಗಳನ್ನು ಡಿಜಿಟಲ್ ರೂಪದಲ್ಲಿ ಸಂರಕ್ಷಿಸಲು ಸಹಕರಿಸಿ.</p>
==ಸ್ಪರ್ಧೆಯ ವಿವರಗಳು==
<div style="background: #ecf0f1; padding: 15px; border-radius: 10px; border-left: 5px solid #f1c40f;">
<ul>
<li><strong>ಆರಂಭ:</strong> 19 ಏಪ್ರಿಲ್ 2026 (ಬೆಳಿಗ್ಗೆ 00:01 UTC)</li>
<li><strong>ಅಂತ್ಯ:</strong> 3 ಜೂನ್ 2026 (ರಾತ್ರಿ 11:59 UTC)</li>
<li><strong>ಒಟ್ಟು ಅವಧಿ:</strong> 45 ದಿನಗಳು</li>
<li><strong>ಸ್ಥಳ:</strong> [https://kn.wikisource.org ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್]</li>
<li><strong>ಉದ್ದೇಶ:</strong> ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿ ಲಭ್ಯವಿರುವ ಪುಟಗಳನ್ನು ಪುನರ್ ಪರಿಶೀಲನೆ (ಪ್ರೂಫ್ ರೀಡಿಂಗ್) ಮಾಡಿ, ದೋಷರಹಿತವಾಗಿ ಸಂಪಾದಿಸುವುದು.</li>
</ul>
</div>
==ನಿಯಮಗಳು==
<div style="background: #fff5e6; padding: 15px; border-radius: 10px; border: 1px solid #f1c40f;">
<ol>
<li>ಈ ಸ್ಪರ್ಧೆಯು ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ನ ಎಲ್ಲಾ ಸಂಪಾದಕರಿಗೆ ಮುಕ್ತವಾಗಿದೆ.</li>
<li>ಸ್ಪರ್ಧೆಯು ಪುಟ ಸ್ಥಳದಲ್ಲಿನ (Page namespace) ಬದಲಾವಣೆಗಳನ್ನು ಮಾತ್ರ ಗಣನೆಗೆ ತೆಗೆದುಕೊಳ್ಳುತ್ತದೆ.</li>
<li>ಒಂದೇ ಪುಟವನ್ನು ಒಂದಕ್ಕಿಂತ ಹೆಚ್ಚು ಬಾರಿ ಅಂಕಗಳಿಗಾಗಿ ಸಲ್ಲಿಸಲಾಗದು.</li>
<li>ಸ್ಪರ್ಧೆಯ ಅವಧಿಯಲ್ಲಿ (45 ದಿನಗಳು) ಸೇರಿಸಿದ ಎಲ್ಲಾ ಸಂಪಾದನೆಗಳು ಮಾತ್ರ ಅಂಕಗಳಿಗೆ ಪರಿಗಣಿತವಾಗುತ್ತವೆ.</li>
</ol>
</div>
==ಅಂಕಗಳ ವಿವರ (ಸ್ಕೋರಿಂಗ್ ವ್ಯವಸ್ಥೆ)==
<div style="background: #eaf2f8; padding: 15px; border-radius: 10px; border-left: 5px solid #2980b9; margin: 20px 0;">
<p><strong>ಈ ಸ್ಪರ್ಧೆಯು [https://wscontest.toolforge.org/c/374 Wikisource Contests] ಉಪಕರಣವನ್ನು ಬಳಸುತ್ತದೆ.</strong> ಕೆಳಗಿನ ನಿಯಮಗಳ ಪ್ರಕಾರ ಅಂಕಗಳನ್ನು ಲೆಕ್ಕಹಾಕಲಾಗುವುದು.</p>
</div>
===ಅಂಕಿಗಳ ಅಂಶಗಳು===
<p>ಪ್ರತಿ ಪುಟವನ್ನು ಸಂಪಾದಿಸಿದ ನಂತರ, ಸ್ಥಿತಿಯನ್ನು "Proofread" ಅಥವಾ "Validated" ಗೆ ಬದಲಾಯಿಸಿ. ಪ್ರತಿ ಭಾಗವಹಿಸುವವರ ಸ್ಕೋರ್ ಮೂರು ವಿಭಾಗಗಳನ್ನು ಹೊಂದಿರುತ್ತದೆ:</p>
<ul>
<li><strong>ಒಟ್ಟು ಅಂಕಗಳು (Points)</strong> – ಪ್ರೂಫ್ ರೀಡ್ ಮತ್ತು ವ್ಯಾಲಿಡೇಟೆಡ್ ಪುಟಗಳಿಂದ ಬಂದ ಅಂಕಗಳು</li>
<li><strong>ಮಾನ್ಯೀಕರಣಗಳು (Validations)</strong> – Proofread ಸ್ಥಿತಿಯಿಂದ Validated ಸ್ಥಿತಿಗೆ ತಂದ ಒಟ್ಟು ಪುಟಗಳು</li>
<li><strong>ಸೃಜನಾತ್ಮಕ ಕೊಡುಗೆಗಳು (Contributions)</strong> – ಎಲ್ಲಾ ರೀತಿಯ ಸಂಪಾದನೆಗಳ ಒಟ್ಟು ಸಂಖ್ಯೆ</li>
</ul>
===ಅಂಕಗಳ ಕೋಷ್ಟಕ===
{| class="wikitable" style="width: 80%; margin: 20px auto; border: 2px solid #2c3e50; text-align: center;"
<caption style="background: #f1c40f; padding: 8px; font-weight: bold;">ಸ್ಕೋರಿಂಗ್ ವ್ಯವಸ್ಥೆ</caption><thead>
|-
! ಕ್ರಿಯೆ (Action taken)!!ಅಂಕಗಳು (Points)!!ಮಾನ್ಯೀಕರಣಗಳು (Validations)!!ಕೊಡುಗೆಗಳು (Contributions)
<tbody>
|-
| <strong>ಯಾವುದೇ ಸ್ಥಿತಿಯಿಂದ Proofread ಗೆ</strong> (From any status to Proofread)||3||0||1
|-
| <strong>Proofread ನಿಂದ Validated ಗೆ</strong> (From Proofread to Validated)||1||1||1
|-
| Validated ಪುಟವನ್ನು ಕೆಳಗಿಳಿಸಿದರೆ (Demoted)||-1||-1||-1
|-
| Proofread ಪುಟವನ್ನು ಕೆಳಗಿಳಿಸಿದರೆ (Demoted)||-3||0||-1
</tbody>
|}
<p><strong>[https://wscontest.toolforge.org/c/374 Wikisource Contests ಉಪಕರಣದಲ್ಲಿ ಅಂಕಗಳನ್ನು ನೇರವಾಗಿ ವೀಕ್ಷಿಸಿ]</strong></p>
===ಮುಖ್ಯ ಸೂಚನೆ===
<ul>
<li>Proofread ಸ್ಥಿತಿಗೆ ತಂದ ಪ್ರತಿ ಪುಟಕ್ಕೆ <strong>3 ಅಂಕಗಳು</strong> ಮತ್ತು <strong>1 ಕೊಡುಗೆ</strong> ಸಿಗುತ್ತದೆ.</li>
<li>Validated ಸ್ಥಿತಿಗೆ ತಂದ ಪ್ರತಿ ಪುಟಕ್ಕೆ <strong>1 ಅಂಕ</strong>, <strong>1 ಮಾನ್ಯೀಕರಣ</strong> ಮತ್ತು <strong>1 ಕೊಡುಗೆ</strong> ಸಿಗುತ್ತದೆ.</li>
<li>ತಪ್ಪು ಸಂಪಾದನೆಗಳನ್ನು ಹಿಮ್ಮೆಟ್ಟಿಸಿದಾಗ (demote) ಅಂಕಗಳು ಕಡಿತಗೊಳ್ಳುತ್ತವೆ – ಆದ್ದರಿಂದ ಎಚ್ಚರಿಕೆಯಿಂದ ಸಂಪಾದಿಸಿ.</li>
</ul>
==ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ==
<div style="background: #f4f6f7; padding: 15px; border-radius: 10px; border: 1px solid #bdc3c7;">
{{:ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ}}
</div>
==ಪ್ರಶಸ್ತಿಗಳು==
<div style="background: linear-gradient(135deg, #fff9e6, #fff0d4); padding: 15px; border-radius: 10px; border: 2px solid gold; text-align: center;">
<p>ಸ್ಪರ್ಧೆಯ ಕೊನೆಯಲ್ಲಿ ಹೆಚ್ಚಿನ ಅಂಕಗಳನ್ನು ಗಳಿಸಿದ ಸಂಪಾದಕರಿಗೆ ಪ್ರಶಸ್ತಿಗಳನ್ನು ನೀಡಲಾಗುವುದು:</p>
{| style="width: 100%; margin: 10px 0;"
|-
| style="width: 25%; text-align: center;" | <strong>೧ - ಪ್ರಥಮ</strong><br>ವಿಕಿಸೋರ್ಸ್ ವಿಕಿಲರ್ನ್ ಮರ್ಚಂಡೈಸ್|| style="width: 25%; text-align: center;" |<strong>೨ - ದ್ವಿತೀಯ</strong><br>ವಿಕಿಸೋರ್ಸ್ ವಿಕಿಲರ್ನ್ ಮರ್ಚಂಡೈಸ್|| style="width: 25%; text-align: center;" |<strong>೩ - ತೃತೀಯ</strong><br>ವಿಕಿಸೋರ್ಸ್ ವಿಕಿಲರ್ನ್ ಮರ್ಚಂಡೈಸ್|| style="width: 25%; text-align: center;" |<strong>೪-೧೦ ವಿಶೇಷ</strong><br>ವಿಕಿಸೋರ್ಸ್ ವಿಕಿಲರ್ನ್ ಮರ್ಚಂಡೈಸ್
|}
<p style="font-size: 0.9em; color: #7f8c8d;">(ಗಮನಿಸಿ: ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ಸಮುದಾಯದ ಗೌರವಾರ್ಥವಾಗಿ ನೀಡಲ್ಪಡುತ್ತವೆ.)</p>
</div>
===ಆಯೋಜಕರು ಮತ್ತು ಪ್ರಾಯೋಜಕರು===
<div style="background: #f0f7ff; padding: 20px; border-radius: 10px; border: 2px solid #2c3e50; margin: 20px 0; text-align: center;">
<div style="font-size: 1.5em; color: #2c3e50; margin: 10px 0;"><strong>ಕನ್ನಡ-ತುಳು ವಿಕಿಲರ್ನ್ (Kannada-Tulu Wikilearn)</strong></div>
<p style="font-size: 1.1em;">ಈ ಸ್ಪರ್ಧೆಯನ್ನು <strong>ಕನ್ನಡ-ತುಳು ವಿಕಿಲರ್ನ್</strong> ಕಾರ್ಯಕ್ರಮದ ವತಿಯಿಂದ ಆಯೋಜಿಸಲಾಗಿದೆ ಮತ್ತು ಪ್ರಾಯೋಜಿಸಲಾಗಿದೆ.</p>
<div style="background: white; padding: 15px; border-radius: 8px; text-align: left; margin: 15px 0;">
<strong>ಕಾರ್ಯಕ್ರಮದ ಬಗ್ಗೆ:</strong> ಕನ್ನಡ-ತುಳು ವಿಕಿಲರ್ನ್ ಎಂಬುದು ಕನ್ನಡ ಮತ್ತು ತುಳು ವಿಕಿಮೀಡಿಯಾ ಯೋಜನೆಗಳ ಸುತ್ತ ಕಲಿಕೆ, ತರಬೇತಿ ಮತ್ತು ಸಮುದಾಯ ನಿರ್ಮಾಣಕ್ಕೆ ಮೀಸಲಾಗಿರುವ ಒಂದು ಉಪಕ್ರಮವಾಗಿದೆ. ೨೦೨೬ ರ ಏಪ್ರಿಲ್-ಜೂನ್ ತಿಂಗಳುಗಳಲ್ಲಿ ನಡೆಯುವ <strong>ವಿಕಿಸೋರ್ಸ್ 20ನೇ ವಾರ್ಷಿಕೋತ್ಸವದ ಎಡಿಟ್-ಎ-ಥಾನ್</strong> ಇದರ ಒಂದು ಪ್ರಮುಖ ಚಟುವಟಿಕೆಯಾಗಿದೆ.
</div>
<div style="margin: 15px 0;">
<span class="plainlinks"><strong>➡️ [https://meta.wikimedia.org/wiki/Kannada-Tulu_Wikilearn ಕನ್ನಡ-ತುಳು ವಿಕಿಲರ್ನ್ ಕುರಿತು ಇನ್ನಷ್ಟು ತಿಳಿಯಿರಿ (ಮೆಟಾ-ವಿಕಿ)]</strong></span><br>
<span class="plainlinks"><strong>➡️ [https://ktlg.toolforge.org ಕನ್ನಡ-ತುಳು ಭಾಷಾ ಗುಂಪು (ktlg.toolforge.org)]</strong></span>
</div>
</div>
==ಭಾಗವಹಿಸುವವರು ಮತ್ತು ಅಂಕಗಳು==
<p>ದಯವಿಟ್ಟು ನಿಮ್ಮ ಹೆಸರನ್ನು ಕೆಳಗೆ ಸೇರಿಸಿ.</p>
==ಇತರೆ ಸಂಪನ್ಮೂಲಗಳು==
<div style="background: #ecf0f1; padding: 15px; border-radius: 10px;">
<ul>
<li>[[s:Proofreading help|ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಸಹಾಯ]]</li>
<li>[[s:ವಿಕಿಸೋರ್ಸ್ ಸಂಭ್ರಮ ೨೦೦೬|ವಿಕಿಸೋರ್ಸ್ನ ಇತಿಹಾಸ: 3 ಜೂನ್ 2006]]</li>
<li>[https://kn.wikisource.org/w/index.php?title=ವಿಶೇಷ:ಪುಟಗಳ_ಪಟ್ಟಿ&namespace=104&tagfilter=mw-rollback ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಅಗತ್ಯವಿರುವ ಪುಟಗಳು]</li>
</ul>
</div>
</div>
[[ವರ್ಗ:ವಿಕಿಸೋರ್ಸ್೨೦]]
g34s9n78mp2qadrn5l9v54cr5eubku5
282571
282570
2026-04-03T08:13:58Z
A826
6806
282571
wikitext
text/x-wiki
<div style="border: 3px solid #2c3e50; border-radius: 15px; background: linear-gradient(135deg, #fef9e4 0%, #fff8f0 100%); padding: 20px; margin: 20px 0; box-shadow: 0 8px 20px rgba(0,0,0,0.1);">
<div style="text-align: center; margin-bottom: 20px;">
==ವಿಕಿಸೋರ್ಸ್೨೦:೨೦ ವಾರ್ಷಿಕೋತ್ಸವದ ಪ್ರೂಫ್ರೀಡಿಂಗ್ ಸ್ಪರ್ಧೆ==
[[File:Wikisource-logo-kn-v3.svg|120px|link=ಮುಖ್ಯ_ಪುಟ]] [[File:Wikisource-logo-20th anniversary-kannada.svg|140px]]
<hr style="border: 1px solid #f1c40f; width: 80%; margin: auto;">
</div>
<div style="background-color: #2c3e50; color: white; padding: 10px 20px; border-radius: 10px; margin: 20px 0; text-align: center;">
<span style="font-size: 1.3em;">'''45 ದಿನಗಳ ಪ್ರೂಫ್ರೀಡಿಂಗ್ ಸ್ಪರ್ಧೆ'''</span><br>
19 ಏಪ್ರಿಲ್ 2026 ರಿಂದ 3 ಜೂನ್ 2026 ರವರೆಗೆ
</div>
<p>'''ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ತನ್ನ ೨೦ ಪೂರೈಸಿದ ವಾರ್ಷಿಕೋತ್ಸವವನ್ನು ಆಚರಿಸುತ್ತಿದೆ!'''
ವಿಕಿಸೋರ್ಸ್ ಯೋಜನೆಯು '''3 ಜೂನ್ 2006''' ರಂದು ಪ್ರಾರಂಭವಾಯಿತು ([[special:diff/1|03:32, 3 ಜೂನ್ 2006 ರ ಪುನರಾವರ್ತನೆ]]). ಈ ಸಂದರ್ಭದಲ್ಲಿ, ನಾವು '''45 ದಿನಗಳ ಕಾಲ''' ನಡೆಯುವ '''ಪ್ರೂಫ್ ರೀಡಿಂಗ್ (ಪುನರ್ ಮುದ್ರಣ) ಸ್ಪರ್ಧೆ'''ಯನ್ನು ಆಯೋಜಿಸುತ್ತಿದ್ದೇವೆ. ನಿಮ್ಮ ಟೈಪಿಂಗ್ ಕೌಶಲ್ಯ, ನಿಖರತೆ ಮತ್ತು ಛಲದ ಮೂಲಕ ಕನ್ನಡದ ಅಮೂಲ್ಯ ಗ್ರಂಥಗಳನ್ನು ಡಿಜಿಟಲ್ ರೂಪದಲ್ಲಿ ಸಂರಕ್ಷಿಸಲು ಸಹಕರಿಸಿ.</p>
==ಸ್ಪರ್ಧೆಯ ವಿವರಗಳು==
<div style="background: #ecf0f1; padding: 15px; border-radius: 10px; border-left: 5px solid #f1c40f;">
<ul>
<li><strong>ಆರಂಭ:</strong> 19 ಏಪ್ರಿಲ್ 2026 (ಬೆಳಿಗ್ಗೆ 00:01 UTC)</li>
<li><strong>ಅಂತ್ಯ:</strong> 3 ಜೂನ್ 2026 (ರಾತ್ರಿ 11:59 UTC)</li>
<li><strong>ಒಟ್ಟು ಅವಧಿ:</strong> 45 ದಿನಗಳು</li>
<li><strong>ಸ್ಥಳ:</strong> [https://kn.wikisource.org ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್]</li>
<li><strong>ಉದ್ದೇಶ:</strong> ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿ ಲಭ್ಯವಿರುವ ಪುಟಗಳನ್ನು ಪುನರ್ ಪರಿಶೀಲನೆ (ಪ್ರೂಫ್ ರೀಡಿಂಗ್) ಮಾಡಿ, ದೋಷರಹಿತವಾಗಿ ಸಂಪಾದಿಸುವುದು.</li>
</ul>
</div>
==ನಿಯಮಗಳು==
<div style="background: #fff5e6; padding: 15px; border-radius: 10px; border: 1px solid #f1c40f;">
<ol>
<li>ಈ ಸ್ಪರ್ಧೆಯು ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ನ ಎಲ್ಲಾ ಸಂಪಾದಕರಿಗೆ ಮುಕ್ತವಾಗಿದೆ.</li>
<li>ಸ್ಪರ್ಧೆಯು ಪುಟ ಸ್ಥಳದಲ್ಲಿನ (Page namespace) ಬದಲಾವಣೆಗಳನ್ನು ಮಾತ್ರ ಗಣನೆಗೆ ತೆಗೆದುಕೊಳ್ಳುತ್ತದೆ.</li>
<li>ಒಂದೇ ಪುಟವನ್ನು ಒಂದಕ್ಕಿಂತ ಹೆಚ್ಚು ಬಾರಿ ಅಂಕಗಳಿಗಾಗಿ ಸಲ್ಲಿಸಲಾಗದು.</li>
<li>ಸ್ಪರ್ಧೆಯ ಅವಧಿಯಲ್ಲಿ (45 ದಿನಗಳು) ಸೇರಿಸಿದ ಎಲ್ಲಾ ಸಂಪಾದನೆಗಳು ಮಾತ್ರ ಅಂಕಗಳಿಗೆ ಪರಿಗಣಿತವಾಗುತ್ತವೆ.</li>
</ol>
</div>
==ಅಂಕಗಳ ವಿವರ (ಸ್ಕೋರಿಂಗ್ ವ್ಯವಸ್ಥೆ)==
<div style="background: #eaf2f8; padding: 15px; border-radius: 10px; border-left: 5px solid #2980b9; margin: 20px 0;">
<p><strong>ಈ ಸ್ಪರ್ಧೆಯು [https://wscontest.toolforge.org/c/374 Wikisource Contests] ಉಪಕರಣವನ್ನು ಬಳಸುತ್ತದೆ.</strong> ಕೆಳಗಿನ ನಿಯಮಗಳ ಪ್ರಕಾರ ಅಂಕಗಳನ್ನು ಲೆಕ್ಕಹಾಕಲಾಗುವುದು.</p>
</div>
===ಅಂಕಿಗಳ ಅಂಶಗಳು===
<p>ಪ್ರತಿ ಪುಟವನ್ನು ಸಂಪಾದಿಸಿದ ನಂತರ, ಸ್ಥಿತಿಯನ್ನು "Proofread" ಅಥವಾ "Validated" ಗೆ ಬದಲಾಯಿಸಿ. ಪ್ರತಿ ಭಾಗವಹಿಸುವವರ ಸ್ಕೋರ್ ಮೂರು ವಿಭಾಗಗಳನ್ನು ಹೊಂದಿರುತ್ತದೆ:</p>
<ul>
<li><strong>ಒಟ್ಟು ಅಂಕಗಳು (Points)</strong> – ಪ್ರೂಫ್ ರೀಡ್ ಮತ್ತು ವ್ಯಾಲಿಡೇಟೆಡ್ ಪುಟಗಳಿಂದ ಬಂದ ಅಂಕಗಳು</li>
<li><strong>ಮಾನ್ಯೀಕರಣಗಳು (Validations)</strong> – Proofread ಸ್ಥಿತಿಯಿಂದ Validated ಸ್ಥಿತಿಗೆ ತಂದ ಒಟ್ಟು ಪುಟಗಳು</li>
<li><strong>ಸೃಜನಾತ್ಮಕ ಕೊಡುಗೆಗಳು (Contributions)</strong> – ಎಲ್ಲಾ ರೀತಿಯ ಸಂಪಾದನೆಗಳ ಒಟ್ಟು ಸಂಖ್ಯೆ</li>
</ul>
===ಅಂಕಗಳ ಕೋಷ್ಟಕ===
{| class="wikitable" style="margin: 5px auto; border: 2px solid #2c3e50; text-align: center;"
<caption style="background: #f1c40f; padding: 8px; font-weight: bold;">ಸ್ಕೋರಿಂಗ್ ವ್ಯವಸ್ಥೆ</caption>
|+[https://wscontest.toolforge.org/c/374 Wikisource Contests ಉಪಕರಣದಲ್ಲಿ ಅಂಕಗಳನ್ನು ನೇರವಾಗಿ ವೀಕ್ಷಿಸಿ]
|-
! ಕ್ರಿಯೆ (Action taken)!!ಅಂಕಗಳು (Points)!!ಮಾನ್ಯೀಕರಣಗಳು (Validations)!!ಕೊಡುಗೆಗಳು (Contributions)
|-
| <strong>ಯಾವುದೇ ಸ್ಥಿತಿಯಿಂದ Proofread ಗೆ</strong> (From any status to Proofread)||3||0||1
|-
| <strong>Proofread ನಿಂದ Validated ಗೆ</strong> (From Proofread to Validated)||1||1||1
|-
| Validated ಪುಟವನ್ನು ಕೆಳಗಿಳಿಸಿದರೆ (Demoted)||-1||-1||-1
|-
| Proofread ಪುಟವನ್ನು ಕೆಳಗಿಳಿಸಿದರೆ (Demoted)||-3||0||-1
|}
===ಮುಖ್ಯ ಸೂಚನೆ===
<ul>
<li>Proofread ಸ್ಥಿತಿಗೆ ತಂದ ಪ್ರತಿ ಪುಟಕ್ಕೆ <strong>3 ಅಂಕಗಳು</strong> ಮತ್ತು <strong>1 ಕೊಡುಗೆ</strong> ಸಿಗುತ್ತದೆ.</li>
<li>Validated ಸ್ಥಿತಿಗೆ ತಂದ ಪ್ರತಿ ಪುಟಕ್ಕೆ <strong>1 ಅಂಕ</strong>, <strong>1 ಮಾನ್ಯೀಕರಣ</strong> ಮತ್ತು <strong>1 ಕೊಡುಗೆ</strong> ಸಿಗುತ್ತದೆ.</li>
<li>ತಪ್ಪು ಸಂಪಾದನೆಗಳನ್ನು ಹಿಮ್ಮೆಟ್ಟಿಸಿದಾಗ (demote) ಅಂಕಗಳು ಕಡಿತಗೊಳ್ಳುತ್ತವೆ – ಆದ್ದರಿಂದ ಎಚ್ಚರಿಕೆಯಿಂದ ಸಂಪಾದಿಸಿ.</li>
</ul>
==ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ==
<div style="background: #f4f6f7; padding: 15px; border-radius: 10px; border: 1px solid #bdc3c7; font-size:.0.5em;">
{{:ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ}}
</div>
==ಪ್ರಶಸ್ತಿಗಳು==
<div style="background: linear-gradient(135deg, #fff9e6, #fff0d4); padding: 15px; border-radius: 10px; border: 2px solid gold; text-align: center;">
<p>ಸ್ಪರ್ಧೆಯ ಕೊನೆಯಲ್ಲಿ ಹೆಚ್ಚಿನ ಅಂಕಗಳನ್ನು ಗಳಿಸಿದ ಸಂಪಾದಕರಿಗೆ ಪ್ರಶಸ್ತಿಗಳನ್ನು ನೀಡಲಾಗುವುದು:</p>
{| style="width: 100%; margin: 10px 0;"
|-
| style="width: 25%; text-align: center;" | <strong>೧ - ಪ್ರಥಮ</strong><br>ವಿಕಿಸೋರ್ಸ್ ವಿಕಿಲರ್ನ್ ಮರ್ಚಂಡೈಸ್|| style="width: 25%; text-align: center;" |<strong>೨ - ದ್ವಿತೀಯ</strong><br>ವಿಕಿಸೋರ್ಸ್ ವಿಕಿಲರ್ನ್ ಮರ್ಚಂಡೈಸ್|| style="width: 25%; text-align: center;" |<strong>೩ - ತೃತೀಯ</strong><br>ವಿಕಿಸೋರ್ಸ್ ವಿಕಿಲರ್ನ್ ಮರ್ಚಂಡೈಸ್|| style="width: 25%; text-align: center;" |<strong>೪-೧೦ ವಿಶೇಷ</strong><br>ವಿಕಿಸೋರ್ಸ್ ವಿಕಿಲರ್ನ್ ಮರ್ಚಂಡೈಸ್
|}
<p style="font-size: 0.9em; color: #7f8c8d;">(ಗಮನಿಸಿ: ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ಸಮುದಾಯದ ಗೌರವಾರ್ಥವಾಗಿ ನೀಡಲ್ಪಡುತ್ತವೆ.)</p>
</div>
===ಆಯೋಜಕರು ಮತ್ತು ಪ್ರಾಯೋಜಕರು===
<div style="background: #f0f7ff; padding: 20px; border-radius: 10px; border: 2px solid #2c3e50; margin: 20px 0; text-align: center;">
<div style="font-size: 1.5em; color: #2c3e50; margin: 10px 0;"><strong>ಕನ್ನಡ-ತುಳು ವಿಕಿಲರ್ನ್ (Kannada-Tulu Wikilearn)</strong></div>
<p style="font-size: 1.1em;">ಈ ಸ್ಪರ್ಧೆಯನ್ನು <strong>ಕನ್ನಡ-ತುಳು ವಿಕಿಲರ್ನ್</strong> ಕಾರ್ಯಕ್ರಮದ ವತಿಯಿಂದ ಆಯೋಜಿಸಲಾಗಿದೆ ಮತ್ತು ಪ್ರಾಯೋಜಿಸಲಾಗಿದೆ.</p>
<div style="background: white; padding: 15px; border-radius: 8px; text-align: left; margin: 15px 0;">
<strong>ಕಾರ್ಯಕ್ರಮದ ಬಗ್ಗೆ:</strong> ಕನ್ನಡ-ತುಳು ವಿಕಿಲರ್ನ್ ಎಂಬುದು ಕನ್ನಡ ಮತ್ತು ತುಳು ವಿಕಿಮೀಡಿಯಾ ಯೋಜನೆಗಳ ಸುತ್ತ ಕಲಿಕೆ, ತರಬೇತಿ ಮತ್ತು ಸಮುದಾಯ ನಿರ್ಮಾಣಕ್ಕೆ ಮೀಸಲಾಗಿರುವ ಒಂದು ಉಪಕ್ರಮವಾಗಿದೆ. ೨೦೨೬ ರ ಏಪ್ರಿಲ್-ಜೂನ್ ತಿಂಗಳುಗಳಲ್ಲಿ ನಡೆಯುವ <strong>ವಿಕಿಸೋರ್ಸ್ 20ನೇ ವಾರ್ಷಿಕೋತ್ಸವದ ಎಡಿಟ್-ಎ-ಥಾನ್</strong> ಇದರ ಒಂದು ಪ್ರಮುಖ ಚಟುವಟಿಕೆಯಾಗಿದೆ.
</div>
<div style="margin: 15px 0;">
<span class="plainlinks"><strong>➡️ [https://meta.wikimedia.org/wiki/Kannada-Tulu_Wikilearn ಕನ್ನಡ-ತುಳು ವಿಕಿಲರ್ನ್ ಕುರಿತು ಇನ್ನಷ್ಟು ತಿಳಿಯಿರಿ (ಮೆಟಾ-ವಿಕಿ)]</strong></span><br>
<span class="plainlinks"><strong>➡️ [https://ktlg.toolforge.org ಕನ್ನಡ-ತುಳು ಭಾಷಾ ಗುಂಪು (ktlg.toolforge.org)]</strong></span>
</div>
</div>
==ಭಾಗವಹಿಸುವವರು ಮತ್ತು ಅಂಕಗಳು==
<p>ದಯವಿಟ್ಟು ನಿಮ್ಮ ಹೆಸರನ್ನು ಕೆಳಗೆ ಸೇರಿಸಿ.</p>
==ಇತರೆ ಸಂಪನ್ಮೂಲಗಳು==
<div style="background: #ecf0f1; padding: 15px; border-radius: 10px;">
<ul>
<li>[[s:Proofreading help|ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಸಹಾಯ]]</li>
<li>[[s:ವಿಕಿಸೋರ್ಸ್ ಸಂಭ್ರಮ ೨೦೦೬|ವಿಕಿಸೋರ್ಸ್ನ ಇತಿಹಾಸ: 3 ಜೂನ್ 2006]]</li>
<li>[https://kn.wikisource.org/w/index.php?title=ವಿಶೇಷ:ಪುಟಗಳ_ಪಟ್ಟಿ&namespace=104&tagfilter=mw-rollback ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಅಗತ್ಯವಿರುವ ಪುಟಗಳು]</li>
</ul>
</div>
</div>
[[ವರ್ಗ:ವಿಕಿಸೋರ್ಸ್೨೦]]
bawc8d774fyogid15j1quff8aofb3pw
282572
282571
2026-04-03T08:47:53Z
A826
6806
282572
wikitext
text/x-wiki
<div style="border: 3px solid #2c3e50; border-radius: 15px; background: linear-gradient(135deg, #fef9e4 0%, #fff8f0 100%); padding: 20px; margin: 20px 0; box-shadow: 0 8px 20px rgba(0,0,0,0.1);">
<div style="text-align: center; margin-bottom: 20px;">
==ವಿಕಿಸೋರ್ಸ್೨೦ - ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ೨೦ ವಾರ್ಷಿಕೋತ್ಸವದ ಪ್ರೂಫ್ರೀಡಿಂಗ್ ಸ್ಪರ್ಧೆ==
[[File:Wikisource-logo-kn-v3.svg|120px|link=ಮುಖ್ಯ_ಪುಟ]] [[File:Wikisource-logo-20th anniversary-kannada.svg|140px]]
</div>
<div style="background-color: #2c3e50; color: white; padding: 10px 20px; border-radius: 10px; margin: 20px 0; text-align: center;">
'''45 ದಿನಗಳ ಪ್ರೂಫ್ರೀಡಿಂಗ್ ಸ್ಪರ್ಧೆ'''<br />
19 ಏಪ್ರಿಲ್ 2026 ರಿಂದ 3 ಜೂನ್ 2026 ರವರೆಗೆ
</div>
'''ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ತನ್ನ ೨೦ ಪೂರೈಸಿದ ವಾರ್ಷಿಕೋತ್ಸವವನ್ನು ಆಚರಿಸುತ್ತಿದೆ''', ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ಯೋಜನೆಯು '''3 ಜೂನ್ 2006''' ರಂದು ಪ್ರಾರಂಭವಾಯಿತು ([[special:diff/1|03:32, 3 ಜೂನ್ 2006 ರ ಪುನರಾವರ್ತನೆ]]). ಈ ಸಂದರ್ಭದಲ್ಲಿ, ನಾವು '''45 ದಿನಗಳ ಕಾಲ''' ನಡೆಯುವ '''ಪ್ರೂಫ್ ರೀಡಿಂಗ್ (ಪುನರ್ ಪರಿಶೀಲನ) ಸ್ಪರ್ಧೆ'''ಯನ್ನು ಆಯೋಜಿಸುತ್ತಿದ್ದೇವೆ. ನಿಮ್ಮ ಟೈಪಿಂಗ್ ಕೌಶಲ್ಯ, ನಿಖರತೆ ಮೂಲಕ ಕನ್ನಡದ ಅಮೂಲ್ಯ ಗ್ರಂಥಗಳನ್ನು ಡಿಜಿಟಲ್ ರೂಪದಲ್ಲಿ ಸಂರಕ್ಷಿಸಲು ಸಹಕರಿಸಿ.
<div style="max-width: 700px; margin: auto; font-family: sans-serif;">
<div style="text-align: center; padding: 5px; background: #0645ad; color: white; border-radius: 6px;">
<h3 style="color: white; margin: 0;">ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ ಹೊಸ ಸಂಪಾದಕರಿಗೆ ಮಾರ್ಗದರ್ಶಿ</h3>
</div>
<div style="margin-bottom: 12px;">
<span style="display: inline-block; width: 26px; background: #0645ad; color: white; text-align: center; border-radius: 4px; padding: 3px 0; font-weight: bold; font-size: 0.9em;">1</span> '''ಫೈಲ್ ಅಪ್ಲೋಡ್ ಮತ್ತು ಪರಿವಿಡಿ'''<br>
<span style="margin-left: 32px; font-size: 0.85em; color: #333;">ಫೈಲ್ ಅನ್ನು Commons ಅಥವಾ ಸ್ಥಳೀಯವಾಗಿ ಅಪ್ಲೋಡ್ ಮಾಡುವುದು ಮತ್ತು Index ಪುಟ ರಚಿಸುವುದು</span><br>
<span style="margin-left: 32px;">→ [[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/1|ಪ್ರಾರಂಭಿಸಿ]]</span>
</div>
<div style="margin-bottom: 12px;">
<span style="display: inline-block; width: 26px; background: #0645ad; color: white; text-align: center; border-radius: 4px; padding: 3px 0; font-weight: bold; font-size: 0.9em;">2</span> '''ಪ್ರೂಫ್ ರೀಡಿಂಗ್ ಮತ್ತು ಪುಟ ಸ್ಥಿತಿ'''<br>
<span style="margin-left: 32px; font-size: 0.85em; color: #333;">OCR ಬಳಸಿ ಪಠ್ಯ ಪಡೆಯುವುದು, ಪುಟಗಳನ್ನು ಸರಿಪಡಿಸುವುದು ಮತ್ತು ಸ್ಥಿತಿಗಳನ್ನು ನಿಗದಿಪಡಿಸುವುದು</span><br>
<span style="margin-left: 32px;">→ [[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/2|ಪ್ರಾರಂಭಿಸಿ]]</span>
</div>
<div style="margin-bottom: 12px;">
<span style="display: inline-block; width: 26px; background: #0645ad; color: white; text-align: center; border-radius: 4px; padding: 3px 0; font-weight: bold; font-size: 0.9em;">3</span> '''ಮೌಲ್ಯೀಕರಣ ಮತ್ತು ಟ್ರಾನ್ಸ್ಕ್ಲೂಷನ್'''<br>
<span style="margin-left: 32px; font-size: 0.85em; color: #333;">ಪುಟಗಳನ್ನು ಮೌಲ್ಯೀಕರಿಸುವುದು ಮತ್ತು ಮುಖ್ಯ ನೇಮ್ಸ್ಪೇಸ್ನಲ್ಲಿ ಪುಸ್ತಕವನ್ನು ಸೇರಿಸುವುದು</span><br>
<span style="margin-left: 32px;">→ [[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/3|ಪ್ರಾರಂಭಿಸಿ]]</span>
</div>
<div style="margin-bottom: 12px;">
<span style="display: inline-block; width: 26px; background: #0645ad; color: white; text-align: center; border-radius: 4px; padding: 3px 0; font-weight: bold; font-size: 0.9em;">4</span> '''ವಿಕಿಡಾಟ ಸಂಪರ್ಕ'''<br>
<span style="margin-left: 32px; font-size: 0.85em; color: #333;">ಪುಸ್ತಕ ಮತ್ತು ಲೇಖಕರಿಗೆ ವಿಕಿಡಾಟ ಐಟಂಗಳನ್ನು ರಚಿಸುವುದು ಮತ್ತು ಸಂಪರ್ಕಿಸುವುದು</span><br>
<span style="margin-left: 32px;">→ [[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/4|ಪ್ರಾರಂಭಿಸಿ]]</span>
</div>
<div style="margin-bottom: 16px;">
<span style="display: inline-block; width: 26px; background: #0645ad; color: white; text-align: center; border-radius: 4px; padding: 3px 0; font-weight: bold; font-size: 0.9em;">5</span> '''ಅಂತಿಮ ಹಂತಗಳು'''<br>
<span style="margin-left: 32px; font-size: 0.85em; color: #333;">ಪರಿಶೀಲನಾಪಟ್ಟಿ, ಸಾಮಾನ್ಯ ಸಮಸ್ಯೆಗಳು ಮತ್ತು ಹೆಚ್ಚಿನ ಸಹಾಯ</span><br>
<span style="margin-left: 32px;">→ [[ಸಹಾಯ:ವಿಕಿಸೋರ್ಸ್ ಪರಿಚಯ/5|ಪ್ರಾರಂಭಿಸಿ]]</span>
</div>
<div style="background: #f0f0f0; padding: 10px; border-radius: 6px; font-size: 0.85em; text-align: center;">
📘 '''ಸಹಾಯಕ ಸಂಪನ್ಮೂಲಗಳು:''' [[ವಿಕಿಸೋರ್ಸ್:ಅರಳಿ ಕಟ್ಟೆ|ಚರ್ಚಾ ಪುಟ]] | [[c:Commons:Licensing|ಪರವಾನಗಿ]] | [[wikidata:Help:Items|ವಿಕಿಡಾಟ]]
</div>
</div>
==ಸ್ಪರ್ಧೆಯ ವಿವರಗಳು==
* '''ಆರಂಭ:''' 19 ಏಪ್ರಿಲ್ 2026 (ಬೆಳಿಗ್ಗೆ 00:01 UTC)
* '''ಅಂತ್ಯ:''' 3 ಜೂನ್ 2026 (ರಾತ್ರಿ 11:59 UTC)
* '''ಒಟ್ಟು ಅವಧಿ:''' 45 ದಿನಗಳು
* '''ಸ್ಥಳ:''' [https://kn.wikisource.org ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್]
* '''ಉದ್ದೇಶ:''' ವಿಕಿಸೋರ್ಸ್ನಲ್ಲಿ ಲಭ್ಯವಿರುವ ಪುಟಗಳನ್ನು ಪುನರ್ ಪರಿಶೀಲನೆ (ಪ್ರೂಫ್ ರೀಡಿಂಗ್) ಮಾಡಿ, ದೋಷರಹಿತವಾಗಿ ಸಂಪಾದಿಸುವುದು.
== ನಿಯಮಗಳು ==
# ಸ್ಪರ್ಧೆಯು ಕನ್ನಡ ವಿಕಿಸೋರ್ಸ್ನ ಎಲ್ಲಾ ಸಂಪಾದಕರಿಗೆ ಮುಕ್ತವಾಗಿದೆ.
# ಪುಟ ಸ್ಥಳದ (Page namespace) ಬದಲಾವಣೆಗಳನ್ನು ಮಾತ್ರ ಪರಿಗಣಿಸಲಾಗುವುದು.
# ಒಂದು ಪುಟಕ್ಕೆ ಒಮ್ಮೆ ಮಾತ್ರ ಅಂಕ ಪಡೆಯಲು ಅವಕಾಶವಿದೆ.
# ೪೫ ದಿನಗಳ ಸ್ಪರ್ಧಾ ಅವಧಿಯಲ್ಲಿ ಮಾಡಿದ ಸಂಪಾದನೆಗಳಿಗೆ ಮಾತ್ರ ಅಂಕಗಳು.
== ಅಂಕಗಳ ವಿವರ ==
ಈ ಸ್ಪರ್ಧೆಯು [https://wscontest.toolforge.org/c/374 Wikisource Contests] ಉಪಕರಣದ ಮೂಲಕ ನಡೆಯಲಿದೆ.
=== ಸ್ಕೋರಿಂಗ್ ವ್ಯವಸ್ಥೆ ===
ಪುಟವನ್ನು ಸಂಪಾದಿಸಿದ ನಂತರ ಸ್ಥಿತಿಯನ್ನು '''Proofread''' ಅಥವಾ '''Validated''' ಗೆ ಬದಲಾಯಿಸಿ.
* '''ಒಟ್ಟು ಅಂಕಗಳು (Points):''' ಪ್ರೂಫ್ರೀಡ್ ಮತ್ತು ವ್ಯಾಲಿಡೇಟೆಡ್ ಪುಟಗಳ ಒಟ್ಟು ಮೊತ್ತ.
* '''ಮಾನ್ಯೀಕರಣಗಳು (Validations):''' Proofread ನಿಂದ Validated ಗೆ ಬದಲಾಯಿಸಿದ ಪುಟಗಳು.
* '''ಕೊಡುಗೆಗಳು (Contributions):''' ಒಟ್ಟು ಸಂಪಾದನೆಗಳ ಸಂಖ್ಯೆ.
{| class="wikitable" style="text-align: center;"
|+ ಅಂಕಗಳ ಪಟ್ಟಿ
! ಕ್ರಿಯೆ !! ಅಂಕಗಳು !! ಮಾನ್ಯೀಕರಣ !! ಕೊಡುಗೆ
|-
| Any status → Proofread || 3 || 0 || 1
|-
| Proofread → Validated || 1 || 1 || 1
|-
| Validated ನಿಂದ ಕೆಳಗಿಳಿಸಿದರೆ || -1 || -1 || -1
|-
| Proofread ನಿಂದ ಕೆಳಗಿಳಿಸಿದರೆ || -3 || 0 || -1
|}
== ಬಹುಮಾನಗಳು ==
ಹೆಚ್ಚಿನ ಅಂಕ ಗಳಿಸಿದ ಸಂಪಾದಕರಿಗೆ ಈ ಕೆಳಗಿನ ಪ್ರಶಸ್ತಿಗಳನ್ನು ನೀಡಲಾಗುವುದು:
* '''ಪ್ರಥಮ ಸ್ಥಾನ:''' ವಿಕಿಲರ್ನ್ ಉಡುಗೊರೆ (Gift)
* '''ದ್ವಿತೀಯ ಸ್ಥಾನ:'''ವಿಕಿಲರ್ನ್ ಉಡುಗೊರೆ (Gift)
* '''ತೃತೀಯ ಸ್ಥಾನ:'''ವಿಕಿಲರ್ನ್ ಉಡುಗೊರೆ (Gift)
* '''೪ ರಿಂದ ೧೦ನೇ ಸ್ಥಾನ:''' ವಿಕಿಲರ್ನ್ ಉಡುಗೊರೆ (Gift)
=== ಆಯೋಜಕರು ===
<div style="background:ivory; padding: 20px; border-radius: 10px; border: 1px dashed; margin: 20px 0; text-align: center;">
<div style="font-size: 1.5em; color: #2c3e50; margin: 10px 0;">[[meta:Kannada-Tulu_Wikilearn|ಕನ್ನಡ-ತುಳು ವಿಕಿಲರ್ನ್ (Kannada-Tulu Wikilearn)]]</div>
<p style="font-size: 1.1em;">ಈ ಸ್ಪರ್ಧೆಯನ್ನು '''ಕನ್ನಡ-ತುಳು ವಿಕಿಲರ್ನ್''' ಕಾರ್ಯಕ್ರಮದ ವತಿಯಿಂದ ಆಯೋಜಿಸಲಾಗಿದೆ ಮತ್ತು ಪ್ರಾಯೋಜಿಸಲಾಗಿದೆ.</p>
<div style="background: white; padding: 15px; border-radius: 8px; text-align: left; margin: 15px 0;">
'''ಕಾರ್ಯಕ್ರಮದ ಬಗ್ಗೆ:''' ಕನ್ನಡ-ತುಳು ವಿಕಿಲರ್ನ್ ಎಂಬುದು ಕನ್ನಡ ಮತ್ತು ತುಳು ವಿಕಿಮೀಡಿಯಾ ಯೋಜನೆಗಳ ಸುತ್ತ ಕಲಿಕೆ, ತರಬೇತಿ ಮತ್ತು ಸಮುದಾಯ ನಿರ್ಮಾಣಕ್ಕೆ ಮೀಸಲಾಗಿರುವ ಒಂದು ಉಪಕ್ರಮವಾಗಿದೆ. ೨೦೨೬ ರ ಏಪ್ರಿಲ್-ಜೂನ್ ತಿಂಗಳುಗಳಲ್ಲಿ ನಡೆಯುವ '''ವಿಕಿಸೋರ್ಸ್ 20ನೇ ವಾರ್ಷಿಕೋತ್ಸವದ ಎಡಿಟ್-ಎ-ಥಾನ್''' ಇದರ ಒಂದು ಪ್ರಮುಖ ಚಟುವಟಿಕೆಯಾಗಿದೆ.
</div>
<div style="margin: 15px 0;">
<span class="plainlinks">'''➡️ [https://meta.wikimedia.org/wiki/Kannada-Tulu_Wikilearn ಕನ್ನಡ-ತುಳು ವಿಕಿಲರ್ನ್ ಕುರಿತು ಇನ್ನಷ್ಟು ತಿಳಿಯಿರಿ (ಮೆಟಾ-ವಿಕಿ)]'''</span><br>
<span class="plainlinks">'''➡️ [https://ktlg.toolforge.org ಕನ್ನಡ-ತುಳು ಭಾಷಾ ಗುಂಪು (ktlg.toolforge.org)]'''</span>
</div>
</div>
</div>
[[ವರ್ಗ:ವಿಕಿಸೋರ್ಸ್೨೦]]
7exalbk7fnwi4m1bnmvnblzpwr5mjc4
ವರ್ಗ:ವಿಕಿಸೋರ್ಸ್೨೦
14
100812
282573
2026-04-03T11:01:23Z
A826
6806
Created blank page
282573
wikitext
text/x-wiki
phoiac9h4m842xq45sp7s6u21eteeq1
ವರ್ಗ:ವಿಕಿಸೋರ್ಸ್ ಟ್ಯುಟೋರಿಯಲ್ಗಳು
14
100813
282580
2026-04-03T11:36:47Z
A826
6806
ಹೊಸ ಪುಟ: [[ವರ್ಗ:ವಿಕಿಸೋರ್ಸ್೨೦]]
282580
wikitext
text/x-wiki
[[ವರ್ಗ:ವಿಕಿಸೋರ್ಸ್೨೦]]
kwg028vmtwvtwx7t355wp8syg0fz7yg