Hi. In the Portuguese Wikipedia, an article Reference section is defined using a template which outputs the section heading:
See, for example, a random article: https://pt.wikipedia.org/wiki/Sociedade_Floresta_Aurora
Unfortunately, this confuses the mobile-html output, which doesn't display any References section in the table of contents; the lists of references still appears under the previous section (normally, a See Also section).
Here is the template source code:
https://pt.wikipedia.org/w/index.php?title=Predefini%C3%A7%C3%A3o:Refer%C3%AAncias&action=edit