Last modified: 2011-03-19 19:12:33 UTC
Created attachment 8313 [details] fix As of r84179, each call to pageText function causes the list of chapters of the current book to be processed in loadListFromCollection. So, if (hypothetically) a page of a book have the code * {{PREVPAGENAME}} * {{PREVPAGENAME}} * {{PREVPAGENAME}} * {{NEXTPAGENAME}} * {{NEXTPAGENAME}} * {{NEXTPAGENAME}} the list of chapters will be parsed 8 times (one for each of the 2 navigation bars and another for each of the 6 uses of the magicwords). This is unnecessary since the list doesn't change while the user is in page of a specific book. The attached patch should fix this.
done in r84342