Archive for the ‘V’ Category

MP-WP Patch for Enabling HTML Comments

Monday, March 25th, 2019

...among other innocuous tags like bold, blockquote, and so forth.

This patch implements Daniel P. Barron's simple fix. Also included is a revision of the trilema-specific database interaction in wp-comments-post.php to the default wp_comments table as pointed out by diana_coman.

*Edit March 26th 2019: My first regrind was still fucked up, as Daniel P. Barron graciously pointed out yet again. I've reground again using correct syntax. So then:

The secondly-reground patch:
mp-wp_html-comments-regrind.vpatch

The corresponding sig:
mp-wp_html-comments-regrind.vpatch.hanbot.sig

---fuxed files, for posterior---

*Edit March 25th 2019: I've reground this patch based on Daniel P. Barron's catch of my incorrect use of a default rather than a variable table name. The reground versions are:

Reground patch:
mp-wp_html-comments-fixed.vpatch

Reground sig:
mp-wp_html-comments-fixed.vpatch.hanbot.sig

The old patch:
mp-wp_html-comments-enabled.vpatch

My old sig:
mp-wp_html-comments-enabled.vpatch.hanbot.sig

Grab my pubkey, if needed, on the about page, or send !!key hanbot to deedbot on Freenode IRC, while ye may.

MP-WP: Genesis Regrind

Monday, June 11th, 2018

Cause for this regrind consists of the lack of a proper manifest file as per the official Republican spec, along with the incorrect directory structure, both of which have been addressed in this new genesis vpatch.

The recently-released patch for comments has been included, as has a minor cosmetic/derpatic change to image files, the names of which no longer contain spurious remnants of their pre-svgization filetypes.

Files:
* mp-wp_genesis.vpatch
* mp-wp_genesis.vpatch.hanbot.sig

Note: this genesis was built and press-tested with phf's vtools, via its keccak head.

MP-WP: Fix for Comments vpatch

Tuesday, May 29th, 2018

Previously, fresh installs of MP-WP required a fair amount of futzing1 before comments would work.

This vpatch modifies /blog/wp-comments-post.php and the comments.php files in both themes' subdirectories such that commenting should work without any configuration requirements upon instalation, keeping MP's antispam functionality intact, naturally.

Files:
mp-wp_comments-fix.vpatch
mp-wp_comments-fix.vpatch.hanbot.sig

This patch is just shy of three weeks late, the fact of which is about as embarrassing as why: I still retain certain cockroaches. Three weeks' worth of "dude I still haven't made that patch" sessions is how long it took me to realize the only way this was getting done, by me anyway, was with a fucking pen and a sheet of paper, and writing out a "stupid" "unnecessary" graph of the problems and the attempted solutions, with their results. 'Cause I oughta be able to just do it, right? Harr.

Anyway, next up is MP's request for a mass file uploader.

  1. Copy-pasting the $suffix string between one of the two included themes' comments handler and the top-level post file in the case of the "Default" theme, and modifying both said string and comment field variables when using "Classic". []

MP-WP Genesis

Friday, April 13th, 2018

If you'd like to use Mircea Popescu's modified Wordpress (as used on Trilema, here, and many blogs of the Republic), I've made a V genesis to be maintained in perpetuity, with patches shortly to come.

Available files:

* mp-wp_genesis.vpatch
* mp-wp_genesis.vpatch.hanbot.sig

Mosey over to the about page if you need my pubkey.

Many thanks to mod6 for his indispensible Vtron, phf for his vpatcher and tools, spyked for his patches of same, asciilifeform for V in general, diana_coman for her help getting started with gnat, and of course Mr. P for the eponymous codebase and support.