Utilisateur:Mathompson

De Semantic MediaWiki - Sandbox

Semantic Scribunto invocation

Invocation:

{{#invoke:ScribuntoTest|asktype}}

mw.ext.smw module not found

Expected Ordering:

 Date de modification
Issue/SRF/1168
Issue SRF 1168 email
Issue SRF 1168 quantity
Issue SRF 1168 text
Issue SRF 1168 date
Issue/7140
Computer room
Setup information
Kghbln/MUDCon agenda query test
Kghbln/MUDCon query test/The future of WikiAPIary
Kghbln/MUDCon query test/Knowledge management, the foundation of economy and society
Kghbln/MUDCon agenda layout test
Kghbln/MUDCon query test/Token Exchange within MediaWiki OAuth extension
Kghbln/MUDCon query test/The MediaWiki ecosystem - results of an online survey
Kghbln/MUDCon query test/PeaceWiki: Can a Knowledge Network Incubate Peace?
Kghbln/MUDCon query test/Building a browser extension using data from your own wiki
Kghbln/MUDCon query test/Day 1 Closing
Kghbln/MUDCon query test/Day 1 Session: Wikis and their communities
Kghbln/MUDCon query test/Day 1 Afternoon coffee break
Kghbln/MUDCon query test/Prototyping a wiki by reel driven development: Documenting the e-bike trip from Bari to Ljubljana
Kghbln/MUDCon query test/NeoWiki in Action: Modern Structured Data for MediaWiki
Kghbln/MUDCon query test/Day 1 Session: Building on wikis
Kghbln/MUDCon query test/Day 1 Afternoon short break
Kghbln/MUDCon query test/WikiDiagrams
Kghbln/MUDCon query test/What's new in Wanda
Kghbln/MUDCon query test/Let AI Work With Your Wiki
Kghbln/MUDCon query test/Looking beyond on-wiki solutions for addressing crawlers
Kghbln/MUDCon query test/Introducing Wicker
Kghbln/MUDCon query test/LLMBridge
Kghbln/MUDCon query test/I Thought a Wiki Was Just Pages: 5 Things I Learned
Kghbln/MUDCon query test/Improving the security of third-party MediaWiki code with AI
Kghbln/MUDCon query test/How to (not) lockdown a Wikibase?
Kghbln/MUDCon query test/Convert Word Document
Kghbln/MUDCon query test/From Wiki Pages to Knowledge: What Makes Information Useful?
Kghbln/MUDCon query test/Comparing Semantic Mediawiki, Wikibase and NeoWiki for Cultural Heritage use cases in the context of ECHOLOT
Kghbln/MUDCon query test/Building a Microsoft Graph Connector for MediaWiki: Semantic Content Synchronization and Search
Kghbln/MUDCon query test/AI Business trends
Kghbln/MUDCon query test/Day 2 Closing
Kghbln/MUDCon query test/Day 2 Session: Developing MediaWiki together
Kghbln/MUDCon query test/Day 2 Afternoon coffee break
Kghbln/MUDCon query test/Day 2 Afternoon short break
Kghbln/MUDCon query test/Day 2 Lunch break
Kghbln/MUDCon query test/Day 2 Session: Knowledge management and AI
Kghbln/MUDCon query test/Day 2 Short break
Kghbln/MUDCon query test/Sleeping well after shipping code you didn't read
Kghbln/MUDCon query test/Beginners tutorial for NeoWiki
Kghbln/MUDCon query test/Day 3 Closing
Kghbln/MUDCon query test/Day 3 Morning coffee break
Kghbln/MUDCon query test/Day 1 Keynote
AgendaItem26
Kghbln/MUDCon query test/Hacking together: shared work for shared needs
Kghbln/MUDCon query test/EpiMedDat – From Plain WikiText to Semantic MediaWiki and Wikibase
AbbeyGragg
AbbeyGragg
JaninaCharette
JaninaCharette
JeffreyHumphries
JeffreyHumphries
Kghbln/MUDCon query test/MediaWiki development tooling: What's working, what's a pain?
Kghbln/MUDCon query test/Day 3 Opening
Kghbln/MUDCon query test/Day 3 Session: Developing MediaWiki together
Kghbln/MUDCon query test/Day 2 Opening
Kghbln/MUDCon query test/Day 1 Welcome and opening
Talk
Kghbln/MUDCon query test/Simplified Entry of Complex Data into Wikibase
Kghbln/MUDCon query test/Building a FAIR Pipeline for Digitised Archival Materials: OCR, IIIF, and Semantic Wikibase in Practice
Kghbln/MUDCon query test/Day 1 Lunch break
Kghbln/MUDCon query test/What is new in FlexForm
Kghbln/MUDCon query test/Modeling Buddhist Lineages: Semantic Challenges and Visual Representation
Kghbln/MUDCon query test/JsonForms, a short presentation
Kghbln/MUDCon query test/Canasta Update
Kghbln/MUDCon query test/Day 2 Session: Deploying, extending and securing MediaWiki
Kghbln/MUDCon query test/Day 1 Short break
AllieDcg83
AllieDcg83
ClarissaMcmullen
ClarissaMcmullen
WillieMacnamara
WillieMacnamara
DTBzxT9F8BE2
DTBzxT9F8BE2
DorthySlate37
DorthySlate37
Sandbox Semantic-MediaWiki
Maintenance
Pages avec des erreurs de script
Pages avec du contenu externe
Pages où la limite de taille de développement est dépassée
Pages avec des boucles de modèle
Pages non indexées
Pages indexées
Pages utilisant des arguments dupliqués dans les appels de modèle
Pages avec des liens de fichiers brisés
Pages avec des erreurs de référence
Issue/SRF/1157
Kghbln/MUDCon query test/Day 3 Doors and coffee
Kghbln/MUDCon query test/Day 2 Session: Socializing and connecting
Kghbln/MUDCon query test/Day 1 Session: Socializing and connecting
Kghbln/MUDCon query test/Day 1 Session: Modeling and editing structured data
Kghbln/MUDCon query test/Day 1 Registration and coffee
Has agenda icon
AgendaDay26
AgendaStart26
Kghbln/MUDCon query test/Day 2 Conference dinner
Kghbln/MUDCon query test/Day 1 Informal get-together
Kghbln/MUDCon query test/Day 2 Doors and coffee
Has time label
AgendaStart26/styles.css
Talk status
FULLPAGENAME
Has speaker
Has video plain
Has conference
Has talk type
Has presentation mode
Has planned finish
Has duration
AgendaEnd26
Helena9023
Helena9023
LeonelMccaffrey
LeonelMccaffrey
ChiquitaMcQuisto
ChiquitaMcQuisto
NDSMervin5
NDSMervin5
Cathern5399
Cathern5399
Muriel3494
Muriel3494
CharleyAlcantar
CharleyAlcantar
SuzannaPartridge
SuzannaPartridge
Alba95Y90419998
Alba95Y90419998
RicardoSolberg
RicardoSolberg
Jahvvy/sandbox
AureliaDuke0682
AureliaDuke0682
Popup
Jahvvy
Jahvvy
AlbaBlaxland114
AlbaBlaxland114
StephanieT62
StephanieT62
LourdesLapsley8
LourdesLapsley8
SMW Tooltip Link Test
Tooltip link property
SMW Tooltip Test
Tooltip test property
FlossieNavarro0
FlossieNavarro0
Property link parser function
Setting values with the display parameter
AlvinMcintire5
AlvinMcintire5
ToniaPoidevin5
ToniaPoidevin5
JustinRowan
JustinRowan
SheriU8662882743
SheriU8662882743
LindsayLeija009
LindsayLeija009
Lilia95G643
Lilia95G643
Marie80518
Marie80518
Skrobynets
Skrobynets
KateDelaney173
KateDelaney173
Srikhatkhelao
Srikhatkhelao
IngridSerisier
IngridSerisier
Alwin138
Alwin138
PaulinePannell5
PaulinePannell5
AshtonMelton204
AshtonMelton204
JaimeQ8820
JaimeQ8820
Michele Lavazza
Michele Lavazza
Gallery format - data stored in subobjects
Baillyk/Sandbox
Baillyk
Baillyk
TYBMarilyn
TYBMarilyn
IndianaBuggy560
IndianaBuggy560
BrodieZ056
BrodieZ056
MatthiasPeele18
MatthiasPeele18
MohammadKasper
MohammadKasper
HyeOneal05502
HyeOneal05502
Noella13T5005498
Noella13T5005498
AlmaFerri901
AlmaFerri901
WilhelminaXir
WilhelminaXir
CortezBrumfield
CortezBrumfield
AnnelieseThornbu
AnnelieseThornbu
Senfoso
Senfoso
ClintNeedham169
ClintNeedham169
UrsulaGartrell8
UrsulaGartrell8
LucindaBooth195
LucindaBooth195
BobbyeBronner98
BobbyeBronner98
AntwanKahl82
AntwanKahl82
ClaraAinslie2
ClaraAinslie2
EmilieJasprizza
EmilieJasprizza
FredGreenham0
FredGreenham0
AntjeChoi96
AntjeChoi96
TimmyTolmie6195
TimmyTolmie6195
IngridRule9600
IngridRule9600
Jqplotseries
Jqplotseries example
StewartBergeron
StewartBergeron
WinonaKneebone
WinonaKneebone
... autres résultats

Explanation

The invocation returns a number that is the "query-continue-offset" value for the query result. This is because the first element in the array returned by the PHP code for the extension is the "query-continue-offset" value. If the entire result object is wrapped in another array, the Lua code will receive the entire result array (which will be of type "table" once Lua has it) from the PHP code (because that array is now the first element of the return value.)

The "ScribuntoTest" module that I wrote for the purposes of testing will return some information from the first query result when it receives a table from the PHP code, and otherwise returns the value it received from the PHP code directly.

Ordering explanation

The result array in PHP is string-keyed, which becomes a string-keyed table in Lua. String-keyed Lua tables are not guaranteed to return their contents in the order they were added to the table, and as such, the sort is lost. By changing the result array in PHP to use integer indices, the resulting Lua table will keep the results in the same order as the PHP array.

Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.