Show Idle (>14 d.) Chans


← 2020-05-03 | 2020-05-05 →
feedbot: http://bimbo.club/2020/05/work-report-5032020/ << Bimbo Club -- Work Report - 5/03/2020
spyked: http://ossasepia.com/2020/05/03/ossasepia-logs-for-may-2020/#1025620 <-- wp acts retarded sometimes; on the 1st layer: in some circumstances (not entirely known to me), it re-assigns new post IDs to old articles; on the 2nd layer: rss channel entries are identified using the "guid" tag, and when a post gets a new postid, its guid tag also changes.
sonofawitch: 2020-05-03 21:10:30 (#ossasepia) diana_coman: spyked: what throws feedbot off above?
spyked: speaking of which, diana_coman, it looks like (some of) your log articles have empty guid tags? when feedbot doesn't find the guid for an entry, it uses the "link" tag instead, but otherwise it can't guarantee all that much, because how else is it supposed to identify rss entries.
diana_coman: spyked: hm, I'll add the guid tags to the list since it seems I really have to sink some days into sorting out mpwp for my current needs, after all.
spyked: diana_coman: is the logbot adding/modifying articles via mysql?
spyked wonders, what is mpwp using to generate that particular tag?
diana_coman: spyked: yes, via mysql
diana_coman: and I didn't specifically care about guid tags so possibly there's something missing indeed
diana_coman: I half dread I'll end up stripping half of mpwp codebase if I really sink days into setting the blog straight once and for all but the annoyance and pressure is building on that front so ...I guess I'll find out soon enough.
diana_coman: http://ossasepia.com/2020/04/27/ossasepia-logs-for-27-Apr-2020/#1025351 - ftr dorion , one week in, I don't see much of this.
sonofawitch: 2020-04-27 21:11:04 (#ossasepia) diana_coman: dorion: what's your plan re using those resources ?
spyked: diana_coman: it seems that there's indeed a 'guid' field in the wp posts table. and rss grabs it in e.g. wp-includes/feed-rss2.php (via the_guid(), defined in wp-includes/post-template.php)
diana_coman: spyked: I didn't look but I'd have expected that field to be added automatically on insert really; possibly some of the php normally does that; anyways, I'll probably find out soon enough indeed.
diana_coman: billymg: your v-tree at http://billymg.com/mp-wp-vtree/ stops at mp-wp_comments_filtering.vpatch while my local tree has also mp-wp_add-embedded-vpatch-formatting.vpatch ; as a result, now I'm confused as to what even is the full current trunk, let alone whatever modifications I might have deployed otherwise.
spyked: diana_coman: I don't think it can set the field on auto, since it's a string. so yeah, I think it's generated in php, based on the URL and the post ID, i.e. http://myblog/?p=N
spyked: (for further reference: from the looks of it, it's set in wp-includes/post.php, in the wp_insert_post mega-function, e.g. http://paste.deedbot.org/?id=68UC )
billymg: diana_coman: yeah i haven't updated yet because i was going to republish that patch with some of the feedback from jfw. then that feedback plus discussion in here prompted a pause to do some research (the survey), and last week i got sidetracked with some IRL work plus a trip to arenal (blog post drafted and ready
billymg: to go once i get some permissions assistance on anyserver)
billymg: diana_coman: this time i did all my image processing locally with a script i put together based on the one whaack shared and your mention of a locally running imagemagick, and so now my anyserver user is bumping into permission restrictions on a folder previously generated by apache (via mpwp) when trying to copy over the images
feedbot: http://billymg.com/2020/05/guanacaste-san-jose-and-arenal-two-months-in-costa-rica/ << billymg -- Guanacaste, San Jose, and Arenal: Two Months in Costa Rica
diana_coman: billymg: btw, since I did one round of digging through the whole pile of mpwp yet again - by now it's better I'd say to remove that "selection-magic" thing given that it's broken
billymg: diana_coman: indeed, jfw has a patch for that already (just need a minor tweak)
ossabot: Logged on 2020-04-22 21:32:40 billymg: http://logs.ossasepia.com/log/ossasepia/2020-04-22#1025005 << jfw, yup, looks good. one minor thing for the patch removing js selection: the wrapper <span> tags in page.php and single.php can be removed as well
billymg: i was gonna wait for him to make that last update and then add his two patches to my mirror of the trunk
diana_coman: cool then; is there in any of those (im)pending vpatches the fixing of the trilema-specific links-immunity? because I noticed that in the main trunk it's set to trilema.com and nowhere even mentioned, lolz.
diana_coman: billymg: do you know by any chance where is the page/nopage set for the archives? not sure why is this even so different than for the rest but I can't seem to properly & fully figure it out atm.
billymg: diana_coman: re: trilema-specific links, not to my knowledge, but i can add that as a drive-by fix in the code embed patch
billymg: diana_coman: what do you mean by page/nopage set for archives?
diana_coman: billymg: how to set it so it does not paginate archive contents, for any archive
diana_coman: I can set it directly for posts, there are some parameters to the posts query but I can't quite figure out how to set it only for archives
billymg: ah i see, so for example on http://ossasepia.com/2020/04/ you'd like all of the entries to be on a single page?
jfw: diana_coman: what's the links-immunity mean?
billymg: diana_coman: got it. i don't know offhand but i can look
diana_coman: jfw: mpwp is set so comments with links get into the moderation queue *except* those with links to trilema.com
diana_coman: ofc, one would change that to links to own site; or hm, so I supposed, lol
diana_coman: now it will turn out everyone runs it with trilema.com
jfw: checking what I did on mine...
diana_coman: jfw: it's in wp-includes/comment.php
feedbot: http://younghands.club/2020/05/04/rmd-w26-review-apr-26th-may-3rd-2020/ << Young Hands Club -- RMD w26 review, Apr 26th-May 3rd, 2020
jfw: I see a trilema.com in a preg_match_all and yeah, I had no idea that file needed tweaking.
jfw: I believe I raised the link count threshold to count as spam in the admin UI, possibly that's why it hasn't bothered me.
feedbot: http://younghands.club/2020/05/04/rmd-w27-plan-may-4-8th-2020/ << Young Hands Club -- RMD w27 plan, May 4-8th, 2020
diana_coman: jfw: yes, that one in check_comment; as you can see, it subtracts links to trilema from total links before it looks if it's to go to modq or not
diana_coman: jfw: well, you wouldn't specifically notice it as such I suppose anyway unless really paying attention/getting surprised at some comments making it through without moderation perhaps.
jfw: I can't quite make out what those REs are doing, especially the starting | and trailing |i and *? (guessing the ? is just redundant with the * there, but with all the different RE variants it could mean something entierly else for all I know...)
jfw: think I'll leave it to billymg unless he asks for help though :)
billymg: diana_coman: do you think it's something that should just be removed? and if someone wants to whitelist their domain they update the regex accordingly? i could see it as a useful feature if the whitelisted domain(s) could be set at the db or config level and pulled into that regex
jfw: billymg: I'll do that comments-js removal vpatch tweak / regrind by Sunday, unless you'd prefer it wait to build on the patch-review patch. (Not that it's hard, just lots else on the plate.)
billymg: jfw: sunday is fine for me, i was going to place the patch-review patch on top of those after making the final round of updates
diana_coman: billymg: hm, I think that the blog's domain is actually in the db, isn't it?
diana_coman: in _options iirc
billymg: diana_coman: ah, true, could just pull from that then
jfw: ^, or WP_SITEURL from wp-config.php
jfw: (the two may interact in some way...)
billymg: my thought was to make it a csv list perhaps, so one could whitelist multiple domains, but that could always wait for later (if it even seems worth doing)
diana_coman: jfw: the wp-config values are used at install time to set those in the db iirc
diana_coman: not sure they are even directly used afterwards
diana_coman: billymg: there is somewhere further whitelisting iirc based on blogroll; or so it was intended
billymg: diana_coman: ah, got it
diana_coman: dorion: fwiw I can fully relate to single-focus on one thing and one thing only but with (a lot of) experience, I learnt also that it ~never works well like that over days/weeks/more and moreover it's not even as effective as it may seem; so yeah, practice a more balanced approach, it's worth it.
diana_coman: cruciform: did you get lost in the relaxing one-day?
dorion: thanks diana_coman. though I didn't foresee it, it makes sense in retrospect that the pattern re-emerged as I get going again. Today has been more balanced and I'm looking forward to keeping it up.
← 2020-05-03 | 2020-05-05 →