[00:03:57] ah, SpamBlacklist [02:43:56] is there documentation somewhere on how to use thumb.php? [02:46:17] hrm, ok I kind of see how [02:47:18] yeah, got it [14:14:45] I am trying to build a wiki using WIkiMedia and I'm struggling with data references. Basically, I have a table of data I want to show in one table, and then build out separate pages for each row with additional data. How can I achieve this without duplicating the data? [14:14:53] I have read a bit about transclusion, but I'm not sure if this is the right thing. [16:32:24] Doc-Saintly: there's a lot of ways that can be done, there isn't one best way though. transclusion could work indeed. If you create an article "Apple" with some text on it you can wrap one of the sentences or words in , like red and round, then on your "List of fruits" you can display it as {{:Apple}}. [16:32:55] That's the most basic and easiest way to do it, but that's only for a single stretch of plain text. [16:33:10] I see. What about for sets of tabular data? [16:33:24] and in that way, it seems it would be the grid referencing the individual pages instead of the other way around, right? [16:33:31] correct [16:34:00] that's generally the way data is organised in wikis as it scales better and allows for distributed review and contextual curation/watching of information. [16:34:37] if you want to inverse that relationship you'd need a third page, e.g. a Lua module, or data set, or template and have both the list page and individual article use that. That is how Wikidata.org works but is a lot more elaborate. [16:35:45] the simplest version of that could be like Template:Fruitdata where you could use {{#switch and {{#if to return certain data for certain parameters like name=fruit, key=color : red. and use it in both places like {{Fruitdata|apple|color}} That would work out of hte box with ParserFunctions extension [16:36:04] or if you want something easier to edit, use Scribunto to store it in a key-value object [16:36:40] There is an example of that at https://www.mediawiki.org/wiki/Module:Maintainers where I store it in a Lua table, and then you can call that anywhere as a template with {{#invoke:Fruitdata|get_color|apple}} or some such. [16:37:39] You could also go the path of SemanticMediaWiki which Wikipedia doesn't use, but is a fairly popular plugin that does something similar but allows you to add "properties" and such to individual articles and then generate tables based on querying that data like a database. [17:03:11] So what's the syntax for tagging a piece of data in an article that I want to reference? [17:03:24] {{ArticleName|SomeMarkedText}} I guess? [17:08:48] Doc-Saintly: nope. That will try to transclude ArticleName as if it were a template, and then set SomeMarkedText as the {{{1}}} parameter [17:09:37] I'd suggest Extension:Cargo [17:09:46] it's a lot lighter weight than SMW and does probably what you want [17:10:13] (Wikidata would also work but has a steep learning curve) [17:10:21] er, *Wikibase [17:10:24] I see, we're using some hosted mediawiki thing so I need to see if they support it [17:12:14] Thank you :)