melannen: Commander Valentine of Alpha Squad Seven, a red-haired female Nick Fury in space, smoking contemplatively (Default)
melannen ([personal profile] melannen) wrote2020-10-06 02:04 pm

Broken cut tags

I didn't post about this at the time because I figured I was the only person who was laggard enough to have the problem, but apparently there are more of us than I thought, and not all of us were annoyed enough to figure out how to fix it?

So, if cut tags on your journal have been broken since the summer, so that they no longer open in the page and you have to open in a new page, it is probably because you are still using a Core1 journal style you imported from LJ. When they made some updates to DW backend code recently, they accidentally broke javascript for Core1, which for most people mostly means the magic cut tags. (It probably also messes with expanding comment threads if you read comment pages in your style? I use site scheme there so idk.)

This is not something I will blame DW for, because Core1 styles were obsolete ten years ago when DW was founded and mostly have never met basic web accessibility standards, and it is frankly impressive they still support them at all. (Why are you still using Core1 on your journal, you deadbeat*?? Has "update journal style" really been on your todo list for MORE THAN TEN YEARS???)

Anyway, they are hopefully going to fix it in the next code push eventually.

Meanwhile, there are two options: you can go to Change Style and pick a style that was coded this millennium. This fixes it for everyone, and also means you are using a style that follows at least some web standards.

Or you can do what I did, stick stubbornly to your horrible ancient style that you've been using more than half your life, and go to the beta page and select "Turn ON beta testing" for "Temporarily revert updated journal page components" (I know it's counterintuitive to turn ON beta testing in order to turn OFF new features, but it's a workaround.) This will only fix it for you while you are logged in - other visitors to your journal in your style will still have broken cut tags. Then add [site community profile] dw_maintenance to your reading list, so you'll know when it's fixed and you can turn it back off.


*also why is your style still Homestuck themed, what is wrong with you
jesse_the_k: harbor seal's head captioned "seal of approval" (Approval)

Thanks for the PSA

[personal profile] jesse_the_k 2020-10-06 06:32 pm (UTC)(link)

I admire your commitment to maintaining a decade-long distance from the current moment, which is eminently avoidable.

(Anonymous) 2020-10-06 06:55 pm (UTC)(link)
i'm glad i found the entry because this explains a lot. thank you.
trobadora: (Dude - where's my LJ? by just_like_rogue)

[personal profile] trobadora 2020-10-06 07:04 pm (UTC)(link)
Pretty sure mine is Core2, and cut-tag expansion is still broken when I'm logged out and therefore the "temporarily revert" option doesn't apply. I do think it does have to do with the imported-from-LJ style, though.
trobadora: (Default)

[personal profile] trobadora 2020-10-06 07:37 pm (UTC)(link)
Like I said, it works when I'm logged in and the "revert" option applies, but I can tell it's broken otherwise because the cut tags won't expand when I'm logged out. (I was already on the beta "revert" option.)

My style is Punqin Elegant, yes, but someone updated it for core2 at one point. I just checked my layers, and I even still have a core1 Punqin Elegant layer in there, but the one I'm using says "Child of layer 550: Dreamwidth S2 Core, v2".
trobadora: (Default)

[personal profile] trobadora 2020-10-06 07:52 pm (UTC)(link)
Maybe the update carried something over that is also carrying over the brokenness?

Yeah, it must have. I wish I knew how to figure out what it is. *sighs*
trobadora: (Default)

[personal profile] trobadora 2020-10-06 08:16 pm (UTC)(link)
Oh! That looks helpful, except I don't understand enough about the code to know how to apply that ...
trobadora: (Default)

[personal profile] trobadora 2020-10-06 08:31 pm (UTC)(link)
I copied the whole style in case my fiddling breaks anything, and tried just that. It compiled without error, but other than slightly changing the margins on my journal it did nothing immediately visible. No effect on the cut tags.

Thank you for trying!
out_there: B-Day Present '05 (Default)

[personal profile] out_there 2020-10-06 09:47 pm (UTC)(link)
Thanks for this. I had a look yesterday and couldn't figure out why keeping to a very basic standard style wasn't working, and then looking this morning, I suddenly noticed the little arrows next to the cut so it shows on the main page.

(Either this wasn't showing before and changing styles and coming back made it appear, or... I've been clicking on the wrong place for cut-tags for who knows how long. Either way, it's a cool option to have now.)
rosefox: Green books on library shelves. (Default)

[personal profile] rosefox 2020-10-07 03:37 am (UTC)(link)
I hand-coded my style something like 18 years ago (my 20th LJversary is next March, wow) and I love it and will keep it until the end of time. So thank you. :)
thenewbuzwuzz: converse on tree above ground (Default)

[personal profile] thenewbuzwuzz 2020-10-07 07:49 pm (UTC)(link)
Thank you!
hah, no wait, I thought I had this problem but actually don't. Well, thank you anyway!
Edited 2020-10-07 19:54 (UTC)