pg_docs_bot

#5 / 1 rate

pg_docs_bot

43 users

2020-05-10

michristofides

Extension Information

5 star
100%
4 star
0%
3 star
0%
2 star
0%
1 star
0%

Supported Languages

Permissions

Description

Redirects PostgreSQL docs links to the current version (except when coming from the docs, or to deprecated features).

When you search for Postgres related things, an old version of the documentation is sometimes indexed. Similarly, some answers on sites like Stack Overflow link to old versions of the documentation.

pg_docs_bot helps you avoid the annoyance of having to click "Current" when you get there, the frustration of having read the whole page before realising it was an old version, or even not realising that it was an out of date version.

Features:
* Redirects links to the "current" version
* After redirecting, displays a notice (including a link to the page you were redirected from)
* Avoids redirecting some deprecated features (to avoid 404s)
* Doesn't redirect when coming from another page in the docs, so you can still check old versions (the main problem with generic redirectors)

Limitations:
* Only supports redirecting to "current"
* Works for the English language docs
* Works for version 7.0 links upwards
* Chrome extension works on a limited list of search engines and stack exchange sites (to avoid needing permission)