I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 94815e5d authored by str4d's avatar str4d
Browse files

Fixed legacy mappings

parent c84414b9
No related branches found
No related tags found
No related merge requests found
...@@ -6,12 +6,15 @@ from flask import g, redirect, url_for ...@@ -6,12 +6,15 @@ from flask import g, redirect, url_for
LEGACY_FUNCTIONS_MAP={ LEGACY_FUNCTIONS_MAP={
'announcements': {'function': 'blog_index', 'params': {}}, 'announcements': {'function': 'blog_index', 'params': {}},
'debian': {'function': 'downloads_select', 'params': {'file': 'debian'}}, 'debian': {'function': 'downloads_debian', 'params': {}},
'download': {'function': 'downloads_list', 'params': {}}, 'download': {'function': 'downloads_list', 'params': {}},
'installation': {'function': 'downloads_list', 'params': {}},
'meetings': {'function': 'meetings_index', 'params': {}},
'statusnotes': {'function': 'blog_index', 'params': {}}, 'statusnotes': {'function': 'blog_index', 'params': {}},
} }
LEGACY_PAGES_MAP={ LEGACY_PAGES_MAP={
'api': 'docs',
'applications': 'get-involved/develop/applications', 'applications': 'get-involved/develop/applications',
'benchmarks': 'misc/benchmarks', 'benchmarks': 'misc/benchmarks',
'bittorrent': 'docs/applications/bittorrent', 'bittorrent': 'docs/applications/bittorrent',
...@@ -33,28 +36,27 @@ LEGACY_PAGES_MAP={ ...@@ -33,28 +36,27 @@ LEGACY_PAGES_MAP={
'clt': 'misc/clt', 'clt': 'misc/clt',
'common_structures_spec': 'docs/spec/common-structures', 'common_structures_spec': 'docs/spec/common-structures',
'configuration': 'docs/spec/configuration', 'configuration': 'docs/spec/configuration',
'contact': 'about/contact', 'contact': 'contact',
'cvs': 'misc/cvs', 'cvs': 'misc/cvs',
'datagrams': 'docs/api/datagrams', 'datagrams': 'docs/api/datagrams',
'dev-guidelines': 'get-involved/guides/dev-guidelines', 'dev-guidelines': 'get-involved/guides/dev-guidelines',
'developerskeys': 'get-involved/develop/developers-keys', 'developerskeys': 'get-involved/develop/developers-keys',
'donate': 'get-involved/donate', 'donate': 'get-involved/donate',
'faq': 'support/faq',
'getinvolved': 'get-involved', 'getinvolved': 'get-involved',
'geoip': 'docs/spec/geoip', 'geoip': 'docs/spec/geoip',
'glossary': 'support/glossary', 'glossary': 'about/glossary',
'halloffame': 'about/hall-of-fame', 'halloffame': 'about/hall-of-fame',
'how': 'docs', 'how': 'docs',
'how_cryptography': 'docs/how/cryptography', 'how_cryptography': 'docs/how/cryptography',
'how_elgamalaes': 'docs/how/elgamal-aes', 'how_elgamalaes': 'docs/how/elgamal-aes',
'how_garlicrouting': 'docs/how/garlic-routing', 'how_garlicrouting': 'docs/how/garlic-routing',
'how_intro': 'docs/how/intro', 'how_intro': 'docs/how/intro',
'how_networkcomparisons': 'about/comparison', 'how_networkcomparisons': 'comparison',
'how_networkdatabase': 'docs/how/network-database', 'how_networkdatabase': 'docs/how/network-database',
'how_peerselection': 'docs/how/peer-selection', 'how_peerselection': 'docs/how/peer-selection',
'how_threatmodel': 'docs/how/threat-model', 'how_threatmodel': 'docs/how/threat-model',
'how_tunnelrouting': 'docs/how/tunnel-routing', 'how_tunnelrouting': 'docs/how/tunnel-routing',
'htproxyports': 'support/browser-config', 'htproxyports': 'about/browser-config',
'i2cp': 'docs/protocol/i2cp', 'i2cp': 'docs/protocol/i2cp',
'i2cp_spec': 'docs/spec/i2cp', 'i2cp_spec': 'docs/spec/i2cp',
'i2np': 'docs/protocol/i2np', 'i2np': 'docs/protocol/i2np',
...@@ -83,10 +85,10 @@ LEGACY_PAGES_MAP={ ...@@ -83,10 +85,10 @@ LEGACY_PAGES_MAP={
'newtranslators': 'get-involved/guides/new-translators', 'newtranslators': 'get-involved/guides/new-translators',
'ntcp': 'docs/transport/ntcp', 'ntcp': 'docs/transport/ntcp',
'ntcp_discussion': 'docs/discussions/ntcp', 'ntcp_discussion': 'docs/discussions/ntcp',
'othernetworks': 'about/comparison/other-networks', 'othernetworks': 'comparison/other-networks',
'papers': 'research/papers', 'papers': 'research/papers',
'performance-history': 'support/performance/history', 'performance-history': 'about/performance/history',
'performance': 'support/performance/future', 'performance': 'about/performance/future',
'plugin_spec': 'docs/spec/plugin', 'plugin_spec': 'docs/spec/plugin',
'plugins': 'docs/plugins', 'plugins': 'docs/plugins',
'ports': 'docs/ports', 'ports': 'docs/ports',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment