« Null Edit Test - Page A » : différence entre les versions

De Semantic MediaWiki - Sandbox

Aucun résumé des modifications
Balise : Éditeur de wikicode 2017
Aucun résumé des modifications
Balise : Éditeur de wikicode 2017
Ligne 4 : Ligne 4 :
==Notes==
==Notes==
Here is a summary of the issue we are experiencing with semantic data not being updated by null edits:
Here is a summary of the issue we are experiencing with semantic data not being updated by null edits:
* Let page [[Null Edit Test - Page A]] contain the source <code>[[Has Comment::Bar]]</code>
* Let page '''[[Null Edit Test - Page A]]''' contain the source <code>[[Has Comment::Bar]]</code>
* Let page [[Null Edit Test - Page B]] contain the source <code>[[Has Comment::{{#ask: [[Null Edit Test - Page A]] | ? Has Comment= | mainlabel=- | link=none }}]]</code>.
* Let page '''[[Null Edit Test - Page B]]''' contain the source <code>[[Has Comment::{{#ask: [[Null Edit Test - Page A]] | ? Has Comment= | mainlabel=- | link=none }}]]</code>.
* Let [[Property:Has Comment]] contain the source <code>This is a property of type [[Has type::Text]]</code>.
* Let '''[[Property:Has Comment]]''' contain the source <code>This is a property of type [[Has type::Text]]</code>.
Steps to reproduce the issue:
Steps to reproduce the issue:
# Manually edit [[Null Edit Test - Page A]] so that <code>[[Has Comment::Foo]]</code>,
# Manually edit [[Null Edit Test - Page A]] so that <code>[[Has Comment::Foo]]</code>,

Version du 24 octobre 2024 à 21:53

Page Content

Notes

Here is a summary of the issue we are experiencing with semantic data not being updated by null edits:

  • Let page Null Edit Test - Page A contain the source Bar
  • Let page Null Edit Test - Page B contain the source Foo.
  • Let Property:Has Comment contain the source This is a property of type TextLa propriété « A le type » est une propriété déclarative et peut être utilisée seulement sur une page de propriété ou de catégorie..

Steps to reproduce the issue:

  1. Manually edit Null Edit Test - Page A so that Foo,
  2. then visit page Null Edit Test - Page B and note that it does indeed display the new value in B (i.e. “Foo”).
  3. View the properties of page Null Edit Test - Page B
    1. note that the value for Property:Has Comment remains “Bar”.

Historically, we could trigger the semantic data to update via null edit (e.g. editing the source, adding a white space, and saving), however, since upgrading to SMW 4.2.0 we are no longer able to update how the semantic data is set on Page B unless we make an edit which actually changes the content of the page.

Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.