I have a category that incudes many pages like "abc-345", "abc-346", "abc-348", "abc-349", "abc-350"... I am interested in getting the alphabetically last one, so I can know what the next one should be called (abc-351). I thought I could just take the right-most 3 characters of the catagorytree output, but I cannot use the output like it is a string. I have tried wrapping it in several different templates, but it seems the catagorytree-execution is always last, regardless of its nested-ness. Does anyone have a nice solution to this problem? Any solution would be greatly appreciated.
Topic on Extension talk:CategoryTree
It’s not possible using CategoryTree, parser tags are not supposed to be further processed. It may be available one day using Scribunto (phab:T199126), but currently you can’t do it on Wikimedia wikis, and I don’t know about extensions installable on other wikis that would enable it, either.
thanks, this is disappointing, but it is nice to have an answer.