Module:MdCurrentFrame.lua/Documentation

Une page de Wikiversité.
Sauter à la navigation Sauter à la recherche

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, user: nil, content: Galilée, page: Galilée
    description: physicien, philosophe et astronome italien ( 1564 - 1642 )

    Flag of England.svg * used languages: user:⧼Lang⧽, content:fr, page:fr * Galileo.arp.300pix.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.35.0-wmf.1 (f8ed243) time=2018-12-20T17:20:46 ,
    • . Modules: Main module = Module:MWgetCurrentFrame , Proto version = Centralizer , Modules in this wiki = 376 ,
    • . 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 = 104 , Administrators(sysop) = 9 , bots(bot) = 9 , patrollers(patroller) = 60 , 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: 2019-10-15 20:42:05 UTC, url = https://fr.wikiversity.org/wiki/Module:MdCurrentFrame.lua/Documentation ,
    • Running times: start in page = 23 mS , import + 996 mS , form result + 0 mS , tests + 364 mS , duration = 1360 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, user: nil, content: Galilée, page: Galilée
      description: physicien, philosophe et astronome italien ( 1564 - 1642 )

      Flag of England.svg * used languages: user:⧼Lang⧽, content:fr, page:fr * Galileo.arp.300pix.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.35.0-wmf.1 (f8ed243) time=2018-12-20T17:20:46 ,
    • . Modules: Main module = Module:MWgetCurrentFrame , Proto version = Centralizer , Modules in this wiki = 376 ,
    • . 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 = 104 , Administrators(sysop) = 9 , bots(bot) = 9 , patrollers(patroller) = 60 , 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: 2019-10-15 20:42:07 UTC, url = https://fr.wikiversity.org/wiki/Module:MdCurrentFrame.lua/Documentation ,
    • Running times: start in page = 1386 mS , import + 773 mS , form result + 0 mS , tests + 389 mS , duration = 1163 mS ,