Extension talk:Subpage Fun/Archive

Installation Guide Issue
The guide says you have to create a file named LocalSettings.php within the SubpageFun-Folder. But the code two lines below isn't calling that file: To install the extension correctly you have to rename the file to SubpageFun.php.


 * I've fixed the documentation. Thanks for reporting this. —Emufarmers(T 19:27, 27 December 2010 (UTC)


 * Same error on the source code page Extension:Subpage Fun/Source code, fixed it. --Nakohdo 19:49, 26 January 2011 (UTC)

Parent page not displaying children, but children display parent page
Hi,

On the father page (title: EXAMPLE), the tag doesn't output the subpages, and  returns 0.

On the subpage (title: EXAMPLE/TEST), the returns "EXAMPLE", and  returns 1.

Any idea why this is happening to me?

Thanks!


 * I guess you created EXAMPLE, then EXAMPLE/TEST and then you didn't purge or re-save EXAMPLE. Of course you have to actualize the content of the page somehow. Either save the article again or use a page purge --Danwe 05:18, 4 January 2011 (UTC)

Trimming path names
Is there a way to trim path names with this extension similar to Extension:SubPageFunctions ? Might using Extension:ArrayExtension be a possibility?

Any suggestions welcome. tia --Nakohdo 19:54, 26 January 2011 (UTC)


 * Yes, works with ArrayExtension. Create a template (e.g. pagepath) with the following code:


 * You can use the following parameters:
 * page: An existing page in the wiki to analyze.
 * 1: Start point of the page path. Can be negative.
 * 2: Length of the path.
 * linked: If any value is given, the parts of the output will be linked to their subpage.
 * sep: Separator between the parts. By default
 * Hope that's good enough. And of course the main advantage of this extension also affects this template: It will recognize real subpages and not just strings separated by  as other extensions and MW core do. --Danwe 03:35, 27 January 2011 (UTC)