Sorry. My last post got slightly garbled...still new to using this mailing list, so here's my message again:
I was curious if there is a way to take a bullet pointed list of internal wiki links to other articles (whether they contain content or not) on a single page and have them automatically categorized to the category to same name as the article page.
For example, I have the article page "Snow", and I want to add a list of subtopics on the article page "Snow" to the category "Snow", with subtopics being:
(bulletpoint one)Flurries (bulletpoint two) Hail (bulletpoint three) Sleet
My question is if there is a template, extension, or wiki parser expressions I should use to make all items on a bullet pointed list be autocategorized in the category with the same name as the article page.
If anyone has any ideas or knows what I need, any assistance would be greatly appreciated.
You should have a look at Semantic MediaWiki, Dynamic Pagelist, or similar extensions! /Leo
_______________Leonard Wallentinleo_wallentin@hotmail.com@leo_wallentin+46 (0) 735 - 933 543
From: arcane@live.com To: mediawiki-l@lists.wikimedia.org Date: Tue, 30 Oct 2012 07:17:48 -0500 Subject: Re: [MediaWiki-l] Is there an autocategorization ability for bullet point items in MediaWiki?
Sorry. My last post got slightly garbled...still new to using this mailing list, so here's my message again:
I was curious if there is a way to take a bullet pointed list of internal wiki links to other articles (whether they contain content or not) on a single page and have them automatically categorized to the category to same name as the article page.
For example, I have the article page "Snow", and I want to add a list of subtopics on the article page "Snow" to the category "Snow", with subtopics being:
(bulletpoint one)Flurries (bulletpoint two) Hail (bulletpoint three) Sleet
My question is if there is a template, extension, or wiki parser expressions I should use to make all items on a bullet pointed list be autocategorized in the category with the same name as the article page.
If anyone has any ideas or knows what I need, any assistance would be greatly appreciated. _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Tried Dynamic Page List 2.01 (Third Party)
It doesn't seem to work with text in bulletpoints, as I wanted to use it autocategorize all items between the DPL parser tags in a Category with same name as the article the bullet pointed items are on.
I.E. - All items in a bulletpointed list (that link to other article pages) would be autocategorized in a category with the same name as the article the bullet pointed items are in.
If someone could spell put how I might be able to use DPL parser code for this purpose (an example of how this would look when typed out would be quite helpful), it would be appreciated.
If this is the wrong extension or DPL cannot do this, I'm open to alternatives.
From: leo_wallentin@hotmail.com To: mediawiki-l@lists.wikimedia.org; arcane@live.com Subject: RE: [MediaWiki-l] Is there an autocategorization ability for bullet point items in MediaWiki? Date: Tue, 30 Oct 2012 12:27:51 +0000
You should have a look at Semantic MediaWiki, Dynamic Pagelist, or similar extensions! /Leo
_______________Leonard Wallentinleo_wallentin@hotmail.com@leo_wallentin+46 (0) 735 - 933 543
From: arcane@live.com To: mediawiki-l@lists.wikimedia.org Date: Tue, 30 Oct 2012 07:17:48 -0500 Subject: Re: [MediaWiki-l] Is there an autocategorization ability for bullet point items in MediaWiki?
Sorry. My last post got slightly garbled...still new to using this mailing list, so here's my message again:
I was curious if there is a way to take a bullet pointed list of internal wiki links to other articles (whether they contain content or not) on a single page and have them automatically categorized to the category to same name as the article page.
For example, I have the article page "Snow", and I want to add a list of subtopics on the article page "Snow" to the category "Snow", with subtopics being:
(bulletpoint one)Flurries (bulletpoint two) Hail (bulletpoint three) Sleet
My question is if there is a template, extension, or wiki parser expressions I should use to make all items on a bullet pointed list be autocategorized in the category with the same name as the article page.
If anyone has any ideas or knows what I need, any assistance would be greatly appreciated. _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
DPL needs a parameter or heading to transclude page info.
Just use a template
{{bullet|snow|hail|sleet}}
Have the template bullet list *[[{{{1|}}}]] *[[{{{2|}}}]] etc
But I would integrate into an if call
{{#if:{{{1|}}}|*[[{{{1|}}}]]|}}
To automate categorization you based on page name you need to pass the page name you use the template on.
{{bullet|snow|hail|sleet|page={{PAGENAME}}}}
Now you can add categorization splicing together {{{page|}}} and the listing of parameter numbers in the if call.
Limitations, you'd have to allow for 10 or whatever # would be you max if parameters and have a statement for each checking value.
Probably better to use the Arrays extension and use a comma to separate the values. Then call with a #arrays print call.
{{bullet|snow,sleet,hail|page={{PAGENAME}}}}
Tom
On Oct 30, 2012, at 9:01 AM, Arcane 21 arcane@live.com wrote:
Tried Dynamic Page List 2.01 (Third Party)
It doesn't seem to work with text in bulletpoints, as I wanted to use it autocategorize all items between the DPL parser tags in a Category with same name as the article the bullet pointed items are on.
I.E. - All items in a bulletpointed list (that link to other article pages) would be autocategorized in a category with the same name as the article the bullet pointed items are in.
If someone could spell put how I might be able to use DPL parser code for this purpose (an example of how this would look when typed out would be quite helpful), it would be appreciated.
If this is the wrong extension or DPL cannot do this, I'm open to alternatives.
From: leo_wallentin@hotmail.com To: mediawiki-l@lists.wikimedia.org; arcane@live.com Subject: RE: [MediaWiki-l] Is there an autocategorization ability for bullet point items in MediaWiki? Date: Tue, 30 Oct 2012 12:27:51 +0000
You should have a look at Semantic MediaWiki, Dynamic Pagelist, or similar extensions! /Leo
_______________Leonard Wallentinleo_wallentin@hotmail.com@leo_wallentin+46 (0) 735 - 933 543
From: arcane@live.com To: mediawiki-l@lists.wikimedia.org Date: Tue, 30 Oct 2012 07:17:48 -0500 Subject: Re: [MediaWiki-l] Is there an autocategorization ability for bullet point items in MediaWiki?
Sorry. My last post got slightly garbled...still new to using this mailing list, so here's my message again:
I was curious if there is a way to take a bullet pointed list of internal wiki links to other articles (whether they contain content or not) on a single page and have them automatically categorized to the category to same name as the article page.
For example, I have the article page "Snow", and I want to add a list of subtopics on the article page "Snow" to the category "Snow", with subtopics being:
(bulletpoint one)Flurries (bulletpoint two) Hail (bulletpoint three) Sleet
My question is if there is a template, extension, or wiki parser expressions I should use to make all items on a bullet pointed list be autocategorized in the category with the same name as the article page.
If anyone has any ideas or knows what I need, any assistance would be greatly appreciated.
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
Thanks Tom, that helps quite a bit, but how would I make a more generalized template that I could use on any page?
I'm trying to make it so I can use it to autocategorize entire lists of bullet pointed items at a time, mostly for convenience, and I'd like to be adaptable to any page.
From: tom@hutch4.us Date: Tue, 30 Oct 2012 09:39:52 -0400 To: mediawiki-l@lists.wikimedia.org Subject: Re: [MediaWiki-l] Is there an autocategorization ability for bullet point items in MediaWiki?
DPL needs a parameter or heading to transclude page info.
Just use a template
{{bullet|snow|hail|sleet}}
Have the template bullet list *[[{{{1|}}}]] *[[{{{2|}}}]] etc
But I would integrate into an if call
{{#if:{{{1|}}}|*[[{{{1|}}}]]|}}
To automate categorization you based on page name you need to pass the page name you use the template on.
{{bullet|snow|hail|sleet|page={{PAGENAME}}}}
Now you can add categorization splicing together {{{page|}}} and the listing of parameter numbers in the if call.
Limitations, you'd have to allow for 10 or whatever # would be you max if parameters and have a statement for each checking value.
Probably better to use the Arrays extension and use a comma to separate the values. Then call with a #arrays print call.
{{bullet|snow,sleet,hail|page={{PAGENAME}}}}
Tom
On Oct 30, 2012, at 9:01 AM, Arcane 21 arcane@live.com wrote:
Tried Dynamic Page List 2.01 (Third Party)
It doesn't seem to work with text in bulletpoints, as I wanted to use it autocategorize all items between the DPL parser tags in a Category with same name as the article the bullet pointed items are on.
I.E. - All items in a bulletpointed list (that link to other article pages) would be autocategorized in a category with the same name as the article the bullet pointed items are in.
If someone could spell put how I might be able to use DPL parser code for this purpose (an example of how this would look when typed out would be quite helpful), it would be appreciated.
If this is the wrong extension or DPL cannot do this, I'm open to alternatives.
From: leo_wallentin@hotmail.com To: mediawiki-l@lists.wikimedia.org; arcane@live.com Subject: RE: [MediaWiki-l] Is there an autocategorization ability for bullet point items in MediaWiki? Date: Tue, 30 Oct 2012 12:27:51 +0000
You should have a look at Semantic MediaWiki, Dynamic Pagelist, or similar extensions! /Leo
_______________Leonard Wallentinleo_wallentin@hotmail.com@leo_wallentin+46 (0) 735 - 933 543
From: arcane@live.com To: mediawiki-l@lists.wikimedia.org Date: Tue, 30 Oct 2012 07:17:48 -0500 Subject: Re: [MediaWiki-l] Is there an autocategorization ability for bullet point items in MediaWiki?
Sorry. My last post got slightly garbled...still new to using this mailing list, so here's my message again:
I was curious if there is a way to take a bullet pointed list of internal wiki links to other articles (whether they contain content or not) on a single page and have them automatically categorized to the category to same name as the article page.
For example, I have the article page "Snow", and I want to add a list of subtopics on the article page "Snow" to the category "Snow", with subtopics being:
(bulletpoint one)Flurries (bulletpoint two) Hail (bulletpoint three) Sleet
My question is if there is a template, extension, or wiki parser expressions I should use to make all items on a bullet pointed list be autocategorized in the category with the same name as the article page.
If anyone has any ideas or knows what I need, any assistance would be greatly appreciated.
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
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
{{bullet}} would be the template and you have to build the template to what you need. I would really recommend Arrays.
{{bullet|Ford,GM,Chyrsler,Audi|page={{PAGENAME}}}}
{{PAGENAME}} is a magic word and pulls in the current PAGENAME you use the template call on.
PAGENAME in this example could be Auto manufacturers. Or Names of Auto manufactures.
Tom
On Oct 30, 2012, at 9:55 AM, Arcane 21 arcane@live.com wrote:
Thanks Tom, that helps quite a bit, but how would I make a more generalized template that I could use on any page?
I'm trying to make it so I can use it to autocategorize entire lists of bullet pointed items at a time, mostly for convenience, and I'd like to be adaptable to any page.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Thanks, that clears up my remaining questions. I think I can handle it from here.
Appreciate the help.
From: tom@hutch4.us Date: Tue, 30 Oct 2012 10:09:37 -0400 To: mediawiki-l@lists.wikimedia.org Subject: Re: [MediaWiki-l] Is there an autocategorization ability for bullet point items in MediaWiki?
{{bullet}} would be the template and you have to build the template to what you need. I would really recommend Arrays.
{{bullet|Ford,GM,Chyrsler,Audi|page={{PAGENAME}}}}
{{PAGENAME}} is a magic word and pulls in the current PAGENAME you use the template call on.
PAGENAME in this example could be Auto manufacturers. Or Names of Auto manufactures.
Tom
On Oct 30, 2012, at 9:55 AM, Arcane 21 arcane@live.com wrote:
Thanks Tom, that helps quite a bit, but how would I make a more generalized template that I could use on any page?
I'm trying to make it so I can use it to autocategorize entire lists of bullet pointed items at a time, mostly for convenience, and I'd like to be adaptable to any page.
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
mediawiki-l@lists.wikimedia.org