SemanticMediaWiki / SemanticCite

Allows to manage citation resources using semantic annotations
https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Cite
Other
24 stars 13 forks source link

#scite: not rendering (no errors) #100

Closed the1gofer closed 6 months ago

the1gofer commented 3 years ago

Setup and configuration

I suspect the problem has something to do with my MediaWiki:Sci-template-definition page, but I can't find a working example to double check aginst. I have run into issues with white space (another issue), so maybe it doesn't like the templates to have /. It's just hard to tell with not error message.

Example page: https://www.crewsgenealogy.com/wiki/Test

{{#scite:
|reference=boody 20101
|type=1790-1810-Census-Citation-Listing
|census year=1790
|district=test district
|state=test state
|page=test page
|line=test line
|person of interest=test person of interest
|source site=test source site
|accessed date=test accessed date
|roll=test roll
|source site url=test source site url
|accessed year=test accessed year
}}

contents of MediaWiki:Sci-template-definition:

A list of citation types that are mapped to predefined templates containing citation formatting rules. 
 1790-1810-Census-Citation-Listing|1790-1810 Census/Semantic/Citation Listing
 1790-1810 Census Source Listing|1790-1810 Census/Semantic/Source Listing
 1790 Census Citation Listing|1790-1810 Census/Semantic/Citation Listing
 1790 Census Source Listing|1790-1810 Census/Semantic/Source Listing
 1800 Census Citation Listing|1790-1810 Census/Semantic/Citation Listing
 1800 Census Source Listing|1790-1810 Census/Semantic/Source Listing
 1810 Census Citation Listing|1790-1810 Census/Semantic/Citation Listing
 1810 Census Source Listing|1790-1810 Census/Semantic/Source Listing

content of Template:1790-1810 Census/Semantic/Citation Listing

<includeonly>[[United States Census, 1790|{{{census year|}}} U.S. census]], {{{district|}}} District, {{{state|}}}, p. {{{page|}}}, line {{{line|}}}, {{{person of interest|}}}; image, database, {{{source site|}}} Online: (accessed {{{accessed date|}}}); citing National Archives microfilm {{#switch: {{{census year|}}}
|1790 = M-637
|1800 = M-32
|1810 = M-252
}}, roll {{{roll|}}}.</includeonly><noinclude>{{documentation}}</noinclude>
kghbln commented 3 years ago

In such cases I recommend to rebuild this step by step, item by item, from a simple template to a more complex one to see at what point it derails. I do not do it differently in such cases. I expanded the system message in case you would like to give it a shot on the sandbox wiki.

krabina commented 6 months ago

I suppose this is fixed in V3. If not, please reopen.