When clicking on links in MediaWiki, some links will have a title in the query, but the url will use the script path rather than the clean urls.
Examples:
- Clicking "View History" results in https://en.wikipedia.org/w/index.php?title=Saturn&action=history instead of https://en.wikipedia.org/wiki/Saturn?action=history
- Clicking "prev" results in https://en.wikipedia.org/w/index.php?title=Saturn&diff=865872662&oldid=865853002&diffmode=source instead of https://en.wikipedia.org/wiki/Saturn?diff=865872662&oldid=865853002&diffmode=source
- Clicking a diff link results in https://en.wikipedia.org/w/index.php?title=Saturn&oldid=865872662 instead of https://en.wikipedia.org/wiki/Saturn?oldid=865872662
- Clicking "Edit" results in https://en.wikipedia.org/w/index.php?title=Saturn&action=edit instead of https://en.wikipedia.org/wiki/Saturn?action=edit
If a link does not have a title it should continue to use the script path.