Difference between revisions of "Test:June 2019 upgrade"

From Wikispooks
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
#<nowiki>[[Description1:: Test| ]]</nowiki>: [[Description1:: Test| ]]
 
#<nowiki>[[Description1:: Test| ]]</nowiki>: [[Description1:: Test| ]]
 
#<nowiki>[[Description2:: Test]]</nowiki>: [[Description2:: Test]]
 
#<nowiki>[[Description2:: Test]]</nowiki>: [[Description2:: Test]]
#<nowiki>[[Description2:: Test with [[internal hyperlink]]]]</nowiki>: [[Description2:: Test with [[internal hyperlink]]]]
+
#<nowiki>[[Description2:: Test with [[internal hyperlink]]| ]]</nowiki>: [[Description2:: Test with [[internal hyperlink]]| ]]
#<nowiki>[[Died on:: Test with [https://saidit.net external hyperlink]]]]</nowiki>: [[Died:: Test with [https://saidit.net external hyperlink]]]]
+
#<nowiki>[[Died on:: Test with [https://saidit.net external hyperlink]]| ]]</nowiki>: [[Died:: Test with [https://saidit.net external hyperlink]]| ]]
 
#<nowiki>{{#set: Display date:: Test}}</nowiki>: {{#set: Description5:: Test}}
 
#<nowiki>{{#set: Display date:: Test}}</nowiki>: {{#set: Description5:: Test}}
 
#<nowiki>{{#set: Display lifespan:: Test with [[internal hyperlink]]}}</nowiki>: {{#set: Description6:: Test with [[internal hyperlink]]}}
 
#<nowiki>{{#set: Display lifespan:: Test with [[internal hyperlink]]}}</nowiki>: {{#set: Description6:: Test with [[internal hyperlink]]}}
Line 12: Line 12:
 
*# The text is ''displaying''
 
*# The text is ''displaying''
 
*# The SMW markup is not being processed
 
*# The SMW markup is not being processed
 +
 +
==Diagnosis==
 +
As per https://www.semantic-mediawiki.org/wiki/Help:$smwgLinksInValues , I added the line
 +
$smwgLinksInValues = SMW_LINV_OBFU;

Latest revision as of 01:40, 19 June 2019

Test of how SMW marksup display

  1. [[Description1:: Test| ]]:
  2. [[Description2:: Test]]: Test
  3. [[Description2:: Test with [[internal hyperlink]]| ]]:
  4. [[Died on:: Test with [https://saidit.net external hyperlink]]| ]]: Test with [https://saidit.net external hyperlinkProperty "Died" (as page type) with input value "Test with external hyperlink" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.| ]
  5. {{#set: Display date:: Test}}:
  6. {{#set: Display lifespan:: Test with [[internal hyperlink]]}}:
  7. {{#set: End:: Test with [https://saidit.net external hyperlink]]}}:

Conclusion

  • The cases which are behaving differently are #3 and #4 above, i.e. format with hyperlinks. In these cases:
    1. The text is displaying
    2. The SMW markup is not being processed

Diagnosis

As per https://www.semantic-mediawiki.org/wiki/Help:$smwgLinksInValues , I added the line

$smwgLinksInValues = SMW_LINV_OBFU;