Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)

Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files.
156 files changed