Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Sandbox/Version demo/1.0: Difference between revisions

From OHC Network Wiki
More languages
Content deleted Content added
OHC identity seed
 
OHC identity seed
Line 2: Line 2:
|type=guide
|type=guide
|domain=platform
|domain=platform
|title=Version Demo (v1.0 — frozen)
|title=Version Demo (v1.0)
|order=999
|order=999
|introduced=1.0
|introduced=1.0
Line 10: Line 10:
__NOINDEX__
__NOINDEX__


This is a '''frozen snapshot''' demonstrating the wiki's copy-on-write versioning system. It is not real documentation.
{{Warning|1=This is a '''sandbox demonstration''' of the wiki's versioning system. It is not real documentation. See [[Sandbox/Version demo]] for the latest version.}}


== How versioning worked (old) ==
== Notification system (v1.0) ==


In version 1.0, notifications were minimal:
In the original design, every page was duplicated per release:


* Single channel: '''email only'''
{| class="wikitable"
* No user preferences — all users received all notifications
! Approach !! Cost
* Plain text, no templates
|-
* Sent synchronously during request handling (blocked the UI)
| Full copy per version || O(n × versions) pages
|-
| Manual sync of shared content || High editorial burden
|}


== Configuration ==
{{Warning|1=This page exists solely to demonstrate the frozen-page banner and version-switcher pills. It contains no real information.}}


<syntaxhighlight lang="text">
== See also ==
NOTIFICATIONS_ENABLED = true
SMTP_HOST = mail.example.com
</syntaxhighlight>


That was it. Two environment variables.
* [[Sandbox/Version demo]] — the "current" (latest) version of this demo page

== Known limitations ==

* No delivery tracking
* No retry on failure
* No opt-out mechanism
* High latency on actions that triggered emails


[[Category:Sandbox]]
[[Category:Sandbox]]