Skip to content

Commit a81d0e4

Browse files
authored
Merge pull request #353 from LokasWiki/revert-352-add-Normalize-MediaWiki-link-tables-(users_this_week)
Revert "Add normalize media wiki link tables (users this week)"
2 parents 1fee6c4 + cf66a45 commit a81d0e4

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

Normalize-MediaWiki-link-tables.md

Whitespace-only changes.

tasks/users_this_week/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,10 @@
1919
FROM user_groups
2020
INNER JOIN user ON user_id = ug_user
2121
WHERE ug_group = "bot")
22-
and actor_name not in (SELECT replace(lt_title, "_", " ")
23-
FROM pagelinks
24-
inner join linktarget ON lt_id = pl_target_id
25-
WHERE pagelinks.pl_from = 7352181
26-
AND lt_namespace = 2)
22+
and actor_name not in (SELECT replace(pl_title,"_"," ")
23+
FROM pagelinks
24+
where pagelinks.pl_from = 7352181
25+
and pl_namespace = 2)
2726
GROUP BY actor_name
2827
having COUNT(*) > 1
2928
ORDER BY score DESC,name

tasks/users_this_week/data.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,10 @@
3232
FROM user_groups
3333
INNER JOIN user ON user_id = ug_user
3434
WHERE ug_group = "bot")
35-
and actor_name not in (SELECT replace(lt_title, "_", " ")
36-
FROM pagelinks
37-
inner join linktarget ON lt_id = pl_target_id
38-
WHERE pagelinks.pl_from = 7352181
39-
AND lt_namespace = 2)
35+
and actor_name not in (SELECT replace(pl_title,"_"," ")
36+
FROM pagelinks
37+
where pagelinks.pl_from = 7352181
38+
and pl_namespace = 2)
4039
GROUP BY actor_name
4140
having COUNT(*) > 1
4241
ORDER BY score DESC,name

0 commit comments

Comments
 (0)