Fixing broken links #267

Merged
fnetX merged 2 commits from fsologureng/Documentation:fix_broken_links into main 2022-10-03 19:35:02 +00:00

Changes:

  • Fallback images links are all lowercase now.
  • Fix html redirect (meta tag http-equiv redirect) from /git/clone-commit-via-http to /git/clone-commit-via-web.
  • Added protocol to an email link.
  • Fix some pages links.

To detect broken links I used wget:

wget --spider --recursive --level=0 --debug -e robots=off --base=http://localhost:8080 http://localhost:8080 2>&1 | grep ^Found\ [0-9]*\ broken\ link

However, wget detects html redirects (meta tag http-equiv refresh) as false positive.

If broken links have found, then the referer header will be searched for find out where they are:

wget --spider --recursive --level=0 --save-headers --debug -e robots=off --base=http://localhost:8080 http://localhost:8080 2>&1 | less
Changes: * Fallback images links are all lowercase now. * Fix html redirect (meta tag http-equiv redirect) from ```/git/clone-commit-via-http ```to ```/git/clone-commit-via-web```. * Added protocol to an email link. * Fix some pages links. To detect broken links I used wget: ``` wget --spider --recursive --level=0 --debug -e robots=off --base=http://localhost:8080 http://localhost:8080 2>&1 | grep ^Found\ [0-9]*\ broken\ link ``` However, wget detects html redirects (meta tag http-equiv refresh) as false positive. If broken links have found, then the referer header will be searched for find out where they are: ``` wget --spider --recursive --level=0 --save-headers --debug -e robots=off --base=http://localhost:8080 http://localhost:8080 2>&1 | less ```
fsologureng added 1 commit 2022-09-30 17:18:12 +00:00
13db7ad638
Fixing broken links:
* Fallback images are all lowercase now.
 * Html redirect (meta tag http-equiv redirect) from /git/clone-commit-via-http to /git/clone-commit-via-web.
 * Added protocol to an email link.
 * Some pages links.
fnetX reviewed 2022-10-01 19:49:18 +00:00
fnetX left a comment
Owner

Are the changes for article links from .md to / intended?

Are the changes for article links from `.md` to `/` intended?
@ -17,3 +17,3 @@
## Email
For user support on Codeberg.org that *can not be handled by the channels mentioned above* (e.g. because it requires sensitive information), you can send an email to [help@codeberg.org](help-PLEASE-REMOVE-THIS-FOR-SPAM-PROTECTION@codeberg.org).
For user support on Codeberg.org that *can not be handled by the channels mentioned above* (e.g. because it requires sensitive information), you can send an email to [help@codeberg.org](mailto:help-PLEASE-REMOVE-THIS-FOR-SPAM-PROTECTION@codeberg.org).

Is the removal of the line break (double space in md) intended?

Is the removal of the line break (double space in md) intended?

Is the removal of the line break (double space in md) intended?

Sorry, no. I'll revert it.

I was learning Markdown when I found these broken links, so now I learned some more ;)

> Is the removal of the line break (double space in md) intended? Sorry, no. I'll revert it. I was learning Markdown when I found these broken links, so now I learned some more ;)
fnetX marked this conversation as resolved
@ -7,3 +7,3 @@
redirects:
- {"from": "/git/clone-commit-via-ssh/", "to": "/git/clone-commit-via-cli/"}
- {"from": "/git/clone-commit-via-http/", "to": "/git/clone-commit-via-cli/"}
- {"from": "/git/clone-commit-via-http/", "to": "/git/clone-commit-via-web/"}

Please revert the change. The "clone via http" guide and "... ssh" guide were merged in the cli guide. The web guide only shows using the web interface, not using the CLI to clone via HTTP.

Please revert the change. The "clone via http" guide and "... ssh" guide were merged in the cli guide. The web guide only shows using the web interface, not using the CLI to clone via HTTP.

Please revert the change. The "clone via http" guide and "... ssh" guide were merged in the cli guide. The web guide only shows using the web interface, not using the CLI to clone via HTTP.

Sorry, I undertood wrong. I'll revert it.

> Please revert the change. The "clone via http" guide and "... ssh" guide were merged in the cli guide. The web guide only shows using the web interface, not using the CLI to clone via HTTP. Sorry, I undertood wrong. I'll revert it.
fnetX marked this conversation as resolved

Are the changes for article links from .md to / intended?

I saw that the two links to .md are now broken, changing the md extension to / fixed them, so yes, was intended.

Thanks for your review Otto 👍

> Are the changes for article links from `.md` to `/` intended? I saw that the two links to .md are now broken, changing the md extension to / fixed them, so yes, was intended. Thanks for your review Otto 👍

OK, great. Looking forward to fixes for the two open comments. Thank you very much!

OK, great. Looking forward to fixes for the two open comments. Thank you very much!
fsologureng added 1 commit 2022-10-03 13:39:03 +00:00
fnetX merged commit 98c40b8a07 into main 2022-10-03 19:35:02 +00:00
fnetX referenced this issue from a commit 2022-10-03 19:35:02 +00:00

Thank you very much!

Thank you very much!
fsologureng deleted branch fix_broken_links 2022-10-03 20:09:45 +00:00

Thank you very much!

You welcome :)

> Thank you very much! You welcome :)
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Codeberg/Documentation#267
There is no content yet.