Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Pppery
.
Toggle Highlighting
SQL
use mediawikiwiki_p; select pl_from_namespace, concat("Special:Redirect/page/",pl_from), lt_title from pagelinks join linktarget on lt_id=pl_target_id join page on page.page_namespace=lt_namespace and page.page_title=lt_title join categorylinks on page_id=cl_from where cl_to="Archived_extensions" and pl_from_namespace %2 = 0 /* not talk page */ and pl_from_namespace not in (0, /* Extension Matrix lists many archived extensions*/ 2, /* User pages */ 4, /* Project: Support desk */ 1198 /* Translations */, 2600, /* Flow topics */ 6 /* Files are almost always demonstrations of archived extensions and can stay */) and lt_title != "Archived_extensions_without_an_oldid" /* Actually a subcat, not an extension */ and lt_title not like "Extension:Narayam%" /* Used in a template with lots of translations */ and pl_from not in (11527, /* Extension:Parser function extensions */ 197483, 20775, 8577, 8604, 13364, 965806, 994592, 29775, /* Navigation for archived extensions */ 67605, /* Choosing to leave [[Extension:Page Forms/Related extensions]] alone */ 25843, /* I don't speak Japanese! */ 38898, /* Extension:Usability Initiative is allowed to link to its archived successors */ 49197, /* [[Extension:Maps/Credits]] */ 351194 /* Extension:Wikibase quality extensions */) and (pl_from_namespace != 10 or lt_title not in ("MakeBot","Desysop")) /* Used as an example in [[Template:Extension]] */ and not exists (select 1 from page where page_id=pl_from and page_is_redirect=1) and not exists (select 1 from revision where rev_page=pl_from and rev_actor=(select actor_id from actor where actor_name="FuzzyBot")) -- crude attempt to exclude translated pages and not exists (select 1 from categorylinks where cl_to="Pages_kept_for_historical_interest" and cl_from=pl_from) -- Exclude historical pages limit 10000;
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...