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 @res_turl1 = '[https://en.wikipedia.org/w/rest.php/v1/page/'; SET @res_turl2 = ' /w/rest.php/v1/page/'; SELECT page_title AS Title, concat(@res_turl1, page_title,'/history', @res_turl2, page_title, ']') AS Rest_URL FROM page WHERE page_namespace = 0 AND page_title REGEXP ':[1-9]{1,}$' LIMIT 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...