Errata
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted By | Date submitted | Date corrected |
---|---|---|---|---|---|
Printed | Page 79 Line 4 (first code example) |
The pipe symbol in this line, between "Article" and "Article", should be Roman, not italics. |
Daniel J. Barrett |
Oct 14, 2008 | Jan 17, 2014 |
Printed | Page 124 & 278 Where Dynamic Page List is first mentioned on both pages |
The extension DynamicPageList (DPL) is mentioned but there are two extensions by that name: (1) DynamicPageList (Wikimedia) and (2) DynamicPageList (third-party). Note from the Author or Editor: |
Niklas Patrick Nordlof | Oct 06, 2010 | Jan 17, 2014 |
Printed | Page 127 First example on that page |
The example has one too many brackets. This is the text in the book: Note from the Author or Editor: |
Niklas Patrick Nordlof | Oct 06, 2010 | Jan 17, 2014 |
Printed | Page 204 "Case sensitivity" paragraph |
A cross-reference is missing. The incorrect text currently reads: |
Daniel J. Barrett | Apr 14, 2014 | |
Printed | Page 233 Second code sample |
This example does let superheroes edit in the Headquarters namespace, but it goes too far and also gives them all the abilities of sysops via the "editinterface" right. To fix this problem, replace the last five lines of code: |
Daniel J. Barrett |
Dec 21, 2008 | Jan 17, 2014 |
Page 258 towards the middle of the page |
The statement Note from the Author or Editor: |
Anonymous | Apr 04, 2009 | Jan 17, 2014 | |
Printed | Page 259 1rst paragraph |
"edit MediaWiki:Site notice" Note from the Author or Editor: |
popol0909 | Apr 21, 2010 | Jan 17, 2014 |
Printed | Page 280 Last line |
The book says that all extension code in the chapter can be downloaded and gives a book address, but there is no link at that address for the extension code. Is there some other location where we can get a link to this code? Note from the Author or Editor: |
Gary Anderson | Mar 02, 2009 | Jan 17, 2014 |
Printed | Page 285 First and second bullet items |
The first and second bullet items on the page are identical. They both read, "Defining global PHP variables ( $wg... ) that control your extension." One bullet item should be deleted. Note from the Author or Editor: |
Daniel Barrett | Nov 14, 2017 | |
Printed | Page 290 Example 15-2 |
In the definition of function ufUserVariable_Magic(), the second parameter, $langID , is passed by reference with an ampersand. However, in more recent versions of mediaWiki (I tried the code in Mediawiki 15.3) the second parameter must not be passed by reference - if you do, you get an error message and the wiki execution stops. Note from the Author or Editor: |
Anonymous | Jul 26, 2012 | Jan 17, 2014 |
Printed | Page 295 Example 15-5, function render() |
In trying example 15-5 with MediaWiki 15.3, I discovered that the example shows the 3rd parameter is passed by reference. This prevents the function from executing. Removing the & from the parameter making it pass by value allows the code to work in this version of MediaWiki. Two pages later, example 15-7 on page 297 correctly passes this parameter by value. Note from the Author or Editor: |
Anonymous | Jul 26, 2012 | Jan 17, 2014 |
Printed | Page 298 The very end |
The final paragraph should end with this additional sentence, if it will fit: Note from the Author or Editor: |
Daniel J. Barrett |
Nov 18, 2008 | Jan 17, 2014 |
Printed | Page 304 code at bottom of page |
In the construct method, the call is made to Note from the Author or Editor: |
Gary Anderson | Oct 24, 2010 | Jan 17, 2014 |
Printed | Page 321 Just before the last paragraph |
The database name is missing in the following line: Note from the Author or Editor: |
popol0909 | Apr 21, 2010 | Jan 17, 2014 |
Page 328 Example 16-2 |
Example 16-2 uses the class 'SecureLoginPage' from Example 16-3. Note from the Author or Editor: |
Anonymous | Mar 28, 2009 | Jan 17, 2014 | |
Printed | Page 335 Index listing |
These two index entries under Symbols: |
Daniel J. Barrett |
Oct 21, 2008 | Jan 17, 2014 |