This patch implements feature #3141575
In the database dropdown selection menu, there will be a new optgroup containing the last 10 accessed databases. Underneath it, another optgroup called Databases will contain all the databases as per normal. The number of databases to be displayed can be configured in config.inc.php by editing the variable $cfg['recent_dbs_nr'].
There are still 3 things that need to be done here:
* add the translation for 'Recent_dbs'
* add the cfg 'rcent_dbs_nr' to the default config
* the sorting is a bit weird (sometimes it' ASC, sometimes DESC)
This feature is closely related to my GSoC proposal . It's mainly a proof of concept of how I will implement the feature, it can be polished a bit right now but it works as intended. You must define the cfg variable in config.inc or else it will be set to 0 and no databases will appear. A possible check to see if it's defined can be written, but I guess putting the cfg in config.default is a better solution.
Let me know what you all think.