User:Dantman/GE Extended/Existing Extensions

DynamicPageList (Upgraded)
Wikia does currently have the old DynamicPageList extension installed, but unfortunately it's missing some extreme key things for it's ability to be used in the project.

As detailed on Anime worlds the base of each anime's world is a dynamically generated index of all the article subpages about the anime. This requires one of two things to work, either the new DPL functions, or the SubPageList2 Extension. But since DPL is tested more, has better syntax, and more options which help to make the pages list correctly DPL is chosen over SPL. (Also note that while the trick to exclude deeper subpages using DPL does exclude non subpages which just contain a / in their name, SPL does not appear to test for existence of parents and thus would suffer the same glitch)

The idea of using DPL can be shown with an example. For this example the Nanoha Anime world on the Animepedia would use a bit of code like this:  namespace     = titleregexp   = ^Nanoha/ nottitleregexp = ^Nanoha/Tech(/|$) replaceintitle = /^Nanoha\//,  An explanation of what this does is this:
 * namespace is set to the (Main) namespace, and thus things in other such as Template would not show (This is because DPL forces us to specify a restriction but other namespaces aren't considered part of an anime's world anyways)
 * The titleregexp is a function which is new to the newer version of DPL and not included in the old system, using this a page will only be listed if it's title starts with Nanoha/ meaning only subpages of Nanoha will be listed.
 * nottitleregexp is also a new one which is only in the new DPL, this string excludes all pages which are either Nanoha/Tech, or a subpage of Nanoha/Tech (Note that because of the  part of the code Nanoha/Technical would still be listed). Tech pages are detailed at Tech pages and basically hold technical things similarly to how the MediaWiki and Template namespaces work, stuff like this of course should not be listed in the World page.
 * replaceintitle is another one of the brand new used options. This line uses a preg replace to strip Nanoha/ from the start of every name. This way the article about Nanoha Takamichi which is located at Nanoha/Nanoha Takamichi would just be displayed as Nanoha Takamichi.

This also makes a use in the tech pages themselves, using a similar set of syntax all the different tech pages can be listed without missing some because someone forgot to add them to the list.