Page MenuHomePhabricator

Hidden template errors are shown in Google search summaries
Closed, ResolvedPublic

Description

In this revision of the article on Beyoncé, there was an error with the infobox template, which resulted in some errors suppressed with CSS (grep "HIDDEN ERROR" in the page source). For some reason, Google used the hidden errors as their search result summary, as shown in the attached screenshot. (At the time the search was performed, the problematic revision was the latest one.) Is there some way we can prevent this?

Event Timeline

wctaiwan created this task.Apr 24 2016, 8:07 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 24 2016, 8:07 PM
Quiddity closed this task as Resolved.Jul 16 2016, 8:20 PM

This seems to be resolved, per followup at https://en.wikipedia.org/wiki/Module_talk:Check_for_unknown_parameters#Polluting_content
and https://www.google.ca/search?q=%22HIDDEN+ERROR%22+site:en.wikipedia.org no longer produces thousands of results - The remaining ~1000 results are primarily on talk/categorytalk pages; There are/were a dozen or so articles amongst them, but I've now fixed all the template errors that were causing them.
{"cc_re__cc_re__cc_by_sa_3_0": ["olicy, and Code of Conduct.</span> \u00b7 <a href=\"https://wikimediafoundation.org/\">Wikimedia Foundation</a> \u00b7 <a href=\"https://foundation.wikimedia.org/wiki/Special:MyLanguage/Privacy_policy\">Privacy Policy</a> \u00b7 <a href=\"https://www.mediawiki.org/wiki/Special:MyLanguage/Code_of_Conduct\">Code of Conduct</a> \u00b7 <a href=\"https://foundation.wikimedia.org/wiki/Terms_of_Use/Phabricator\">Terms of Use</a> \u00b7 <a href=\"https://foundation.wikimedia.org/wiki/Wikimedia:General_disclaimer\">Disclaimer</a> \u00b7 <a href=\"https://creativecommons.org/licenses/by-sa/3.0/\">CC-BY-SA</a> \u00b7 <a href=\"https://www.gnu.org/licenses/old-licenses/gpl-2.0.html\">GPL</a></div></div></div></div><script type=\"text/javascript\" src=\"https://phab.wmfusercontent.org/res/defaultX/phabricator/73a06a9f/core.pkg.js\"></script><script type=\"text/javascript\" src=\"https://phab.wmfusercontent.org/res/defaultX/phabricator/b5e9bff9/rsrc/js/phui/behavior-phui-submenu.js\"></script><data data-javelin-init-kind=\"merge\" data-javelin-init-data=\"{&quot;block&quot;:0,&quot;data&quot;:[{&quot;phid&qu"]}