This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made.
The best way for getting support for Semantic MediaWiki is to post to its user mailing list. Comments made below are not very well monitored by the developers. There are various options for making yourself heard:
If you found a bug or want to propose a new feature, please file it at GitHub. Bugs and requests are regularly considered by core developers and have a great impact on the future development of SMW.
When asking for help or describing bugs, do not forget to provide necessary details about your configuration, version details for all relevant components, information about other extensions that are used, and, if possible, a URL where the problem can be seen. See the help page on reporting bugs for detailed information.
The below talk page is most useful for comments regarding the wiki page, but of course you may do as you like (it's a wiki, after all).
Latest comment: 12 years ago2 comments2 people in discussion
Hello,
your extension SMW is great! I would like to integrate it into our private wiki.
Is the use "future-safe"?
What are your future plans? Will developing go further when new releases of mediawiki appear ... e.g. the next 10 years?
Or would you recommend to use the extension Dynamic Pagelist instead?
SMW is probably one of my main reasons for sticking with MediaWiki. If you look at the website (http://semantic-mediawiki.org) and the mailing list (https://lists.sourceforge.net/lists/listinfo/semediawiki-user), you'll find that the extension as well as related extensions like SF are actively supported and enjoy a lively user community - quite contrary I'd say to the bulk of MW extensions that you'll find here, so I know where your question is coming from. No one can tell where we will be ten years from now, but I don't think you'll regret it. If you have any questions regarding the future direction of SMW, the mailing list would be the place to ask. Cavila(MW 1.19.7, MySQL 5.1.66, Php 5.3.3-7, SMW 1.8, SF 1.5.2}08:37, 2 October 2013 (UTC)Reply
Latest comment: 12 years ago4 comments3 people in discussion
Hi,
My production wiki is on ver 1.15.1 and it has smw 1.0.1 installed. I am trying to test an upgrade in the dev environment which is mw 1.19.9 with smw 1.8. The extension has installed successfully and is showing up properly in special:version. But the pages using it are breaking. I was wondering about how i should go about upgrading smw to 1.8. Are the old SMW_settings and SMW_Globalsettings compatible with the latest install? Should the upgrade be done in steps? I was reading and I found that there have been several schema changes. Any help is greatly appreciated
Latest comment: 12 years ago2 comments2 people in discussion
Extension has been installed but never used and trying to reduce overhead by removing several unused extensions. If the extension wasn't used, is SMW_setup.php --delete enough? Skunark (talk) 02:40, 30 December 2013 (UTC)Reply
Latest comment: 11 years ago2 comments2 people in discussion
I used composer to update my semantic mediawiki version. The installation ran successfully but I cant update.php. My current SMW version in 1.8.05. Running update gives me an error that says SEMANTIC MEDIAWIKI MUST BE INSTALLED TO RUN SEMANTIC FORMS. I did try placing the enableSemantics() call at the end of LocalSettings.php file. Please help. Thanks in advance Cmm9888 (talk) 08:23, 25 August 2014 (UTC)Reply
Latest comment: 11 years ago3 comments2 people in discussion
Hey guys,
Really would appreciate any help!
If I write {{#ask: [[Category:Cat1]] [[Category:Cat2]] it will give me an intersection between Cat1 and Cat2.
Is it possible to get a reunion (basically OR instead of AND)
Thanks so much! 86.122.98.2709:42, 12 September 2014 (UTC)Reply
Latest comment: 11 years ago7 comments2 people in discussion
Hello, I'm trying to install just SMW by itself on MW1.23.5 but when I use either composer or the ExtensionDistributor I get the same result when trying to run the maintenance/update.php script which is about 15 warnings about classes such as "SMW\Store" not found and finally a fatal error as follows:
Fatal error: Class 'SMW\SimpleDependencyBuilder' not found in /home/translat/public_html/w/123/mediawiki-1.23.5/extensions/SemanticMediaWiki/SemanticMediaWiki.php on line 112
I've tried dropping back to SMW1.9 with Semantic Bundle so that I can be sure the versions of Validator etc match, but unbelievably I'm still getting the same result!!! Nad (talk) 20:15, 14 October 2014 (UTC)Reply
You can not use Semantic Bundle with any other version of SMW of which it has been released because it registers the vendor/autoloader manually and doesn't use Composer to manage its package dependencies which caused issues in the past [0, 1] and will so in future because of the different class map.
If you install SMW via Semantic Bundle then you have to wait until a new version is released otherwise trying to upgrade to another version of SMW will ultimately fail.
I would suggest you deleted the vendor folder and re-install SB.
For example, if on the other hand you install SMW via Composer, each time an update or removal occurs the autoloader (which is where the "Fatal error: Class" message comes from in case classes are not registered) is being re-generated to ensure it matches with the expected class map.
I'm not installing a different version or upgrading, I've just tried to install SMW and some of the other related extensions in the SemanticBundle and I'm getting the errors shown above. When I sadi "I've tried dropping SMW back to 1.9" what I meant is that I've tried the entire installation operation from scratch using Semantic Bundle that comes with version 1.9 of SMW. Nad (talk) 12:19, 17 October 2014 (UTC)Reply
Installing SMW 2.* via Composer works as expected (being constantly monitored and tested via Travis-CI [0]).
I've got it working with composer. What I was doing wrong was installing composer and the SMW extensions within the extensions directory which didn't work. When I did it within the mw root dir it installed the extensions properly. Next I had includes for SMW extensions in the LocalSettings.php file which were raising errors as they're not needed anymore when installing with composer. Thanks for your help. Nad (talk) 16:02, 20 October 2014 (UTC)Reply
And I keep getting several repeated over and over again, receiving some 500 items for what should have been 20. Can you point me in the right way to solve this?
Also what is the right way to list all image files in a category. I have tried using this:
{{#ask:[[Category:items images]]
| format=ul
}}</pre>
But I get a list of thumbnails and change it plain, result in a plain list of names. How can I get a list of name + links? [[Special:Contributions/87.68.255.133|87.68.255.133]] 00:28, 9 November 2014 (UTC)
== Installation. MW 1.25 ==
I installed Mediawiki 1.25.1 (new empty DB, no extensions). I run the installation script for SMW (https://www.semantic-mediawiki.org/wiki/Help:Installation/Using_Composer_with_MediaWiki_1.22%2B)
#> composer.phar require mediawiki/semantic-media-wiki "~2.1"
The composer reports:
[RuntimeException]
The lock file does not contain require-dev information, run install with the --no-dev option or run update to install those packages.
What am I doing wrong? [[User:StasR|StasR]] ([[User talk:StasR|talk]]) 19:32, 31 May 2015 (UTC)
:See [0].
:[0] https://semantic-mediawiki.org/wiki/Help:Installation/Using_Composer_with_MediaWiki_1.22%2B#MW_1.25.2B [[User:MWJames|MWJames]] ([[User talk:MWJames|talk]]) 17:46, 1 June 2015 (UTC)
::Thanks a ton, I just wanted to start investigating about this.
::Edit: I have just created a [[semantic-mw:Help:Installation/Using_Composer_with_MediaWiki_1.25%2B|dedicated page for MW 1.25+]] based on your info. [[User:Kghbln|[[kgh]]]] ([[User talk:Kghbln|talk]]) 17:49, 1 June 2015 (UTC)
:::Thanks! ) [[User:StasR|StasR]] ([[User talk:StasR|talk]]) 19:43, 1 June 2015 (UTC)
::::The problem was not solved. The script <code>composer.phar install</code> still reports ''run install with the --no-dev''. The script <code>composer.phar install --no-dev</code> reports ''ok'' but the script <code>composer.phar require mediawiki/semantic-media-wiki "~2.2"</code> again reports the same error.
::::What I need to do? [[User:StasR|StasR]] ([[User talk:StasR|talk]]) 20:39, 1 June 2015 (UTC)
:::::Apparently it is not <code>composer.phar install</code> but <code>composer.phar update</code> that would ensure that all packages for MW 1.25 are installed (because 1.25 comes with a pre-deployed composer .json) before SMW can be added. [[User:MWJames|MWJames]] ([[User talk:MWJames|talk]]) 22:43, 1 June 2015 (UTC)
::::::Thanks, it's work! [[User:StasR|StasR]] ([[User talk:StasR|talk]]) 23:13, 1 June 2015 (UTC)
== SMW and MW 1.25.1 not showing property names correctly ==
:'''MW: 1.25.1'''
:'''SMW: (latest from composer, "~2.1")'''
:Working tirelessly to get this to work and understand it. I'm using the "Berlin" example from the "Demo::", vis-a-vis this:
:<code> Berlin is home to [[Population::3,520,061]] souls. It is located in [[located in::Germany]].</code>
:Basically, the problem is I have is, in the fact box, the incorrect output following:
:<code> Facts about "Sandbox:Berlin"</code>
:<code> RDF feed</code>
:<code> Population|3,520,061|Population 3,520,061 +</code>
:<code> located in|Germany|located in Germany +</code>
:and - just this morning - I see the correct output briefly IF I write LocalSettings.php after commenting out enableSemantics()
:<code> Facts about "Sandbox:Berlin"</code>
:<code> RDF feed</code>
:<code> Located in Germany +</code>
:<code> Population 3,520,061 +</code>
:Upon refresh of the correctly-displaying page, without touching LocalSettings.php again, it reverts to the old, incorrect output.
:Bottom line: I cannot get consistent, correct behavior.
:What I have the 'enableSemantics" is of this form:
:enableSemantics( 'web.mysite.com/wiki' );
:I read somewhere that "enableSemantics" is no longer necessary, but there is no consistent idempotency: hitting refresh even on a correctly-displayed page with Factbox always reverts back to the wrong one.
:Everything else in the MW install works correctly. I see tremendous potential in Semantic-MediaWiki and would very much like to become an advocate of its power.
:Additional details:
:If, on the correct page, I click on Population (for which I've entered a page definining it as a number, ergo "This is a property of type [[Has type::Number]]"), the "Number" links (correctly) to Special:Types/Number.
:On the incorrectly-displayed page, clicking on Populate tries to create a page called "Property:3,520,061".
:Any help appreciated.
:-Greg [[Special:Contributions/162.17.190.121|162.17.190.121]] 16:23, 11 June 2015 (UTC)
::It appears that commenting in/out the
::<code> enableSemantics( 'web.mysite.com/wiki' );</code>
::is a red herring (will leave commented out since it's no longer necessary according to SMW documentation).
::Appparently I am up against some kind of caching issue. As much caching as possible has been turned OFF for debugging.
::Again, any help deeply appreciated.
::-Greg [[Special:Contributions/162.17.190.121|162.17.190.121]] 16:45, 11 June 2015 (UTC)
:::It appears that setting this (in LocalSettings.php) thus
:::<code> $smwgEnableUpdateJobs = false;</code>
:::has helped ENORMOUSLY.
:::-Greg [[Special:Contributions/162.17.190.121|162.17.190.121]] 19:47, 11 June 2015 (UTC)
::If you follow the video [0] you should get an idea how it supposed to work on a vanilla installation.
::> On the incorrectly-displayed page, clicking on Populate tries to create a page called "Property:3,520,061".
::This is a clear indication that your Property NS isn't setup correctly otherwise "3,520,061" would be just a plain text (under the assumption that Has number is of type number) and not be red linked.
::> enableSemantics( 'web.mysite.com/wiki' );
::> is a red herring (will leave commented out since it's no longer necessary according to SMW documentation).
::I don't think the installation [1, 2] is mentioning that "enableSemantics" is no longer required.
::> It appears that setting this (in LocalSettings.php) thus
::> $smwgEnableUpdateJobs = false;
::$smwgEnableUpdateJobs [3] has nothing to do with the Property namespace and should only be temporary set to false in order to disable inserting UpdateJob's into the job queue (due to high load).
::In the matter of the Property NS, please have a look at [4].
::[0] https://vimeo.com/82255034 (https://semantic-mediawiki.org/wiki/Help:Getting_started)
::[1] https://semantic-mediawiki.org/wiki/Help:Installation/Using_Composer_with_MediaWiki_1.25%2B
::[2] https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/docs/INSTALL.md#step-5
::[3] https://semantic-mediawiki.org/wiki/Help:$smwgEnableUpdateJobs
::[4] https://semantic-mediawiki.org/wiki/Help:Namespaces [[User:MWJames|MWJames]] ([[User talk:MWJames|talk]]) 13:20, 17 June 2015 (UTC)
:It turns out that other extensions loaded via MW's extension.json can in fact nullify the SMW NS setting. For more information and a solution, see [0].
:[0] http://wikimedia.7.x6.nabble.com/MW1-25-1-SMW-2-2-breaks-when-installed-with-DynamicSidebar-tp5049862.html [[User:MWJames|MWJames]] ([[User talk:MWJames|talk]]) 14:53, 30 July 2015 (UTC)
== . ==
{{Archive top|result=.|status=resolved}}
[[User:Tenbergen|Tenbergen]] ([[User talk:Tenbergen|talk]]) 15:46, 22 July 2015 (UTC)
{{Archive bottom}}
== Can't see the Special:SMWAdmin to finish installation ==
Hi, I have an issue when try to initialise tables for semantic,
The wiki show me the special page Special:SMWAdmin does't exist, I can see the extension listed in the Special:Version page.
My wiki are on subfolder domain.
I try this:
enableSemantics('http://mydomain');
and
enableSemantics('http://mydomain/subfolder');
without any favorable result, what can be? [[Special:Contributions/187.189.160.180|187.189.160.180]] ([[User talk:187.189.160.180|talk]]) 20:08, 14 August 2015 (UTC)
:Please have a look at [0].
:[0] https://semantic-mediawiki.org/w/index.php?title=Help:Special:SMWAdmin#Access%20restrictions [[User:MWJames|MWJames]] ([[User talk:MWJames|talk]]) 12:38, 21 August 2015 (UTC)
:That doesn't help. The Special page SMWAdmin does not appear if the read permissions are set to "false" for every group :
:<code> $wgGroupPermissions['*']['read'] = false;</code>
:You have to set it to '"true to see the Special page SMWAdmin. That's an issue ! [[Special:Contributions/31.39.114.223|31.39.114.223]] ([[User talk:31.39.114.223|talk]]) 18:02, 26 February 2016 (UTC)
:The cause of this problem seems to be the incompatibility with the ConfirmEdit Extension : [[Extension talk:Semantic Bundle/Archive 2/Flow export#c-Cavila-2014-05-10T20:36:00.000Z-Property_namespace_disappears_with_SB]] [[Special:Contributions/31.39.114.223|31.39.114.223]] ([[User talk:31.39.114.223|talk]]) 20:25, 28 February 2016 (UTC)
== Please add this page to translate ==
Please add this page to translate [[User:Перевод15|Перевод15]] ([[User talk:Перевод15|talk]]) 19:47, 11 March 2016 (UTC)
== Resources fail to load with non-default extensions setup (e.g. symlinks) ==
{{Archive top|result=SMW 2.4.0 brought a [https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/1476 solution]|status=resolved}}
I configured a shared wiki setup with different extension features per wiki. In SMW 2.3.1 when debug=true in the URL some resources issue an error not to be loaded. With MW 1.25+ it is considered to set up a different extension directory ([[Manual:$wgExtensionDirectory]]) but it is not taken into account for SMW resources. I checked out and see why: SemanticMediaWiki/res/Resources.php assumes folder extensions to be there but allowing a different <code>$wgExtensionDirectory</code> this assumption is proven wrong. So if I add <code>debug=true</code> to the URL I get http://offene-naturfuehrer.de/w/extensions//usr/share/mediawiki26/extensions-rich-features/SemanticMediaWiki/res/smw/util/ext.smw.util.tooltip.js it becomes 404 and does not get loaded. Is there any fix I can do, LocalSettings or so? See also https://phabricator.wikimedia.org/T130520 [[User:Andreas_Plank|Andreas P.]] [[File:Icon_External_Link_E-Mail.png|link=User_talk:Andreas_Plank]] 11:01, 21 March 2016 (UTC)
:There is an [https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/1466 issue at GitHub] for this now. [[User:Kghbln|[[kgh]]]] ([[User talk:Kghbln|talk]]) 13:22, 21 March 2016 (UTC)
{{Archive bottom}}
== Semantic queries aren't showing all the results ==
{{Archive top|result=SMW 2.5.0 brought [https://www.semantic-mediawiki.org/wiki/Help:Full-text_search full-text search]|status=resolved}}
Hi,
For some reasons, semantic queries aren't showing all the results on my wiki.
On Wikifab.org, the property "Material" of the page "[http://en.wikifab.org/index.php/ZipStich_Chair_with_plywood_pieces_and_zip_ties ZipStick Chair...]" contains the terms "Plywood" and "strong". However:
* this [http://en.wikifab.org/index.php?title=Special%3AAsk&q=%5B%5BMaterial%3A%3A~*Plywood*%5D%5D&po=&eq=yes&p%5Bformat%5D=broadtable&sort_num=&order_num=ASC&p%5Blimit%5D=&p%5Boffset%5D=&p%5Blink%5D=all&p%5Bsort%5D=&p%5Bheaders%5D=show&p%5Bmainlabel%5D=&p%5Bintro%5D=&p%5Boutro%5D=&p%5Bsearchlabel%5D=...+further+results&p%5Bdefault%5D=&p%5Bclass%5D=sortable+wikitable+smwtable&p%5Bsep%5D=&eq=yes query] correctly have "ZipStich Chair..." in the results
* But this [http://en.wikifab.org/index.php?title=Special%3AAsk&q=%5B%5BMaterial%3A%3A~*strong*%5D%5D&po=&eq=yes&p%5Bformat%5D=broadtable&sort_num=&order_num=ASC&p%5Blimit%5D=&p%5Boffset%5D=&p%5Blink%5D=all&p%5Bsort%5D=&p%5Bheaders%5D=show&p%5Bmainlabel%5D=&p%5Bintro%5D=&p%5Boutro%5D=&p%5Bsearchlabel%5D=...+further+results&p%5Bdefault%5D=&p%5Bclass%5D=sortable+wikitable+smwtable&p%5Bsep%5D=&eq=yes query] dont...
Do you know why? Is it a known issue?
Thanks in advance for your help. [[Special:Contributions/85.54.29.115|85.54.29.115]] ([[User talk:85.54.29.115|talk]]) 05:55, 5 July 2016 (UTC)
:This is currently not supported. See [[semantic-mw:Help:Type_Text#Searching_within_values|for why]]. This may however change [https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/1481 very well with SMW 2.5] later this year. [[User:Kghbln|[[kgh]]]] ([[User talk:Kghbln|talk]]) 15:40, 5 July 2016 (UTC)
:Thanks for your reply. I have subscribe to the notifications and asked a developer of our team to see if he can help. [[Special:Contributions/83.47.139.142|83.47.139.142]] ([[User talk:83.47.139.142|talk]]) 09:38, 6 July 2016 (UTC)
{{Archive bottom}}
== Semantic Mediawiki website offline ==
{{Archive top|result=The website is back on-line.|status=resolved}}
https://www.semantic-mediawiki.org/ has been offline for some time. What is going on?
[[User:Henryfunk|Henryfunk]] ([[User talk:Henryfunk|talk]]) 11:47, 11 January 2017 (UTC)
:Thanks for reporting. I guess this is a DOS attack. The VM should be rebooted and see if this makes them back off. Currently I do not have access to the interface enabling me to do this but I am working on it. [[User:Kghbln|[[kgh]]]] ([[User talk:Kghbln|talk]]) 15:47, 11 January 2017 (UTC)
:Thanks. I hope you succeed. In the meantime, people who need access to the site can do as follows:
:# Navigate to: https://archive.org/
:# In the WaybackMachine input area at the top of the page, type in: https://www.semantic-mediawiki.org/ and press Enter
:# After a few seconds a calendar will appear. Click the blue circle on the last item (so far): 31 December 2016, and wait five or 10 seconds
:# You should now see a copy of semantic-mediawiki.org's frontpage. You can use the menus etc., just be a little patient, it takes a while before pages are shown, and be aware that this is a static copy of the site. [[User:Henryfunk|Henryfunk]] ([[User talk:Henryfunk|talk]]) 10:26, 12 January 2017 (UTC)
{{Archive bottom}}
== Help for Wikia users ==
{{Archive top|result=see http://smwtest.wikia.com|status=resolved}}
Wikia provides a "Semantic MediaWiki Test Wiki " to help users of the relatively few Wikia sites that use semantic extensions: http://smwtest.wikia.com. Some material is copied from this MW site, augmented by the occasional note about the current Wikia version of each extension. [[User:Robin Patterson|Robin Patterson]] ([[User talk:Robin Patterson|talk]]) 06:59, 16 February 2017 (UTC)
{{Archive bottom}}
== mediawiki/semantic-media-wiki: 2.5.0 installed, ~2.5 required. ==
{{Flow summary|use "update.php --skip-external-dependencies"}}
I'm not sure is it a bug or I'm doing something wrong but after the command <code>composer require mediawiki/semantic-media-wiki "~2.5" --update-no-dev</code> when I'm running <code>php $IP/maintenance/updae.php</code> this message appears:
<pre>
mediawiki/semantic-media-wiki: 2.5.0 installed, ~2.5 required.
Error: your composer.lock file is not up to date. Run "composer update" to install newer dependencies
This problem was solved when I changed 'semantic-media-wiki' directive in composer.json from:
Still i am getting this error, i am user MW 1.31 on Linux
php mediawiki/maintenance/update.php
[75e73f31277a0653322c648c] [no req] Error from line 163 of /var/www/html/mediawiki/extensions/SemanticMediaWiki/src/SQLStore/SQLStore.php: Call to undefined method SMW\SQLStore\SQLStoreFactory::newEntityIdManager()
When i am usering SMW 2.5.0 then getting this error:
[d89ddfe66d9704ab0310f45e] [no req] Error from line 132 of /var/www/html/mediawiki/extensions/SemanticMediaWiki/load.php: Call to undefined method SMW\Setup::run()
Latest comment: 9 years ago3 comments2 people in discussion
RESOLVED
The script is located at "/../extensions/SemanticMediaWiki/maintenance/"
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I have a page A and page B. Both page does not have properties which link each page. But page A show me B have a property which linked to A. I can not find a property of page B which link to page A.
Maybe something wrong on database. I'd like to clear this. I run /maintenance/rebuildall.php but not fixed.
I am not sure if I understand the issue correctly. However if you would like to rebuild semantic data you will have to use the "rebuildData.php" script which is located in "/extensions/SemanticMediaWiki/maintenance". The "rebuildall.php" script has a different scope and is provided by MediaWiki core. [[kgh]] (talk) 08:34, 2 May 2017 (UTC)Reply
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I just attempted to move my mediawiki DB into Azure Database for MySql (their new hosted MySql offering). Got blocked on the use of MyISAM fulltext search on smw_ft_search.
Latest comment: 8 years ago6 comments3 people in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Warning: Class 'SMW\Updater\DeferredCallableUpdate' not found in /www/htdocs/w0101624/kubb290/extensions/SemanticMediaWiki/src/Aliases.php on line 8
Warning: Class 'SMW\Parser\InTextAnnotationParser' not found in /www/htdocs/w0101624/kubb290/extensions/SemanticMediaWiki/src/Aliases.php on line 9
Warning: Class 'SMW\Encoder' not found in /www/htdocs/w0101624/kubb290/extensions/SemanticMediaWiki/src/Aliases.php on line 10
Warning: Class 'SMW\Query\ResultPrinter' not found in /www/htdocs/w0101624/kubb290/extensions/SemanticMediaWiki/src/Aliases.php on line 11
Warning: Class 'SMW\Query\ResultPrinter' not found in /www/htdocs/w0101624/kubb290/extensions/SemanticMediaWiki/src/Aliases.php on line 12
Warning: Class 'SMW\Query\ExportPrinter' not found in /www/htdocs/w0101624/kubb290/extensions/SemanticMediaWiki/src/Aliases.php on line 13
Warning: Class 'SMW\Query\ResultPrinters\ResultPrinter' not found in /www/htdocs/w0101624/kubb290/extensions/SemanticMediaWiki/src/Aliases.php on line 14
Warning: Class 'SMW\Query\ResultPrinters\ResultPrinter' not found in /www/htdocs/w0101624/kubb290/extensions/SemanticMediaWiki/src/Aliases.php on line 15
Warning: Class 'SMW\Query\ResultPrinters\FileExportPrinter' not found in /www/htdocs/w0101624/kubb290/extensions/SemanticMediaWiki/src/Aliases.php on line 16
Warning: Class 'SMW\Query\Parser' not found in /www/htdocs/w0101624/kubb290/extensions/SemanticMediaWiki/src/Aliases.php on line 17
Fatal error: Interface 'SMW\QueryEngine' not found in /www/htdocs/w0101624/kubb290/extensions/SemanticMediaWiki/includes/storage/SMW_Store.php on line 34
I the files are not loaded than it does not matter if they are existing or not. I guess you did not install and upgrade via command line. You used one of the tarballs with dependencies? If yes there may be some issue mashing this up with MediaWiki. In this case I recommend to install MW on a machine with command line add SMW to it and after this is done move the files all over. [[kgh]] (talk) 16:06, 30 October 2017 (UTC)Reply
I think the issue is that the files are not being loaded properly. So installing MW on a machine with command line adding SMW to it and after this moving the files all over did not work? This has nothing to do with the database. [[kgh]] (talk) 21:11, 31 October 2017 (UTC)Reply
Latest comment: 8 years ago2 comments2 people in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hello,
my EditForm is to large and the save button is out of my screen. I must scroll down, to press the button.
After installing SmenaticMediaWiki there is a smw-editpage-annotation-enabled-section in the Firefox DebugConsole, that push the EditForm a little bit down.
I need a option to reduce the size of the editform, OR i need the option to collapsible the smw-editpage-annotation-enabled-section.
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I know how to get the beginning date time of a recurring event (a usual #ask will do so) but I did not figure out how to get the end of date times of future recurring events. How can I #ask for recurring end dates that come in the future? Is it possible? Or do I have to program a work around by let’s say using Unix timestamps, and add it to the #ask result to get the corresponding end time of the future event? Andreas P.13:04, 12 November 2018 (UTC)Reply
Latest comment: 7 years ago6 comments2 people in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hello there, I have recently upgraded our wiki to MW 1.31. Now I want to install SMW and therefore I downloaded the extension from github. I chose branch 3.0.x. Now I receive the following message via Apache error log:
[Mon Dec 10 13:44:09.696457 2018] [php7:error] [pid 26447] [client 79.226.0.171:53406] PHP Fatal error: Uncaught UnexpectedValueException: callback 'SemanticMediaWiki::initExtension' is not callable in /var/www/test/mediawiki/includes/registration/ExtensionRegistry.php:360\nStack trace:
#0 /var/www/test/mediawiki/includes/registration/ExtensionRegistry.php(159): ExtensionRegistry->exportExtractedData(Array)
#1 /var/www/test/mediawiki/includes/Setup.php(116): ExtensionRegistry->loadFromQueue()\n#2 /var/www/test/mediawiki/includes/WebStart.php(88): require_once('/var/www/test/m...')
#3 /var/www/test/mediawiki/index.php(39): require('/var/www/test/m...')
#4 {main}\n thrown in /var/www/test/mediawiki/includes/registration/ExtensionRegistry.php on line 360, referer: https://test.perrypedia.proc.org/wiki/Spezial:Spezialseiten
Not very easy and not very user-friendly, but finally I got it.
Now the setupStore script is running and I am a little bit worried. The current step is "Checking smw_hash field ... missing 232626 rows". Running for more than one hour now it shows "updating document no. 3045 (1%)"
Much better, the database is corrupted now. I can no longer run the regular update.php, nor is it possible to uninstall SMW and/or the composer. Luckily it is just the test wiki. I now am considering of never trying it again. AnonymusGdpr (talk) 18:55, 10 December 2018 (UTC)Reply
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hello,
I have installed SMW 3.0 on top of MW 1.27.5 (PHP 5.6.38, MySQL 5.6.39-log, ICU 52.1)
Installation went fine. I ran PHP update in the local directory, and got in return "Your composer.lock file is up to date with current dependencies! Set $wgShowExceptionDetails = true; in LocalSettings.php to show detailed debugging information."
... from which I infer that no updates were made. The Mediawiki stuff is in the subdirectory '/mw'
When I add the instruction enableSemantics( 'www.railwayobjects.eu/mw' ) at the end of LocalSettings.php in the file on the server, and try to reload my wiki, all I get is a blank page. The Firefox console only says:
______________________________
Promise rejected after context unloaded: Promised response from onMessage listener went out of scope
page_performance.js:18
Unchecked lastError value: Error: Promised response from onMessage listener went out of scope page_performance.js:18
Latest comment: 7 years ago5 comments3 people in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I have checked out MediaWiki REL1_31 and composer install --no-dev --> Result: remove mediawiki/core dev-REL1_31|remove mediawiki/semantic-media-wiki 2.5.8
I have checked out MediaWiki REL1_32 and composer install --no-dev --> Result: remove mediawiki/core dev-REL1_31|remove mediawiki/semantic-media-wiki 2.5.8 213.61.254.67 (talk) 08:17, 25 January 2019 (UTC)Reply
Good to know what the issue was. Admittedly I only explicitly call extension's "composer.json" files here, e.g. by adding "extensions/SyntaxHighlight_GeSHi/composer.json". The issue is probably that not every extension provides such a file and Composer errors out when not finding one. [[kgh]] (talk) 14:58, 28 January 2019 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
SemanticMediaWiki/src/SQLStore/SQLStore.php: Call to undefined method SMW\SQLStore\SQLStoreFactory::newEntityIdManager()
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
[cccde8e3a1f59400b2e5359c] [no req] Error from line 163 of /var/www/html/mediawiki/extensions/SemanticMediaWiki/src/SQLStore/SQLStore.php: Call to undefined method SMW\SQLStore\SQLStoreFactory::newEntityIdManager()
Latest comment: 6 years ago2 comments1 person in discussion
Hej-hej,
Can one combine a query of recurring events and normal events so that it can be aggregated and provided as a single result in the format of an icalendar?
Thanks Andreas P.21:09, 5 December 2019 (UTC)Reply
and have been trying to follow the instructions to write a custom extension.
a) I want to confirm that this is the right way to proceed.
b) Are there any instructions on how i can deploy this extension to my installation of Semantic MediaWiki ?
c) Is it possible to call an external service endpoint from SMW when an event is triggered. We want to define the validation rules using Shacl and would like validate the data entered against Shacl rules - any suggestions on how this can be done would be very helpful.
Latest comment: 5 years ago4 comments2 people in discussion
As discussed here, the purge/refresh link under the three dot menu seems to be disabled ( class="is-disabled" ) for users that should have the ability to purge and refresh articles. What should be done to enable this link for users that should have the ability to purge/refresh?
Under three dot ( class="page-actions-more" ) menu, "Refresh" is currently marked as disabled:
Oh very nice ! the #rownumber seems to be what I need !
I'm exactly trying to bypass NumerAlpha because it doesn't work very well in conjonction with the @annotation tag that I use in some #ask. Due to the double record he provide, the numerotation is distorted Paul LEMPERIERE (talk) 21:45, 25 March 2021 (UTC)Reply
While upgrading MediaWiki from 1.31.8 to 1.35.1 I'm getting the following errors
Latest comment: 5 years ago1 comment1 person in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
While upgrading MediaWiki from 1.31.8 to 1.35.1 I'm getting the following error:
MediaWiki 1.35.1
PHP 7.4.15 (apache2handler)
MySQL 8.0.23
Semantic MediaWiki 3.2.3
Semantic Extra Special Properties 2.1.0
Long-running scripts may cause memory leaks, if a deteriorating rebuild
process is detected (after many pages, typically more than 10000), please
abort with CTRL-C and resume this script at the last processed ID using the
parameter -s. Continue this until all pages have been refreshed.
Using the --auto-recovery option should help with unexpected events or
disruptions (CTRL-C, exceptions etc.) during the rebuild process to recover
and restart from the last successful processed ID.
Any progress displayed is an estimation and is self-adjusting during the
maintenance process.
--- Data rebuild ----------------------------------------------------------
MediaWiki\Revision\RevisionAccessException from line 1033 of D:\Bitnami\wampstack\apps\mediawiki\includes\Revision\RevisionStore.php: Failed to load data blob from tt:16171: Unable to fetch blob at tt:16171
MediaWiki\Storage\BlobAccessException from line 295 of D:\Bitnami\wampstack\apps\mediawiki\includes\Storage\SqlBlobStore.php: Unable to fetch blob at tt:16171
Latest comment: 5 years ago1 comment1 person in discussion
MediaWiki 1.35.1
PHP 7.4.15 (apache2handler)
MySQL 8.0.23
Semantic MediaWiki 3.2.3
Semantic Extra Special Properties 2.1.0
When running php maintenance\update.php I'm getting the following error.
Importing from sesp.groups.json ...
... smw/schema:Group:Extra special properties ... [FAILED]
├ smw-schema-error-input-schema, property-group-schema.v1
└ smw-schema-error-violatio ... lue found, but an object is required
... smw/schema:Group:Exif special properties ... [FAILED]
├ smw-schema-error-input-schema, property-group-schema.v1
└ smw-schema-error-violatio ... lue found, but an object is required
... done.
Importing from smw.groups.json ...
... smw/schema:Group:Schema properties ...PHP Notice: Undefined index: implicit in D:\Bitnami\wampstack\apps\mediawiki\includes\user\UserGroupManager.php on line 267
Notice: Undefined index: implicit in D:\Bitnami\wampstack\apps\mediawiki\includes\user\UserGroupManager.php on line 267
[EXISTS,REPLACE]
... smw/schema:Group:Predefined properties ...PHP Notice: Undefined index: implicit in D:\Bitnami\wampstack\apps\mediawiki\includes\user\UserGroupManager.php on line 267
Notice: Undefined index: implicit in D:\Bitnami\wampstack\apps\mediawiki\includes\user\UserGroupManager.php on line 267
Latest comment: 5 years ago3 comments3 people in discussion
RESOLVED
Possible without issues.
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hello!
Currently I use Cargo on my wiki, but I'm planning to switch to Semantic MediaWiki soon. However, I have quite a lot of data on Cargo already and it would take some time to switch everything to SMW. Because of this, I wonder if it's possible to have Cargo and SMW installed at the same time without any compatibility issues.
Latest comment: 3 years ago3 comments3 people in discussion
We are running MW 1.35 and SMW 3.2.2. Our users just stumbled into a problem when they create category or subcategory pages with a [[category:myname]] tag. This seems to trigger a "change propagation" job. The problem is the job never completes and the page becomes hopelessly locked from further edits. In the MW exception log I see messages like the following:
2021-05-18 20:26:07 ocwikidev mediawiki: [YKQixs046bus0GlZuCCtDgAAAAc] [no req] RuntimeException from line 70 of /home/appl/mediawiki-1.35.1/extensions/SemanticMediaWiki/src/Utils/File.php: /tmp/smw_chgprop_admr20ciahq0_0.tmp is not readable.
The /tmp directory is readable and writable by anyone, so I'm not sure why it is complaining here. Is there some way to redirect that path to someplace other than /tmp? Any other ideas as to how I can resolve this situation for our users?
Latest comment: 5 years ago2 comments2 people in discussion
I'm attempting to install semantic media wiki but I'm having trouble with composer and making a working composer.local.json file. has anyone managed to get a working SMW instance working using the instructions on SMW website? if so could you give me a detailed instructions including the composer instructions. using composers website and SMW has either given me DB error messages or just failed to add the extension at all. any help would be appreciated. OnodOfTheNorth (talk) 10:53, 26 June 2021 (UTC)Reply
A little more information would be helpful, like what os, db and php versions you are using. This means are you using supported versions of this software and do you have shell access. It should be no problem getting Semantic Mediawiki (SMW) running. First step is to get a clean Mediawiki site running with all extensions disabled when possible. Then "install" SMW using the documentation on the SMW website. Below our composer.local.json but you should start with only adding SMW.
Latest comment: 5 years ago1 comment1 person in discussion
when will there be an update SemanticMW for MediaWiki 1.36.1 with installation instructions?
I'm thinking - delete my site and install the 1.35.x version of MW, or maybe wait a little when the update SMW comes out for 1.36.1 ?
Please tell me if an update is planned in the next 2-3 months or not? Mdyug (talk) 17:28, 23 July 2021 (UTC)Reply
Latest comment: 4 years ago3 comments2 people in discussion
I just tried to set up MW1.37 on my test wiki, and with SMW installed it broke pretty hard. This page says support is only up to 1.35.x. What are the plans to start supporting modern versions of Mediawiki? How far behind does an extension need to be before Extension status should be set to "unmaintained"? Tenbergen (talk) 17:47, 18 November 2021 (UTC)Reply
I also posted this question in the SMW mailing list and the suggestion was to get the master dev version:
edit composer.local.json from "mediawiki/semantic-media-wiki": "*" to "mediawiki/semantic-media-wiki": "dev-master",
I downgraded to composer 2.1.3 and "mediawiki/semantic-media-wiki": "~4.0" nd worked. Composer 2.2.6 release 4-feb-22 seemed to break my installation of SMW. Gachangi (talk) 11:40, 11 February 2022 (UTC)Reply
Semantic MediaWiki and Wikibase - renaming the namespace 'property'
Latest comment: 4 years ago1 comment1 person in discussion
In our wiki (MW 1.35.5) we are running the extensions Semantic MediaWiki (4.0.0) and Wikibase. Semantic MediaWiki and Wikibase both add a namespace called property. This results in a conflict. The documentation of the extension Semantic Wikibase proposes to rename either the Wikibase property namespace or the Semantic MediaWiki property namespace (https://github.com/ProfessionalWiki/SemanticWikibase#semantic-wikibase) (4.2.2022). However, the solution suggested there did not work for us. We therefore would like
to share our experience with the solution suggested for Semantic Wikibase
to share our solution of renaming the Semantic MediaWiki property namespace
to ask the Semantic MediaWiki community, whether there is a better solution which can be coded in the LocalSettings file rather than in the extension's core
Semantic Wikibase: suggestion for renaming the Wikibase property namespace or the Semantic MediaWiki property namespace
You can choose what to rename these namespaces to."
The problems we encountered with this solution are:
If the Wikibase namespace is renamed the properties will not be transferred into the triple store database (Blazegraph).
If the Semantic MediaWiki namespace is renamed with the variable $wgExtensionFunctions the renaming does not take effect in all places where it should. One example: the page 'Special:RecentChanges' lists a property 'highest point (P1)'. When hovering over the associated link, the message correctly shows 'Property:P1'. A click on this link, however, leads to a non-existing page 'SemanticProperty:P1'.
Another solution for renaming the Semantic MediaWiki property namespace
We dislike the intervention in the core of the extension. Does anybody have a better suggestion? We would appreciate comments on our experience and approach.
MW Kappa (talk) 15:39, 4 February 2022 (UTC)Reply
Semantics for updated/new subobjects not available after page edit
Latest comment: 4 years ago2 comments1 person in discussion
RESOLVED
It was an internal configuration issue. Also tracked on GitHub.
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Migrated to :
MW 1.35.6
SMW: 4.0.1
Page Forms: 5.4
Observing issues with processing of subobjects (#subobject tag).
Data pages are created with Page Forms forms (with 'embed in field' option). Content of created/updated pages look good (all subobject templates are defined properly).
However, after saving edited page, the subobject query on these pages shows an 'old' content of subobjects (before edit). The updated content of subobjects is properly displayed only AFTER the page is REFRESHED (seems like subobjects creation/updates are deferred and not available just after edit). Obviously it is not desired from the user perspective.
How to fix that ?
PS. The same code worked fine (as we would expect, with updated subobjects properly displayed just after edit) before our migration: with MW 1.34.4, SMW 3.1.6, Page Forms: 4.9.5 ... also with Semantic Internal Object extension. Mourawi (talk) 12:42, 5 May 2022 (UTC)Reply
Latest comment: 4 years ago8 comments2 people in discussion
RESOLVED
Use anonymous subobjects.
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Greetings everyone,
I set multiple records of the same type on a single page, and try to #show them as format=table. The table is created just fine, but the #show does not create separate table rows. For each of the records, it appends as a newline in the first table row.
I did the following:
{{#set:NeedsResource=Travertine Slab;5}}
{{#set:NeedsResource=Marble Slab;1}}
{{#show: {{FULLPAGENAME}}
|?NeedsResource.Resource = Name
|?NeedsResource.NeedMin = Name
|format = table}}
I want the query to put each of the sets into a separate table row but can't seem to find a way to do so.
I've tried the subobject approach, but it enlists everything in one single table row aswell. Own page is a no-go. I want to set multiple properties of the same name for the same page, which works, just not the query results. Dominik Maus (talk) 15:41, 11 July 2022 (UTC)Reply
Just for clarity, I'm asuming there's a semicolon because you've defined the property as being one of data type "Record", right? Cavila07:46, 12 July 2022 (UTC)Reply
Yes that is correct, I wanted it to be a record with a few subproperties.
If I do this one:
{{#subobject: test
|level=1
|test=b
}}
{{#subobject: test
|level=2
|test=a
}}
<nowiki>{{#ask: </nowiki>[[-Has subobject::{{FULLPAGENAME}}]]<nowiki> |?test}}</nowiki>
I see, the problem is that you've given them identical names (test), which translates to a single subobject rather than two. You can either give them distinct names (e.g. test1 and test2) or leave that part blank, in which case SMW defaults to anonymous, hash-based identifiers. Cavila16:46, 12 July 2022 (UTC)Reply
Latest comment: 4 years ago1 comment1 person in discussion
I installed Semantic according to the installation manual, but when I visit my site I get this error: Semantic MediaWiki was installed and enabled but is missing an appropriate upgrade key.
Version
Semantic MediaWiki:
4.0.2 (smw:2020-04-18)
MediaWiki:
1.38.2
Code:
ERROR_SCHEMA_INVALID_KEY
Why do I see this page?
Semantic MediaWiki's internal database structure has changed and requires some adjustments to be fully functional. There can be several reasons including:
Changes to the list of fixed properties and may require additional table(s)
Changes to the overall table structure or indices requirements
Changes to the selected storage or query engine
Changes to the required entity collation
How can I fix this error?
An administrator (or any person with administrator rights) has to run either MediaWiki's update.php or Semantic MediaWiki's setupStore.php maintenance script.
You may also consult the following pages for further assistance:
Latest comment: 3 years ago2 comments2 people in discussion
I want to update my wiki to 1.39 when it comes out. I then want to install semantic mediawiki. Does this make sence? Or will the compatable version of semantic come out later and i should only update to 1.38 right now? 2003:D0:170C:1B59:4D2:D048:FC91:AB0C (talk) 16:53, 7 November 2022 (UTC)Reply
The current stable release of SMW officially supports MW 1.35.0 - 1.37.x (see Help:Compatibility). However, it was said in the SMW mailing list that using SMW with MW 1.38, while not officially supported yet, should work without too many issues. In the same email it was said that using SMW with 1.39 is rather adventurous and that SMW doesn't currently have a fixed date for officially supporting MW 1.39. Devaroo (talk) 21:25, 12 November 2022 (UTC)Reply
Can anyone explain to me what the smwexaminer permission does?
Latest comment: 3 years ago8 comments3 people in discussion
RESOLVED
Permission is specific to Fandom. And is not bundled with any of the public Semantic MediaWiki extensions.
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Recently I've discovered the existence of a permission titled (smwexaminer). However the permission doesn't have a short summary explaining what it does. And I want to be able to figure out what the permission does for my research. So that I can explain what the permission does in a short sentence. For example:
Access to administration tasks (Semantic MediaWiki) (smw-admin)
The permission can be found on the following Fandom wikis:
I have tried asking in several Discord Servers. Including the Fandom/Gamepedia Server, the Miraheze Server, and the MediaWiki Server. I have also tried asking here. But no one has been able to provide a satisfactory response. And it has been 12 days since I asked this question on the Semantic MediaWiki mailing list.
Here are a list of pages that might make it easier to answer my question:
My best guess is that the permission either allows access to entity examinations or perform entity examinations. If anyone doesn't know the answer to my question, I would appreciate it if someone could direct me to the place where I can find someone that can answer my question. ― C.Syde(talk | contribs)08:11, 17 December 2022 (UTC)Reply
Good question. I honestly don't know though I would guess that it exists because assistance with entity examinations (https://www.semantic-mediawiki.org/wiki/Help:Entity_examinations) can be disabled/enabled in your user preferences and that this behaviour relies on user permissions.
Or anywhere at all on github, really. The only SMW extension I could find on that wiki with no source code published is SemanticMediaWikiHelpers - so I suggest you ask the Wikia/Fandom guys about it. FFSTalk10:43, 26 December 2022 (UTC)Reply
It can't be a Fandom-specific permission. As it has been imported to Translatewiki.net in multiple languages. The permission wouldn't be sufficiently important enough to have various related system messages imported to Translatewiki.net in multiple languages otherwise. Those messages date from before the time the permission showed up on Fandom wikis. Plus if they were Fandom-specific then the messages would more likely be published in this namespace instead. ― C.Syde(talk | contribs)13:02, 27 December 2022 (UTC)Reply
But those system messages relate only to SMW's entity examination (see also https://github.com/SemanticMediaWiki/SemanticMediaWiki/tree/master/i18n). What you are referring to above is a user permission, which is likely to be a feature from another extension that hooks into SMW, maybe because someone thought not everyone should be allowed to see or use the examiner panel. FreedomFighterSparrow might well be correct in suspecting that it was implemented in the SemanticMediaWikiHelpers extension. So not Fandom-specific but probably Runescape/Gundam-specific. Cavila15:43, 27 December 2022 (UTC)Reply
Good point. I never thought of it like that. I guess I have no choice but to do what I've been neglecting to do for the past couple of weeks. Which is send a message to Fandom and ask them whether the permission is Fandom-specific. And whether it originates from the SemanticMediaWikiHelpers extension. Anything that's RuneScape/Gundam-specific is implicitly Fandom-specific. As they are Fandom wikis. ― C.Syde(talk | contribs)23:45, 27 December 2022 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
wfLoadExtension( SemanticMediaWiki' ); Causes White Screen
Latest comment: 3 years ago2 comments2 people in discussion
RESOLVED
Use wfLoadExtension( 'SemanticMediaWiki' );. Note the second quotation mark.
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I'm having trouble after adding wfLoadExtension(SemanticMediaWiki'); to my LocalSettings.php file. When I try to view my site, I just get a white screen. When I remove the LoadExtension(), keeping just enableSemantics, the site can be accessed, but SemanticMediawiki isn't found.
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I was having these issues upgrading on a test server:
MW 1.39.1
PHP 8.0.20
MariaDB 10.5.16-MariaDB
SMW 4.1.0
... so I installed my working PRD wiki on the test server and confirmed things generally worked.
Here's my PRD server config where all is working nicely for a few years now:
MediaWiki 1.35.1 (204e59b)
PHP 7.4.16 (fpm-fcgi)
MariaDB 10.4.18-MariaDB
SMW 3.2.2
// NOTE: wfLoadExtension( 'SemanticMediaWiki' ); is NOT invoked in the PRD wiki, as it's not needed (contrary to some of the doc saying that it is as of SMW 3.2.2 I think)
______________________
Anyway, I installed MW from tarball and all extensions I use via Composer as usual, and Special:SpecialPages and Special:UserLogin were broken with only some benign PHP deprecated messages.
After troubleshooting many things, I decided to try again and establish that MW 1.39.1 was working 'okay' on the test server under Monobook skin. From here, I installed Chameleon 4.2.1, and all was dandy under that skin. Special:SpecialPages and Special:UserLogin worked fine.
Then I installed Page Forms 5.5.1 and SMW 4.1.0 and all seemed 'okay' until I went to Special:SpecialPages, which displayed nothing but my site header (as did Special:UserLogin). Here's my invocation in LocalSettings.php:
... even though I get SMW errors elsewhere, and my Special Pages work. Needless to say, I'm looking for any suggestions to resolve.
Here's my PHP messages from Special Pages invoked ONLY when SMW is loaded:
Warning
: foreach() argument must be of type array|object, null given in
/srv/sites/_wiki/includes/skins/BaseTemplate.php
on line
257
Warning
: foreach() argument must be of type array|object, null given in
/srv/sites/_wiki/includes/skins/BaseTemplate.php
on line
257
Warning
: foreach() argument must be of type array|object, null given in
/srv/sites/_wiki/skins/chameleon/src/ChameleonTemplate.php
on line
160
... so looks like issues with MW skins in general and Chameleon included. I have not tested if these issues persist without the Chameleon skin, but that will be my next task when I have the will to push forward (but that seems redundant, given these warnings).
Thanks
___________________
Tested under Monobook skin (Chameleon/Bootstrap disabled) produces the same problem and gives stack trace:
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
It says in the page's infobox that there's a permission titled (smw-curator) However the only permission that I'm aware of that comes with this extension is the (smw-admin) permission. Does the (smw-curator) permission actually exist and is unused? Or is the information regarding the (smw-curator) permission incorrect, and there's only a usergroup under the name 'Smwcurator'? ― C.Syde(talk | contribs)06:56, 27 April 2023 (UTC)Reply
Ah, I mixed it with the user group. I am sorry for the confusion. Indeed there is no smw-curator permission. I just updated the docu here. [[kgh]] (talk) 12:59, 27 April 2023 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Property annotation error message-"0" has not been listed as valid URI
SMW_PARSER_NONE – Disables query features related to the parsing of annotations on pagesIt still showed the warning message, with SMW_PARSER_NONE, it should stop show the warning message ?
Just add the SMW_PARSER_INL_ERROR in $smwgParserFeatures.
The invalid URI scheme message is due to the datatype of URL is set to hide in Page Schemas even you have the valid URI. It seems that you meed to set Display this field always or Display if not empty to avoid this error message.
Latest comment: 3 years ago1 comment1 person in discussion
Maybe I'm a bit slow, but after reading this page, I'm still unsure exactly what Semantic MediaWiki does or how it works. Consider expanding the description, adding examples, and adding screenshots. –Novem Linguae (talk) 11:37, 31 July 2023 (UTC)Reply
How to persist settings of 'rebuildElasticIndex.php'?
Latest comment: 2 years ago2 comments1 person in discussion
Using MW 1.39.7 & SWM 4.1.3 and ES 7.10.2 for data storage in a Docker container, after restarting the container it necessary to run manually the rebuildElasticIndex.php script, there are always tasks in pending:
The installation of Semantic MediaWiki has classified the following tasks as incomplete and an administrator (or user with sufficient rights) is expected to resolve those tasks before users continue to create or alter content.
Tasks
The ElasticStore has been selected as default store, yet the extension was unable to find any record that the rebuildElasticIndex.php script was executed, please run the script as instructed.
It seems the issue doesn't occur anymore, after container restart no tasks in pending (I just moved .smw.json to /usr/local/bin/smw, but it should't affect the index) S0ring (talk) 10:07, 21 May 2024 (UTC)Reply
Latest comment: 1 year ago1 comment1 person in discussion
RESOLVED
Resolved (still weird SMW shit)
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Anyone can explain why the following Keyword use:
1) With "{{#ask: [[MyProperty::{{PAGENAME}}]]|..}}" on page "My'page title" DON'T works (at all).
2) And "{{#ask: [[MyProperty::My'page title]]|..}}" will (always) work. (I of course need case 1 to work)