User blog:DanzxvFan8275/Proposal: Add Warning to R-rated Movies

Hello. Recently, I've realized that R-rated content might need to have a warning. There might be younger viewers on this wiki that maybe their parents might not approve of them reading R-rated movie content. Of course, we do have the template, but that's right on the article. Users might need to see a warning before to see if they should proceed or not proceed. Then, I remembered. On a wiki I contribute to (the SpongeBob Fanon Wiki) they have code in MediaWiki:Wikia.js that shows a pop-up screen while clicking a link that has R-rated content. This basically shows a warning that the content may include strong language, strong violence, sexual references, or drug use. Then, it has two buttons: One saying "Proceed" and the other saying "Do Not Proceed." If they click proceed, it will go to the idea. If they don't, it will cover the idea. I thought this would be a good idea to have here, since a user might come across an R-rated movie and think it's too inappropriate. A warning might have to be used.

Here is the code that will be inserted into MediaWiki:Wikia.js if this passes:

//Spoiler Alert SpoilerAlert = { question: 'Parents strongly cautioned. The following article is intended for mature audiences over the age of 17. This article may contain some material that parents would not find suitable for children. The article may contain intense violence, sexual situations, coarse language, and suggestive dialogue.', yes: 'Proceed', no: 'Do not proceed', isSpoiler: function { return -1 !== wgCategories.indexOf('R'); } };

(by the way, the Wikia.js link is red since it wasn't created yet)

State your opinions on this. This will proposal will conclude on May 26, 2017.