diff --git a/src/components/Pages/HostingPolicy/HostingPolicyRenderer.vue b/src/components/Pages/HostingPolicy/HostingPolicyRenderer.vue index cc402003..39ba0fde 100644 --- a/src/components/Pages/HostingPolicy/HostingPolicyRenderer.vue +++ b/src/components/Pages/HostingPolicy/HostingPolicyRenderer.vue @@ -10,10 +10,21 @@ - +
+

Hosting Policy

+

+ Effective: {{ formattedActiveFrom }} +

+
+ + This is an upcoming version. You can find the current version here. + + This is an outdated version. You can find the + current version here. +
@@ -45,6 +56,10 @@ export default { isCurrentRoute: function () { return this.policyActiveFrom === undefined }, + formattedActiveFrom: function () { + if (!this.policyMetadata || !this.policyMetadata.active_from) return null + return new Date(this.policyMetadata.active_from).toLocaleDateString('en-GB', { year: 'numeric', month: 'long', day: 'numeric', timeZone: 'UTC' }) + }, }, data () { return { diff --git a/src/components/Pages/HostingPolicy/hosting-policy/version-1.vue b/src/components/Pages/HostingPolicy/hosting-policy/version-1.vue index 729e5363..55d1f741 100644 --- a/src/components/Pages/HostingPolicy/hosting-policy/version-1.vue +++ b/src/components/Pages/HostingPolicy/hosting-policy/version-1.vue @@ -2,11 +2,6 @@ -
-

Hosting Policy for Wikibase Cloud

-

Effective: {{ formattedActiveFrom }}

-
-

1. Purpose and Scope

This policy defines Wikimedia Deutschland’s (WMDE) expectations and criteria for hosting on Wikibase Cloud. It explains what kinds of datasets and use cases are supported by WMDE and how those decisions are made and implemented.

The policy exists to ensure that Wikibase Cloud technical and financial resources, as well as staff capacity are used responsibly, intentionally, in alignment with WMDE’s mission. Wikibase Cloud is not intended to be a generic free hosting service for any purpose. The policy helps us maintain visibility into how the platform is used and provides a framework to support and encourage use cases aligned with the role we want Wikibase Cloud to play in the Wikibase Ecosystem, and to address cases that clearly fall outside that role.

diff --git a/src/components/Pages/TermsOfUse/TermsOfUseRenderer.vue b/src/components/Pages/TermsOfUse/TermsOfUseRenderer.vue index e26447f8..e55feaff 100644 --- a/src/components/Pages/TermsOfUse/TermsOfUseRenderer.vue +++ b/src/components/Pages/TermsOfUse/TermsOfUseRenderer.vue @@ -10,10 +10,21 @@
- +
+

Terms of Use

+

+ Effective: {{ formattedActiveFrom }} +

+
+ + This is an upcoming version. You can find the current version here. + + This is an outdated version. You can find the + current version here. +
@@ -45,6 +56,10 @@ export default { isCurrentRoute: function () { return this.policyActiveFrom === undefined }, + formattedActiveFrom: function () { + if (!this.policyMetadata || !this.policyMetadata.active_from) return null + return new Date(this.policyMetadata.active_from).toLocaleDateString('en-GB', { year: 'numeric', month: 'long', day: 'numeric', timeZone: 'UTC' }) + }, }, data () { return { diff --git a/src/components/Pages/TermsOfUse/terms-of-use/version-1.vue b/src/components/Pages/TermsOfUse/terms-of-use/version-1.vue index 6351706b..16c6127a 100644 --- a/src/components/Pages/TermsOfUse/terms-of-use/version-1.vue +++ b/src/components/Pages/TermsOfUse/terms-of-use/version-1.vue @@ -1,10 +1,5 @@