Commit 22955f5
authored
Refactor WebLinkMatcher.ts and add additional. (#1924)
* Refactor WebLinkMatcher.ts and add additional.
# ExtLinks.css:
- Re-order ExtLinks.css by logo image name alphabetically.
- - With exception for those those that have a logo in a different repository, move those to the top.
- Clean up usage of background-image vs background.
- Fix icon matching with links that only matched to http:// to also work with https://
- Add icon matching with links that did have icons, but were not being used.
- Add additional icon matching with new icons (see: VocaDB/ExtIcons#7)
- Icon matching via ^ match or * match has been left mostly the same, could still be a discussion point.
- Clean up styling.
# WebLinkMatcher.ts
- Add additonal Weblink matchers relating to VocaDB/ExtIcons#7
* Revert "Refactor WebLinkMatcher.ts and add additional."
This reverts commit 4efdaa5.
* Add additional linkmatchers.
* Replace all double with single quotes.
* Add trailing slash to all URLs.
* Replace all instances of background: with background-image:
* Unify http and https checks.
Some matchers would only match with http or https URLs.
* Make bracket usage consistent.
* Remove or combine duplicate entries.
* Split Dwango and Animelo to use correct image.
* Remove dead comment.
* Move matchers with images not in ExtIcons to the top and add a comment where neccesary.
* Sort all icon matchers alphabetically by png filename.
* Adjust fasic and thbwiki to match filename.
* Add icon matchers that have images but no matchers.
- bsky
- dojin-music
* Add additional icon matchers.
See: VocaDB/ExtIcons#7
- ah-soft
- ai-voice
- bandlab
- dreamtonics
- genius
- github
- marshmallow-qa
- musixmatch
- project sekai fandom wiki
- reddit
- voicevox
- voisona
* Fix missed unified http/https check.
* Add back trailing slashes.
* Process feedback.
- Re-add accidentally removed link matchers.
- Fix brace.
* Remove regex from link matchers.
* Fix malformed link matchers.
* Set archive matcher last so it always takes precedence.1 parent 1368142 commit 22955f5
2 files changed
Lines changed: 565 additions & 454 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2029 | 2029 | | |
2030 | 2030 | | |
2031 | 2031 | | |
| 2032 | + | |
| 2033 | + | |
| 2034 | + | |
| 2035 | + | |
| 2036 | + | |
| 2037 | + | |
| 2038 | + | |
| 2039 | + | |
| 2040 | + | |
| 2041 | + | |
| 2042 | + | |
| 2043 | + | |
| 2044 | + | |
| 2045 | + | |
| 2046 | + | |
| 2047 | + | |
| 2048 | + | |
| 2049 | + | |
| 2050 | + | |
| 2051 | + | |
| 2052 | + | |
| 2053 | + | |
| 2054 | + | |
| 2055 | + | |
| 2056 | + | |
| 2057 | + | |
| 2058 | + | |
| 2059 | + | |
| 2060 | + | |
| 2061 | + | |
| 2062 | + | |
| 2063 | + | |
| 2064 | + | |
| 2065 | + | |
| 2066 | + | |
| 2067 | + | |
| 2068 | + | |
| 2069 | + | |
| 2070 | + | |
| 2071 | + | |
| 2072 | + | |
| 2073 | + | |
| 2074 | + | |
| 2075 | + | |
| 2076 | + | |
| 2077 | + | |
| 2078 | + | |
| 2079 | + | |
| 2080 | + | |
| 2081 | + | |
| 2082 | + | |
| 2083 | + | |
| 2084 | + | |
| 2085 | + | |
| 2086 | + | |
| 2087 | + | |
| 2088 | + | |
| 2089 | + | |
| 2090 | + | |
| 2091 | + | |
| 2092 | + | |
| 2093 | + | |
| 2094 | + | |
| 2095 | + | |
| 2096 | + | |
| 2097 | + | |
| 2098 | + | |
| 2099 | + | |
| 2100 | + | |
| 2101 | + | |
2032 | 2102 | | |
2033 | 2103 | | |
2034 | 2104 | | |
| |||
0 commit comments