traumschule commited on 2018-09-11 18:20:14
Zeige 1 geänderte Dateien mit 11 Einfügungen und 7 Löschungen.
... | ... |
@@ -2,8 +2,8 @@ Here's a brief overview of how our wml set-up works. |
2 | 2 |
---------------------------------------------------- |
3 | 3 |
|
4 | 4 |
Here's a typical wml file: |
5 |
-http://jqs44zhtxl2uo6gk.onion/project/web/webwml.git/docs/en/bridges.wml |
|
6 |
-https://gitweb.torproject.org/project/web/webwml.git/docs/en/bridges.wml |
|
5 |
+https://gitweb.torproject.org/project/web/webwml.git/tree/docs/en/bridges.wml |
|
6 |
+http://jqs44zhtxl2uo6gk.onion/project/web/webwml.git/tree/docs/en/bridges.wml |
|
7 | 7 |
|
8 | 8 |
The top of the file has: |
9 | 9 |
|
... | ... |
@@ -26,13 +26,16 @@ and the middle is standard html, plus a few extra tags like |
26 | 26 |
pages when they exist. So that wml page produces this html page: |
27 | 27 |
https://www.torproject.org/bridges aka |
28 | 28 |
https://www.torproject.org/bridges.html.en |
29 |
+https://www.torproject.org/docs/bridges |
|
29 | 30 |
http://expyuzz4wqqyqhjn.onion/docs/bridges |
30 | 31 |
|
31 | 32 |
Then head.wmi and foot.wmi are just other mostly-html files you import |
32 | 33 |
to handle the repeat parts of each page (well, that plus some embedded |
33 | 34 |
perl scripts to generate some of the static content). |
34 |
-http://jqs44zhtxl2uo6gk.onion/project/web/webwml.git/include/head.wmi |
|
35 |
-http://jqs44zhtxl2uo6gk.onion/project/web/webwml.git/include/foot.wmi |
|
35 |
+https://gitweb.torproject.org/project/web/webwml.git/tree/include/head.wmi |
|
36 |
+http://jqs44zhtxl2uo6gk.onion/project/web/webwml.git/tree/include/head.wmi |
|
37 |
+https://gitweb.torproject.org/project/web/webwml.git/tree/include/foot.wmi |
|
38 |
+http://jqs44zhtxl2uo6gk.onion/project/web/webwml.git/tree/include/foot.wmi |
|
36 | 39 |
|
37 | 40 |
You can basically ignore the wml part of them, and to a first |
38 | 41 |
approximation just think of them as more html. |
... | ... |
@@ -42,12 +45,13 @@ So in summary, wml is like html with a bit more markup. |
42 | 45 |
---------------------------------------------------- |
43 | 46 |
|
44 | 47 |
Where it gets interesting is the download page: |
45 |
-http://jqs44zhtxl2uo6gk.onion/project/web/webwml.git/download/en/download-easy.wml |
|
48 |
+https://gitweb.torproject.org/project/web/webwml.git/tree/download/en/download-easy.wml |
|
49 |
+http://jqs44zhtxl2uo6gk.onion/project/web/webwml.git/tree/download/en/download-easy.wml |
|
46 | 50 |
|
47 | 51 |
It has the standard header and footer section, but in the body of the page |
48 | 52 |
it includes links like <a href="<package-osx-bundle-stable>". Rather than |
49 | 53 |
putting URLs and Tor versions into every wml page, and then requiring |
50 | 54 |
the translators to update their page whenever we bump a version number, |
51 | 55 |
we instead define each URL and version as a new wml element: |
52 |
-http://jqs44zhtxl2uo6gk.onion/project/web/webwml.git/include/versions.wmi |
|
53 |
- |
|
56 |
+https://gitweb.torproject.org/project/web/webwml.git/tree/include/versions.wmi |
|
57 |
+http://jqs44zhtxl2uo6gk.onion/project/web/webwml.git/tree/include/versions.wmi |
|
54 | 58 |