Utilisateur:Mathompson

De Semantic MediaWiki - Sandbox

Semantic Scribunto invocation[modifier | modifier le wikicode]

Invocation:

{{#invoke:ScribuntoTest|asktype}}

mw.ext.smw module not found

Expected Ordering:

 Date de modification« Date de modification <span style="font-size:small;">(Modification date)</span> » est une propriété prédéfinie fournie par MediaWiki Sémantique et qui correspond à la date de la dernière modification d’un sujet.
Leah.miller25 avril 2024 13:33:07
Leah.miller25 avril 2024 13:33:06
Leaflet centre24 avril 2024 14:42:54
Datatables format filter22 avril 2024 06:47:14
Grantiago18 avril 2024 11:57:23
Grantiago18 avril 2024 11:57:22
Bigjimhilljameel7 avril 2024 01:09:12
Bigjimhilljameel7 avril 2024 01:09:11
Congeal Plume5 avril 2024 11:16:31
Congeal Plume5 avril 2024 11:16:30
Vkopey/Sandbox5 avril 2024 08:19:09
12 avril 2024 00:06:20
Vkopey1 avril 2024 22:22:24
Vkopey1 avril 2024 22:22:23
Rvinindr28 mars 2024 20:59:28
Rvinindr28 mars 2024 20:59:28
Subobject In Datatables28 mars 2024 07:46:52
SubobjectTemplateLink428 mars 2024 06:35:30
SubobjectTemplateLink328 mars 2024 06:35:28
SubobjectTemplateLink228 mars 2024 06:35:26
SubobjectTemplateLink28 mars 2024 06:35:25
YourSubobjectProperty228 mars 2024 06:26:54
YourSubobjectProperty128 mars 2024 06:26:34
YourParentProperty228 mars 2024 06:24:52
YourParentProperty128 mars 2024 06:24:10
Redheadkelly/Sandbox20 mars 2024 00:28:02
Redheadkelly20 mars 2024 00:19:37
Redheadkelly20 mars 2024 00:19:36
铁桶18 mars 2024 01:07:24
铁桶18 mars 2024 01:07:23
Demo:Event calendar:2024-03-15T23:06:41.000Z13 mars 2024 23:15:02
Ortwyn13 mars 2024 03:13:12
Ortwyn13 mars 2024 03:13:11
Semantic City7 mars 2024 10:54:48
SBouarfa7 mars 2024 10:06:01
SBouarfa7 mars 2024 10:06:00
Spamtrap710/Sandbox6 mars 2024 22:28:07
Spamtrap7105 mars 2024 18:49:49
Spamtrap7105 mars 2024 18:49:48
Vgorodeckiy/Sandbox2 mars 2024 05:40:17
Vgorodeckiy2 mars 2024 05:27:48
Vgorodeckiy2 mars 2024 05:27:47
SteveOh7828 février 2024 01:45:39
SteveOh7828 février 2024 01:45:38
20160726Person21 février 2024 13:50:31
DescT21 février 2024 13:39:35
Books21 février 2024 13:29:20
2 - Accelerando21 février 2024 13:28:53
DVBeloborodov21 février 2024 07:57:20
DVBeloborodov21 février 2024 07:57:19
Torenity20 février 2024 05:03:21
Torenity20 février 2024 05:03:20
Beitrag zur Berichtigung der Urteile des Publikums über die Französische Revolution12 février 2024 15:02:12
Fichte12 février 2024 14:54:03
Test 100012 février 2024 14:41:12
Stub Textstelle12 février 2024 14:39:50
Entstehung12 février 2024 14:15:28
Nachweis12 février 2024 14:11:43
Schlagwort12 février 2024 14:11:03
Jahr der Entstehung12 février 2024 14:10:20
Textnachweiss12 février 2024 12:26:01
Werk12 février 2024 12:24:30
Autorenname12 février 2024 12:23:46
Erstveroeffentlichung12 février 2024 12:22:19
Erstveröffentlichung12 février 2024 12:21:44
Werk12 février 2024 12:16:19
Fichte, Johann Gottlieb12 février 2024 12:15:40
Autor12 février 2024 12:15:12
JoelBenYehoshua12 février 2024 10:19:38
JoelBenYehoshua12 février 2024 10:19:37
Dennis/Import subobjects5 février 2024 16:41:16
Cars/Import subobjects/Parts5 février 2024 16:40:43
Show and store item5 février 2024 15:51:42
Dennis/Import subobjects/Semantics5 février 2024 15:45:27
Mermaid - gantt chart30 janvier 2024 18:37:47
Test SSC26 janvier 2024 15:41:50
YvarRavy26 janvier 2024 13:17:32
YvarRavy26 janvier 2024 13:17:31
Robin Canaday21 janvier 2024 22:00:05
Robin Canaday21 janvier 2024 22:00:05
My1998Honda8 janvier 2024 15:26:27
My1998Honda8 janvier 2024 15:26:26
Kghbln/Wikidata.org Contributions5 janvier 2024 14:03:48
Kghbln/MediaWiki.org Contributions5 janvier 2024 14:00:02
Kghbln/GitHub Contributions5 janvier 2024 13:58:47
Jeanm4 janvier 2024 16:34:50
Jeanm4 janvier 2024 16:34:49
Dennis/FT4 janvier 2024 14:56:20
Tmangan2 janvier 2024 14:39:40
Tmangan2 janvier 2024 14:39:39
Toothfairy21 décembre 2023 09:54:20
Toothfairy21 décembre 2023 09:54:19
KatharinaSchedl10 décembre 2023 06:36:30
KatharinaSchedl10 décembre 2023 06:36:30
Abs28 novembre 2023 18:03:00
Abs28 novembre 2023 18:02:59
Chubby Bub/Sandbox27 novembre 2023 05:29:10
Chubby Bub27 novembre 2023 05:24:42
Chubby Bub27 novembre 2023 05:24:41
Test Map with polygons21 novembre 2023 09:32:53
Map with polygons21 novembre 2023 09:31:21
Imported from-query20 novembre 2023 21:03:08
Test order13 novembre 2023 10:49:07
Song test13 novembre 2023 09:15:44
A and A10 novembre 2023 17:42:36
Nigusgirma10 novembre 2023 08:24:10
Nigusgirma10 novembre 2023 08:24:09
Fbaeckmann8 novembre 2023 15:52:53
Fbaeckmann8 novembre 2023 15:52:53
PetTest7 novembre 2023 18:34:48
MyPets36 novembre 2023 19:11:01
Pets6 novembre 2023 19:09:51
Jongfeli6 novembre 2023 13:25:37
Enchantment4 novembre 2023 00:39:38
Enchantment4 novembre 2023 00:39:37
MyPets24 novembre 2023 00:06:32
MyPets14 novembre 2023 00:04:44
Pets4 novembre 2023 00:03:37
Number of days between two dates2 novembre 2023 11:58:30
AutoEditTest2 novembre 2023 05:56:24
SMWLearner9531 novembre 2023 05:24:22
SMWLearner95330 octobre 2023 08:41:44
SMWLearner95326 octobre 2023 06:52:36
SMWLearner95326 octobre 2023 06:52:36
AutoEditTest9 octobre 2023 06:11:06
AutoEditTest9 octobre 2023 06:04:58
Capelle aan den IJssel5 octobre 2023 08:49:53
AZaim4 octobre 2023 08:34:16
AZaim4 octobre 2023 08:34:16
DemoBerlin3 octobre 2023 12:42:35
Conceptualism3 octobre 2023 09:24:14
Teknoport3 octobre 2023 07:52:55
Teknoport3 octobre 2023 07:52:54
LittlePaw3652 octobre 2023 18:08:09
LittlePaw3652 octobre 2023 18:08:09
Mikasaloc22 septembre 2023 14:37:09
Mikasaloc22 septembre 2023 14:37:09
Escape accolade/complex21 septembre 2023 19:01:07
Magdalen Room21 septembre 2023 10:48:59
Basin with separate hot and cold taps21 septembre 2023 10:48:17
Has basin21 septembre 2023 10:33:21
No basin21 septembre 2023 10:31:44
Leo21 septembre 2023 10:26:34
Leo21 septembre 2023 10:26:33
escaped {20 septembre 2023 10:36:54
Accolade left20 septembre 2023 10:30:19
2023091319 septembre 2023 11:05:57
ImportedFromTestPageDisplayTitle16 septembre 2023 11:03:03
Throwaway790297k/Sandbox14 septembre 2023 01:34:00
Throwaway790297k14 septembre 2023 01:20:04
Throwaway790297k14 septembre 2023 01:20:03
L.fancelli12 septembre 2023 12:35:27
L.fancelli12 septembre 2023 12:35:27
Francisd10 septembre 2023 05:30:51
Francisd10 septembre 2023 05:30:51
Molx/Sandbox8 septembre 2023 13:09:54
Stories7 septembre 2023 12:27:55
Molx6 septembre 2023 12:51:47
Molx6 septembre 2023 12:51:46
External Data/0025 septembre 2023 12:46:58
MasterGoetz5 septembre 2023 12:39:43
MasterGoetz5 septembre 2023 12:39:42
SimonStier2 septembre 2023 10:23:07
SimonStier2 septembre 2023 10:23:06
2023083030 août 2023 13:25:59
2023083030 août 2023 13:22:45
202308302230 août 2023 13:22:23
202308302130 août 2023 13:22:13
202308302030 août 2023 13:22:03
202308301930 août 2023 13:21:42
202308301830 août 2023 13:21:30
202308301730 août 2023 13:21:19
202308301630 août 2023 13:21:08
202308301530 août 2023 13:20:56
202308301430 août 2023 13:20:44
202308301330 août 2023 13:20:32
202308301230 août 2023 13:20:21
202308301130 août 2023 13:20:06
202308301030 août 2023 13:19:57
202308300930 août 2023 13:19:47
202308300830 août 2023 13:19:36
202308300730 août 2023 13:19:22
202308300630 août 2023 13:19:08
202308300530 août 2023 13:18:57
202308300430 août 2023 13:18:46
202308300330 août 2023 13:18:35
202308300230 août 2023 13:18:19
202308300130 août 2023 13:18:02
Issue/Datatables markup29 août 2023 20:43:22
Description nl29 août 2023 06:55:42
Foodqualityguy/Miscellaneous15 août 2023 10:47:24
Foodqualityguy/Sandbox15 août 2023 10:46:53
Foodqualityguy10 août 2023 10:39:23
Foodqualityguy10 août 2023 10:39:22
Display Title 19 août 2023 13:04:01
DisplayTitle examples9 août 2023 12:51:08
DT29 août 2023 12:50:39
Docmasen1 août 2023 09:30:26
Docmasen1 août 2023 09:30:26
Nickel31 juillet 2023 23:55:29
Lithium31 juillet 2023 23:54:18
Metal31 juillet 2023 23:52:29
Location31 juillet 2023 23:39:34
Type of Mineral Mined31 juillet 2023 23:39:04
Atomic Weight31 juillet 2023 23:36:28
Symbol31 juillet 2023 23:35:55
Atomic Number31 juillet 2023 23:34:38
Onodofthenorth31 juillet 2023 23:16:30
Onodofthenorth31 juillet 2023 23:16:29
Tsch25 juillet 2023 08:31:00
Tsch25 juillet 2023 08:31:00
Foobar2020221 juillet 2023 07:31:53
Tsom14 juillet 2023 13:52:36
Tsom14 juillet 2023 13:52:35
Computer room12 juillet 2023 14:56:08
ChapterNames6 juillet 2023 22:55:06
Jacob Robertson6 juillet 2023 22:49:06
Anna Karenina6 juillet 2023 22:48:49
Jacob Robertson6 juillet 2023 21:48:24
Testpage Marijn4 juillet 2023 15:47:39
SWIFTY3 juillet 2023 05:47:03
SWIFTY3 juillet 2023 05:47:02
AdSvS30 juin 2023 13:32:24
Demo:Dygraphs/Annotate gas chromatogram (10K data points)25 juin 2023 11:31:05
2023062525 juin 2023 09:12:20
Computer Cave23 juin 2023 17:50:29
Computer Cave23 juin 2023 17:50:28
Maidstone22 juin 2023 21:25:34
City22 juin 2023 21:19:41
Vicimo799222 juin 2023 21:03:43
Vicimo799222 juin 2023 21:03:43
Testuser11322 juin 2023 20:54:10
Testuser11322 juin 2023 20:54:09
Wurstbrot1234522 juin 2023 12:30:15
Wurstbrot1234522 juin 2023 12:30:14
Has tip text17 juin 2023 10:34:17
Has series17 juin 2023 10:33:06
Has x-value17 juin 2023 10:17:13
Demo:Dygraphs/Data/NG-GCMS 140211-Example.raw17 juin 2023 10:16:05
Page Forms/multiple instances 26 juin 2023 18:32:32
Testpage Marijn53 juin 2023 18:39:07
Testpage Marijn43 juin 2023 18:23:01
Testpage Marijn33 juin 2023 18:22:45
A3 juin 2023 18:19:11
Testpage Marijn23 juin 2023 18:15:32
Demo181 juin 2023 06:52:22
Qwd1 juin 2023 06:48:11
Wurstbrot123/Sandbox30 mai 2023 12:16:18
Wurstbrot12330 mai 2023 11:58:43
Wurstbrot12330 mai 2023 11:58:42
... autres résultats

Explanation[modifier | modifier le wikicode]

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[modifier | modifier le wikicode]

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.