change all occurrences of wfRunHooks
to Hooks::run
Extension talk:Semantic Watchlist
Thanks for noting. I created an issue on GitHub.
Does anyone know if this extension is capable of being used with MW 1.30 or 1.31?
It is installed on sandbox and not complaining in a way. Same when this wiki was using 1.30 and 1.31. Cannot tell it the intended functionality is working though. What did your test of this extension on the mentioned versions reveal?
actually this doesn't do what I am looking for. I thought it would make the list a watchers for a given page part of the page's properties, but this doesn't do that. I think what I'm hoping to do could be part or SESP [1].
I'm looking to be able to perform a semantic query like:
{{#ask:[[Category:something]][[Has Watcher::~*User:jsmith*]]|?Watchers|?VisitedWatchers|format=table}}
This is indeed out of scope of this extension.
Installed 1.1.0 version of this extension but sometimes when 'Semantic watchlist' clicked then the error from subject is thrown.
SMW has version 2.5.4
I found that ApiBase::getResultData() was depreciated in 1.25 mediawiki but do not understand how to fix script,
I am seeing this error too except from line 302. MW 1.30, SMW 2.5.6. Is there a solution yet?
Well, it looks like it is fixed in master but not released.
return $api->getResult()->getResultData( null, [ 'BC' => [], 'Types' => [], 'Strip' => 'all', ] );
Shouldn't this be updated so a composer install can update to the latest. Right now it is still installing 1.1.0 released in April 2016.
Hi Jeroen,
I have a build a task system with a property holding the user who was assigned to this task.
Is it possible to send emails only if the property holds a certain value?
That means: user A should get an notification if the value of the property was set to A, user B should get an notification if the value is B and so on.
Thanks!
This is not currently possible to specify, though the extension could be enriched to include that functionality without to much work.
Thanks for the info.
Maybe others would like that functionality too... :)
Can I file a feature request so that this idea won't get lost?
Yeah, on Bugzilla
Has this functionality been implemented?
I don't want to use the complete Semantic MediaWiki and want to use only Semantic Watchlist extension. Is this required to have SMW installed to use this extension? Could someone provide the list of prerequisites to install this extension on my mediawiki?
This is not possible. You imperatively need to have Semantic MediaWiki installed to be able to use this extension. The Semantic Watchlist extension actually provides no functionality without the presence of Semantic MediaWiki.
There is a problem with the Extension right now:
Fatal error: Call to a member function text() on a non-object in /var/www/core/extensions/SemanticWatchlist/specials/SpecialWatchlistConditions.php on line 31
Commenting the two parts -- another or rather the same can be found in the SpecialSemanticWatchlist.php (line 41) -- leads to the result that on the one hand the extension can be used, while at another the display of the proper references in the special pages is missing of course.
And .... does this extensions have a composer entry? I tried numerous ways of writing the name of the extensions but to no avail.
Notice: Undefined variable: type in /var/www/core/extensions/SemanticWatchlist/src/MediaWiki/Hooks/GetPreferences.php on line 100
Notice: Undefined variable: name in /var/www/core/extensions/SemanticWatchlist/src/MediaWiki/Hooks/GetPreferences.php on line 102
After I attempted to watch a group and did an edit, this error appeared.
LocalSettings.php
has this entry:
$egSWLEnableSelfNotify = true;
This is the result of a regression introduced by [0].
The patches still do not work. I did not trace the error. I simply commented out the following lines (which contain errors), and then version 1.0alpha works fine (at least for me, I did not check which function is missing):
- SpecialWatchlistConditions.php: comment out line 31
#return wfMessage( 'special-' . strtolower( $this->getName()) )->text() );
- SpecialSemanticWatchlist.php: comment out line 40
#return wfMessage( 'special-' . strtolower( $this->getName() )->text() );
This post was posted by Kappa~mediawikiwiki, but signed as Kappa.
I'm watching a property. I create a new page with that property - nothing happens.
I change the value of the property on the new page - and it triggers.
How do I get it to trigger on the new page? After all creation is a change..
I'm also experiencing this issue. Is there a config we can change to enable alerts on new items?
This post was posted by 138.162.0.41, but signed as SMW-user.
What about when a new value is added to the property in that category/namespace/concept? Ex. when a new page is created with a value for that property. I would consider that a change.
What would it take to add this feature in? maybe a checkbox(s) to include the addition and/or deletion of pages.
This should already be there. If it's not, this is a bug.
This feature is not working properly. There is no new entry in the database when a new page is created with a value of the 'watched' property.
I have the same problem. It there a chance to fix it?
I think that is a problem with the sequence auf processing. If I set a category and a property in the same call, SWL didn’t send a mail. If the category was defined before, the mail was sent.
Has the problem been identified? If I create the page with semantic forms based on a template which at first sets the category and subsequently the attribute values, I do not get an e-mail when creating the page.
Although my test properties already exist in swl_groups.group_properties
(WatchedAttribute1|WatchedAttribute2
), no record is generated in swl_changes
when a page with these attributes is created. It is the first change after the creation which leads to the generation of the corresponding record and releases the first e-mail.
This post was posted by Kappa~mediawikiwiki, but signed as Kappa.
This is now fixed. See https://github.com/SemanticMediaWiki/SemanticWatchlist/issues/28
Datenbankfehler
Es ist ein Datenbankfehler aufgetreten. Der Grund kann ein Programmierfehler sein. Die letzte Datenbankabfrage lautete:
(SQL-Abfrage versteckt)
aus der Funktion „DatabaseBase::delete“. Die Datenbank meldete den Fehler „1146: Table 'usr_web11_lexikon.lexswl_users_per_group' doesn't exist (localhost)“.
Product Version
MediaWiki 1.19.1
PHP 5.3.3-7+squeeze14
MySQL 5.1.49-3
This post was posted by 178.25.209.13, but signed as Kujawa0708.
You need to run update.php
Thanks !!!!
I'd like to set the subject and text of the e-mail that is sent when a watched item changes, but I can't find where the text of the e-mail is set.
How can I configure the email to contain the information I'd like it to contain in the format I'd like, rather than just:
Subject: Properties have changed at page name
and
Text:
" One or more properties you watch at site name' have been changed by use at time and date. You can view these and other .. "
You may change the system message on wiki by editing, e.g. "MediaWiki:Swl-email-propschanged" and "MediaWiki:Swl-email-propschanged-long"