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
Ammarpad
.
These titles contains a pattern that makes PHP's native parse_url() function to fail to parse urls that contain them (in relative form). More details at https://phabricator.wikimedia.org/T256831.
Toggle Highlighting
SQL
USE enwiki_p; SET @url = '[https://en.wikipedia.org/wiki/'; SET @rest_url = '[https://en.wikipedia.org/w/rest.php/v1/page/'; SET @rest_title = ' /w/rest.php/v1/page/'; SELECT concat( @url, page_title, ' ', page_title, ']') AS Title, concat(@rest_url, page_title,'/history', @rest_title, page_title, ']') AS Rest_URL FROM page WHERE page_namespace = 0 AND page_title REGEXP '[^0-9][^:]:{1}[1-9]{1,}$';
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...