Steps to replicate the issue (include links if applicable):
- On desktop, visit https://no.wikipedia.org/wiki/Wikipedia:Sandkasse?veaction=edit&uselang=en
- Press the "Cite" button in the toolbar
- Click the "Manual" tab if it isn't the one that shows up immediately
What happens?:
- There are 5 citation templates to choose from, the last one being "Pressemelding" (press release)
- The templates that are shown are defined in MediaWiki:Cite-tool-definition.json
- Since 2014, our list of templates has had 9 source templates in it (but I removed two of them while researching this task, so there are now 7), however only the 5 first templates in the list have been available in the menu in visual editor for all that time.
Why it happens:
- The limit of 5 templates is currently defined in CitationToolDfinition.php#53
- I did some digging, and the limit was first introduced in afb182c23c123eb242c6ee461a11505e8d7ad622, with no attached task and a commit message only saying "Don't let too much toothpaste get out of that tube aye!?"
What should have happened instead?:
- The limit should either be removed entirely, or increased to an amount above the number of templates wikis can reasonably be expected to include.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):





