Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Scribunto: An Introduction

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Scribunto: An Introduction is a book for people who want to learn how to program using Scribunto. Scribunto enables users to embed the Lua programming language into wikis that use MediaWiki, the software that powers Wikipedia. This book covers how to get started, basic programming techniques, and how to use some of the Lua libraries that are unique to Scribunto. It is aimed at beginners to programming, particularly those who have some familiarity with the MediaWiki software, but may also be useful to experienced programmers who are new to Scribunto. Contents /About/ Part One: Getting Started /Background/ /When to convert a template/ /Setting up/ /Your first module/ Part Two: Lua Basics /Numbers/ /Strings/ /Variables/ /Tables/ /Functions/ Part Three: Modules Using invoke /Arguments/ /Comments/ /Types/ /Branching/ /Looping/ /Scope/ Part Four: Common tasks /The parent frame/ /Creating long strings/ /String manipulation/ /Generating HTML/ /Table manipulation/ /Using other modules/ /Working with big data sets/ /Getting mathematical/ /Formatting dates/ Part Five: Writing Good Code /Don't repeat yourself/ Write for Lua and for invoke Part Six: Advanced Topics /Test cases/ /Localisation/ /Importing modules from other wikis/ /Object-oriented programming/ /Writing libraries/ Appendixes /Glossary/ /Resources/ Calculating SHA-2 in Scribunto: :Module:SHA2 Basic mw.svg example: Module:SVGClock __NOTOC__ Computer programming S 0%