commit 455b29bfb3e8e806971e34739b93ef151704ea6d Author: traumschule traumschuleriebau@riseup.net Date: Tue Sep 4 18:41:41 2018 +0200
fix links in include/README --- include/README | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/include/README b/include/README index 676e8387..05a00f3c 100644 --- a/include/README +++ b/include/README @@ -2,8 +2,8 @@ Here's a brief overview of how our wml set-up works. ----------------------------------------------------
Here's a typical wml file: -http://jqs44zhtxl2uo6gk.onion/project/web/webwml.git/docs/en/bridges.wml -https://gitweb.torproject.org/project/web/webwml.git/docs/en/bridges.wml +https://gitweb.torproject.org/project/web/webwml.git/tree/docs/en/bridges.wm... +http://jqs44zhtxl2uo6gk.onion/project/web/webwml.git/tree/docs/en/bridges.wm...
The top of the file has:
@@ -26,13 +26,16 @@ and the middle is standard html, plus a few extra tags like pages when they exist. So that wml page produces this html page: https://www.torproject.org/bridges aka https://www.torproject.org/bridges.html.en +https://www.torproject.org/docs/bridges http://expyuzz4wqqyqhjn.onion/docs/bridges
Then head.wmi and foot.wmi are just other mostly-html files you import to handle the repeat parts of each page (well, that plus some embedded perl scripts to generate some of the static content). -http://jqs44zhtxl2uo6gk.onion/project/web/webwml.git/include/head.wmi -http://jqs44zhtxl2uo6gk.onion/project/web/webwml.git/include/foot.wmi +https://gitweb.torproject.org/project/web/webwml.git/tree/include/head.wmi +http://jqs44zhtxl2uo6gk.onion/project/web/webwml.git/tree/include/head.wmi +https://gitweb.torproject.org/project/web/webwml.git/tree/include/foot.wmi +http://jqs44zhtxl2uo6gk.onion/project/web/webwml.git/tree/include/foot.wmi
You can basically ignore the wml part of them, and to a first approximation just think of them as more html. @@ -42,12 +45,13 @@ So in summary, wml is like html with a bit more markup. ----------------------------------------------------
Where it gets interesting is the download page: -http://jqs44zhtxl2uo6gk.onion/project/web/webwml.git/download/en/download-ea... +https://gitweb.torproject.org/project/web/webwml.git/tree/download/en/downlo... +http://jqs44zhtxl2uo6gk.onion/project/web/webwml.git/tree/download/en/downlo...
It has the standard header and footer section, but in the body of the page it includes links like <a href="<package-osx-bundle-stable>". Rather than putting URLs and Tor versions into every wml page, and then requiring the translators to update their page whenever we bump a version number, we instead define each URL and version as a new wml element: -http://jqs44zhtxl2uo6gk.onion/project/web/webwml.git/include/versions.wmi - +https://gitweb.torproject.org/project/web/webwml.git/tree/include/versions.w... +http://jqs44zhtxl2uo6gk.onion/project/web/webwml.git/tree/include/versions.w...
tor-commits@lists.torproject.org