Jump to content

Extension talk:Semantic Dependency

About this board

How is this extension different from "SemanticDependencyUpdater"

4
Summary by Revansx

It is recommended to use SemanticDependencyUpdater over this one.

Revansx (talkcontribs)
Cindy.cicalese (talkcontribs)

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.

Ankostis (talkcontribs)

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?

Cindy.cicalese (talkcontribs)

Sure, that's fine.

Throwing an error on MW 1.30

3
Summary by Revansx

user's question is not relevant to this extension

Revansx (talkcontribs)

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?

Kghbln (talkcontribs)

Are you sure you read the installation instructions? ;)

Revansx (talkcontribs)

(*derp*) .. My problem is with "SemanticDependencyUpdater" not "Semantic Dependency" .. I will delete this and re-ask it on the correct extension. Sorry.

Can't be just a sub-page

2
Christharp (talkcontribs)

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.

Cindy.cicalese (talkcontribs)

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

Reply to "Can't be just a sub-page"
There are no older topics