**This limitation has been recorded in https://www.mediawiki.org/wiki/Reading/Web/Projects/Print_Styles#Limitations**
When an article has scrollable references section (example: https://ar.wikipedia.org/wiki/%D9%82%D9%86%D8%A7%D8%A9_%D8%A7%D9%84%D8%B3%D9%88%D9%8A%D8%B3) the printed version looks very bad. The main cause is that references sections are wrapped with an element with inline max-height: 300px, overflow: auto styles.
Both the PDF renderer and browser print are affected.
We cannot do too much in that case as those styles are this is done by <div class="reflist4" style="max-height: 300px; overflow: auto; padding:12px"> added by the editor.
Close up:
Developer notes
This is a local wiki issue and can only be fixed by the community. Arabuc Wiki do not use any templates for reflist. If they did they could make use of TemplateStyles and make use of a media query to limit these styles to "screen" e.g. not "print" media
@media screen { .reflist { height: 300px; overflow: auto; padding:12px } }
Other possible solutions
- add a javascript that runs before page.printToPDF() that goes through content children and removes max-heigh and overflow styles.