cubicweb-vcwiki #3762642 Wiki content path extension mess [validation pending]
The URL of a wiki page does not contain the extension of the file. This is (arguably) considered a feature (URLs are nicer and users may change their wiki's content from ReST to markdown or html without changing any URL).
However, the consequence of this is that the view controller must sometimes try 2 different path:
The code that does this is hidden in too low level entity methods instead of the view controller. This must be refactored.
User visible consequences of this mess are even worse when combined to bug #3734064:
vcwiki content file extension added, the one without extension is delivered
|closed by||#558339642fce [schema] Constrain file extension minimal size. Closes #3762642.|
|patch||Make it clear when the wiki's content file extension needs to be added. [applied][schema] Constrain file extension minimal size. Closes #3762642. [applied]|