Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Add better support for wikis #101

Merged
merged 6 commits into from
Nov 2, 2017
Merged

Add better support for wikis #101

merged 6 commits into from
Nov 2, 2017

Conversation

winstliu
Copy link
Contributor

@winstliu winstliu commented Nov 2, 2017

Requirements

  • 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

None.

Benefits

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

None.

@winstliu winstliu merged commit 8e5fdaf into master Nov 2, 2017
@winstliu winstliu deleted the wl-better-wiki-support branch November 2, 2017 17:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant