The community can do an okay job but not a great one. The writing on Wikipedia is shoddy and inconsistent, and there are many many missing sources even if the article is accurate. I'm a huge fan though!
Similarly, many stack overflow questions are out of date, and good luck getting them updated to reflect current best practices. And if you do ask the same question again trying to resurface a newer, better way to do something it will almost certainly be closed as a duplicate. Huge fan of the resource though.
Ultimately, experienced professionals who are paid full time to be both writers and technologists can do a better job, especially over a long period of time.
I am not sure dedicated full time employees can do better job as whole, on a single person level a professional developer, encyclopedist or writer will outperform even the best amateurs sure, but as a community many open source projects ( documentation or applications) have outperformed professional ones many times.
PostgreSQL is a good example, it fantastic documentation and runs on mostly volunteer work the documentation is on par (IMHO better) to say Oracle/ MSSQL/ DB2 documentation which have paid professional writers behind it for example
Quality is more a function of editorial oversight rather than nature of contributions itself.
SO and wikipedia has both been effective partly because of stricter review process ( reason their brands are trusted) and also have been criticized for it, getting the balance right is not easy.
Sub-reddits are good way to study this, there are ones which emphasize on participation over quality and vice versa, i.e. optimize for the reader or the writer.
There are no perfect solution, and communities must keep changing, early on contributions are more important i.e. quantity, as the site and brand grows large quality is more important (SO and wiki both went through this lifecycle).
MDN has very different starting point - strong brand and content quality but no contributing community. They will have to come with something that fits their unique needs.
Similarly, many stack overflow questions are out of date, and good luck getting them updated to reflect current best practices. And if you do ask the same question again trying to resurface a newer, better way to do something it will almost certainly be closed as a duplicate. Huge fan of the resource though.
Ultimately, experienced professionals who are paid full time to be both writers and technologists can do a better job, especially over a long period of time.