transclusion of links

Jump to: navigation, search
) that was a silly mistake... thanks for looking though!

I had another question: As we go through questions, if we get more than 9, then the dpl code will list questions as:

question 1 question 10 question 2 question 3

is there a way around that which doesn't involve renaming the questions into question 01, question 02 and so on?

23:57, 6 March 2012

Hi David,

That's an interesting question. The DPL manual page on output order is here. My first thought is that if you are creating the question pages in numerical order, you could use a parameter like ordermethod=firstedit to sort the list based on the creation order of the pages. For instance, this dpl code

|replaceintitle=$Math Exam Resources/Courses/MATH152/April 2011/$, 
|noresultsheader=No pages found.

seems to output in the desired order:

However, this method relies entirely on question pages being built in numerical order. Maybe that would work, though? I'll try to think of other options.


18:40, 7 March 2012

I already know that some exam questions were not created in that order, so that would not work as a general solution (I should have thought of that, we could have accommodated that though).

I'm starting to think that having them renamed into 01, 02, ... isn't such a bad thing and is fairly easy to implement in the few exams that require it. I won't implement that for another few days though, so if you come up with another idea, let me know!


18:51, 7 March 2012