#3 Converted wiki urls to local links

Відкрити
bugmenott хоче злити 1 комітів з bugmenott/master до TheChumBucket/master
bugmenott відкоментовано 2 роки тому

This commit is to make the wiki easier to explore from Notabug or locally.

If you need to maintain consistency every time you backup the wiki from Reddit, just run the following:

find . -type f -iname "*.md" -exec perl -pi -e 's=https?://((www|old)\.)?reddit\.com/r/Piracy/wiki/([^#\)]+)=./$3.md=gi' {} \;

What it does is convert links like https://www.reddit.com/r/Piracy/wiki/guides/private_trackers to ./guides/private_trackers.md in files with .md extension.

One thing I noticed while checking the links is that the Office Installation/Activation and Miscellaneous pages are not included in the repository.

There are also these links which I'm not sure will work correctly outside of the Reddit wiki:

./faq.md#wiki_.25BA_games  
./megathread/tools.md#wiki_.25BA_download_services  
./megathread/tools.md#wiki_.25BA_pirate_site_proxies_.2F_unblockers  
./megathread/tools.md#wiki_.25BA_scene_.2F_p2p_tracer_websites  

Although maybe it could be fixed by adding something like <span id="wiki_.25BA_scene_.2F_p2p_tracer_websites"></span> where applicable.

This commit is to make the wiki easier to explore from Notabug or locally. If you need to maintain consistency every time you backup the wiki from Reddit, just run the following: `find . -type f -iname "*.md" -exec perl -pi -e 's=https?://((www|old)\.)?reddit\.com/r/Piracy/wiki/([^#\)]+)=./$3.md=gi' {} \;` What it does is convert links like `https://www.reddit.com/r/Piracy/wiki/guides/private_trackers` to `./guides/private_trackers.md` in files with .md extension. One thing I noticed while checking the links is that the [Office Installation/Activation](https://old.reddit.com/r/Piracy/wiki/guides/office_activation) and [Miscellaneous](https://www.reddit.com/r/Piracy/wiki/megathread/miscellaneous) pages are not included in the repository. There are also these links which I'm not sure will work correctly outside of the Reddit wiki: ```text ./faq.md#wiki_.25BA_games ./megathread/tools.md#wiki_.25BA_download_services ./megathread/tools.md#wiki_.25BA_pirate_site_proxies_.2F_unblockers ./megathread/tools.md#wiki_.25BA_scene_.2F_p2p_tracer_websites ``` Although maybe it could be fixed by adding something like `<span id="wiki_.25BA_scene_.2F_p2p_tracer_websites"></span>` where applicable.
Цей запрос не може бути влитий автоматично, тому що він має конфлікти.
Будь ласка влийте вручну щоб врегулювати конфлікти.
Підпишіться щоб приєднатися до обговорення.
Без Мітки
Етап відсутній
Немає відповідального
1 учасників
Завантажується...
Скасувати
Зберегти
Тут ще немає жодного вмісту.