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 better support for wikis #101

merged 6 commits into from Nov 2, 2017


None yet
1 participant

50Wliu commented Nov 2, 2017


  • Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
  • All new code requires tests to ensure against regressions

Description of the Change

The following commands are now supported, in addition to open-on-github:file:

  • open-on-github:file-on-master (alias to open-on-github:file)
  • open-on-github:copy-url
  • open-on-github:history
  • open-on-github:repository

In addition, line suffixes are no longer appended for any wiki operations.

Alternate Designs



More robust wiki support

Possible Drawbacks

The only potential risky change is changing getRepoURL() to normalize git URLs ending in .wiki to /wiki, though the repo might just end in .wiki and not be an actual GitHub wiki. I don't see this as too big as a problem as isGitHubWikiURL() was already doing that test.

Applicable Issues


50Wliu added some commits Nov 2, 2017

@50Wliu 50Wliu merged commit 8e5fdaf into master Nov 2, 2017

1 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build is in progress
continuous-integration/appveyor/pr AppVeyor build succeeded

@50Wliu 50Wliu deleted the wl-better-wiki-support branch Nov 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment