MediaWiki:Gadget-statementSort.js

From Wikidata
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/*
 * From [[User:Soulkeeper/statementSort.js]]
 * CC BY-SA 3.0
*/
function sortMyStatements(so) {
	var ii, $sk = $('.wikibase-listview').filter(':first');
	if ($sk.length > 0) {
		$sk.css({'display':'none'});
		for (ii=so[0].length-1; ii>-1; ii--) {
			$sk.children('#P'+so[0][ii]).prependTo($sk).addClass('sstotop');
		}
		$sk.css({'display':'block'});
	}
	return;
}
function defaultOrderOfStatements() {
	// Move statements to top
	var toTop = [
		// Classification
		31, // instance of
		279, // subclass of
		361, // part of	
		136, // genre
		452, // industry
		18, // image
		154, // logo image
		10, // video
		571, // inception

		// People
		21, // sex or gender
		27, // country of citizenship
		1532, // country for sport
		945, // allegiance
		1477, // birth name
		1559, // name in native language
		2562, // married name
		735, // given name
		734, // family name
		1950, // second surname in Spanish name
		2358, // Roman praenomen
		2359, // Roman nomen gentilicium
		2365, // Roman cognomen
		2366, // Roman agnomen
		1635, // religious name
		1787, // art-name
		1782, // courtesy name
		2838, // professional name (Japan)
		1785, // temple name
		1786, // posthumous name
		742, // pseudonym
		835, // author citation (zoology)
		569, // date of birth
		19, // place of birth
		1636, // date of baptism in early childhood
		570, // date of death
		20, // place of death
		1196, // manner of death
		509, // cause of death
		157, // killed by
		119, // place of burial
		1442, // image of grave
		746, // date of disappearance
		22, // father
		25, // mother
		43, // stepfather
		44, // stepmother
		3373, // sibling
		26, // spouse
		451, // partner
		40, // child
		1971, // number of children
		1038, // relative
		1039, // type of kinship
		1290, // godparent
		103, // native language
		1412, // languages spoken, written or signed
		1321, // place of origin (Switzerland)
		66, // ancestral home
		2842, // place of marriage
		2632, // place of detention
		1399, // convicted of
		106, // occupation
		101, // field of work
		108, // employer
		425, // field of this occupation
		39, // position held
		2715, // elected in
		768, // electoral district
		413, // position played on team / speciality
		53, // noble family
		97, // noble title
		2962, // title of chess player

		// Biology
		225, // taxon name
		105, // taxon rank
		171, // parent taxon
		1843, // taxon common name
		1420, // taxon synonym
		1403, // original combination
		694, // replaced synonym (for nom. nov.)
		566, // basionym
		1353, // original spelling
		1135, // nomenclatural status
		2743, // this zoological name is coordinate with
		427, // taxonomic type
		405, // taxon author
		697, // ex taxon author
		2433, // gender of a scientific name of a genus
		574, // date of taxon name publication
		1531, // parent(s) of this hybrid
		183, // endemic to
		2827, // flower color
		783, // hymenium type
		784, // mushroom cap shape
		785, // hymenium attachment
		786, // stipe character
		787, // spore print color
		788, // mushroom ecological type
		789, // edibility
		3063, // gestation period
		3253, // optimum viable temperature
		3251, // minimum viable temperature
		3252, // maximum viable temperature
		1703, // is pollinated by
		1704, // is pollinator of
		1672, // this taxon is source of
		3036, // precipitation height
		627, // IUCN-ID
		141, // IUCN conservation status
		814, // IUCN protected areas category
		1425, // ecoregion (WWF)

		// Non-person entities
		2561, // name
		1448, // official name
		1705, // native label
		1449, // nickname
		1813, // short name
		1814, // name in kana
		138, // named after
		1810, // named as
		1549, // demonym
		112, // founder
		169, // chief executive officer
		1789, // chief operating officer
		2828, // corporate officer
		1037, // manager/director
		488, // chairperson
		505, // general manager
		1075, // rector
		37, // official language
		135, // movement
		85, // anthem
		2596, // culture
		1546, // motto
		1451, // motto text
		30, // continent
		17, // country
		1376, // capital of
		36, // capital
		131, // located in the administrative territorial entity
		276, // location
		206, // located next to body of water
		376, // located on astronomical body
		706, // located on terrain feature
		708, // diocese
		1336, // territory claimed by
		3179, // territory overlaps
		501, // enclave within
		500, // exclave of
		625, // coordinate location
		1334, // coordinate of easternmost point
		1332, // coordinate of northernmost point
		1333, // coordinate of southernmost point
		1335, // coordinate of westernmost point
		1259, // coordinates of the point of view
		2148, // distance from river mouth
		610, // highest point
		1589, // deepest point
		122, // basic form of government
		1313, // office held by head of government
		1906, // office held by head of state
		6, // head of government
		35, // head of state
		797, // authority
		209, // highest judicial authority
		467, // legislated by
		194, // legislative body
		208, // executive body
		530, // diplomatic relation
		463, // member of
		2462, // member of the deme
		114, // airline alliance
		2124, // membership
		113, // airline hub
		832, // public holiday
		1001, // applies to territorial jurisdiction
		2098, // substitute/deputy/replacement of office/officeholder

		2998, // age of candidacy
		2999, // age of consent
		2997, // age of majority
		3000, // marriageable age
		3001, // retirement age
		2841, // age of onset

		286, // head coach
		634, // captain
		118, // league
		115, // home venue

		1027, // conferred by
		2422, // number of awards

		2643, // Carnegie Classification of Institutions of Higher Education
		2392, // teaching method
		2196, // students count

		2567, // amended by
		2568, // repealed by
		2058, // depositor

		// Work of art
		1476, // title
		357, // (OBSOLETE) title (use P1476, "title")
		1680, // subtitle
		1574, // exemplar of
		144, // based on
		179, // series
		921, // main subject
		747, // edition(s)
		629, // edition or translation of
		393, // edition number
		2507, // corrigendum / erratum
		170, // creator
		1773, // attributed to
		1774, // workshop of
		1775, // follower of
		1776, // circle of
		1777, // manner of
		1778, // forgery after
		1779, // possible creator
		1780, // school of
		1877, // after a work by
		50, // author
		2093, // author name string
		2680, // author of afterword
		2679, // author of foreword
		655, // translator
		175, // performer
		767, // contributor(s) to the subject
		98, // editor
		123, // publisher
		264, // record label
		291, // place of publication
		495, // country of origin
		577, // publication date
		2936, // language used
		2439, // language
		407, // language of work or name
		737, // influenced by
		364, // original language of work
		793, // significant event
		272, // production company
		750, // distributor
		57, // director
		58, // screenwriter
		161, // cast member
		725, // voice actor
		1431, // executive producer
		162, // producer
		344, // director of photography
		1040, // film editor
		2554, // production designer
		3174, // art director
		2515, // costume designer
		3092, // film crew member
		86, // composer
		87, // librettist
		676, // lyrics by
		2438, // narrator
		736, // cover artist
		110, // illustrator
		1809, // choreographer
		3080, // game artist
		872, // printed by
		1640, // curator
		88, // commissioned by
		825, // dedicated to
		547, // commemorates
		941, // inspired by
		942, // theme music
		826, // tonality
		1625, // has melody
		51, // audio
		989, // spoken text audio
		990, // audio recording of the subject's spoken voice
		528, // catalog code
		870, // instrumentation
		1191, // first performance
		406, // soundtrack album
		840, // narrative location
		915, // filming location
		2635, // number of parts of a work of art
		2047, // duration
		1104, // number of pages
		2208, // average shot length
		1725, // beats per minute
		2061, // aspect ratio
		462, // color
		1458, // color index
		465, // sRGB color hex triplet
		2551, // used metre
		929, // color space
		444, // review score
		1411, // nominated for
		2453, // nominee
		166, // award received
		2142, // box office
		2130, // cost
		2769, // budget
		2291, // charted in
		1441, // present in work
		1434, // describes the fictional universe
		1080, // from fictional universe
		1445, // fictional universe described in
		1074, // fictional analog of
		2563, // superhuman feature or ability
		674, // characters
		180, // depicts
		2913, // date depicted
		1432, // b-side
		2681, // is recto of
		2682, // is verso of
		1639, // pendant of
		1922, // first line
		3132, // last line
		3030, // sheet music
		2279, // ambitus
		195, // collection
		608, // exhibition history
		1881, // list of characters
		1811, // list of episodes
		658, // tracklist
		2437, // number of seasons
		1113, // number of episodes
		2860, // cites

		// Personal details
		3150, // birthday
		69, // educated at
		803, // professorship
		512, // academic degree
		812, // academic major
		811, // academic minor
		1026, // doctoral thesis
		184, // doctoral advisor
		185, // doctoral student
		802, // student
		1066, // student of
		511, // honorific prefix
		1035, // honorific suffix
		263, // official residence
		551, // residence
		937, // work location
		2031, // work period (start)
		2032, // work period (end)
		1317, // floruit
		1416, // affiliation
		450, // astronaut mission
		102, // member of political party
		54, // member of sports team
		470, // Eight Banner register
		3205, // patient of
		155, // follows
		156, // followed by
		1366, // replaced by
		1365, // replaces
		748, // appointed by
		1576, // lifestyle
		172, // ethnic group
		140, // religion
		611, // religious order
		1598, // consecrator
		411, // canonization status
		841, // feast day
		550, // chivalric order
		1049, // worshipped by
		2925, // domain of saint or deity
		109, // signature
		1543, // monogram
		1340, // eye color
		1884, // hair color
		2048, // height
		2067, // mass
		1853, // blood type
		1050, // medical condition
		91, // sexual orientation
		1429, // has pet
		1345, // number of victims made by killer
		859, // sponsor
		641, // sport
		2416, // sports discipline competed in
		1000, // record held
		2415, // personal best
		1352, // ranking
		1087, // Elo rating
		564, // singles record
		555, // doubles record
		2443, // stage reached
		552, // handedness
		741, // playing hand
		423, // shooting handedness
		2545, // bowling style
		2095, // co-driver
		1327, // professional or sports partner
		647, // drafted by
		1836, // draft pick number
		1618, // sport number
		1642, // acquisition transaction
		1643, // departure transaction
		1344, // participant of
		2873, // time in space
		410, // military rank
		598, // commander of
		607, // conflict
		241, // military branch
		412, // voice type
		1731, // Fach
		1303, // instrument
		1455, // list of works
		358, // discography
		1283, // filmography
		800, // notable work
		485, // archives at

		// Economy
		1082, // population
		1540, // male population
		1539, // female population
		150, // contains administrative territorial entity
		1383, // contains settlement
		2046, // area
		2927, // water as percent of area
		2044, // elevation above sea level
		38, // currency
		489, // currency symbol description
		2131, // nominal GDP
		2132, // nominal GDP per capita
		2299, // PPP GDP per capita
		1689, // central government debt as a percent of GDP
		2403, // total assets
		2133, // total debt
		2137, // total equity
		2402, // total expenditure
		2135, // total exports
		2136, // total imports
		2138, // total liabilities
		2134, // total reserves
		2139, // total revenue
		2294, // balance of trade
		2220, // household wealth
		2232, // cash
		2141, // foreign direct investment net inflow
		2140, // foreign direct investment net outflow
		1304, // central bank
		562, // central bank/issuer
		1081, // Human Development Index
		1198, // unemployment rate
		2297, // employment by economic sector
		1831, // electorate
		1879, // income classification (Philippines)
		190, // sister city
		740, // location of formation
		127, // owned by
		1028, // donated by
		749, // parent organization
		355, // subsidiary
		199, // business division
		2652, // partnership with
		159, // headquarters location
		1885, // cathedral
		1454, // legal form
		1128, // employees
		2292, // consumption rate
		2662, // consumption rate per capita
		1817, // addressee
		47, // shares border with
		421, // located in time zone
		2579, // studied by
		457, // foundational text
		2989, // has grammatical case
		3161, // has grammatical mood
		3103, // has tense
		2587, // has phoneme
		282, // writing system
		1406, // script directionality
		134, // has dialect
		1018, // language regulatory body
		1098, // number of speakers
		1999, // UNESCO language status
		424, // Wikimedia language code

		2441, // literal translation
		2440, // transliteration
		1721, // pinyin transliteration
		1942, // McCune-Reischauer romanization
		2125, // Revised Hepburn romanization
		2001, // Revised Romanisation
		2126, // Georgian national system of romanization
		2719, // Hungarian-style transcription

		// Events
		585, // point in time
		580, // start time
		582, // end time
		2257, // frequency of event
		837, // day in year for periodic occurrence
		2894, // day of week
		1427, // start point
		2825, // via
		1444, // destination point
		1534, // end cause
		664, // organizer
		823, // speaker
		967, // guest of honor
		542, // officially opened by
		543, // oath made by
		1734, // oath of office date
		3022, // flag bearer
		545, // torch lit by
		710, // participant
		1923, // participating teams
		2318, // debut participant
		1346, // winner
		1652, // referee
		1110, // attendance
		1132, // number of participants
		1590, // number of casualties
		1561, // number of survivors
		1446, // number of missing
		1339, // number of injured
		1120, // number of deaths
		1674, // number confirmed
		1675, // number probable
		1676, // number suspected
		2320, // aftershocks
		3081, // damaged
		3082, // destroyed
		2532, // lowest atmospheric pressure
		2127, // International Nuclear Event Scale
		2528, // Richter magnitude scale
		2527, // moment magnitude scale
		2784, // Mercalli intensity scale
		2895, // maximum sustained winds
		2630, // cost of damage
		3157, // event distance
		765, // surface played on
		2502, // classification of
		2321, // general classification
		2417, // stage classification
		2105, // size of team at finish
		2103, // size of team at start
		1591, // defendant
		1620, // plaintiff
		1593, // defender
		1592, // prosecutor
		1594, // judge
		1840, // investigated by
		1595, // charge
		1437, // plea
		828, // has cause
		1478, // has immediate cause
		1542, // cause of
		1536, // immediate cause of

		// Space flights
		1876, // vessel
		375, // space launch vehicle
		137, // operator
		1029, // crew member
		3015, // backup or reserve team or crew
		1202, // carries scientific instrument
		448, // location of spacecraft launch
		546, // docking port
		1158, // location of landing
		619, // time of spacecraft launch
		622, // spacecraft docking/undocking date
		621, // time of spacecraft orbit decay
		620, // time of spacecraft landing
		1418, // orbits completed

		// Science
		61, // discoverer or inventor
		575, // time of discovery
		189, // location of discovery
		65, // site of astronomical discovery
		1046, // discovery method
		246, // element symbol
		274, // chemical formula
		117, // chemical structure

		59, // constellation
		196, // minor planet group
		399, // companion of
		398, // child astronomical body
		397, // parent astronomical body
		2243, // apoapsis
		2244, // periapsis
		2248, // argument of periapsis
		2285, // periapsis date
		2570, // Saros cycle of eclipse
		1090, // redshift
		1145, // Lagrangian point
		2583, // distance from Earth
		1102, // flattening
		2051, // M sin i
		522, // type of orbit
		1096, // orbital eccentricity
		2045, // orbital inclination
		2146, // orbital period
		2147, // rotation period
		2211, // position angle
		2212, // angular distance
		2213, // longitude of ascending node
		2214, // parallax
		2215, // proper motion
		2216, // radial velocity
		2325, // mean anomaly
		881, // type of variable star
		215, // spectral class
		223, // galaxy morphological type
		744, // asteroid family
		1016, // asteroid taxonomy
		720, // asteroid spectral type
		1215, // apparent magnitude
		2060, // luminosity
		1457, // absolute magnitude
		2224, // spectral line
		1227, // astronomical filter
		2227, // metallicity
		2221, // flux

		1086, // atomic number
		1148, // neutron number
		2200, // electric charge
		2201, // electric dipole moment
		2055, // electrical conductivity
		1108, // electronegativity
		2056, // heat capacity
		2066, // fusion enthalpy
		2068, // thermal conductivity
		1123, // parity
		1097, // g-factor
		2222, // gyromagnetic ratio
		1122, // spin quantum number
		1126, // isospin quantum number
		1127, // isospin z-component
		2069, // magnetic moment
		2160, // mass excess
		2075, // speed of sound
		816, // decays to
		817, // decay mode
		2223, // decay width
		2114, // half-life
		2645, // mean lifetime
		2154, // binding energy
		2260, // ionization energy
		1121, // oxidation state
		3070, // dynamic viscosity
		922, // magnetic ordering
		1109, // refractive index
		2808, // wavelength

		515, // phase of matter
		873, // phase point
		2101, // melting point
		2102, // boiling point
		2107, // decomposition point
		2113, // sublimation temperature
		2116, // enthalpy of vaporization
		2117, // combustion enthalpy
		2118, // kinematic viscosity
		2119, // vapor pressure
		2128, // flash point
		2129, // IDLH
		1117, // pKa
		3078, // standard enthalpy of formation
		3071, // standard molar entropy
		2993, // partition coefficient water/octanol
		3013, // surface tension
		2145, // explosive energy equivalent
		2202, // lower flammable limit
		2203, // upper flammable limit
		2231, // explosive velocity
		2204, // minimum explosive concentration
		2199, // autoignition temperature
		1295, // emissivity

		2404, // time-weighted average exposure limit
		2407, // short-term exposure limit
		2405, // ceiling exposure limit
		2406, // maximum peak exposure limit
		2542, // acceptable daily intake
		2710, // minimal lethal concentration
		2300, // minimal lethal dose
		2712, // median lethal concentration
		2240, // median lethal dose

		2152, // antiparticle
		2375, // has superpartner
		2376, // superpartner of
		517, // interaction

		534, // streak color
		538, // fracturing
		565, // crystal habit
		2156, // Pseudo crystal habit
		556, // crystal system
		589, // point group
		690, // space group
		693, // cleavage
		1088, // Mohs' hardness
		2155, // solid solution series with

		728, // GHS hazard statement
		940, // GHS precautionary statements
		1033, // GHS signal word
		994, // NFPA Fire
		993, // NFPA Health
		877, // NFPA Other
		995, // NFPA Reactivity

		// Math
		1181, // numeric value
		2534, // defining formula
		2370, // conversion to SI unit
		2442, // conversion to standard unit
		2384, // statement describes
		2159, // solves
		1568, // domain
		1851, // input set
		1571, // codomain
		2396, // image of function
		1322, // dual to
		1164, // cardinality of the group
		2820, // cardinality of this set
		3263, // base
		3264, // radix
		3228, // Schläfli symbol
		1678, // has vertex figure
		1312, // has facet polytope
		2577, // admissible rule in
		1171, // approximation algorithm

		// Medicine
		703, // found in taxon
		689, // afflicts
		1995, // medical specialty
		780, // symptoms
		923, // medical examinations
		924, // medical treatment
		2176, // drug used for treatment
		1924, // vaccine for
		1909, // side effect
		2175, // medical condition treated
		2239, // first aid measures
		1537, // contributing factor of
		769, // significant drug interaction
		1060, // pathogen transmission process
		927, // anatomical location
		2286, // arterial supply
		2329, // antagonist muscle
		3189, // innervated by
		3190, // innervates
		702, // encoded by
		688, // encodes
		1917, // posttranslational modification association with
		3094, // develops from
		970, // neurological function
		925, // presynaptic connection
		926, // postsynaptic connection
		928, // activating neurotransmitter
		1913, // gene duplication association with
		1914, // gene insertion association with
		1915, // gene inversion association with
		1916, // gene substitution association with
		2293, // genetic association
		1057, // chromosome
		2143, // genome size
		2548, // strand orientation
		659, // genomic assembly
		644, // genomic start
		645, // genomic end
		680, // molecular function
		681, // cell component
		682, // biological process
		129, // physically interacts with
		1910, // decreased expression in
		1912, // deletion association with
		2854, // disease burden
		1918, // altered regulation leads to
		1604, // biosafety level
		660, // EC classification

		// Hardware, engineering
		176, // manufacturer
		1716, // brand
		1071, // location of final assembly
		2079, // fabrication method
		606, // first flight
		880, // CPU
		2560, // GPU
		2928, // memory capacity
		1141, // number of processor cores
		1041, // sockets supported
		2149, // clock speed
		2150, // FSB speed
		2157, // lithography
		739, // ammunition
		520, // armament
		1002, // engine configuration
		624, // guidance system
		588, // coolant
		516, // powerplant
		1211, // fuel system
		2109, // power output
		2935, // connector
		1100, // number of cylinders
		1078, // valvetrain configuration
		1210, // supercharger
		1221, // compressor type
		1247, // compression ratio
		1637, // undercarriage
		1654, // wing configuration
		2050, // wingspan
		2112, // wing area
		2978, // wheel arrangement
		3039, // wheelbase
		2073, // vehicle range
		1956, // takeoff and landing capability
		2430, // takeoff roll
		1470, // maximum glide ratio
		2362, // time to altitude
		2254, // maximum operating altitude
		2217, // cruise speed
		878, // avionics
		2556, // bore
		2557, // stroke
		2957, // throughput
		2791, // power consumed
		2797, // sound power level
		2806, // vibration
		2151, // focal length
		2010, // Exif make
		2009, // Exif model
		1092, // total produced
		2197, // production rate
		2664, // units sold

		// Software
		1845, // anti-virus alias
		178, // developer
		943, // programmer
		287, // designer
		400, // platform
		2599, // block size
		1072, // readable file format
		1073, // writable file format
		3033, // package management system
		408, // software engine
		1414, // GUI toolkit or framework
		404, // game mode
		479, // input device
		437, // distribution
		1032, // Digital Rights Management system
		277, // programming language
		1547, // depends on software
		1372, // binding of software library
		1324, // source code repository
		2992, // software quality assurance
		1401, // bug tracking system
		2377, // MediaWiki hooks used
		348, // software version
		751, // introduced feature
		756, // removed feature
		2379, // deprecated in version
		2078, // user manual link

		// Media content ratings
		3156, // Australian Classification 
		2629, // BBFC rating        
		853, // CERO rating
		3216, // ClassInd rating          
		2758, // CNC film rating 
		2756, // EIRIN film rating          
		852, // ESRB rating
		2747, // Filmiroda rating         
 		1981, // FSK film rating  
		916, // GSRR rating         
		3306, // ICAA rating          
		2684, // Kijkwijzer rating
		1657, // MPAA film rating
		2363, // NMHH film rating
		908, // PEGI rating        
		2637, // RARS rating
		914, // USK rating
		2899, // minimum age

		// Constructions
		289, // vessel class
		84, // architect
		149, // architectural style
		186, // material used
		3158, // enclosure
		1619, // date of official opening
		729, // service entry
		730, // service retirement
		2669, // discontinued date
		576, // dissolved or abolished
		770, // cause of destruction
		1398, // structure replaces
		167, // structure replaced by
		193, // main building contractor
		631, // structural engineer
		504, // home port
		2261, // beam
		2262, // draft
		366, // use
		466, // occupant
		177, // crosses
		2674, // next crossing downstream
		2673, // next crossing upstream
		2505, // carries
		3032, // adjacent building
		197, // adjacent station
		1192, // connecting service
		81, // connecting line
		795, // distance along
		2198, // average gradient
		2595, // maximum gradient
		1064, // track gauge
		3019, // railway signalling system
		834, // train depot
		2923, // focal height
		2929, // lighthouse range
		1030, // light characteristic of a lighthouse
		3041, // luminous intensity
		1083, // maximum capacity
		1101, // floors above ground
		1139, // floors below ground
		1301, // number of elevators
		1103, // number of platform tracks
		2351, // number of graves
		1314, // number of spans
		2787, // longest span
		2793, // clearance
		1436, // collection or exhibition size
		1174, // visitors per year
		1373, // daily ridership
		2555, // fee
		2851, // payment types accepted
		3025, // open days
		3026, // closed on
		3027, // open period from
		3028, // open period to
		912, // has facility
		931, // place served by airport
		521, // scheduled service destination
		2848, // Wi-Fi
		2846, // wheelchair accessibility
		2817, // appears in the heritage monument list

		// Addressing
		969, // located at street address
		669, // located on street
		670, // street number
		2918, // PO Box
		281, // postal code
		1329, // phone number
		2893, // Skype username
		2900, // fax number
		968, // e-mail

		// Web
		856, // official website
		1581, // official blog
		2699, // URL
		1065, // archive URL
		1019, // feed URL
		963, // streaming media URL
		1325, // external data available at
		553, // website account on
		554, // website username
		2035, // LinkedIn personal profile URL
		2572, // Twitter hashtag

		// Bodies of water
		885, // origin of the watercourse
		403, // mouth of the watercourse
		974, // tributary
		469, // lakes on river
		200, // lake inflows
		201, // lake outflow
		205, // basin country
		2225, // discharge
		2053, // watershed area
		3020, // residence time of water
		1548, // maximum Strahler number

		// Names
		1750, // name day
		2976, // patronym or matronym
		1533, // family name identical to this first name
		1560, // given name version for other gender

		// Elections
		541, // office contested
		991, // successful candidate
		726, // candidate
		2964, // right to vote
		2319, // elector
		1867, // eligible voters
		1868, // ballots cast
		1111, // votes received
		1697, // total valid votes

		// Images
		242, // locator map image
		1943, // location map
		1944, // relief location map
		1621, // detail map
		163, // flag
		41, // flag image
		237, // coat of arms
		94, // coat of arms image
		418, // seal description
		158, // seal image
		2238, // official symbol
		367, // astronomic symbol image
		181, // taxon range map image
		14, // highway marker
		15, // route map
		1846, // distribution map
		2713, // sectional view
		207, // bathymetry image
		491, // orbit diagram
		692, // Gene Atlas Image
		2716, // collage image
		948, // Wikivoyage banner
		2910, // icon
		2425, // service ribbon image
		1766, // place name sign
		1801, // commemorative plaque image
		2343, // playing range image
		996, // scanned file on Wikimedia Commons
		3096, // KML file
		2677, // relative position within image

		1622, // driving side
		3086, // speed limit
		2884, // mains voltage
		2853, // electrical plug type
		2872, // tourist office

		// (Mostly) alphabetical
		2665, // alcohol by volume
		790, // approved by
		2821, // by-product
		2822, // by-product of
		2094, // competition class
		2789, // connects with
		2012, // cuisine
		2702, // dataset distribution
		2054, // density
		1299, // depicted by
		2795, // directions
		1269, // facet of
		2371, // FAO risk status
		2656, // FIFA World Ranking
		2701, // file format
		3087, // fiscal/tax revenue
		868, // foods traditionally associated
		1137, // fossil found in this unit
		1402, // Foundational Model of Anatomy ID
		3084, // freedom of panorama
		2144, // frequency
		953, // full text available at
		2839, // gait
		1673, // general formula
		796, // geo datum
		487, // Unicode character
		2565, // global-warming potential
		2597, // Gram staining
		2591, // grammatical option indicates
		1093, // gross tonnage
		2974, // habitat
		1479, // has contributing factor
		1660, // has index case
		2354, // has list
		1605, // has natural reservoir
		1552, // has quality
		2868, // has role
		1435, // heritage status
		1897, // highest note
		1898, // lowest note
		16, // highway system
		1165, // home world
		2444, // homoglyph
		1762, // Hornbostel-Sachs classification
		2975, // host
		579, // IMA status and/or rank
		2553, // in work
		678, // incertae sedis
		2844, // incidence
		1911, // increased expression in
		1677, // index case of
		2341, // indigenous to
		2834, // individual tax rate
		1279, // inflation rate
		1684, // inscription
		1068, // instruction set
		2360, // intended public
		833, // interchange station
		2650, // interested in
		514, // interleaves with
		1951, // investor
		433, // issue
		2378, // issued by
		121, // item operated
		2564, // Köppen climate classification
		2919, // label in sign language
		2521, // female form of label
		1079, // launch contractor
		3014, // laws applied
		2499, // league level above
		2500, // league level below
		3195, // league points system
		1031, // legal citation of this text
		2043, // length
		275, // license
		1408, // licensed to broadcast to
		2250, // life expectancy
		1456, // list of monuments
		3018, // located in protected area
		1356, // losses
		2718, // lowest-observed-adverse-effect level
		2288, // lymphatic drainage
		1034, // main food source
		92, // main regulatory text
		126, // maintained by
		1557, // manifestation of
		2226, // market capitalization
		822, // mascot
		1390, // match time of score (minutes)
		1357, // matches/games drawn/tied
		2228, // maximum thrust
		1880, // measured by
		111, // measured physical quantity
		2575, // measures
		1163, // media type
		1347, // military casualty classification
		798, // military designation
		1872, // minimum number of players
		1873, // maximum number of players
		1199, // mode of inheritance
		2634, // model
		2807, // molar volume
		2296, // money supply
		2922, // month of the year
		612, // mother house
		3091, // mount
		2813, // mouthpiece
		1129, // national team caps
		1611, // NATO code for grade
		561, // NATO reporting name
		2374, // natural abundance
		1582, // natural product of taxon
		1606, // natural reservoir of
		2295, // net profit
		2790, // net tonnage
		2218, // net worth estimate
		2717, // no-observed-adverse-effect level
		913, // notation
		1603, // number of cases
		1538, // number of households
		1099, // number of masts
		1350, // number of matches played
		2573, // number of out of school children
		1359, // number of points/goals conceded
		1351, // number of points/goals scored
		1833, // number of registered users/contributors
		1410, // number of representatives in an organization/legislature
		1342, // number of seats
		3173, // offers view on
		2388, // office held by head of the organisation
		1308, // officeholder
		3075, // official religion
		2361, // online service
		2541, // operating area
		306, // operating system
		461, // opposite of
		2389, // organisation directed from the office
		449, // original network
		684, // ortholog
		568, // overlies
		1830, // owner of
		304, // page(s)
		831, // parent club
		2937, // parliamentary term
		210, // party chief representative
		1962, // patron
		417, // patron saint
		1596, // penalty
		2348, // period
		1349, // ploidy
		2955, // point of penalty
		1358, // points for
		1363, // points/goal scored by
		1387, // political alignment
		1142, // political ideology
		1641, // port
		532, // port of registry
		3095, // practiced by
		371, // presenter
		2077, // pressure
		1193, // prevalence
		2284, // price
		2121, // prize money
		2849, // produced by
		1056, // product
		1389, // product certification
		2746, // production statistics
		2754, // production year
		2881, // promoted
		2700, // protocol
		1318, // proved by
		490, // provisional designation
		1393, // proxy
		2896, // publication interval
		1433, // published in
		3085, // qualifies for event
		2552, // quantitative metrical pattern
		1114, // quantity
		2324, // quantity buried
		416, // quantity symbol
		1683, // quote
		2781, // race time
		415, // radio format
		2120, // radius
		2386, // diameter
		2547, // perimeter
		2219, // real gross domestic product growth rate
		1194, // received signal type
		2869, // record or record progression
		483, // recorded at
		2550, // recording or performance of
		3093, // recovered by
		656, // RefSeq
		1150, // Regensburg Classification
		128, // regulates (molecular biology)
		2882, // relegated
		3148, // repeals
		2675, // reply to
		1471, // reporting mark
		1875, // represented by
		1268, // represents organisation
		2501, // results
		636, // route of administration
		529, // runway
		707, // satellite bus
		1752, // scale
		447, // score by
		1443, // score method
		958, // section, verse, or paragraph
		807, // separated from
		1545, // series ordinal
		2408, // set in period
		1419, // shape
		1354, // shown with features
		2546, // sidekick of
		1891, // signatory
		2177, // solubility
		1136, // solved by
		2178, // solvent
		618, // source of energy
		2770, // source of income
		2647, // source of material
		1480, // sourcing circumstances
		1201, // space tug
		3037, // spatial reference system
		1990, // species kept
		2052, // speed
		2512, // spin-off
		1482, // Stack Exchange tag
		1462, // standards body
		1932, // stated as
		2353, // statistical unit
		414, // stock exchange
		2578, // studies
		805, // subject of
		2414, // substrate of
		533, // target
		2661, // target interest rate
		2076, // temperature
		1558, // tempo marking
		524, // temporal range end
		523, // temporal range start
		2097, // term length of office
		559, // terminus
		1302, // primary destinations
		609, // terminus location
		1124, // TEU
		1993, // TeX string
		2229, // thermal design power
		2610, // thickness
		249, // ticker symbol
		2663, // tier 1 capital ratio (CETI)
		2911, // time gap
		1249, // time of earliest written record
		2907, // timezone offset
		78, // top-level internet domain
		2659, // topographic isolation
		2660, // topographic prominence
		3137, // parent peak
		2230, // torque
		2831, // totem
		1170, // transmitted signal type
		537, // twinning
		2695, // type locality
		930, // type of electrification
		2739, // typeface/font
		874, // UN class
		875, // UN code classification
		876, // UN packaging group
		2571, // uncertainty corresponds to
		567, // underlies
		2520, // UNESCO Biosphere Reserve url
		558, // unit symbol
		1656, // unveiled by
		1535, // used by
		2283, // uses
		3176, // uses property
		1264, // valid in period
		3005, // valid in place
		2289, // venous drainage
		548, // version type
		1887, // vice-county
		2522, // victory
		2436, // voltage
		478, // volume
		2234, // volume as quantity
		1878, // Vox-ATypI classification
		2049, // width

		// commons, categories, templates, lists, portals
		360, // is a list of
		935, // Commons gallery
		1472, // Commons Creator page
		1612, // Commons Institution page
		373, // Commons category
		1151, // topic's main Wikimedia portal
		1424, // topic's main template
		910, // topic's main category
		1200, // bodies of water basin category
		1792, // category of associated people
		1464, // category for people born here
		1465, // category for people who died here
		1791, // category of people buried here
		1740, // category for films shot at this location
		2033, // Category for pictures taken with camera
		2517, // category for recipients of this award
		1754, // category related to list
		301, // category's main topic
		971, // category combines topics
		1753, // list related to category
		1204, // Wikimedia portal's main topic
		1423, // template's main topic

		// Property documentation
		1647, // subproperty of
		1629, // subject item of this property
		2559, // Wikidata usage instructions
		1855, // Wikidata property example
		2271, // Wikidata property example for properties
		1630, // formatter URL
		3303, // third-party formatter URL
		1921, // RDF URL template
		2720, // embed URL template
		1793, // format as a regular expression
		1628, // equivalent property
		2236, // external subproperty
		2235, // external superproperty
		1696, // inverse of
		1896, // source website for the property
		1646, // mandatory qualifier
		2237, // units used for this property
		2876, // type of unit for this property
		2667, // corresponding template
		2875, // property usage tracking category
		2429, // expected completeness
		2668, // stability of property value
		2302, // property constraint
		2303, // exception to constraint
		2304, // group by
		2305, // qualifier of property constraint
		2306, // property
		2307, // namespace
		2308, // class
		2309, // relation
		2310, // min date
		2311, // max date
		2313, // min quantity
		2312, // max quantity
		2315, // comment
		2316, // constraint status
		3254, // Property proposal discussion
		1659, // see also

		// IDs and codes with type "string" instead of "external-id"
		2258, // mobile country code
		2259, // mobile network code
		473, // local dialing code
		474, // country calling code
		3238, // trunk prefix
		2852, // emergency phone number
		443, // pronunciation audio
		2633, // geography of topic
		2184, // history of topic
		973, // described at URL
		1343, // described by source
		2837, // Wikidata month number
		1687, // Wikidata property
		2803, // Wikidata time precision
		2410, // WikiPathways ID
		1957, // Wikisource index page
		1355, // wins
		1638, // working title
		2614, // World Heritage criteria (2005)
		1036, // Dewey Decimal Classification
		1125, // Gini coefficient
		898, // IPA transcription
		1692, // ICD-9-CM
		920, // LEM ID
		2540, // Aarne–Thompson–Uther Tale Type Index
		2179, // ACM Classification Code (2012)
		2786, // aerodrome reference point
		799, // Air Ministry specification ID
		426, // aircraft registration
		1661, // Alexa rank
		1348, // AlgaeBase URL
		2411, // Artsy gene
		820, // arXiv classification
		2322, // article ID
		1713, // biography at the Bundestag of Germany
		1162, // Bluebook abbreviation
		965, // burial plot reference
		2317, // call sign
		233, // canonical SMILES
		2017, // isomeric SMILES
		2357, // Classification of Instructional Programs code
		944, // Code of nomenclature
		2000, // CPDL ID
		2649, // Cycling Quotient url (mens team)
		468, // dan/kyu rank
		1240, // Danish Bibliometric Research Indicator level
		1769, // denkXweb identifier
		1257, // depicts Iconclass notation
		1588, // desa code of Indonesia
		591, // EC number
		2021, // Erdős number
		240, // FAA airport code
		1195, // file extension
		2802, // fleet or registration number
		3090, // flight number
		1905, // FundRef registry name
		1183, // Gewässerkennzahl
		1421, // GRIN URL
		3067, // GS1 country code
		593, // HomoloGene ID
		502, // HURDAT identifier
		229, // IATA airline designator
		238, // IATA airport code
		230, // ICAO airline designator
		239, // ICAO airport code
		667, // ICPC 2 ID
		1796, // International Standard Industrial Classification code Rev.4
		217, // inventory number
		1613, // IRC channel
		952, // ISCO occupation code
		791, // ISIL ID
		946, // ISIN
		2183, // ISO 9:1995
		2263, // ISOCAT id
		1438, // Jewish Encyclopedia ID (Russian)
		1077, // KOATUU identifier
		1149, // Library of Congress Classification
		395, // licence plate code
		1396, // Linguasphere code
		1991, // LPSN URL
		2979, // maritime identification digits
		1987, // MCN code
		1360, // Monte Carlo Particle Number
		1748, // NCI Thesaurus ID
		1931, // NIOSH Pocket Guide ID
		1820, // Open Food Facts food additive slug
		1282, // OpenStreetMap tag or key
		613, // OS grid reference
		2488, // page at Belarus Globe website
		2490, // page at OSTIS Belarus Wiki
		2744, // PASE name
		1461, // Patientplus ID
		879, // pennant number
		1112, // Pokédex number
		1685, // Pokémon browser number
		2364, // production code
		2676, // rating certificate ID
		1824, // road number
		1671, // route number
		1815, // RSL scanned book's identifier
		2658, // Scoville grade
		2233, // semi-major axis
		2598, // serial number
		296, // station code
		1945, // street key
		711, // Strunz 8th edition (series ID, updated)
		712, // Nickel-Strunz 9th edition (updated 2009)
		713, // Nickel-Strunz 10th (pending) edition
		1554, // UBERON ID
		1998, // UCI code
		897, // United States Army and Air Force aircraft designation
		847, // United States Navy aircraft designation
		1190, // Universal Decimal Classification
		2855, // VAT-rate
		1903, // volcanic explosivity index
		2275, // World Health Organisation International Nonproprietary Name
		2859, // X-SAMPA Code
		617, // yard number
		1161, // Z39.5 abbreviation

		//Classification (2)
		1709, // equivalent class
		2888, // exact match
		1382, // coincident with
		527, // has part
		2670, // has parts of the class
		3113, // does not have part
		2737, // union of
		2738, // disjoint union of
		2445, // metasubclass of
		1963, // properties for this type
		1889, // different from
		460, // said to be the same as
		2959, // permanent duplicated item

		//qualifier and source only
		143, // imported from
		248, // stated in
		792, // chapter
		813, // retrieved
		854, // reference URL
		887, // based on heuristic
		2960, // archive date

		453, // character role
		459, // determination method
		531, // diplomatic mission sent
		560, // direction
		654, // direction relative to location
		642, // of
		794, // as
		972, // catalog
		518, // applies to part
		1011, // excluding
		1012, // including
		1013, // criterion used
		1107, // proportion
		1310, // statement disputed by
		1319, // earliest date
		1326, // latest date
		1686, // for work
		1706, // together with
		2096, // media legend
		2210, // relative to
		2241, // reason for deprecation
		2352, // applies to taxon
		2836, // highest income threshold
		2835, // lowest income threshold
		2912, // distinctive jersey
		2916, // syntax clarification
		3149, // molecule conformation

		1450, // Sandbox Monolingual text
		368, // Sandbox-CommonsMediaFile
		626, // Sandbox-GeoCoordinateValue
		369, // Sandbox-Item
		2535, // Sandbox-Mathematical expression
		2368, // Sandbox-Property
		1106, // sandbox-quantity
		370, // Sandbox-String
		578, // Sandbox-TimeValue
		855, // Sandbox-URL
		null // dummy without a comma
	];
	// Clean up dummies
	if (toTop[toTop.length] === null) { toTop.pop(); }
	// Return arrays
	return [ toTop ];
}
$( function () {
	if ( mw.config.get( 'wgNamespaceNumber') === 0 ) {
		sortMyStatements(defaultOrderOfStatements());
	}
});