01 Jan 2011 @ 9:11 PM 

SubPageList extensionDuring 27c3 someone asked me to install an extension to list subpages onto the hackerspace.be wiki. I picked SubPageList3, as it seemed to most decent one. I did a simple test to see if it was working, and immediately found a namespace bug. So I decided to quickly rewrite it and also let it use Validator for additional awesomeness.

Strangely enough, although there where SubPageList2 and SubPageList3 extensions, there was no SubPageList extension to be found anywhere in the WMF SVN repo or the mediawiki.org wiki, so I decided to simply take that name. The extension should be backwards compatible with SubPageList3.

I spend 5 hours or so doing the rewrite, and have released an initial version yesterday. Seems to work fine and is currently in use on hackerspace.be. It requires Validator 0.4.2 or above, and is the first extension making full use of new the auto-documentation functionality Validator 0.4.3 introduces (more on that in a later blog post).

Download

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
Posted By: Jeroen De Dauw
Last Edit: 11 Jan 2011 @ 06:36 PM

EmailPermalink
Tags


 

Responses to this post » (4 Total)

 
  1. Anders Sjögren says:

    Hi dude!

    Awesome job with the rewrite! It’s working great!

    I would like to add a request for a parameter to have the ability to not show deleted sub-pages (deleted pages are shown), that would be great!

    Keep up the good work!

    PS. Please send me an e-mail if you intend to implement this feature. D.S

  2. Anders Sjögren says:

    Ignore my last comment. Deleted sub-pages does not show up. Didn’t know the list updated with every edit of a page and not just a refresh.

    Thanks for rewriting it again!

  3. Jeroen,

    I was happy to discover the extension. I added it to both of my wikis. Thank you for your work!

  4. James Payne says:

    Great work with this. The only question I have is: Is it possible to make the list update everytime it is requested?
    For example:
    I have
    2011/Jan
    2011/Feb
    in pages which shows Jan and Feb in 2011.
    When I add the page 2011/Mar, I have to edit then save the 2011 page before Mar shows.

    Thanks again!

Post a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


 Last 50 Posts
 Back
Change Theme...
  • Users » 3865
  • Posts/Pages » 183
  • Comments » 139
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

About me



    No Child Pages.