Module:MdCurrentFrame.lua/Documentation

Une page de Wikiversité, la communauté pédagogique libre.

Ceci est la page de documentation pour Module:MdCurrentFrame.lua

Test the normal cases of mw.getCurrentFrame()[modifier le wikicode]

{{#invoke:MWgetCurrentFrame|{{{1|tests}}} |option="on" }}

  • ARGS.t=, CNT.t=modes.mode_name = tests , modes.options = nil ,
    (p.box_read)
    firstname: Galileo, sitelink: nil - Datas

    Labels in langs: Galileo.arp.300pix.jpg, Galileo by leoni.jpg, user: nil, content: Galilée, page: Galilée
    description: physicien, philosophe et astronome italien ( 1564 - 1642 )

    * used languages: user:⧼Lang⧽, content:fr, page:fr * Fichier:Galileo.arp.300pix.jpg, Galileo by leoni.jpg
    catview = Module with internal error
  • datas.default_item = Q307, datas.default_name = Q307
Centralizer 1.0.0(181227T22:44), content = fr , page = fr , user = ⧼Lang⧽ , - User manual - viewers.phab_task('T135845', 'Convert') - viewers.phab_task('T198107', 'Begin to use')
You must remove this documentation before recording.
Remove all modes to return to read mode.

  • Module:MWgetCurrentFrame err_args_final=nil
    QITEM = Q307 , title = Q307 , , (%1 properties);""
  • Arguments QITEM = Q307 , title = Q307 ,
  • Support on the parameters of this model:
    * Module with internal error
    * Module with internal error This module can translate 270 sentences into 7 languages: 282-brezhoneg(br=Breton), 234-Deutsch(de=German), 282-English(en=English), 283-español(es=Spanish), 283-français(fr=French), 246-magyar(hu=Hungarian), 282-Tiếng Việt(vi=Vietnamese),
  • Display : langs_main_i18n_languages_list and langs_list_MediaWiki_languages_title
  • viewers_section_title_page

    viewers_section_title_module

    • versions.running_times() Running times and references for Lua-coders.
    • Local MediaWiki version = 1.42.0-wmf.22 (bd76262) time=2018-12-20T17:20:46 ,
    • . Modules: Main module = Module:MWgetCurrentFrame , Proto version = Centralizer , Modules in this wiki = 380 ,
    • . Central module version: versionName = Centralizer , versionNumber = 1.0.0(181227T22:44) , versionDate = 2018-12-27T22:44:00 , taskDescription = enough advanced to use in CentralSchool OK ,
    • Users activities: activeUsers = 70 , Administrators(sysop) = 9 , bots(bot) = 9 , patrollers(patroller) = 72 , bureaucrats(bureaucrat) = 2 ,
    • Statistics on users and content mw mw:Special:ListGroupRights
    • Wivivi: In which language do you read Wikipedia?
    • Last revision: REVISIONTIMESTAMP = 20190212234652 , REVISIONUSER = Rical ,
    • Languages: PAGELANGUAGE = fr , CONTENTLANGUAGE = fr ,
    • User language: ⧼Lang⧽ = ⧼Lang⧽ , ⧼es⧽ = ⧼es⧽ , {{int:Lang}} = ⧼Lang⧽ , USERLANG = Modèle:USERLANG , UILANGCODE = Modèle:UILANGCODE , USERLANG = Modèle:USERLANG , USERLANGUAGE = Modèle:USERLANGUAGE , USERIFCODE = Modèle:USERIFCODE ,
    • Scribunto: , Extension:Scribunto Lua manual , version : = Lua 5.1 ,
    • Server mw.uri.new: protocol = nil , user = nil , password = nil , main_title = nil , label = nil , text = nil , host = fr.wikiversity.org , port = nil , path = /wiki/Module:MdCurrentFrame.lua/Documentation , query = nil , fragment = nil , userInfo = nil , hostPort = fr.wikiversity.org , authority = fr.wikiversity.org , queryString = nil , relativePath = /wiki/Module:MdCurrentFrame.lua/Documentation ,
    • Execution time and page: 2024-03-14 02:32:15 UTC, url = https://fr.wikiversity.org/wiki/Module:MdCurrentFrame.lua/Documentation ,
    • Running times: start in page = 26 mS , import + 1045 mS , form result + 0 mS , tests + 392 mS , duration = 1438 mS ,

    Test the bug cases where mw.getCurrentFrame() is nil[modifier le wikicode]

    nil has no value, like in Lua {{#invoke:MWgetCurrentFrame|{{{1|tests}}} |option=nil }}

    • ARGS.t=, CNT.t=modes.mode_name = tests , modes.options = nil ,
      (p.box_read)
      firstname: Galileo, sitelink: nil - Datas

      Labels in langs: Galileo.arp.300pix.jpg, Galileo by leoni.jpg, user: nil, content: Galilée, page: Galilée
      description: physicien, philosophe et astronome italien ( 1564 - 1642 )

      * used languages: user:⧼Lang⧽, content:fr, page:fr * Fichier:Galileo.arp.300pix.jpg, Galileo by leoni.jpg
      catview = Module with internal error
    • datas.default_item = Q307, datas.default_name = Q307
    Centralizer 1.0.0(181227T22:44), content = fr , page = fr , user = ⧼Lang⧽ , - User manual - viewers.phab_task('T135845', 'Convert') - viewers.phab_task('T198107', 'Begin to use')
    You must remove this documentation before recording.
    Remove all modes to return to read mode.

  • Module:MWgetCurrentFrame err_args_final=nil
    QITEM = Q307 , title = Q307 , , (%1 properties);""
  • Arguments QITEM = Q307 , title = Q307 ,
  • Support on the parameters of this model:
    * Module with internal error
    * Module with internal error This module can translate 270 sentences into 7 languages: 282-brezhoneg(br=Breton), 234-Deutsch(de=German), 282-English(en=English), 283-español(es=Spanish), 283-français(fr=French), 246-magyar(hu=Hungarian), 282-Tiếng Việt(vi=Vietnamese),
  • Display : langs_main_i18n_languages_list and langs_list_MediaWiki_languages_title
  • viewers_section_title_page

    viewers_section_title_module

    • versions.running_times() Running times and references for Lua-coders.
    • Local MediaWiki version = 1.42.0-wmf.22 (bd76262) time=2018-12-20T17:20:46 ,
    • . Modules: Main module = Module:MWgetCurrentFrame , Proto version = Centralizer , Modules in this wiki = 380 ,
    • . Central module version: versionName = Centralizer , versionNumber = 1.0.0(181227T22:44) , versionDate = 2018-12-27T22:44:00 , taskDescription = enough advanced to use in CentralSchool OK ,
    • Users activities: activeUsers = 70 , Administrators(sysop) = 9 , bots(bot) = 9 , patrollers(patroller) = 72 , bureaucrats(bureaucrat) = 2 ,
    • Statistics on users and content mw mw:Special:ListGroupRights
    • Wivivi: In which language do you read Wikipedia?
    • Last revision: REVISIONTIMESTAMP = 20190212234652 , REVISIONUSER = Rical ,
    • Languages: PAGELANGUAGE = fr , CONTENTLANGUAGE = fr ,
    • User language: ⧼Lang⧽ = ⧼Lang⧽ , ⧼es⧽ = ⧼es⧽ , {{int:Lang}} = ⧼Lang⧽ , USERLANG = Modèle:USERLANG , UILANGCODE = Modèle:UILANGCODE , USERLANG = Modèle:USERLANG , USERLANGUAGE = Modèle:USERLANGUAGE , USERIFCODE = Modèle:USERIFCODE ,
    • Scribunto: , Extension:Scribunto Lua manual , version : = Lua 5.1 ,
    • Server mw.uri.new: protocol = nil , user = nil , password = nil , main_title = nil , label = nil , text = nil , host = fr.wikiversity.org , port = nil , path = /wiki/Module:MdCurrentFrame.lua/Documentation , query = nil , fragment = nil , userInfo = nil , hostPort = fr.wikiversity.org , authority = fr.wikiversity.org , queryString = nil , relativePath = /wiki/Module:MdCurrentFrame.lua/Documentation ,
    • Execution time and page: 2024-03-14 02:32:16 UTC, url = https://fr.wikiversity.org/wiki/Module:MdCurrentFrame.lua/Documentation ,
    • Running times: start in page = 1465 mS , import + 938 mS , form result + 0 mS , tests + 379 mS , duration = 1317 mS ,