Im looking for a way to include a list of pages that link to the current page in the article.
Even better would to be able to do this with the condition that the pages listed are in a specific category.
So if I have a "Part" article, and id like a list of "project" articles that link to that part. So in the "Part" article I can have a section: "Projects that use this part" (all "project" articles are in the category:project)
Does that make sense? Is this possible?
As always... Thank you, -Adam
Have you considered using the Semantic MediaWiki extensions? This would be fairly easy to do with the SMW extensions.
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Adam Meyer Sent: Thursday, August 12, 2010 12:06 AM To: MediaWiki announcements and site admin list Subject: [Mediawiki-l] Including "What links here" but only if in a category
Im looking for a way to include a list of pages that link to the current page in the article.
Even better would to be able to do this with the condition that the pages listed are in a specific category.
So if I have a "Part" article, and id like a list of "project" articles that link to that part. So in the "Part" article I can have a section: "Projects that use this part" (all "project" articles are in the category:project)
Does that make sense? Is this possible?
As always... Thank you, -Adam _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Install DynamicPageList: http://semeb.com/dpldemo/DPL:Manual
It does this and much more. DanB
Great thank you.
But the results are all un rendered HTML http://wiki.bildr.org/index.php/Sandbox
Any ideas? (I tried to turn off al extensions but this one and it was still an issue)
-Adam
On Aug 12, 2010, at 5:02 PM, Daniel Barrett wrote:
Install DynamicPageList: http://semeb.com/dpldemo/DPL:Manual
It does this and much more. DanB
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Weird, I had to set wgRawHtml to true in local settings for it to work. This seems like a big security problem though.
On Aug 13, 2010, at 12:00 AM, Adam Meyer wrote:
Great thank you.
But the results are all un rendered HTML http://wiki.bildr.org/index.php/Sandbox
Any ideas? (I tried to turn off al extensions but this one and it was still an issue)
-Adam
On Aug 12, 2010, at 5:02 PM, Daniel Barrett wrote:
Install DynamicPageList: http://semeb.com/dpldemo/DPL:Manual
It does this and much more. DanB
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
the results are all un rendered HTML http://wiki.bildr.org/index.php/Sandbox Weird, I had to set wgRawHtml to true in local settings for it to work. This seems like a big security problem though.
I've been using DynamicPageList for years and have never seen this happen, and never needed to set wgRawHtml. Try disabling your other extensions and see if the problem goes away.
DanB
I tried disabling all of the extensions and the same thing happened. I noticed that in the extension's code it enables wgRawHtml itself - twice actually.
Somehow it wasnt being set though.
In the end I actually ended up tweaking the code so that it would work without wgRawHtml on.
Thanks,
-Adam
On Aug 13, 2010, at 10:58 AM, Daniel Barrett wrote:
the results are all un rendered HTML http://wiki.bildr.org/index.php/Sandbox Weird, I had to set wgRawHtml to true in local settings for it to work. This seems like a big security problem though.
I've been using DynamicPageList for years and have never seen this happen, and never needed to set wgRawHtml. Try disabling your other extensions and see if the problem goes away.
DanB
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org