The Morrissey-solo Wiki is a continual work in progress, most of the data still needs to be populated. See the To Do page if you want to help.

Changes

Jump to navigation Jump to search
Add logic to handle forum prefix
Line 3: Line 3:  
  |format=JSON
 
  |format=JSON
 
  |use jsonpath
 
  |use jsonpath
  |data=view_url=$.thread.view_url, title=$.thread.title, post_date=$.thread.post_date
+
  |data=view_url=$.thread.view_url, title=$.thread.title, post_date=$.thread.post_date, prefix=$.thread.prefix, prefix_id=$.thread.prefix_id
 
  |cache seconds=3600
 
  |cache seconds=3600
 
  |use stale cache
 
  |use stale cache
 
}}
 
}}
* [{{#external_value:view_url}} {{#external_value:title}}] - Morrissey-solo ({{#time: M d, Y | @{{#external_value:post_date}} }})
+
{{#ifeq:{{#external_value:prefix_id}}|0|* [{{#external_value:view_url}} {{#external_value:title}}] - Morrissey-solo ({{#time: M d, Y | @{{#external_value:post_date}} }})
 +
|* [{{#external_value:view_url}} <nowiki>[</nowiki>{{#external_value:prefix}}<nowiki>]</nowiki> {{#external_value:title}}] - Morrissey-solo ({{#time: M d, Y | @{{#external_value:post_date}} }})}}
Bureaucrats, Interface administrators, Administrators, xf_ug15, xf_ug2, xf_ug3, xf_ug4
6,927

edits

Navigation menu