Jump to content

Extension talk:Semantic Dependency

Add topic
From mediawiki.org
Latest comment: 5 years ago by Revansx in topic Throwing an error on MW 1.30


Can't be just a sub-page

[edit]

Hi Cindy,

i keep finding your extensions and they always look useful. Thanks for that.

So I'm wondering if I'm reading the details correctly: does the dependent property have to be in a different namespace? It couldn't be the Top Level Page is the Book and than have various subpages be the reviews ? And than the Rating displayed on the Book page be dependent on the ratings on the review pages? (Hopefully that makes sense).

On another note, have you tried the new Foreground skin, based on Foundation 5? It's great, but I'm seeing an issue with margins for both the orbiter slider & if I use header tag after the start of a row (it indents farther left than the page). Already reported it (and so far haven't found it in the css), but I know your organization has a few wikis with foreground so I was wondering if anyone else was having the same problem. Christharp (talk) 20:15, 25 January 2016 (UTC)Reply

Hi, Chris.
Sorry for the delayed reply. Although I have only used it with the dependent page in another namespace, I can think of no reason why this is required. That is, the name of the property that points to the dependent page is specified per namespace, but an instance of that property can point to a page in any namespace, including the same namespace as the source page. Of course, if you run in to any problems doing so, please let me know.
No, we have not tried the new Foreground skin yet, but it is on our to do list. We have increasingly been using Foreground and are looking forward to the upgrade.
Cindy Cindy.cicalese (talk) 14:59, 5 February 2016 (UTC)Reply

How is this extension different from "SemanticDependencyUpdater"

[edit]

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.


Extension:SemanticDependencyUpdater Revansx (talk) 15:03, 23 October 2018 (UTC)Reply

Good question. I'm not sure if Semantic Dependency is actively being used at this point. Perhaps, if Semantic Dependency Updated meets the same need and is in active use, Semantic Dependency should be archived. Cindy.cicalese (talk) 20:46, 23 October 2018 (UTC)Reply
So maybe add a disclaimer at the main page to use that other extension,
since SemanticDependencyUpdater
  • is more capable of expressing dependencies between pages (with #ask queries) and
  • the they are defined with user-editable properties, not with configurations in LocalSettings.php.
Should i add the recommendation disclaimer? Ankostis (talk) 22:54, 27 January 2019 (UTC)Reply
Sure, that's fine. Cindy.cicalese (talk) 01:23, 28 January 2019 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Throwing an error on MW 1.30

[edit]

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.


Hi, I'm trying to get this running on my MW 1.30/SMW 2.5.6 Site and after performing the following steps:

  1. created the "Property:Semantic_Dependency" property as [[Has type::Text]]
  2. and then unzipping the extension archive to my extension folder
  3. adding "wfLoadExtension( 'SemanticDependencyUpdater' );" to "LocalSettings.php"

My 1.30 wiki threw the following exception:

Fatal error: Uncaught exception 'Exception' with message 'SemanticDependencyUpdater requires SemanticMediaWiki to be installed.' in /opt/htdocs/mediawiki/includes/registration/ExtensionRegistry.php:261 Stack trace: 
#0 /opt/htdocs/mediawiki/includes/registration/ExtensionRegistry.php(148): ExtensionRegistry->readFromQueue(Array) 
#1 /opt/htdocs/mediawiki/includes/Setup.php(40): ExtensionRegistry->loadFromQueue() 
#2 /opt/htdocs/mediawiki/includes/WebStart.php(114): require_once('/opt/htdocs/med...') 
#3 /opt/htdocs/mediawiki/index.php(40): require('/opt/htdocs/med...') 
#4 {main} thrown in /opt/htdocs/mediawiki/includes/registration/ExtensionRegistry.php on line 261

it's weird because SMW *is* installed (2.5.6) and it does work great.

Any ideas on why this error is occuring? Revansx (talk) 19:56, 29 April 2019 (UTC)Reply

Are you sure you read the installation instructions? ;) [[kgh]] (talk) 21:57, 29 April 2019 (UTC)Reply
(*derp*) .. My problem is with "SemanticDependencyUpdater" not "Semantic Dependency" .. I will delete this and re-ask it on the correct extension. Sorry. Revansx (talk) 23:45, 29 April 2019 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.