<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikiyouth.eu/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=175.136.143.251</id>
	<title>Wikiyouth - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wikiyouth.eu/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=175.136.143.251"/>
	<link rel="alternate" type="text/html" href="https://wikiyouth.eu/wiki/Special:Contributions/175.136.143.251"/>
	<updated>2026-09-06T16:50:02Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wikiyouth.eu/w/index.php?title=MediaWiki:DefaultEditorScript&amp;diff=36681</id>
		<title>MediaWiki:DefaultEditorScript</title>
		<link rel="alternate" type="text/html" href="https://wikiyouth.eu/w/index.php?title=MediaWiki:DefaultEditorScript&amp;diff=36681"/>
		<updated>2001-01-15T00:00:00Z</updated>

		<summary type="html">&lt;p&gt;175.136.143.251: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;export default function( editor, config, updateEditorCallBack ) {&lt;br /&gt;
    editor.on(&#039;ready&#039;, () =&amp;gt; {&lt;br /&gt;
		// use updateEditorCallBack(newConfig) to reload the editor&lt;br /&gt;
    });&lt;br /&gt;
    &lt;br /&gt;
    editor.on(&#039;change&#039;, () =&amp;gt; {&lt;br /&gt;
&lt;br /&gt;
    });&lt;br /&gt;
&lt;br /&gt;
    editor.on(&#039;buildComplete&#039;, () =&amp;gt; {&lt;br /&gt;
&lt;br /&gt;
    });&lt;br /&gt;
}&lt;br /&gt;
&lt;/div&gt;</summary>
		<author><name>175.136.143.251</name></author>
	</entry>
	<entry>
		<id>https://wikiyouth.eu/w/index.php?title=MediaWiki:DefaultEditorOptions&amp;diff=36680</id>
		<title>MediaWiki:DefaultEditorOptions</title>
		<link rel="alternate" type="text/html" href="https://wikiyouth.eu/w/index.php?title=MediaWiki:DefaultEditorOptions&amp;diff=36680"/>
		<updated>2001-01-15T00:00:00Z</updated>

		<summary type="html">&lt;p&gt;175.136.143.251: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;export default {&lt;br /&gt;
	validation: &#039;onsubmit&#039;, // onsubmit, always&lt;br /&gt;
	template: &#039;default&#039;,&lt;br /&gt;
	max_depth: 16,&lt;br /&gt;
	path_separator: &#039;.&#039;,&lt;br /&gt;
	default_additional_properties: false,&lt;br /&gt;
	use_lazy_properties: &#039;threshold&#039;, // never, always, threshold&lt;br /&gt;
	lazy_properties_threshold: 6,&lt;br /&gt;
	remove_empty_properties: false,&lt;br /&gt;
	remove_false_properties: false,&lt;br /&gt;
	debug: false,&lt;br /&gt;
	callbacks: {&lt;br /&gt;
		enum_providers: {&lt;br /&gt;
			wikiList: function () {&lt;br /&gt;
				let cache = null;&lt;br /&gt;
				let pending = null;&lt;br /&gt;
&lt;br /&gt;
				function parseBulletList(content) {&lt;br /&gt;
					const regex = /^\*\s+(.+)$/gm;&lt;br /&gt;
					const items = [];&lt;br /&gt;
					let match;&lt;br /&gt;
&lt;br /&gt;
					while ((match = regex.exec(content)) !== null) {&lt;br /&gt;
						items.push(match[1]);&lt;br /&gt;
					}&lt;br /&gt;
&lt;br /&gt;
					return items;&lt;br /&gt;
				}&lt;br /&gt;
&lt;br /&gt;
				return {&lt;br /&gt;
					source: (jseditor, { item, watched }) =&amp;gt; {&lt;br /&gt;
						if (cache) return cache;&lt;br /&gt;
						if (pending) return pending;&lt;br /&gt;
&lt;br /&gt;
						if (&lt;br /&gt;
							!jseditor.schema[&#039;x-data&#039;] ||&lt;br /&gt;
							!jseditor.schema[&#039;x-data&#039;].article&lt;br /&gt;
						) {&lt;br /&gt;
							console.log(&lt;br /&gt;
								&#039;A key &amp;quot;article&amp;quot; must be specified in an object with key &amp;quot;x-data&amp;quot; in the enum schema&#039;,&lt;br /&gt;
							);&lt;br /&gt;
&lt;br /&gt;
							cache = [];&lt;br /&gt;
							pending = null;&lt;br /&gt;
							return cache;&lt;br /&gt;
						}&lt;br /&gt;
&lt;br /&gt;
						const pageTitle = jseditor.schema[&#039;x-data&#039;].article;&lt;br /&gt;
&lt;br /&gt;
						pending = new mw.Api().get({&lt;br /&gt;
								action: &#039;query&#039;,&lt;br /&gt;
								prop: &#039;revisions&#039;,&lt;br /&gt;
								revslots: &#039;main&#039;,&lt;br /&gt;
								titles: pageTitle,&lt;br /&gt;
								formatversion: 2,&lt;br /&gt;
								rvprop: &#039;content&#039;,&lt;br /&gt;
							})&lt;br /&gt;
							.then((data) =&amp;gt; {&lt;br /&gt;
								const pages = data.query?.pages || [];&lt;br /&gt;
								if (pages.length === 0 || pages[0].missing) {&lt;br /&gt;
									cache = [];&lt;br /&gt;
									pending = null;&lt;br /&gt;
									return cache;&lt;br /&gt;
								}&lt;br /&gt;
								const content = pages[0].revisions?.[0]?.content;&lt;br /&gt;
								cache = content ? parseBulletList(content) : [];&lt;br /&gt;
								pending = null;&lt;br /&gt;
								return cache;&lt;br /&gt;
							})&lt;br /&gt;
							.catch((error) =&amp;gt; {&lt;br /&gt;
								console.error(&#039;Failed to get page content:&#039;, error);&lt;br /&gt;
							});&lt;br /&gt;
&lt;br /&gt;
						return pending;&lt;br /&gt;
					},&lt;br /&gt;
					filter: (jseditor, { item, watched }) =&amp;gt; {&lt;br /&gt;
						return true;&lt;br /&gt;
					},&lt;br /&gt;
					title: (jseditor, { item, watched }) =&amp;gt; item.text,&lt;br /&gt;
					value: (jseditor, { item, watched }) =&amp;gt; item.value,&lt;br /&gt;
				};&lt;br /&gt;
			},&lt;br /&gt;
&lt;br /&gt;
			jsonSchemas: function () {&lt;br /&gt;
				let cache = null;&lt;br /&gt;
				let pending = null;&lt;br /&gt;
&lt;br /&gt;
				return {&lt;br /&gt;
					source: (jseditor, { item, watched }) =&amp;gt; {&lt;br /&gt;
						if (cache) return cache;&lt;br /&gt;
						if (pending) return pending;&lt;br /&gt;
&lt;br /&gt;
						const api = new mw.Api();&lt;br /&gt;
&lt;br /&gt;
						pending = api&lt;br /&gt;
							.get({&lt;br /&gt;
								action: &#039;query&#039;,&lt;br /&gt;
								list: &#039;allpages&#039;,&lt;br /&gt;
								apnamespace: 2100,&lt;br /&gt;
								aplimit: &#039;max&#039;,&lt;br /&gt;
								formatversion: 2,&lt;br /&gt;
							})&lt;br /&gt;
							.then((res) =&amp;gt; {&lt;br /&gt;
								cache = res.query.allpages.map((page) =&amp;gt; {&lt;br /&gt;
									const titleObj = new mw.Title(page.title);&lt;br /&gt;
									const baseTitle = titleObj.getMainText();&lt;br /&gt;
									return {&lt;br /&gt;
										text: baseTitle,&lt;br /&gt;
										value: baseTitle,&lt;br /&gt;
									};&lt;br /&gt;
								});&lt;br /&gt;
								pending = null;&lt;br /&gt;
								return cache;&lt;br /&gt;
							});&lt;br /&gt;
&lt;br /&gt;
						return pending;&lt;br /&gt;
					},&lt;br /&gt;
					filter: (jseditor, { item, watched }) =&amp;gt; {&lt;br /&gt;
						return true;&lt;br /&gt;
					},&lt;br /&gt;
					title: (jseditor, { item, watched }) =&amp;gt; item.text,&lt;br /&gt;
					value: (jseditor, { item, watched }) =&amp;gt; item.value,&lt;br /&gt;
				};&lt;br /&gt;
			},&lt;br /&gt;
		},&lt;br /&gt;
		autocomplete_providers: {&lt;br /&gt;
			jsonSchemas: function () {&lt;br /&gt;
				let cache = null;&lt;br /&gt;
				let pending = null;&lt;br /&gt;
&lt;br /&gt;
				return {&lt;br /&gt;
					search: async (jseditor_editor, input) =&amp;gt; {&lt;br /&gt;
						// If we have cached results, filter them based on input&lt;br /&gt;
						if (cache) {&lt;br /&gt;
							if (!input) return cache;&lt;br /&gt;
							const lowerInput = input.toLowerCase();&lt;br /&gt;
							return cache.filter((item) =&amp;gt;&lt;br /&gt;
								item.text.toLowerCase().includes(lowerInput),&lt;br /&gt;
							);&lt;br /&gt;
						}&lt;br /&gt;
&lt;br /&gt;
						if (pending) return pending;&lt;br /&gt;
&lt;br /&gt;
						const api = new mw.Api();&lt;br /&gt;
&lt;br /&gt;
						pending = api&lt;br /&gt;
							.get({&lt;br /&gt;
								action: &#039;query&#039;,&lt;br /&gt;
								list: &#039;allpages&#039;,&lt;br /&gt;
								apnamespace: 2100,&lt;br /&gt;
								aplimit: &#039;max&#039;,&lt;br /&gt;
								formatversion: 2,&lt;br /&gt;
							})&lt;br /&gt;
							.then((res) =&amp;gt; {&lt;br /&gt;
								cache = res.query.allpages.map((page) =&amp;gt; {&lt;br /&gt;
									const titleObj = new mw.Title(page.title);&lt;br /&gt;
									const baseTitle = titleObj.getMainText();&lt;br /&gt;
									return {&lt;br /&gt;
										text: baseTitle,&lt;br /&gt;
										value: baseTitle,&lt;br /&gt;
									};&lt;br /&gt;
								});&lt;br /&gt;
								pending = null;&lt;br /&gt;
&lt;br /&gt;
								// Filter after caching if input exists&lt;br /&gt;
								if (input) {&lt;br /&gt;
									const lowerInput = input.toLowerCase();&lt;br /&gt;
									return cache.filter((item) =&amp;gt;&lt;br /&gt;
										item.text.toLowerCase().includes(lowerInput),&lt;br /&gt;
									);&lt;br /&gt;
								}&lt;br /&gt;
								return cache;&lt;br /&gt;
							});&lt;br /&gt;
&lt;br /&gt;
						return pending;&lt;br /&gt;
					},&lt;br /&gt;
					getResultValue: (jseditor_editor, result) =&amp;gt; result.value,&lt;br /&gt;
					renderResult: (jseditor_editor, result, props) =&amp;gt; result.text,&lt;br /&gt;
				};&lt;br /&gt;
			},&lt;br /&gt;
		},&lt;br /&gt;
		template: {},&lt;br /&gt;
		button: {},&lt;br /&gt;
		upload: {},&lt;br /&gt;
		converters: {},&lt;br /&gt;
	},&lt;br /&gt;
};&lt;br /&gt;
&lt;/div&gt;</summary>
		<author><name>175.136.143.251</name></author>
	</entry>
	<entry>
		<id>https://wikiyouth.eu/w/index.php?title=JsonSchema:Core/TestFormUI&amp;diff=36679</id>
		<title>JsonSchema:Core/TestFormUI</title>
		<link rel="alternate" type="text/html" href="https://wikiyouth.eu/w/index.php?title=JsonSchema:Core/TestFormUI&amp;diff=36679"/>
		<updated>2001-01-15T00:00:00Z</updated>

		<summary type="html">&lt;p&gt;175.136.143.251: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{&lt;br /&gt;
	&amp;quot;type&amp;quot;: &amp;quot;object&amp;quot;,&lt;br /&gt;
	&amp;quot;$id&amp;quot;: &amp;quot;https://wikisphere.org/wiki/JsonSchema:Core/TestFormUI&amp;quot;,&lt;br /&gt;
	&amp;quot;title&amp;quot;: &amp;quot;TestForm&amp;quot;,&lt;br /&gt;
	&amp;quot;x-message&amp;quot;: {&lt;br /&gt;
		&amp;quot;label&amp;quot;: &amp;quot;Reference: [https://github.com/json-schema-org/JSON-Schema-Test-Suite JSON-Schema-Test-Suite]&amp;quot;,&lt;br /&gt;
		&amp;quot;x-label-format&amp;quot;: &amp;quot;wikitext&amp;quot;&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;x-default-properties&amp;quot;: [ &amp;quot;test&amp;quot;, &amp;quot;editor&amp;quot; ],&lt;br /&gt;
	&amp;quot;properties&amp;quot;: {&lt;br /&gt;
		&amp;quot;draft&amp;quot;: {&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;title&amp;quot;: &amp;quot;draft&amp;quot;,&lt;br /&gt;
			&amp;quot;enum&amp;quot;: [&lt;br /&gt;
				&amp;quot;draft7&amp;quot;,&lt;br /&gt;
				&amp;quot;draft2019-09&amp;quot;,&lt;br /&gt;
				&amp;quot;draft2020-12&amp;quot;		&lt;br /&gt;
			]&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;keyword&amp;quot;: {&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;title&amp;quot;: &amp;quot;keyword&amp;quot;,&lt;br /&gt;
			&amp;quot;x-watch&amp;quot;: &amp;quot;draft&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
			&amp;quot;x-enum-provider&amp;quot;: &amp;quot;keywords&amp;quot;,&lt;br /&gt;
			&amp;quot;x-input&amp;quot;: &amp;quot;OO.ui.ButtonSelectWidget&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;testcase&amp;quot;: {&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;title&amp;quot;: &amp;quot;testcase&amp;quot;,&lt;br /&gt;
			&amp;quot;x-watch&amp;quot;: &amp;quot;keyword&amp;quot;,&lt;br /&gt;
			&amp;quot;x-enum-provider&amp;quot;: &amp;quot;testCase&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;test&amp;quot;: {&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;title&amp;quot;: &amp;quot;test&amp;quot;,&lt;br /&gt;
			&amp;quot;x-watch&amp;quot;: &amp;quot;testcase&amp;quot;,&lt;br /&gt;
			&amp;quot;x-enum-provider&amp;quot;: &amp;quot;test&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;editor&amp;quot;: {&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;null&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</summary>
		<author><name>175.136.143.251</name></author>
	</entry>
</feed>