« Null Edit Test - Page B » : 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 1 : Ligne 1 :
==Page Content==
<div style="background-color: #ccc; border: 1px solid #888; border-radius: 12px; padding: 18px; width: 800px; float: right;">
Null Edit Test - Page A, Has Comment: [[Has Comment::{{#ask: [[Null Edit Test - Page A]] | ? Has Comment= | mainlabel=- | link=none }}]]
==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><nowiki>[[Has Comment::Bar]]</nowiki></code>
* Let page '''[[Null Edit Test - Page A]]''' contain the source <code><nowiki>[[Has Comment::Bar]]</nowiki></code>
Ligne 13 : Ligne 11 :


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.
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.
</div>
Null Edit Test - Page A, Has Comment: [[Has Comment::{{#ask: [[Null Edit Test - Page A]] | ? Has Comment= | mainlabel=- | link=none }}]]

Version du 24 octobre 2024 à 21:58

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

Steps to reproduce the issue:

  1. Manually edit Null Edit Test - Page A so that [[Has Comment::Foo]],
  2. then visit page Null Edit Test - Page B and see that it does indeed display the new value in B (i.e. “Foo”).
  3. next 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.

Null Edit Test - Page A, Has Comment: Foo

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