Open kghbln opened 2 years ago
MW 1.35.5, SMW 3.2.3, SCI: 2.1.1. PHP: 8.0.17
Pages which use {{#scite: ...}}
do not show up. Instead I get:
"Fatal error: Array and string offset access syntax with curly braces is no longer supported in /var/www/html/r3/extensions/SemanticCite/src/Bibtex/BibtexParser.php on line 99"
After manually changing the respective curly braces indicated in kghbin's post, into [$]
everthing works fine.
Maybe we did not fully understand the issue here. The #scite parser function now certainly is working again. Also i do not get any error messages on running rebuildData.php
I just ran into this issue. Can you clarify when you say "After manually changing the respective curly braces indicated in kghbin's post, into [$] everthing works fine." can you give an example? Did you change
{{#scite:Byrne 2008 |type=journal |author=Byrne, A |date=2008 |title=Web 2.0 strategies in libraries and information services |journal=The Australian Library Journal |volume=57 |number=4 |pages=365-376 |file=Web 2 0 strategy in libraries and information services.pdf }}
to
[$scite:Byrne 2008 |type=journal |author=Byrne, A |date=2008 |title=Web 2.0 strategies in libraries and information services |journal=The Australian Library Journal |volume=57 |number=4 |pages=365-376 |file=Web 2 0 strategy in libraries and information services.pdf ]
No, this will definitely not work. The curyl braces deprecation is related to the source code, not the wikitext (parser function) that you use. So it seems that @bescheid has manually corrected things in the source code, but we did not get a pull request, so we don't have this yet.
Setup and configuration
Issue
When rebuilding data I get the following notices: