Topic on Extension talk:SemanticDependencyUpdater

Works through templates?

3
Tinss (talkcontribs)

Hello @Planetenxin, thanks for this extension. Does it work through templates?

On my wiki, most semantic properties are defined through templates and it seems I still need to do a manuel blank edit for everything to update event though a page defines Semantic_Dependency (through a template...)

Planetenxin (talkcontribs)
  • Make sure, a page Property:Semantic_Dependency exists with content [[Has type::Text]]
  • Make sure, $wgSDUUseJobQueue = false;
  • Create a page A with
[[Title::A]]
  • Create a page B with
* [[Part Of::A| ]][[Title::{{#show:A|?Title}}.B]]
* {{#show:{{FULLPAGENAME}}|?Title}}
  • Now, change page A as follows
[[Title::XXX]]

As a result, on pageB you should see

- XXX.B
- XXX.B
Planetenxin (talkcontribs)

If the above procedure works, it should also work in templates

Reply to "Works through templates?"