We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maintenance script addCategoryToWatchlist.php failing with the following:
addCategoryToWatchlist.php
On Meza:
sudo WIKI=mywiki php /opt/htdocs/mediawiki/extensions/WatchAnalytics/maintenance/addCategoryToWatchlist.php --usernames=Someuser --categories=Somecategory Start processing Category:Person Adding watchers to [[Some Page]]... ...checking Someuser... [b7d62872c3b93403c123b18d] [no req] Error from line 119 of /opt/htdocs/mediawiki/extensions/WatchAnalytics/maintenance/addCategoryToWatchlist.php: Call to undefined method WatchedItem::fromUserTitle() Backtrace: #0 /opt/htdocs/mediawiki/maintenance/doMaintenance.php(94): WatchAnalyticsAddCategoryToWatchlist->execute() #1 /opt/htdocs/mediawiki/extensions/WatchAnalytics/maintenance/addCategoryToWatchlist.php(145): require_once(string) #2 {main}
The text was updated successfully, but these errors were encountered:
That method and addWatch() were deprecated in MW 1.27 and subsequently removed. For MW 1.36+, use the WatchlistManager class.
Sorry, something went wrong.
No branches or pull requests
Maintenance script
addCategoryToWatchlist.php
failing with the following:On Meza:
The text was updated successfully, but these errors were encountered: