Skip to content
New issue

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

MessageCache::addMessage deprecated, removed in 1.18 #19

Open
GreenReaper opened this issue Feb 21, 2011 · 1 comment
Open

MessageCache::addMessage deprecated, removed in 1.18 #19

GreenReaper opened this issue Feb 21, 2011 · 1 comment

Comments

@GreenReaper
Copy link

EmbedVideo uses a deprecated function for messages:

Use of MessageCache::addMessage is deprecated. [Called from EmbedVideo::setup in /usr/local/www/wikifur/prod/extensions/EmbedVideo/EmbedVideo.php at line 81]

This has been removed entirely in trunk/1.18:
http://www.mediawiki.org/wiki/Special:Code/MediaWiki/81027

According to a comment there, the appropriate method is now through $wgExtensionMessages or the LocalisationCacheRecache hook.

@Whiteknight
Copy link
Owner

Thanks for the information. I'll take a look at the replacement options and try to update the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants