<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://neowiki.knowledge.wiki/index.php?action=history&amp;feed=atom&amp;title=Knowledge_Wiki_Forever</id>
	<title>Knowledge Wiki Forever - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://neowiki.knowledge.wiki/index.php?action=history&amp;feed=atom&amp;title=Knowledge_Wiki_Forever"/>
	<link rel="alternate" type="text/html" href="https://neowiki.knowledge.wiki/index.php?title=Knowledge_Wiki_Forever&amp;action=history"/>
	<updated>2026-05-23T10:59:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://neowiki.knowledge.wiki/index.php?title=Knowledge_Wiki_Forever&amp;diff=71&amp;oldid=prev</id>
		<title>NeoWiki: Add feature showcase page for updated NeoWiki</title>
		<link rel="alternate" type="text/html" href="https://neowiki.knowledge.wiki/index.php?title=Knowledge_Wiki_Forever&amp;diff=71&amp;oldid=prev"/>
		<updated>2026-05-12T12:00:00Z</updated>

		<summary type="html">&lt;p&gt;Add feature showcase page for updated NeoWiki&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page collects working examples of features available in the updated NeoWiki installation on this wiki.&lt;br /&gt;
&lt;br /&gt;
== Subject rendering with &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#view}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The updated NeoWiki can render a Subject directly on a page.&lt;br /&gt;
&lt;br /&gt;
Source:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;{{#view:s1demo1aaaaaaa1}}&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result:&lt;br /&gt;
&lt;br /&gt;
{{#view:s1demo1aaaaaaa1}}&lt;br /&gt;
&lt;br /&gt;
== Read values inline with &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#neowiki_value}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
This parser function lets wikitext read structured data without writing Lua or Cypher.&lt;br /&gt;
&lt;br /&gt;
Source:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;Founded year: {{#neowiki_value:Founded at|page=ACME Inc}}&lt;br /&gt;
Products: {{#neowiki_value:Products|page=ACME Inc|separator=, }}&lt;br /&gt;
Museum visitors: {{#neowiki_value:Annual visitors|page=Rijksmuseum}}&lt;br /&gt;
Website: {{#neowiki_value:Websites|page=ACME Inc}}&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result:&lt;br /&gt;
&lt;br /&gt;
* Founded year: {{#neowiki_value:Founded at|page=ACME Inc}}&lt;br /&gt;
* Products: {{#neowiki_value:Products|page=ACME Inc|separator=, }}&lt;br /&gt;
* Museum visitors: {{#neowiki_value:Annual visitors|page=Rijksmuseum}}&lt;br /&gt;
* Website: {{#neowiki_value:Websites|page=ACME Inc}}&lt;br /&gt;
&lt;br /&gt;
== Run read-only Cypher with &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#cypher_raw}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The updated NeoWiki keeps the raw Cypher parser function for debugging and exploration.&lt;br /&gt;
&lt;br /&gt;
Source:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;{{#cypher_raw:MATCH (m:Museum) RETURN m.name AS name, m.`Annual visitors` AS visitors ORDER BY visitors DESC LIMIT 5}}&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result:&lt;br /&gt;
&lt;br /&gt;
{{#cypher_raw:MATCH (m:Museum) RETURN m.name AS name, m.`Annual visitors` AS visitors ORDER BY visitors DESC LIMIT 5}}&lt;br /&gt;
&lt;br /&gt;
== Special pages and page-level subject management ==&lt;br /&gt;
&lt;br /&gt;
The newer UI adds or improves dedicated management surfaces.&lt;br /&gt;
&lt;br /&gt;
* [[Special:Schemas]] for schema administration&lt;br /&gt;
* [[Special:Layouts]] for layout administration&lt;br /&gt;
* [{{fullurl:ACME Inc|action=subjects}} ACME Inc data tab] for page-level subject management&lt;br /&gt;
&lt;br /&gt;
== Lua API via &amp;lt;code&amp;gt;mw.neowiki&amp;lt;/code&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The newer Lua API is one of the biggest additions. It exposes structured data directly to Scribunto modules.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;local nw = require( &amp;#039;mw.neowiki&amp;#039; )&lt;br /&gt;
&lt;br /&gt;
local founded = nw.getValue( &amp;#039;Founded at&amp;#039;, { page = &amp;#039;ACME Inc&amp;#039; } )&lt;br /&gt;
local products = nw.getAll( &amp;#039;Products&amp;#039;, { page = &amp;#039;ACME Inc&amp;#039; } )&lt;br /&gt;
local subject = nw.getMainSubject( &amp;#039;ACME Inc&amp;#039; )&lt;br /&gt;
local sameSubject = nw.getSubject( &amp;#039;s1demo1aaaaaaa1&amp;#039; )&lt;br /&gt;
local children = nw.getChildSubjects( &amp;#039;ACME Inc&amp;#039; )&lt;br /&gt;
local schema = nw.getSchema( &amp;#039;Company&amp;#039; )&lt;br /&gt;
local museums = nw.query(&lt;br /&gt;
    &amp;#039;MATCH (m:Museum) RETURN m.name AS name, m.`Annual visitors` AS visitors ORDER BY visitors DESC LIMIT 3&amp;#039;&lt;br /&gt;
)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Functions now documented and available in the updated extension include:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;getValue&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;getAll&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;getMainSubject&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;getSubject&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;getChildSubjects&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;getSchema&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;query&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== REST API examples ==&lt;br /&gt;
&lt;br /&gt;
NeoWiki now has a documented REST surface under &amp;lt;code&amp;gt;/neowiki/v0/*&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;GET /rest.php/neowiki/v0/subject/s1demo1aaaaaaa1&lt;br /&gt;
GET /rest.php/neowiki/v0/schema/Company&lt;br /&gt;
GET /rest.php/neowiki/v0/layout/{layoutName}&lt;br /&gt;
GET /rest.php/neowiki/v0/layouts&lt;br /&gt;
GET /rest.php/neowiki/v0/page/{pageId}/subjects&lt;br /&gt;
PUT /rest.php/neowiki/v0/subject/{subjectId}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want the generated OpenAPI spec exposed on this wiki, enable it in &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$wgRestAPIAdditionalRouteFiles[] = &amp;#039;includes/Rest/specs.v0.json&amp;#039;;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Newer property-type support ==&lt;br /&gt;
&lt;br /&gt;
The updated NeoWiki adds stronger support for &amp;lt;code&amp;gt;select&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;dateTime&amp;lt;/code&amp;gt; property types, including better validation and editing behavior.&lt;br /&gt;
&lt;br /&gt;
Example schema snippets:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{&lt;br /&gt;
  &amp;quot;name&amp;quot;: &amp;quot;Status&amp;quot;,&lt;br /&gt;
  &amp;quot;type&amp;quot;: &amp;quot;select&amp;quot;,&lt;br /&gt;
  &amp;quot;options&amp;quot;: [&lt;br /&gt;
    { &amp;quot;id&amp;quot;: &amp;quot;active&amp;quot;, &amp;quot;label&amp;quot;: &amp;quot;Active&amp;quot; },&lt;br /&gt;
    { &amp;quot;id&amp;quot;: &amp;quot;paused&amp;quot;, &amp;quot;label&amp;quot;: &amp;quot;Paused&amp;quot; }&lt;br /&gt;
  ]&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{&lt;br /&gt;
  &amp;quot;name&amp;quot;: &amp;quot;Launch time&amp;quot;,&lt;br /&gt;
  &amp;quot;type&amp;quot;: &amp;quot;dateTime&amp;quot;,&lt;br /&gt;
  &amp;quot;required&amp;quot;: true&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Layouts and multiple presentations ==&lt;br /&gt;
&lt;br /&gt;
Layouts now have a more complete editing and management workflow. The key entry point is [[Special:Layouts]].&lt;br /&gt;
&lt;br /&gt;
The idea is that one Subject can be shown in multiple ways depending on context, while the underlying structured data remains the same.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
This page is intentionally a compact feature showcase for the newer NeoWiki build now running on this wiki.&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
</feed>