For faster navigation, this Iframe is preloading the Wikiwand page for Module:AutoWikiBrowser.

Module:AutoWikiBrowser

 Documentation[voir] [modifier] [historique] [purger]

Ce module est utilisé pour mettre en forme la liste des utilisateurs et utilisatrices autorisés à utiliser AutoWikiBrowser (AWB). Cette liste est affichée dans Wikipédia:AutoWikiBrowser/CheckPage et les données sont issues de Wikipédia:AutoWikiBrowser/CheckPageJSON.

Utilisation

Fonctions exportables

  • getList( frame ) – Le frame doit contenir le paramètre group valant enabledusers (utilisateurs autorisés à utiliser AWB) ou enabledbots (bots autorisés à utiliser AWB). La fonction retourne le wikicode pour afficher la liste des membres de ce groupe.

Modules externes et autres éléments dont ce module a besoin pour fonctionner

local p = {}

function p.getList( frame )
    local success, data = pcall( mw.loadJsonData, 'Wikipédia:AutoWikiBrowser/CheckPageJSON' )
    if not success then
        return 'Erreur Lua : ' .. data
    end

    -- "enabledusers" ou "enabledbots"
    local group = frame.args.group
    if not group then
        return 'Paramètre « group » non renseigné'
    end
    if not data[ group ] then
        return 'Groupe non trouvé : ' .. group
    end

    local lis = {}
    for i, item in ipairs( data[ group ] ) do
        lis[ i ] = '* ' .. frame:expandTemplate{ title = 'u', args = { item } }
    end

    return table.concat( lis, '\n' )
end

return p
{{bottomLinkPreText}} {{bottomLinkText}}
Module:AutoWikiBrowser
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?