Improve page cleanup
The cleanup_page_content() function now correctly removes code tags from page content. As a result:
- Code content is no longer linted. This removes a number of false positives, especially related to Wikimedia.Ellipses.
- Removing code tags from paragraphs of text introduces double spaces. To prevent them from being reported, I disabled the Wikimedia.Spacing rule.
- Content of code tags is no longer counted towards sentence length limit, so Wikimedia.SentenceLength is reported less often.
- Wikimedia.SerialComma might be reported more or less often for lists containing items in code tags (for example, <code>item1</code>, <code>item2</code> and <code>item3</code>) depending on how the list is structured.
Bug: T388109