Follow TV Tropes

Following

Sinfest has restructred its linking system

Go To

dotchan Mind-Altering Substance from Locked in the Warner Water Tower Since: Jan, 2001 Relationship Status: THIS CONCEPT OF 'WUV' CONFUSES AND INFURIATES US!
Mind-Altering Substance
#1: Jul 17th 2014 at 7:19:25 AM

And pretty much all outbound links to Sinfest strips are broken as a result. I don't follow the comic so my solution would just be to remove said links (that way the links don't break again the next time this happens) rather than find the new link(s) but either way that's a lot of links to fix.

AnotherDuck No, the other one. from Stockholm Since: Jul, 2012 Relationship Status: Mu
No, the other one.
#2: Jul 17th 2014 at 7:54:55 AM

Considering how they've been changed on the work page, I think translating them doesn't seem impossible. I PMed the troper who made those changes for input.

Plainly removing links generally isn't the best solution.

Check out my fanfiction!
Willbyr Hi (Y2K) Relationship Status: With my statistically significant other
Hi
#3: Jul 17th 2014 at 9:23:32 AM

On trope pages, the examples should probably be moved to the discussion pages until the links can be fixed. The page itself is going to be a much more involved fix.

SeptimusHeap from Switzerland (Edited uphill both ways) Relationship Status: Mu
#4: Jul 17th 2014 at 9:25:22 AM

Actually, examples that don't need the link to work can be left alone, the link removed, changed or referenced in the discussion page. Examples that rely on the links ought to be expanded so that they don't rely on the link, commented out or removed per Weblinks Are Not Examples.

"For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled." - Richard Feynman
Sqrfrk Since: Sep, 2012
#5: Jul 17th 2014 at 11:23:30 AM

The linking system has changed but there is a 1:1 relationship between the old and new link format where increasing comic I Ds (old format) correspond to chronologically later dates (new format). I wrote up a script that will take in the full edit page with markups and transmogrify any valid comic links it finds into the newer format. The valid set of dates are gathered from sinfest.net.

I applied these changes to every trope page (links and icons) accessible from the main page, though if there's anything I'm missing then feel free to give me a note. Since the narrative presented by Sinfest happens mostly chronologically (requiring the actual data to be stored in a sane and logical order), I don't expect any new linking structure in the future to be difficult to automate.

Madrugada Zzzzzzzzzz Since: Jan, 2001 Relationship Status: In season
Zzzzzzzzzz
#6: Jul 17th 2014 at 12:17:31 PM

Wow, Sqrfrk, that's great! Thank you so very much![awesome][awesome][awesome][awesome]

Would you mind running it on all the wicks as well at your convenience? I know there are a lot of them, and I have no idea how many of them include links, but any that are links also need to be changed.

edited 17th Jul '14 12:20:44 PM by Madrugada

...if you don’t love you’re dead, and if you do, they’ll kill you for it.
SeptimusHeap from Switzerland (Edited uphill both ways) Relationship Status: Mu
#7: Jul 17th 2014 at 12:18:31 PM

The wicks need to be cleaned as well, though.

"For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled." - Richard Feynman
sqrfrk Since: Sep, 2012
#8: Jul 17th 2014 at 1:12:16 PM

Hum...this looks like an interesting afternoon problem! I'll see what I can whip up (short of slap chopping 1179 pages by hand), but it looks doable if the pmwiki editing API is accessible.

Fighteer Lost in Space from The Time Vortex (Time Abyss) Relationship Status: TV Tropes ruined my love life
Lost in Space
#9: Jul 17th 2014 at 1:21:28 PM

I'm certain that most of the wicks won't have external links. I would also caution you against trying to write any code against pmwiki's default API, since ours is rather torturously mangled from anything that would easily resemble the original.

edited 17th Jul '14 1:21:50 PM by Fighteer

"It's Occam's Shuriken! If the answer is elusive, never rule out ninjas!"
SeptimusHeap from Switzerland (Edited uphill both ways) Relationship Status: Mu
#10: Jul 17th 2014 at 1:26:44 PM

Fighteer, most wicks I did check (in a crudely made random sample) do include links. As for that fixing script, I would suggest to run it through the standard wiki edit interface, but make sure to throttle its editing speed if you do so.

"For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled." - Richard Feynman
Sqrfrk Since: Sep, 2012
#11: Jul 17th 2014 at 7:51:19 PM

I put together a scraper with automated editing that seems to be working, so it shouldn't be too much work adding the converter into this tool and just running through the list of wicks. I'll go ahead and make a run of it tomorrow morning. I apparently didn't have the foresight to bring my converter code home from the office sad

...don't mind the sandbox page *cough*

edited 17th Jul '14 7:57:49 PM by Sqrfrk

sqrfrk Since: Sep, 2012
#12: Jul 18th 2014 at 6:18:27 PM

Ran through the wicks and changed the links. Gunnerkrigg Court had some of its links clobbered due to an oversight on my part (who'd have guessed it uses the same linkage as Sinfest?) but I went ahead and fixed that.

Some minor text changes occurred due to encoding issues when pulling (non-ascii dashes converted to dashes, some non-ascii single quote marks converting to ascii or outright disappearing). I would have liked converting all text to utf-8 and forcing the browser to encode it like that, but I've read some posts stating that the pmwiki fork used came long before Unicode. Seeing as how some linkage would also look quite awkward with the browser encoding in utf-8, I tried to keep the changes as sane as possible.

Fighteer Lost in Space from The Time Vortex (Time Abyss) Relationship Status: TV Tropes ruined my love life
Lost in Space
#13: Jul 18th 2014 at 9:37:59 PM

There are some reports that your script messed up symbols on some articles. You might want to fix that. As noted, the codebase precedes UTF-8 and we've had this exact problem come up before.

"It's Occam's Shuriken! If the answer is elusive, never rule out ninjas!"
Sqrfrk Since: Sep, 2012
#14: Jul 19th 2014 at 1:39:07 AM

Fixed...latin-1 is magic.

blenderkin Since: May, 2013
#15: Aug 24th 2014 at 12:01:16 PM

Hey, sorry for bumping, but would you be willing to release some form of the script you used, Sqrfrk? I would find it extremely useful, not only to quickly fix any stray outdated links I found, such as one on InTheStyleOf, but in case I have any outdated sinfest links hanging around elsewhere.

dotchan Mind-Altering Substance from Locked in the Warner Water Tower Since: Jan, 2001 Relationship Status: THIS CONCEPT OF 'WUV' CONFUSES AND INFURIATES US!
Mind-Altering Substance
#16: Aug 15th 2016 at 9:09:23 PM

I hope you guys don't mind me turning this into an all-purpose "outbound link fixer-upper" mega-thread (I totally didn't think things through when creating the page originally): Brawl in the Family has also restructured its links such that the way it was done originally, it only points to the author's comments about a particular comic and not the comic itself.

edited 15th Aug '16 9:09:35 PM by dotchan

Irene Siiiiiiiiiiiip from Digital World Since: Aug, 2012 Relationship Status: The Skitty to my Wailord
Siiiiiiiiiiiip
#17: Aug 15th 2016 at 9:12:33 PM

If anything, just holler for a name change once you figured out what kind of cleanup thread it is. Also, this may be a case of having to talk to the authors of the comics. If they don't want their comic pages generally linked, we need to respect that. We can still trope the page, have a basic image of each character in their character pages, but that's not the same thing as literally linking their comics itself.

...It's weird having so many websites and no way to properly display now, lol.
dotchan Mind-Altering Substance from Locked in the Warner Water Tower Since: Jan, 2001 Relationship Status: THIS CONCEPT OF 'WUV' CONFUSES AND INFURIATES US!
Mind-Altering Substance
#18: Aug 15th 2016 at 9:19:21 PM

[up] Who do I holler to for this name change?

Irene Siiiiiiiiiiiip from Digital World Since: Aug, 2012 Relationship Status: The Skitty to my Wailord
Siiiiiiiiiiiip
#19: Aug 15th 2016 at 9:23:01 PM

It doesn't matter "who", you just simply press the yellow icon on any post in this thread. That lets you holler a post(essentially reporting it). You're basically letting the moderation know that you need the name changed to reflect the changes of this thread.

...It's weird having so many websites and no way to properly display now, lol.
dotchan Mind-Altering Substance from Locked in the Warner Water Tower Since: Jan, 2001 Relationship Status: THIS CONCEPT OF 'WUV' CONFUSES AND INFURIATES US!
Mind-Altering Substance
#20: Aug 18th 2016 at 5:40:53 PM

Also - Youtube links often end up dead because of a variety of reasons. Please police them regularly in the pages you watch.

Another one: Garfield

edited 18th Aug '16 6:04:15 PM by dotchan

dotchan Mind-Altering Substance from Locked in the Warner Water Tower Since: Jan, 2001 Relationship Status: THIS CONCEPT OF 'WUV' CONFUSES AND INFURIATES US!
Mind-Altering Substance
dotchan Mind-Altering Substance from Locked in the Warner Water Tower Since: Jan, 2001 Relationship Status: THIS CONCEPT OF 'WUV' CONFUSES AND INFURIATES US!
Mind-Altering Substance
#22: Sep 15th 2016 at 12:04:17 PM

Axe Cop has restructed at least its "Ask Axe Cop" section, if not the entire comic archive.

sqrfrk Since: Sep, 2012
#23: Oct 14th 2016 at 3:28:28 PM

Haven't explored any functionality to the ¿new? backend being used here. Is there an API available for use to automate link updates?

dotchan Mind-Altering Substance from Locked in the Warner Water Tower Since: Jan, 2001 Relationship Status: THIS CONCEPT OF 'WUV' CONFUSES AND INFURIATES US!
Mind-Altering Substance
#24: Oct 30th 2016 at 11:38:07 AM

[up] Your guess is as good as mine.

Meanwhile, more link restructuring reporting: Playing to Win, Sirlin's site about game strategy, has restructured.

Add Post

Total posts: 24
Top