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

Deal with bp and other inter-wiki links #1

Closed
peterjc opened this issue Feb 2, 2024 · 3 comments
Closed

Deal with bp and other inter-wiki links #1

peterjc opened this issue Feb 2, 2024 · 3 comments

Comments

@peterjc
Copy link
Member

peterjc commented Feb 2, 2024

The old MediaWiki install had some inter-wiki shortcuts setup including the bp: prefix for the BioPerl wiki. Those need to be reviewed and replaced.

e.g. Page PISE tries to redirect to bp:PISE, a BioPerl wiki page which no longer exists see https://web.archive.org/web/20160317135452/http://bioperl.org/wiki/PISE and https://github.com/bioperl/bioperl-pise - in this case replace the page with a stub based on the archived text?

@peterjc
Copy link
Member Author

peterjc commented Feb 7, 2024

Only BioPerl redirects (as full pages), and only these:

$ for X in *.mediawiki; do echo; echo $X; grep REDIRECT

BioPerl.mediawiki
#REDIRECT [[bp:BioPerl|BioPerl]]

Brian_Osborne.mediawiki
#REDIRECT [[bp:Brian Osborne]]

Chris_Mungall.mediawiki
#REDIRECT [[bp:Chris Mungall]]

Ewan_Birney.mediawiki
#REDIRECT [[bp:Ewan Birney]]

Gbrowse.mediawiki
#REDIRECT [[bp:Gbrowse]]

GMOD.mediawiki
#REDIRECT [[bp:GMOD|GMOD]]

Hilmar_Lapp.mediawiki
#REDIRECT [[bp:Hilmar Lapp]]

Jason_Stajich.mediawiki
#REDIRECT [[bp:Jason Stajich]]

PISE.mediawiki
#REDIRECT [[bp:PISE|PISE]]

@peterjc
Copy link
Member Author

peterjc commented Feb 8, 2024

We do have some direct links to inter-wiki pages though, e.g. biosql:Main Page and biopython:Google Summer of Code

peterjc added a commit that referenced this issue Feb 8, 2024
peterjc added a commit that referenced this issue Feb 8, 2024
@peterjc
Copy link
Member Author

peterjc commented Feb 8, 2024

Handled the external redirects with 425ea04 for markup, and peterjc/mediawiki_to_git_md@ec00c4f to map these to redirect_to

@peterjc peterjc closed this as completed Feb 8, 2024
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

No branches or pull requests

1 participant