Code Monkey home page Code Monkey logo

semanticcomments's Introduction

SemanticComments

The Semantic Comments (formerly known as "Collaboration Extension") is a Semantic MediaWiki extension to display and manage comments and replies that are attached to any page in a wiki using semantic properties.

For details see the Semantic Comments homepage.

UNMAINTAINED!

Even though some effort has been put into moving this extension to GitHub and making it compatible with MediaWiki 1.27.x and Semantic MediaWiki 2.5.x it was decided to stop maintaining this extension (see #25) in favour of the CommentStreams extension which is maintained and in the meantime provides all functionality of Semantic Comments.

Contribution and support

If you want to contribute work to the project please subscribe to the developers mailing list and have a look at the contribution guideline.

  • Ask a question on the mailing list
  • Ask a question on the #semantic-mediawiki IRC channel on Freenode.

License

GNU General Public License 2.0 or later.

semanticcomments's People

Contributors

addshore avatar atdt avatar feelfreelinux avatar hypergrove avatar jamesgol avatar kghbln avatar ladsgroup avatar legoktm avatar matmarex avatar mdew192837 avatar ndrewh avatar petertheone avatar reedy avatar siebrand avatar umherirrender avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

semanticcomments's Issues

Fluff i18n system

Currently this extension does not support standard I18n. It will be nice to implement this and get translations via translatewiki.net

Remove "CE_Initialize.php"?

It seems to me that "SemanticComments/blob/master/includes/CE_Initialize.php" is a dead file since its contents is now in "SemanticComments.php"

Officially abandon Semantic Comments?

@krabina I believe to remember that we talked about this extension in Regensburg in December.

If I understood correctly the CommentStreams extension with it's support for Semantic MediaWiki does exactly what this extension is trying to achieve but in an even better way. Thus SemanticComments developent may be stopped. Note that I am not claiming that it really picked up momentum in the past when looking at the current open issues and that not even a 2.0 was tagged at some point.

Fix how special page is loaded

Deprecated: Use of Array syntax for $wgSpecialPages is deprecated (CECommentSpecial), define a subclass of SpecialPage instead. was deprecated in MediaWiki 1.18. [Called from SpecialPageFactory::getUsablePages in /vagrant/mediawiki/includes/specialpage/SpecialPageFactory.php at line 439] in /vagrant/mediawiki/includes/debug/MWDebug.php on line 309

Cancel-button missing

The "cancel" button ("Abbrechen" in the example). Does not work. There is only the text "Abbrechen" without any button functionality.

grafik

Avoid arbitrary Store::updateData requests

We normally do not send arbitrary Store::updateData requests (since we update in deferred mode), so this requires a review whether it is really necessary or not and doesn't override any data in the store by accident.

// update semantic data for the realted article
$title = Title::newFromText( $relatedArticle );
$article = new Article( $title );
$text = ContentHandler::getContentText( $article->getPage()->getContent() );
$options = new ParserOptions;
$output = $wgParser->parse( $article->preSaveTransform( $text ),
$article->mTitle, $options
);
if ( isset( $output->mSMWData ) ) {
$store = smwfGetStore();
$store->updateData( $output->mSMWData );
}
}

Don't hardcode property names!

Things like array($comNS . ":" . $pageName, "?Has comment date"), shouldn't be found in a class, this isn't a user input!

$qandp = SMWQueryProcessor::getQueryAndParamsFromFunctionParams(
array($comNS . ":" . $pageName, "?Has comment date"),
SMW_OUTPUT_WIKI, INLINE_QUERY, true
);
$queryResult = explode( "|", SMWQueryProcessor::getResultFromQuery(
$qandp[0], $qandp[1],
SMW_OUTPUT_WIKI, INLINE_QUERY )
);

File Attachments not recognized

In the "attach" field one can attach a wiki article (because no wikitext is possible in comments).

If you enter "File:Some-Name.pdf" as article to be attached, a redlink to a page "File-Some-Name.pdf" ist displayed, however when clicked it does not lead to an upload-dialoge, but instead would create a page with that name.

It should do the same that happens when you add [[File:Some-Name.pdf]] to an arbitrary wiki page: display a red link that wen clicke on leads to an upload dialogue.

Retire SemanticComments repository

As a result of the discussion on #25 this repository will be abandoned. Tasks to do:

  • Update README
  • Close open issue with reference to #25
  • Close pull requests with reference to #25
  • Update docu on MW.o
  • Update docu on S-MW.o
  • Update data on Wikidata
  • Mark repo as opsolete
  • Archive repo on GitHub via settings

Release 2.0.0

  • #1
  • #5
  • #16 ?
  • Write Release Notes
  • Update Installation Instructions
  • Extend Readme
  • ...

(Feel free to edit this text if something is missing)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.