Displaying alternate pagename

From semantic-mediawiki.org

I've made some progress, but could use some help. Using the template format I was able to create a sortable table by using this query:

{{#ask: [[Category:Texas Cities]] 
| format=template
| template=SearchTable
| introtemplate=SearchTableIntro
| outrotemplate=SearchTableFooter
| mainlabel=-
}}

Combined with using the method described here referata example, except replacing

{{{1}}} with [[{{{1}}}|{{#titleparts: {{{1}}} ||-1}}]]

I was wondering if there was any guides out there for any of the other output formats. I tried recreating the above result with the listwidget format by copying and pasting the html source, but it just sits at loading... Html source looks identical on the page, but I'm guessing something's not getting processed in the way I'm doing it? thanks

00:56, 6 November 2012

Really need a better solution than this. but I inserted:

if(window.mw){
mw.loader.load(["ext.srf","ext.srf.listwidget.alphabet"]);
}

into MediaWiki:Common.js, and its working exactly the way I wanted. Don't want to have to load any unnecessary js on every page load though, so hopefully there's a better way to do this. If not, maybe it could be added?

19:18, 9 November 2012

Wow, you are doing some effort here but maybe after you had a look at Demo:Listwidget/Adoption of the list title you will be surprised about the result. All standard, no extra mile ...

Next you might want to post your question to a particular format directly onto this formats talk page otherwise people might not your post.

In regards for donations, best ask Karsten about it.

20:07, 9 November 2012

Haha, that's perfect. Thanks a ton once again! Clearly I enjoy making everything a hundred times more difficult than it needs to be, but I had figured there had to be some easier way. Still learning the ins and outs of semantic mediawiki, and really mediawiki in general. Never sure where the right place to ask a question is that will get noticed without annoying anyone.

22:43, 9 November 2012