每天起床口苦口臭是什么原因| 血钙是什么意思| 睾丸突然疼痛什么原因| 肺部结节灶是什么意思啊| 头出汗多是什么原因| 性质是什么意思| 肩胛骨麻麻的什么原因| 便秘挂什么科| kipper什么意思| 田宅宫代表什么| 美人尖是什么| 尿里面有血是什么原因| 医学检验是干什么的| 什么其不什么| 闪光眼是什么症状| 祭坛是什么意思| 睡醒后腰疼是什么原因| 三马念什么| 身体冒虚汗什么原因| 蛇为什么会咬人| 心电轴右偏是什么意思| 缺失是什么意思| 白粉虱用什么药| 太抽象了是什么意思| 上呼吸道感染吃什么消炎药| 为什么很多人不去庐山| 肺慢阻是什么情况| 嫉妒是什么意思| 腿弯后面疼是什么原因| 冬枣是什么季节的水果| 疟疾是什么病| 刀子嘴豆腐心什么意思| 姓贾的男孩取什么名字好| 雪梨百合炖冰糖有什么功效| 四级军士长是什么级别| 梦见大白菜是什么意思| 尿素高不能吃什么| 卫生棉条是什么| 梦见被蛇追着咬是什么意思| 什么叫做光合作用| 1962年属什么生肖| 奔是什么生肖| 姓什么的人最多| 戴玉对身体有什么好处| 蛇盘疮什么原因引起的| HPV高危亚型52阳性什么意思| 胃不好的人适合吃什么水果| 玻尿酸是什么| 食品级pp材质是什么| 四次元是什么意思啊| 梦见一个人死了是什么意思| 黄疸高是什么原因| 男同性恋叫什么| 黄豆炒什么好吃| category是什么意思| 廉洁奉公是什么意思| 做梦梦到对象出轨是什么意思| 高血压吃什么好降压快| 月什么人什么| 脱髓鞘是什么病| 男朋友生日送什么礼物| 傍家儿是什么意思| 水杨酸是什么| 叶酸有什么好处| 吃什么药可以自杀| kj是什么单位| 司空见惯什么意思| 喝酒后头晕是什么原因| 莫代尔是什么面料| 3p什么意思| 什么是活检检查| 西咪替丁是什么药| 什么是工作性质| 循环利息是什么意思| 辩驳是什么意思| 为什么啊| 大腿内侧疼痛什么原因| 米放什么不生虫子| k3是什么意思| 什么是静脉曲张| 脚心发痒是什么原因| 喰种是什么意思| 五月二十四是什么星座| 乙肝表面抗体定量偏高什么意思| 内伤湿滞什么意思| 6月30日是什么日子| 医院脱毛挂什么科| 脚长水泡是什么原因| 10月24是什么星座| 唇上有痣代表什么| grace什么意思| 重阳节是什么生肖| 道德经适合什么人看| 一九六三年属什么生肖| 尿隐血是什么问题| 每天吃松子有什么好处| 菩提萨婆诃是什么意思| 补肾壮阳吃什么药效果好| 初潮什么意思| 11月30号什么星座| 马帮是什么意思| 天那水是什么| 金先读什么| zoe是什么意思| 肝内低密度灶是什么意思| AX是什么意思| 牙齿有裂纹是什么原因| 为什么会出现眼袋| 农历3月3是什么节日| 明矾和白矾有什么区别| 六八年属什么生肖| 拔牙后喝酒有什么危害| 什么鱼不能吃脑筋急转弯| 优甲乐什么时候吃最好| 心脾两虚是什么意思| 负利率是什么意思| 生粉和淀粉有什么区别| 过敏有什么症状表现| 天庭饱满是什么意思| 送产妇什么礼物最合适| 什么人容易得红斑狼疮| 为什么冰箱冷藏室会结冰| 献血浆有什么好处| 嘴唇有黑斑是什么病| 赤脚走路有什么好处| 淋巴发炎挂什么科| 梦见自己在洗澡是什么意思| 到底是什么| 骨扫描是检查什么| 合掌是什么意思| 会车是什么| mri检查是什么意思| 宝宝入盆有什么感觉| 痛风急性发作期吃什么药| 脾胃不好挂什么科| 不撞南墙不回头是什么意思| 阳历10月是什么星座| mrt是什么意思| 世界上最多的动物是什么| 虫草是什么| 病毒性咳嗽吃什么药好| 什么是居间费| 格桑花什么时候开花| 代表什么| 黄发指什么| 手上的纹路代表什么| 牛鞭是什么部位| 虚荣心是什么意思| 鸡蛋价格为什么这么低| 上海九院是什么医院| 镜面人是什么意思| 爬山是什么意思| 慢性胃炎要吃什么药| 太监和宫女对食是什么意思| 头脑简单是什么生肖| 经期吃榴莲有什么好处和坏处| 鼻塞有脓鼻涕吃什么药| 新茶是什么意思| 葡萄籽什么牌子效果好| 什么的沙滩| 病毒性感冒什么症状| 红颜什么意思| 见性成佛是什么意思| 甲鱼和乌龟有什么区别| 吃什么可以降血压| 6月初三是什么日子| 发量多的女生适合什么发型| 物色什么意思| 中暑什么感觉| 女生喝红牛有什么影响| 王八羔子是什么意思| 冬天吃什么水果| 2型糖尿病吃什么药降糖效果好| 拔牙后吃什么食物| 体检报告都检查什么| 心率过快有什么危害| 氯化钾是什么东西| 朗格手表什么档次| 淋巴结肿吃什么消炎药| 妲己是什么生肖| 为什么会肚子疼| 菊花茶喝多了有什么坏处| 高考都考什么| 下巴长痘痘是什么原因引起的| 黑加京念什么| 喝咖啡不能吃什么食物| 血小板低是什么原因引起的| 沅字五行属什么| 蹲不下去是什么原因| 凤凰代表什么生肖| 高原反应有什么症状| 舌苔厚白吃什么药| 结石排出来是什么感觉| 肝小钙化灶是什么意思| 想吃甜食是身体缺什么| 74年出生属什么生肖| 为什么同房过后会出血| 突厥是现在的什么地方| 90年出生属什么生肖| 上午右眼皮跳什么预兆| 梦见妖魔鬼怪是什么意思| 怪是什么意思| 碳14呼气试验阳性是什么意思| 略施小计是什么动物| ab型血生的孩子是什么血型| 为什么近视不可逆| 运是什么结构| 棉絮是什么意思| 白血病有什么征兆| 结膜炎用什么药| 不着相是什么意思| 鱼在鱼缸底部不动为什么| 为什么会长汗斑| 腮腺炎是什么原因引起的| 经常咳嗽是什么病| 头疼恶心吃什么药| kms是什么药| 尿维生素c阳性是什么意思| 属马的跟什么属相最配| 螨虫咬了是什么样子| 木菠萝什么时候成熟| 尿隐血阳性什么意思| 手脚肿胀是什么原因引起的| 月指什么生肖| 36周岁属什么| 颧骨高适合什么发型| 三七花泡水喝有什么功效| 有点拉肚子吃什么药| 医学上cr是什么意思| 糖尿病人吃什么| 眼压是什么意思| h是什么牌子的皮带| 珠颈斑鸠吃什么| 你喜欢什么| art什么意思| 试金石是什么意思| 数字是什么意思| 生育保险是什么| 什么是有氧运动和无氧运动| 什么为笑| k字开头是什么车| 老年人吃什么水果对身体好| venes保温杯是什么品牌| 鸟牌是什么牌子的衣服| mrmrs是什么牌子| 急性肠胃炎吃什么水果| abc是什么| 胆囊结石需要注意什么| 什么的长江| 迎春花像什么| dw是什么牌子| 智商130算什么水平| 13层楼房有什么说法吗| 按摩脚底有什么好处| wink是什么意思| 吃什么可以软化肝脏| 山穷水尽疑无路是什么生肖| 哈密瓜什么时候成熟| 蛇胆疮是什么引起的| 竟然是什么意思| 查血常规挂什么科| 过敏嘴唇肿是什么原因| 肾的主要功能是什么| 蛋白粉什么时候吃最好| 百度Jump to content

人类社会迎来剧变期,新商业领袖们在思考什么?

From mediawiki.org
MediaWiki extensions manual
Cargo
Release status: stable
Implementation Special page , API , Parser function
Description An extension that allows for the storage and querying of data contained within templates.
Author(s) Yaron Koren <yaron57@gmail.com> (Yaron Korentalk)
Latest version 3.8.2 (July 2025)
Compatibility policy Master maintains backward compatibility.
MediaWiki 1.40+
Database changes Yes
Composer mediawiki/cargo
Tables cargo_tables
cargo_pages
cargo_backlinks
License GNU General Public License 2.0 or later
Download
Example A page containing various calls to #cargo_query
  • $wgCargoFileDataColumns
  • $wgCargoDrilldownLargestFontSize
  • $wgCargoDecimalMark
  • $wgCargoDefaultStringBytes
  • $wgCargoAllowedSQLFunctions
  • $wgCargoMaxVisibleHierarchyDrilldownValues
  • $wgCargoDrilldownSmallestFontSize
  • $wgCargoHideNamespaceName
  • $wgCargoMaxQueryLimit
  • $wgCargoDefaultMapService
  • $wgCargoStoreUseTemplateArgsFallback
  • $wgCargoPageDataColumns
  • $wgCargoIgnoreBacklinks
  • $wgCargoDigitGroupingCharacter
  • $wgCargoDefaultQueryLimit
  • $wgCargoDrilldownNumRangesForNumbers
  • $wgCargo24HourTime
  • $wgCargoLegacyNullLuaFieldsAsEmptyString
  • $wgCargoTablesPrioritizeReplacements
  • $wgCargoRecurringEventMaxInstances
  • $wgCargoDrilldownUseTabs
  • $wgCargoDrilldownMinValuesForComboBox
  • $wgCargoMapClusteringMinimum
  • recreatecargodata
  • deletecargodata
  • runcargoqueries
Translate the Cargo extension
Issues Open tasks · Report a bug
百度 现在非公企业里,愿意入党的越来越多,申请入党的越来越年轻、学历越来越高,听党课听得也越来越专注了!”官渡区“两新”党工委副书记张玉龙说。

Cargo is an extension to MediaWiki that provides a lightweight way to store and query the data contained within the calls to templates, such as infoboxes. It is similar in concept to the Semantic MediaWiki extension, but offers a number of advantages, including ease of installation and ease of use.

Cargo stores all its data in database tables, which can be placed in either MediaWiki's own database (the default) or a separate database. For the most part, each stored template gets its data stored in a single DB table, with a column for each relevant template parameter. There are a few exceptions to this: the handling of template fields that hold arrays/lists of values, and of fields that hold geographical coordinates, is more complex, due to poor native handling of those data types in most DB systems. And multiple templates can be set to all store their data in one DB table.

The extension defines a number of parser functions; these three are the most important:

  • #cargo_declare - placed within the ‎<noinclude> part of a template; it defines the schema for a table.
  • #cargo_store - stores one row to a Cargo table; usually placed within the ‎<includeonly> part of a template.
  • #cargo_query - queries one or more Cargo data tables, using SQL components.

The other defined parser functions are:

  • #cargo_attach - defines a template as adding rows to a table declared elsewhere.
  • #cargo_compound_query - displays the results of multiple queries in one place.
  • #cargo_display_map - displays a map showing a single point.
  • #recurring_event - prints out the dates for a recurring event; for use by #cargo_store.

Cargo also defines various interfaces for viewing and drilling down through this stored data. As such, it adds the following special pages:

  • Special:CargoQuery
  • Special:CargoTableDiagram
  • Special:CargoTables
  • Special:Drilldown

Cargo has been tested, and works, with the MySQL and PostgreSQL database systems. In theory, it also supports SQLite, but it has not been well-tested with SQLite and may not work.

This version of the Cargo extension requires MediaWiki 1.40+.

Click through the pages in the navigation bar above to learn more about Cargo, how it works, how to use it, and how to install it.

Installation

[edit]

See Download and Installation .

Configuration

[edit]

Below are Cargo's global configuration settings along with their default values.

To configure Cargo to use a separate database instead of the MediaWiki database, the following settings are provided:

Separate database configuration settings
Setting Default Description
$wgCargoDBtype null Database type.
$wgCargoDBserver null Host name or IP address of database server.
$wgCargoDBname null Name of the database.
$wgCargoDBuser null Database username.
$wgCargoDBpassword null The password for $wgCargoDBuser.
$wgCargoDBprefix null Database table name prefix.
$wgCargoDBRowFormat null Data base row format.

For character configuration as related to numbers, the following configuring settings are provided:

Character configuration settings
Setting Default Description
$wgCargoDecimalMark . Decimal character for numbers.
$wgCargoDigitGroupingCharacter , Thousands digit separator.

The remaining global configuration settings are as follows:

Setting Default Description
$wgCargoAllowedSQLFunctions [] Sets allowed SQL functions. See Using SQL Functions for defaults.
$wgCargoRecurringEventMaxInstances 100 The number of max instances to store for recurring events with no set end date.
$wgCargoDefaultStringBytes 300 The default number of characters for fields of type Page, String, Wikitext string, File, URL, Email
$wgCargoDefaultQueryLimit 100 Number of results to show for #cargo_query if no limit is set
$wgCargoMaxQueryLimit 5000 The maximum allowed number of results for #cargo_query
$wgCargo24HourTime false If true uses 24-hour time for Datetime field types.
$wgCargoDefaultMapService OpenLayers Sets the default map service to Google Maps, if set to googlemaps, to Leaflet if set to leaflet, and to OpenLayers if set to openlayers.
$wgCargoGoogleMapsKey null API key for Google Maps, for the googlemaps display format.
$wgCargoMapClusteringMinimum 80 If the number of map points displayed is greater than the value of $wgCargoMapClusteringMinimum, the map displays the locations in "clusters" instead of individual points, for readability. If set to a very high number, does not display clustering.
$wgCargoDrilldownUseTabs true Displays Special:Drilldown table names as tabs at the top instead of a vertical list at the side.
$wgCargoDrilldownSmallestFontSize
If set to a positive number, sets the smallest font size, in pixels, for a tag-cloud-style display of filter values.
$wgCargoDrilldownLargestFontSize
If set to a positive number, sets the largest font size, in pixels, for a tag-cloud-style display of filter values.
$wgCargoDrilldownMinValuesForComboBox 40 Sets the minimum number of values before their display is converted to a combo box, instead of individual links.
$wgCargoDrilldownNumRangesForNumbers 5 For fields/filters of type Integer or Float, specifies the number of "buckets" into which values are divided.
$wgCargoMaxVisibleHierarchyDrilldownValues 30 If set to a positive integer, specifies the maximum number of values shown at a time for any hierarchy field (All the top-level values are shown irrespective of this value). The values are hidden beyond a certain depth of the hierarchy such that the count of total visible values is at most this number.
$wgCargoTablesPrioritizeReplacements false If true, all tables having a replacement appear at the top of the Special:CargoTables page, instead displaying them in alphabetical order.
$wgCargoPageDataColumns [] The set of fields to store in the _pageData Cargo table. See Storing page data .
$wgCargoFileDataColumns [] The set of fields to store in the _fileData Cargo table. See Storing file data .
$wgCargoHideNamespaceName [6] Array of namespaces to hide from query results.
$wgCargoLegacyNullLuaFieldsAsEmptyString false Null results to the Lua Cargo query function should return as string rather than nil. This allows you to rollback a breaking change from early 2022. New wikis created after this time should not enable this.
$wgCargoStoreUseTemplateArgsFallback true Enable the behavior that looks for template arguments that match the template's declared table to fill columns.

See also

[edit]
吃鹰嘴豆有什么好处 紫罗兰色是什么颜色 高铁上不能带什么东西 栉风沐雨什么意思 屈髋是什么姿势
岍是什么意思 奇花异草的异是什么意思 腹泻可以吃什么食物 在什么情况下最容易怀孕 盆腔钙化灶是什么意思
高风亮节是什么意思 乌冬面是什么面 郡肝是什么部位 甲亢属于什么科室 杀马特什么意思
血口喷人是什么意思 慢性非萎缩性胃炎伴糜烂吃什么药 苦瓜有什么营养 梦见狗是什么意思 海清是什么意思
身份证号最后一位代表什么hcv8jop3ns8r.cn 左眉毛跳是什么预兆hcv7jop4ns8r.cn 经常头晕是什么原因hcv8jop8ns4r.cn 经常出汗是什么原因hcv7jop9ns2r.cn C反应蛋白高是什么原因hcv8jop0ns2r.cn
癔症是什么意思xjhesheng.com 牛骨煲汤搭配什么最好zhiyanzhang.com 乙基麦芽酚是什么hcv7jop6ns1r.cn 德艺双馨是什么意思bysq.com 精子对女性有什么好处helloaicloud.com
大便秘结是什么原因hcv9jop7ns2r.cn 自闭症是什么原因引起hcv9jop3ns5r.cn 4岁小孩流鼻血是什么原因hcv7jop9ns9r.cn 非甾体抗炎药是什么意思hcv8jop4ns1r.cn 吃黑豆有什么好处和坏处hcv8jop9ns2r.cn
猫咪有泪痕是什么原因hcv9jop3ns0r.cn 胚胎生化是什么意思hcv7jop5ns2r.cn 冬虫虫念什么kuyehao.com o型血的人是什么性格hcv8jop8ns2r.cn 梦见小猪仔什么意思hcv9jop5ns8r.cn
百度