Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Encyclopedia:Database queries
Project page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{nutshell |shortcut1=WP:DQ |shortcut2=WP:SQL |Queries can be run against the Wikipedia database in a variety of ways.}} == Overview == Much of the data that makes up the Wikipedia encyclopedia is stored in a [[SQL database]]. It can sometimes be useful to run queries against this database to extract information that is otherwise hard to find. For example: * Articles with ''H.M.S.'' in their title that have not been edited for 12 months. * [[WP:Redirect|Redirects]] with fewer than 20 incoming links that redirect to [[WP:Category|categories]] * All [[WP:Red link|red links]] on pages within the scope of a particular [[WP:WikiProject|WikiProject]] Many simple queries can be run directly using the tools built into the [[MediaWiki]] package used by Wikipedia. Some of the most popular and useful queries are run regularly and can be found at [[Wikipedia:Database reports]]. If neither of these suits your query, you can [[Wikipedia:Request a query|request]] that someone run a query for you, or download your own copy of the database to work on. == Using the MediaWiki tools == Some queries can be satisfied through the MediaWiki interface: * [http://en.wikipedia.org/w/index.php?title=Special:Search&search=&fulltext=Search&profile=advanced&redirs=1 Search in advanced mode] * [[Special:PrefixIndex|All pages with prefix]] * [[Special:CategoryTree|Category tree]] * [[mw:API|MediaWiki API]] (see [[Special:ApiSandbox]]) == Queries that are already run regularly == Useful queries that are regularly run can be found at: * [[Special:SpecialPages]] * [[Wikipedia:Database reports]] * [[Wikipedia:Statistics]] And many other places. == Run a query == All Wikipedians have the ability to run queries on a copy of the live database on the [[WP:Wikimedia Cloud Services|Wikimedia Cloud VPS]] called [//quarry.wmflabs.org/ Quarry]. == Request a query == * [[Wikipedia:Request a query]] == See also == *[[wikitech:Nova Resource:Tools/Tools/Query service]]
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Template used on this page:
Template:Nutshell
(
edit
)
Search
Search
Editing
Encyclopedia:Database queries
Add topic