Scribunto: An Introduction
Appearance
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
[edit | edit source]Part One: Getting Started
[edit | edit source]Part Two: Lua Basics
[edit | edit source]Part Three: Modules
[edit | edit source]Part Four: Common tasks
[edit | edit source]- 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
[edit | edit source]Part Six: Advanced Topics
[edit | edit source]- Test cases
- Localisation
- Importing modules from other wikis
- Object-oriented programming
- Writing libraries
Appendixes
[edit | edit source]- Glossary
- Resources
- Calculating SHA-2 in Scribunto: Module:SHA2