Topic on Project:Support desk

How to show specific article on Main Page? (2)

4
Smilewhj (talkcontribs)

Hi, everybody. I want to show specific article on Main Page and someone told me 'transclusion'.

but as I know, using transclusion can add only assigned (namespace) article.

  1. How can I show 'most recently revised article' on the Main page?
  2. How can I show only one specific part of article? (if one article has introduction and several part started with '==', I wanna show only introduction part)
Bawolff (talkcontribs)

> using transclusion can add only assigned (namespace) article.

I'm not sure what you mean by this.


for 1) you would need to write an extension. Im not aware of any that do that that already exist.the closest is you can transclude Special:recentchanges, but that is still pretty far off.

2) try extension:Labeled Section Transclusion

Smilewhj (talkcontribs)

Thanks Bawolff.

I mean, I already knew that I can show content of specific item by transcluding specific item by like '{{:title}}'.

but If I want to show content of 'most recently modified article' on Main page, how I can do that?

(because 'most recently modified article' is always changed when I modified any article.)

Bawolff (talkcontribs)

You would have to write an extension. I don't think there are any already existing that do that. {{Special:Recentchanges}} will give you a list of recently modified pages, but not the page itself.

Maybe Extension:DynamicPageList3 could do something along those lines. I'm not really sure.

Reply to "How to show specific article on Main Page? (2)"