!buSEZBEvVNBUdwhvvn:matrix.org

Semantic MediaWiki

202 Members
SMW lets you store and query data withยญin MediaWiki pages. Mirrored in the SMW Telegram, which you can join at https://t.me/joinchat/MCG84k3OMoaYZoFA9yhyMg10 Servers

Load older messages


SenderMessageTime
13 Dec 2024
@bertrandgorge:matrix.orgBertrand Gorge

Ok - finaly I managed to get Perplexity to spit it out... ChatGPT wouldn't, interstingly enough. For the curious ones:

$property = DIProperty::newFromUserLabel('Has some page');
$value = DIWikiPage::newFromTitle( $title );
$description = new SomeProperty(
	$property,
	new ValueDescription($value)
);

// Use SMW Query API to execute the query
$queryResult = $smwStore->getQueryResult(
	new \SMWQuery($description)
);
18:27:27
14 Dec 2024
@telegram_291383470:t2bot.ioAlexander Mashin
In reply to @bertrandgorge:matrix.org

Ok - finaly I managed to get Perplexity to spit it out... ChatGPT wouldn't, interstingly enough. For the curious ones:

$property = DIProperty::newFromUserLabel('Has some page');
$value = DIWikiPage::newFromTitle( $title );
$description = new SomeProperty(
	$property,
	new ValueDescription($value)
);

// Use SMW Query API to execute the query
$queryResult = $smwStore->getQueryResult(
	new \SMWQuery($description)
);
What is SomeProperty class?
01:39:01
@telegram_376371067:t2bot.ioEdu set a profile picture.07:54:43
@bertrandgorge:matrix.orgBertrand GorgeWell I couldn't say exactly how the naming and class organisation works. I know this codes does the job, but further than that would require someone to enlighten us!08:54:24
20 Dec 2024
@krabina:matrix.orgkrabinaWho will attend the Wikimedia Hackathon in Istanbul on May 2-4? 16:37:38
@krabina:matrix.orgkrabinahttps://www.mediawiki.org/wiki/Wikimedia_Hackathon_202516:37:56
21 Dec 2024
@hexmode:matrix.orghexmodeI will!16:45:43
@hexmode:matrix.orghexmodeThere has been a lot of activity on the SMW repo recently by Paladox. Does this mean SMW will support MW 1.43?16:46:35
@krabina:matrix.orgkrabinaOf course! We have to make sure it is compatible.23:39:46
22 Dec 2024
@jeffreywang:matrix.orgJeffrey Wang changed their display name from Jeffrey Wang (MyWikis) to Jeffrey Wang.19:05:53
1 Jan 2025
@revansx:matrix.orgrevansx Special Thanks to @bryandamon:matrix.org for showing this to me today. Great way to start the new year... https://news.ycombinator.com/item?id=42545986 Please someone tell me they will give a presentation on this in May at the next Mediawiki Conference ๐Ÿ•บ Oh, and Happy New Year ๐ŸŽ‰ 17:07:30
@revansx:matrix.orgrevansx* Special Thanks to Bryan Hilderbrand for showing this to me today. Great way to start the new year... https://news.ycombinator.com/item?id=42545986 I love the first comment from isoprophlex 2 days ago, "Fancy, I think, but again no word on the actual work of turning a few bazillion csv files and pdf's into a knowledge graph" ... Because, you know.. Semantic Mediawiki ๐Ÿ˜Ž Please someone tell me they will give a presentation on this in May at the next Mediawiki Conference ๐Ÿ•บ Oh, and Happy New Year ๐ŸŽ‰17:08:58
6 Jan 2025
@hexmode:matrix.orghexmode

kghbln: I have the following report:

On https://www.semantic-mediawiki.org/wiki/SMWCon the link to SMWCon Fall 2023 is displayed as a red link but does work when clicked. This is the page https://www.semantic-mediawiki.org/wiki/SMWCon_Fall_2023. Can someone fix this?

15:09:47
@kghbln:matrix.orgkghblnThat's a database issue. Will fix once upgrading which I still keep on procrastinating.16:55:50
7 Jan 2025
@freephile:matrix.orgfreephileI have SMW running with 1.43 I'm using 1.43.0 with PHP 8.1.31 and SMW 5.0.0-alpha on Meza (my fork) https://wiki.freephile.org/wiki/Special:Version16:09:59
@freephile:matrix.orgfreephileI'm about to run through the Unit Tests16:11:30
@freephile:matrix.orgfreephileRoutine functionality seems to work fine so far (edits, uploads, categories, search)16:14:02
@krabina:matrix.orgkrabinaGreat, please help by commentiing on PRs and issues. A lot is currently going on on github, so it is a good time to help out!18:58:04
@justinl:matrix.orgjustinl This might be a dumb question that I probably already know the answer to, but I'm just wanting confirmation. I'm slowing starting initial work on my wiki build script to migrate from using one full MW copy for each of our 6 wikis to a single copy via a wiki family approach. Currently each wiki gets its own composer.local.json file, which are identical for the 4 SMW wikis but the two others don't use SMW and one of those has basically an empty file. Would there be any problems with the non-SMW wikis having SMW, SRF, and PF in its extensions directory as long as they're not being loaded with wfLoadExtension()? 23:09:04
8 Jan 2025
@alex.mashin:matrix.orgAlexander Mashin
In reply to @justinl:matrix.org
This might be a dumb question that I probably already know the answer to, but I'm just wanting confirmation. I'm slowing starting initial work on my wiki build script to migrate from using one full MW copy for each of our 6 wikis to a single copy via a wiki family approach. Currently each wiki gets its own composer.local.json file, which are identical for the 4 SMW wikis but the two others don't use SMW and one of those has basically an empty file. Would there be any problems with the non-SMW wikis having SMW, SRF, and PF in its extensions directory as long as they're not being loaded with wfLoadExtension()?
I don't thnk that unused or unactivated semantic extensions will cause trouble (unused but activated might impactperformance), except dependency hell while calling composer update, but the same will happen with used SMW as well.
07:46:11
@alex.mashin:matrix.orgAlexander Mashin
In reply to @justinl:matrix.org
This might be a dumb question that I probably already know the answer to, but I'm just wanting confirmation. I'm slowing starting initial work on my wiki build script to migrate from using one full MW copy for each of our 6 wikis to a single copy via a wiki family approach. Currently each wiki gets its own composer.local.json file, which are identical for the 4 SMW wikis but the two others don't use SMW and one of those has basically an empty file. Would there be any problems with the non-SMW wikis having SMW, SRF, and PF in its extensions directory as long as they're not being loaded with wfLoadExtension()?
* I don't thnk that unused or unactivated semantic extensions will cause trouble (unused but activated might impact performance), except dependency hell while calling composer update, but the same will happen with used SMW as well.
07:46:27
@bertrandgorge:matrix.orgBertrand GorgeYes, no problem at all08:00:18
@justinl:matrix.orgjustinlOk, thank you both. I vaguely recall many, many years ago that SMW was autoloading in such a case, which is why one of the non-SMW wikis (the other didn't yet exist) has SMW tables in its database, so I just wanted to be extra-careful in my planning of this family migration work.12:30:49
@alex.mashin:matrix.orgAlexander Mashin
In reply to @justinl:matrix.org
Ok, thank you both. I vaguely recall many, many years ago that SMW was autoloading in such a case, which is why one of the non-SMW wikis (the other didn't yet exist) has SMW tables in its database, so I just wanted to be extra-careful in my planning of this family migration work.
Yes, there was a time that SMW, when required by Composer, did not need wfLoadExtension().
12:47:03
11 Jan 2025
@grantiago:matrix.orggrantiago joined the room.20:33:07
12 Jan 2025
@grantiago:matrix.orggrantiago changed their display name from grant amaral to grantiago.14:43:09
13 Jan 2025
@username11111:matrix.orgAndy joined the room.21:35:54
@username11111:matrix.orgAndyCould someone troubleshoot for me at the 101 level? I am getting no response to a query submission at http://floranorthamerica.org/Special:Ask. As a test, I am entering code from the maintainer's sample query page (http://floranorthamerica.org/Sample_Queries), so the query code itself should not be an issue. Thank you in advance.21:40:16
14 Jan 2025
@alex.mashin:matrix.orgAlexander MashinScreenshot.png
Download Screenshot.png
01:46:58
@alex.mashin:matrix.orgAlexander MashinIf the screenshot is not visible, it shows Special:Ask with successfully retrieved rows.04:34:00

Show newer messages


Back to Room ListRoom Version: 5