Jump to content

Extension talk:Semantic Need/Flow

About this board

User or Password doesn't work

6
178.1.53.79 (talkcontribs)

Hey,

i want to download this extension, but user and/or password doesn't work. Can somebody help?

Thanks.

A.V.

Kghbln (talkcontribs)

I am afraid that the code for this extension is indeed not longer available. If it was I doubt that it will work for SMW 1.8+. Probably you should contact the programmer directly on this.

78.53.208.230 (talkcontribs)

Hello,

I just gained access to my university email and stumbled upon your messages. Are you still interested in this extention? I have the source code and I can send it to you. I'm not sure if I'll have time to do any changes so it is compatible with the current version of SMW.

Regards

Kghbln (talkcontribs)

Probably the best idea is to move the code to GitHub. If someone would like to start maintaining it he or she will have something to build on. Yeah, just send the code to me in case you do not want to do it yourself. Cheers

Spell~mediawikiwiki (talkcontribs)
Kghbln (talkcontribs)

Great, thank you for sharing the code with us again. I have now recreated the extension's page allowing to find it easier.

Reply to "User or Password doesn't work"

Still under development?

2
Kghbln (talkcontribs)

Hi, I accidentally stumbled upon this extension today. It looks like an interesting one to me. Is it still under active development? The download link is currently protected. Cheers

Spell~mediawikiwiki (talkcontribs)

Hi,

The extention is at its completion phase. Feel free to look at the new version of the wiki page for it. There is some new functionality added to it and the final version will be available in a month. To download the extention just follow this link https://waves1.fzi.de/svn/waves/trunk/SemanticNeed/ and enter as credentials Username/Password "anonymous".

Regards

This post was posted by Spell~mediawikiwiki, but signed as Spell.

Reply to "Still under development?"

Difference to Semantic Gardening

2
Kghbln (talkcontribs)

How is this different from Semantic Gardening, part of SMW+? Is it just a stand-alone version of the same?

This post was posted by Kghbln, but signed as Aquatiki.

Kghbln (talkcontribs)
This extension is different from Semantic Gardening. Semantic Need analyzes SMW inline queries to give users hints on missing metadata based on actual information needs. Semantic Gardening rather does something like consistency checks on the existing semantic content, but does not tell you which annotationas are "missing" in your Wiki. You might want to have a look at the slides referenced on the main description page of this extension.

This post was posted by Kghbln, but signed as Hhappel.

Reply to "Difference to Semantic Gardening"
MaxSem (talkcontribs)
  • General:
    • Don't use closing ?>, ever.
    • $wgExtensionMessagesFiles is supported since 1.16, this check makes no sense.
    • Don't use SMW-style localisation, it makes no sense in current MW versions.
    • Don't use comparison operators with $wgVersion, it's unreliable. Use version_compare().
    • Don't use global objects like $wgArticle, instead use RequestContext (for example, from $out).
    • Don't use superglobals like $_POST, there's WebRequest for that.
    • Don't create tables with hardcoded SQL, instead use LoadExtensionSchemaUpdates hook.
    • While I don't see an SQL injection after a brief glance, all DB code is extremely clumsy and looks like there's a lack of understanding what Database::tableName() is for: it's for building table names with prefixes (using $wgDBprefix and $wgSharedTables), not for constructing filed names. All this code will fail with non-empty table prefix.
  • SNE.php:
        echo <<<EOT
To install my extension, put the following line in LocalSettings.php:
require_once( "$IP/extensions/SemanticNeed/SNE.php" );
EOT;

Double register_globals/XSS vulnerability, as it actually tries to substitute $IP.

    • What Semantics from the people means?
    • Use 'descriptionmsg' with l10n instead of 'description'.
    • No need in global $wgVersion;
  • SNEBox.php:
    • Where is $sneBox defined? Looks like a register_globals vulnerability.
  • SNEHooks.php:
Reply to "Code review"
There are no older topics