Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add partial Wikidot support #400

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

in1tiate
Copy link

Doesn't support wikis using third party search components like the SCP Wiki's Crom. Those will need special support on a case-by-case basis.

Example formatting for a Wikidot wiki using this setup. Note that this particular wiki's search function appears to be offline, however Wikidot wikis all use the same default search page (unless using the aforementioned third party components)

  {
    "id": "en-darksouls-fandom",
    "origins_label": "Dark Souls Fandom Wiki",
    "origins": [
      {
        "origin": "Dark Souls Fandom Wiki",
        "origin_base_url": "darksouls.fandom.com",
        "origin_content_path": "/wiki/",
        "origin_main_page": "Dark_Souls_Wiki"
      }
    ],
    "destination": "Dark Souls Wiki",
    "destination_base_url": "darksouls.wikidot.com",
    "destination_platform": "wikidot",
    "destination_icon": "darksouls.png",
    "destination_main_page": "index.php",
    "destination_search_path": "/search:site/q/"
  },

Doesn't support wikis using third party search components like the SCP Wiki's Crom. Will need special support on a case-by-case basis
@SnorlaxMonster
Copy link
Contributor

As I mentioned in #485 , the alternative Wikidot search function search:main is currently functional (although I've only seen AQW Wiki use it). It works with the path structure added by this commit, so I think it could be worthwhile merging this commit even just to support AQW Wiki.

I looked into SCP Wiki's search:crom, but as far as I can tell, it's not possible to access it via URL. But there isn't a non-independent wiki to redirect to SCP Wikis, and I haven't seen Wikidot wikis outside of the SCP wikis that use search:crom, so that shouldn't be a problem.

@in1tiate in1tiate marked this pull request as draft February 26, 2024 19:13
@in1tiate
Copy link
Author

Converted to draft - seems like there are structural changes that will require extra effort to rebase onto

@SnorlaxMonster
Copy link
Contributor

SnorlaxMonster commented Jul 18, 2024

I believe this is superseded by #738. It's now possible to add redirects to certain Wikidot wikis (as I have done in #755).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants