Created
January 20, 2023 20:02
-
-
Save Katzenwerfer/1ebaf60c6e6c0594510db9fe85148c0c to your computer and use it in GitHub Desktop.
Redirect Wikipedia articles to the Wikiwand website
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"createdBy": "Katzenwerfer", | |
"redirects": [ | |
{ | |
"description": "Redirect Wikipedia articles to the Wikiwand website", | |
"exampleUrl": "https://en.wikipedia.org/wiki/the-article-you-want-to-read", | |
"exampleResult": "https://www.wikiwand.com/en/the-article-you-want-to-read", | |
"error": null, | |
"includePattern": "(https?):\\/\\/(.{2})\\.wikipedia\\.org\\/wiki\\/(.*)", | |
"excludePattern": "(https?):\\/\\/(.{2})\\.wikipedia\\.org\\/wiki\\/(.*\\?)(oldformat=true)", | |
"patternDesc": "Append ?oldformat=true to disable redirection", | |
"redirectUrl": "https://www.wikiwand.com/$2/$3", | |
"patternType": "R", | |
"processMatches": "noProcessing", | |
"disabled": false, | |
"grouped": false, | |
"appliesTo": [ | |
"main_frame" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment