BookManager v2: Invalidate navbar cache when JSON is edited
completed by: Mayank Madan
mentors: Andre Klapper, Quim Gil, Raylton P. Sousa
Bug 52343 - Invalidate navbar cache when JSON is edited
If you are creating the navigation bar in php; that means it gets cached for logged out users; which means that you would have to invalidate all constituent pages in a book every time the json changes This can be done using Title::makeTitle(1, 'foo')->purgeSquid()
Find the details in the bug report above. You can also ask any questions there, where not only GCI mentors but also the maintainers of the application can help you.
Background:
https://www.mediawiki.org/wiki/Extension:BookManager
https://git.wikimedia.org/summary/?r=mediawiki/extensions/BookManagerv2.git
Students are required to read Wikimedia's general instructions first. Patches should be submitted to Gerrit and reference the bug report in the commit message.