Wikia/app — pull request #1368 by BladeBronson (2013-08-21 23:39:05+00:00)
Title: Check for cascading protection

When protecting an article, you can choose: "Protect pages included in this page (cascading protection)". This will protect any transcluded articles (not sub-articles). When a Title isCascadeProtected(), the content actions contain 'edit' but not 'viewsource'. Using the same type of remapping as the fix for BugId:9494 (just a few lines higher in the file), 'edit' is removed and 'viewsource' is created. The result is the desired user experience.