Module:Central/PageData.json

La documentation pour ce module peut être créée à Module:Central/PageData.json/Documentation

local Changes = {} -- This module can replace any part of a central library or module.
local p = Changes
--[[
	Changes.PageData = {
		"license": "CC0-1.0",
		"description": {
			"en": "Some good fruits for you",
			"es": "Algunas buenas frutas para ti"
		},
		"sources": "http://example.com and [ [Data] ] page",
		"schema": {
			"fields": [
				{ "name": "id", "type": "string", "title": { "en": "Fruit ID", "fr": "ID de fruit" }},
				{ "name": "count", "type": "number", "title": { "en": "Count" }},
				{ "name": "liked", "type": "boolean", "title": { "en": "Do I like it?" }},
				{ "name": "description", "type": "localized", "title": { "en": "Fruit name", "fr": "Nom du fruit" }}
			]
		},
		"data": [
			[
				"peaches",
				100,
				true,
				{
					"en": "Magnificent but a bit artificial sweet peaches",
					"es": "esto puede estar en español",
					"fr": "this could be in french"
				}
			],
		]
	}

	local Help_Tabular_DataExample = [=[{
		"license": "CC0-1.0",
		"description": {
			"en": "Some good fruits for you",
			"es": "Algunas buenas frutas para ti"
		},
		"sources": "http://example.com and [ [Data] ] page",
		"schema": {
			"fields": [
				{ "name": "id", "type": "string", "title": { "en": "Fruit ID", "fr": "ID de fruit" }},
				{ "name": "count", "type": "number", "title": { "en": "Count" }},
				{ "name": "liked", "type": "boolean", "title": { "en": "Do I like it?" }},
				{ "name": "description", "type": "localized", "title": { "en": "Fruit name", "fr": "Nom du fruit" }}
			]
		},
		"data": [
			[
				"peaches",
				100,
				true,
				{
					"en": "Magnificent but a bit artificial sweet peaches",
					"es": "esto puede estar en español",
					"fr": "this could be in french"
				}
			],
		]
	}]=]
--]]
return p

--	Utilisateur:Rical/MediaWikiVersion		-- Module to test, last change : 2018-01-12 à 20:58:47
--	Module:MediaWikiVersion/Documentation	-- Module to test, last change : 2018-01-12 à 20:58:47
--	Module:MediaWikiVersion					-- Module to test, last change : 2018-01-12 à 20:58:47

--	Usual pages for Translations (for easier select the test page when edit this module in other wikis)
--	Modulenn:Central-s-br/doc				{{#invoke:Central-s-br|read}}	br = Breton = Brezhoneg
--	Modul:Central-s-de/Doku					{{#invoke:Central-s-de|read}}	de = German = Deutsch
--	Module:Central-s-en/Documentation		{{#invoke:Central-s-en|read}}	en = English = English
--	Module:Central-s-es/Documentación		{{#invoke:Central-s-es|read}}	es = Spanish = español
--	Modul:Central-w-hu/doc					{{#invoke:Central-w-hu|read}}	hu = Hungarian = Magyar
--	Module:Central-mw-en/doc				{{#invoke:Central-mw-en|read}}	en = English = English
--	Mô đun:Central-w-vi/tài liệu			{{#invoke:Central-w-vi|read}}	vi = Vietnamese = Tiếng việt
--	MediaWiki:Scribunto/Central modules reference manual
--	Utilisateur:Rical/Auteur:Victor Hugo (Q535)	-- content Module:Author3
--	Utilisateur:Rical/Auteur:Nelson Mandela (Q8023)-- content Module:Central-s-fr/Documentation
--	Module:Central-s-fr/Documentation		{{#invoke:Central-s-fr|read}}	fr = French = Français proto

--	Galilée (Q307), Victor Hugo (Q535), Aristote (Q868), Albert Einstein (Q937), Mohandas Karamchand Gandhi (Q1001), Christophe Colomb (Q7322),
--	Nelson Mandela (Q8023), Rudyard Kipling (Q34743), Martin Fleischmann (Q899264), Emmanuel Macron (Q3052772)

--	After the last tests pages on 2018-05-25
--	MediaWiki:Scribunto/Central guideline
--	MediaWiki:Scribunto/Central modules reference manual
--	MediaWiki:CentralDoc					-- wp.Module:Central (doc)
--	Auteur3:Aristote						-- ws.Module:Auteur3 (Q868)
--	ModuleTpt/Victor Hugo					-- ws.Module:Tpt (Q535)
--	Auteur3:Nelson Mandela					-- ws.Module:Auteur3 (Q8023)
--	Module:Tests/Victor Hugo				-- ws.Module:Tests (Q535)
--	Module:Author3/Documentation			-- ws.Module:Central (Q307)
--	Module:Tests/Aristote					-- wp.ws.Module:Tests (Q868)
--	Utilisateur:Rical/Rudyard Kipling		-- wp.Module:Central (Q34743)
--	Utilisateur:Rical/Nelson Mandela		-- wp.Module:Tests (Q8023)
--	After the last tests page on 2018-01-27 
--	Utilisateur:Rical/Nelson Mandela		-- ws.Module:Central-s-fr (Q8023)
--	Module:Central-s-fr/Galilée				-- ws.Module:Central (Q307)
--	Other wikis :
--	Module:drop_box/Documentation			-- wp.Module:drop_box (doc) from Spanish
--	Module:Central-s-fr/Documentation		-- wp.Module:Central (doc)
--	Módulo:Central-s-es/doc					-- wp.Module:Central (doc)
--
--	Galilée (Q307), Victor Hugo (Q535), Aristote (Q868), Albert Einstein (Q937), Mohandas Karamchand Gandhi (Q1001), Christophe Colomb (Q7322),
--	Nelson Mandela (Q8023), Rudyard Kipling (Q34743), Martin Fleischmann (Q899264), Emmanuel Macron (Q3052772)
--	After the last tests pages on 2018-05-25
--	MediaWiki:Scribunto/Central guideline
--	MediaWiki:Scribunto/Central modules reference manual
--	Auteur:Victor Hugo						-- ws.Module:Tpt (Q535)
--	Module:Auteur2							-- ws.Module:Tpt (Q535)
--	Module:Author3/Documentation			-- ws.Module:Central (Q307)
--	Module:Tests/Aristote					-- ws.Module:Tests (Q868)
--	Utilisateur:Rical/Rudyard Kipling		-- ws.Module:Central (Q34743)
--	Utilisateur:Rical/Nelson Mandela		-- ws.Module:Tests (Q8023)
--	Utilisateur:Rical/Nelson Mandela		-- ws.Module:Central-s-fr (Q8023)
--	Module:Central-s-fr/Galilée				-- ws.Module:Central (Q307)
--	Other wikis after the last tests page on 2018-06-08 :
--	Módulo:drop_box/Documentation			-- ws.Module:drop_box (doc) from Spanish
--	Módulo:Central-s-es/doc					-- ws.Module:Central (doc) from Spanish
--	Mô đun:Central-w-vi/tài liệu			-- vi.wikipedia.Module:Central/Documentation Vietnamise
--	Module:Central-s-fr/Documentation		-- fr.wikisource.Module:Central/Documentation
--