The explode function doesn't seem to work with break lines.
I could try replacing the break lines with a function but then it wouldn't work since that function doesn't recognise break line either.
We can do the submission for the articles manually, nominations etc.
All I want is a function of some sort to automatically select a string, the article name, from Category:Featured randomly each month (or set I DO NOT want a preset list, I want to most viewed or something but at the least I just want it selected randomly).
Have you thought about transcluding an article using onlyinclude tags to remove the content you don't want to transclude? You can see more information here.
Thanks (though most of the main images are placed in infiboxes which are a bit of a problem, I suppose I couldl eave that manually).
Any clue on randomly selecting the articles from Category:Featured?
I was hoping for a RANDOMINCATEGORY magic word, but it seems I was thinking of Special:RandomInCategory which can't be trancluded.
I'm down to DPL, see example, but for something so small I don't know if it's worth it.
Eladkse wrote:
You can transclude the entire contents of an article by using {{:ARTICLENAME}}
. However, I suspect you want the first 100 words or so. I do not believe there is a way to do this in MediaWiki - you need to do it manually.
interesting function... maybe it can be done using that... ill try to research this
FortressMaximus wrote: I don't quite understand what you mean {{{subst:ARTICLENAME}} doesn't work
Can you extract it by custom javascript? Or get a third party site, relay it somehow. Has any wrote wikia extensions that can extract pages?
custom javascript is risky. better stick to mediawiki coding.
I'm down to DPL, see example, but for something so small I don't know if it's worth it.
So I get Wiki to install that extension on the Macross wiki? And use the dpl tag?
I'm hopefully doing featured image as well.
FortressMaximus wrote:
I'm down to DPL, see example, but for something so small I don't know if it's worth it.
So I get Wiki to install that extension on the Macross wiki? And use the dpl tag?
I'm hopefully doing featured image as well.
think i got a method. but it wont cut at a word count. it will cut at a pixel height