User:Damian Yerrick/crosswick worksheet: Difference between revisions

update links
(crosswicking is done; two (YKT)TWs remain)
(update links)
 
(13 intermediate revisions by 2 users not shown)
Line 1:
During the last week of July 2014, a year and a half of changes made by [[User:Damian Yerrick|Damian Yerrick]] to the article [httphttps://tvtropes.org/pmwiki/pmwiki.php/Website/CRACKED Website/Cracked] on TV Tropes between June 2012 and November 2013 were extracted from [httphttps://tvtropes.org/pmwiki/article_history.php?article=Website.CRACKED&more=t the article's history on TV Tropes], integrated into the ''[[Cracked.com]]'' work page, and crosswicked in the respective trope pages.
Over the two following weeks, he [[Topic:Rzi9sg1bgk2h3cv0|tried to get help]] with fixing more than 500 pages mistakenly linking to ''[[Cracked]]'' (a magazine), but he ended up having to do [[Special:WhatLinksHere/Cracked|them]] himself.
Two tropes remain to be proposed at <s>YKT</s>[[Trope Workshop|TW]]:
Finally, he [[Trope Workshop|proposed]] two tropes on ATT that had been launched on TVT after the fork: [[Dumpster Dive]] and [[Box-and-Stick Trap]].
<!-- SQLite patterns used to explore low-hanging fruit
 
/* show relevant parts of schema */
* Box and Stick Trap: #13 of ''[[Cracked.com]]'''s Photoplasty [http://www.cracked.com/photoplasty_520_18-things-you-never-noticed-in-famous-pictures-part-2/ 18 Things You Never Noticed in Famous Pictures (Part 2)] takes Kevin Carter's Pulitzer-winning photo of a vulture stalking a crouching Sudanese child and adds a ray of hope by having the child bait a vulture into such a trap. A kid's gotta eat somehow.
select sql from sqlite_master where tbl_name in ('pages', 'links');
* Dumpster Dive: It's a way of life in Manshiyat Naser, whose residents live off Cairo's garbage, making it one of ''[[Cracked.com]]'''s [http://www.cracked.com/article_19590_the-6-weirdest-cities-people-actually-live-in.html The 6 Weirdest Cities People Actually Live In].
/* show [[cracked]].com and [[cracked|cracked.com]] */
select '*[['||title||']]' from pages
where lower(markup) like '%cracked]].com%' or lower(markup) like '%cracked|cracked.com%';
/* all subpages linking to Cracked */
select '*[['||pages.title||']]' from pages inner join links on pages.pageid = links.from_pageid
where links.manner = 'wick' and links.to_title = 'Cracked' and pages.title like '%/%';
/* I did a few hundred manually by going down SP:WLH/Cracked. Then I did research on how to get regexps working in Python sqlite
https://stackoverflow.com/a/5365533/2738262
and now I continue with the queries */
/* potholed inexact quotations (hard) */
select '*[['||title||']]' from pages
where lower(markup) like '%[[cracked|%'
/* [[Cracked]] in the same line as an outbound (easy) */
select '*[['||title||']]' from pages
where markup regexp '\[\[Cracked\]\].*cracked.com/'
or markup regexp 'cracked.com/.*\[\[Cracked\]\]'
 
-->