Skip to content

Commit

Permalink
Merge pull request perma-id#4423 from Superraptor/master
Browse files Browse the repository at this point in the history
Adding Green's Dictionary of Slang and Gay/Lesbian/Bisexual Television Characters.
  • Loading branch information
dgarijo authored Sep 23, 2024
2 parents a0a7d49 + 93cd6a3 commit 5f057b1
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 0 deletions.
25 changes: 25 additions & 0 deletions GayLesbianBisexualTVCharacters/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Example
#
# https://w3id.org/GayLesbianBisexualTVCharacters/1980s/insi redirects to https://home.cc.umanitoba.ca/~wyatt/tv-char1980s.html#insi
# https://w3id.org/GayLesbianBisexualTVCharacters/road redirects to https://home.cc.umanitoba.ca/~wyatt/tv-characters.html#road
# https://w3id.org/GayLesbianBisexualTVCharacters/days redirects to https://home.cc.umanitoba.ca/~wyatt/tv-characters.html#days
#
# ## Contact
# This space is administered by:
#
# Clair Kronk
# [email protected]
# GitHub username: Superraptor

# Examples tested using:
# https://htaccess.madewithlove.com/
# (22 September 2024)

RewriteEngine On
RewriteBase /

# Redirect URLs of the form /GayLesbianBisexualTVCharacters/$1
RewriteRule ^GayLesbianBisexualTVCharacters/([a-z]{1,10})$ https://home.cc.umanitoba.ca/~wyatt/tv-characters.html#$1 [R=301,NE,L]

# Redirect URLs of the form /GayLesbianBisexualTVCharacters/$1/$2
RewriteRule ^GayLesbianBisexualTVCharacters/([1-2][9,0][6,7,8,9,0]0s)/([a-z]{1,10}[0-9]{0,4})$ https://home.cc.umanitoba.ca/~wyatt/tv-char$1.html#$2 [R=301,NE,L]
5 changes: 5 additions & 0 deletions GayLesbianBisexualTVCharacters/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Gay/Lesbian/Bisexual Television Characters

[Webpage](
https://home.cc.umanitoba.ca/~wyatt/tv-characters.html) created by [David A. Wyatt](https://home.cc.umanitoba.ca/~wyatt/). `.htaccess` file created by Clair Kronk for use at [lgbtDB](https://lgbtdb.wikibase.cloud/wiki/Property:P689). Webpage last updated 10 September 2016.

32 changes: 32 additions & 0 deletions Greens/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Examples
#
# https://w3id.org/Greens/qv5rkjq redirects to https://greensdictofslang.com/entry/qv5rkjq
# https://w3id.org/Greens/cawbqqi/va3zesy redirects to https://greensdictofslang.com/entry/cawbqqi#va3zesy
# https://w3id.org/Greens/qv5rkjq/sn1 redirects to https://greensdictofslang.com/entry/qv5rkjq#sn1
# https://w3id.org/Greens/sources/5937 redirects to https://greensdictofslang.com/sources/5937
#
# ## Contact
# This space is administered by:
#
# Clair Kronk
# [email protected]
# GitHub username: Superraptor

# Examples tested using:
# https://htaccess.madewithlove.com/
# (22 September 2024)

RewriteEngine On
RewriteBase /

# Redirect /Greens/$1 to https://greensdictofslang.com/entry/$1
RewriteRule ^Greens/([0-9a-z]{7})$ https://greensdictofslang.com/entry/$1 [R=301,L]

# Redirect /Greens/$1/$2 to https://greensdictofslang.com/entry/$1#$2
RewriteRule ^Greens/([0-9a-z]{7})/([0-9a-z]{7})$ https://greensdictofslang.com/entry/$1#$2 [R=301,NE,L]

# Redirect /Greens/$1/$2 to https://greensdictofslang.com/entry/$1#$2
RewriteRule ^Greens/([0-9a-z]{7})/(sn[0-9]{1,3})$ https://greensdictofslang.com/entry/$1#$2 [R=301,NE,L]

# Redirect /Greens/sources/$1 to https://greensdictofslang.com/sources/$1
RewriteRule ^Greens/sources/([0-9]{1,5})$ https://greensdictofslang.com/sources/$1 [R=301,L]
4 changes: 4 additions & 0 deletions Greens/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Green's Dictionary of Slang

[Website](
https://greensdictofslang.com/) created by Jonathon Green. `.htaccess` file created by Clair Kronk for use at [lgbtDB](https://lgbtdb.wikibase.cloud/wiki/Property:P689).

0 comments on commit 5f057b1

Please sign in to comment.