wiki.techinc.nl/tests/phpunit/integration
daniel 9ff8edfa1e HtmlOutputRendererHelper: fix semantics of getRevisionId
getRevisionId is documented to return 0 for fake revisions, but it was
returning 0 for the current revision as well. This patch makes a clear
distinction, with 0 meaning current (like elsewhere in the code), and
null meaning a fake revision.

This patch includes a fix for redirect handling in ParsoidHandler::wt2html.
This fix is needed here because it previously relied on getRevisionId()
to return the actual revision ID; this would fail, since getRevisionId()
will return 0 when the current revision of a page is requested.

Change-Id: I33d1ab54023c6ac96c6bb5e4750b980e381cb464
2022-12-06 23:06:25 +01:00
..
includes HtmlOutputRendererHelper: fix semantics of getRevisionId 2022-12-06 23:06:25 +01:00