WEB: Support for multiple versions in the compatibility page
|Reported by:||jvprat||Owned by:||fingolfin|
I'm attaching a proposal for multiple versions support in the compatibility page. The idea is to put all the data of a release in a separate file, and include the file of the desired release. With this, a single code file can show several releases, and there's no more need for compatibility_stable.php.
When no version is specified, it selects the SVN version. Otherwise, if a file for the pointed release exists, it loads the data for that release. It also lists the available releases to access their compatibility lists.
In case it would be acceptable, what's the best place for the "data" files? Currently I've tested it with all the files in the same folder, but it would probably be better to have the compatibility data in a separate folder. What about include/compatibility?
I'm attaching the proposed php file and some release files as examples.
Ticket imported from: #1876140. Ticket imported from: patches/890.