Code Monkey home page Code Monkey logo

wiki's Issues

Explicit http://www.open-bio.org/wiki/... links using anchors

$ grep -oh "\[http://www.open-bio.org/wiki/.*\]" *.mediawiki 
[http://www.open-bio.org/wiki/Codefest_2010 Codefest session]
[http://www.open-bio.org/wiki/Codefest_2010 Codefest 2010 Report]
[http://www.open-bio.org/wiki/Codefest_2012 Codefest 2012]
[http://www.open-bio.org/wiki/Main_Page Open Bioinformatics Foundation]
[http://www.open-bio.org/wiki/Main_Page Open Bioinformatics Foundation:]  A Community For, By, and Of You ([http://www.slideshare.net/hlapp/obf-address-bosc2013 SlideShare] [http://www.youtube.com/watch?v=DiReTX3FoLM YouTube]
[http://www.open-bio.org/wiki/BOSC_2014_Schedule Complete Schedule]
[http://www.open-bio.org/wiki/EU-Codefest_2014 EU-Codefest 2014]
[http://www.open-bio.org/wiki/BOSC_Abstract_Submission submit your abstract here]
[http://www.open-bio.org/wiki/Main_Page Open Bioinformatics Foundation (OBF) update] ([https://youtu.be/1oSTb8ZAxec video]
[http://www.open-bio.org/wiki/BOSC_2017 BOSC 2017]
[http://www.open-bio.org/wiki/Hackathon Hackathons]
[http://www.open-bio.org/wiki/Hackathon Hackathons]
[http://www.open-bio.org/wiki/Hackathon Hackathons]
[http://www.open-bio.org/wiki/Hackathon Hackathons]
[http://www.open-bio.org/wiki/Hackathon Hackathons]
[http://www.open-bio.org/wiki/EU_Codefest_2012 first one]
[http://www.open-bio.org/wiki/Codefest_2014#Goals goals] as the OBF Codefest, which is usually organized along with the [http://www.open-bio.org/wiki/BOSC BOSC]
[http://www.open-bio.org/wiki/Codefest_2014 OBF Codefest]
[http://www.open-bio.org/wiki/File:BOSC2015-abstract-template.pdf PDF]
[http://www.open-bio.org/wiki/Google_Summer_of_Code_2015_Ideas#Biocaml Project ideas]
[http://www.open-bio.org/wiki/Google_Summer_of_Code_2014#Loris_Cro vcf-mongo ]
[http://www.open-bio.org/wiki/Minutes:2013_Apr_ConfCall April 2013 Board meeting minutes]

We want to turn these into relative links, probably via the mediawiki to markdown script using pandoc.

Deal with raw HTML snippets post pandoc conversion

There are some HTML snippets left in the post conversion markdown. These need to be reviewed and addressed individually.

e.g. the main page used HTML for the blue donation box layout, with mediawiki text within it. This resulted in Markdown within an HTML block which does not render as expected. This might be best resolved by turning the contents of the blue box into HTML too? Done in 994f421

BOSC 2017 At-a-glance schedule

Spin out from #2, the at-a-glance tables have lost a column each in https://obf.github.io/wiki/BOSC_2017_Schedule compared to https://obf.github.io/wiki/BOSC_2017_Schedule

It looks like pandoc couldn't cope with the nested table design, see https://github.com/OBF/wiki/blob/pre-pandoc/BOSC_2017_Schedule.mediawiki

Simplest fix looks to be make this two separate tables (remove the outer table putting them side by side), which will work better on the slightly narrower page layout in the current theme - and work better on smart phones etc.

Deal with <figure> and <figcapture> tags

Subset of #2, pandoc has output some rather verbose snippets for images.

e.g. from BOSC_2014.mediawiki as on https://open-bio.org/wiki/BOSC_2014 we had:

[[Image:Eagle_logo_2013.jpg|120px|left|Eagle Genomics logo|link=http://www.eaglegenomics.com/]]

This showed the image without a caption below it, clickable, with tool tip "Eagle Genomics logo".

After pandoc in https://github.com/OBF/wiki/edit/main/BOSC_2014.md we currently have:

<figure>
<img src="Eagle_logo_2013.jpg"
title="Eagle Genomics logo|link=http://www.eaglegenomics.com/"
width="120" />
<figcaption>Eagle Genomics logo|link=<a
href="http://www.eaglegenomics.com/">http://www.eaglegenomics.com/</a></figcaption>
</figure>

Sometimes the caption is appropriate, but generally I'd want just something like this:

<a href="http://www.eaglegenomics.com/">
<img src="Eagle_logo_2013.jpg" title="Eagle Genomics logo" alt="[Logo]" width="120" />
</a>

Can we tweak pandoc's settings? Can we adjust the MediaWiki before calling pandoc? Or must we post-process the Markdown?

Links directly to 27 PDF files under http://www.open-bio.org/w/

e.g. http://www.open-bio.org/w/images/2/25/Brigham_Circle_-_Countway_Map.pdf from Codefest_2010.mediawiki aka https://github.com/OBF/wiki/blob/main/Codefest_2010.md

$ grep "http://www.open-bio.org/w/" *.mediawiki  | wc -l
27

We don't seem to have this file via the XML dump - but why not?

Since the old site is live could always fetch over HTTP(s) and add to the repository. See also #6 and if we should use a sub-directory.

Update: We do have the files, just need to change the URL

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.