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