MP-WP Vpatch: Update internal image references to point to .svg extensions

There was a small, albeit widespread, bug in the original mp-wp genesis vpatch that resulted in broken image references throughout the site (admin panel as well as blog themes). This vpatch simply updates any and all internal image references to point to the correct .svg file extension.

Here is the vpatch, signature, and my key:

http://billymg.com/downloads/mp-wp/mp-wp_update-image-references-to-svg.vpatch
http://billymg.com/downloads/mp-wp/mp-wp_update-image-references-to-svg.vpatch.billymg.sig
http://billymg.com/downloads/billymg.asc

Pressing mp-wp from this patch

If you don't already have a copy of the previous patches you can grab the files you need from this blog. I added the new mirror of the mp-wp vtree for convenience and redundancy, and because it was suggested to me in #trilema.

Import both hanbot's and my key to your gpg keyring and construct your working directory to contain the following:


patches/
    mp-wp_genesis.vpatch
    mp-wp_add-footnotes-and-text-selectionjs.vpatch
    mp-wp_update-image-references-to-svg.vpatch
.seals/
    mp-wp_genesis.vpatch.hanbot.sig
    mp-wp_add-footnotes-and-text-selectionjs.vpatch.billymg.sig
    mp-wp_update-image-references-to-svg.vpatch.billymg.sig
v.pl
.wot/
    hanbot.asc
    billymg.asc

If this looks right, you can now press mp-wp into the v_press directory (or whatever you want to call it):


./v.pl p v v_press mp-wp_update-image-references-to-svg.vpatch

Result of pressing from this patch vs. previous patches in the vtree

Before

After

Additional work

It's been quite a pleasure thus far working on mp-wp using v. I have a few ideas for future mp-wp work, and I know there are others floating around, but outlining them will have to come in a later post, perhaps after some discussion.

2 Responses to “MP-WP Vpatch: Update internal image references to point to .svg extensions”

  1. [...] billymg Do you read the logs? You should probably read the logs. « MP-WP Vpatch: Update internal image references to point to .svg extensions [...]

  2. hanbot says:
    Nice work. Here's my seal on the first; mp-wp_update-image-references-to-svg.vpatch.hanbot.sig :

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.10 (GNU/Linux)

    iQIcBAABAgAGBQJcPrArAAoJEEVLD8C8B7h+p5wP/R1HKH0qUQggcfiFh8Dhr4jp
    zSBnU6XaMq5rW7qe8yfrQjPYRXRpXRZuE3jvER96BM945x0zxjAIly8fWss2WTsN
    BqqV7ZL2t8OFcazU6tmalynYQnNoeu9INWG03gV3KXMindeIls1XmopmhlbuIVaM
    fk4Sof1hJvXQk7ASmyJgmGTYjbK5M7GPJkdKuBYiigJTY69zq12LOm5MeQHYicyr
    mKVzHEvyqqAb9pUC2lic9HglLYjreRlv1MpGpQTe3KgADS1+TJDNDfeUX2+yZJ0p
    uPQheoA3zsN1un5BF6z16ITJoQvUlpSAucpZPBAf6R6ZjpJuL1ZOzMlqNvBMmhTl
    mIqBlx0DQBfvT23QcJnkPuHLY3ARs3LNqWUDnKdj600fvbkKK1ormgNthCbJGDzO
    G5vl1UcGwJ960hD6EF0yXnelDgRiJkJ1HzkRd7CZS5SwLzDtR7Shvch3srfVfyKj
    O/OgtpqD03w6dJLKSSRV3tr+YMZmylOP/VT/9kQERsvETpq5Rx7BTivn7mvSrrEm
    GCaX2E65xZBB+/AMgdJXzvPe0XJlizDF5kjb2F9gjsyfC5n52oNYw46CSvsNVfHr
    xg2UmEnP2ClELPhaigqDrcnqSPLI8E4Wz83RvWi9fzteAosbzyrEZGa649iuZ3g9
    juhFAp3fF0eH9aUrRsmr
    =xTai
    -----END PGP SIGNATURE-----

Leave a Reply