I have a page that gives information on a company which I could add to a category called "business". In addition, I would like to be able to have the owner's name show up under a category called "people", but I may or may not want to create a page for the owner of all companies.
Is there a way to format the {{category:people}} line so that it will display the owner's name when you go to the category page, but the link will actually go to the company page?
For example, if I had a page for a company owned by James Smith called Smith, Smith, and Jones and I try something like {{category:people|Smith, James}} the actual display on the people page would read "Smith, Smith, and Jones" instead of the desired "Smith, James"
Sandy
No virus found in this outgoing message. Checked by AVG - http://www.avg.com Version: 8.0.233 / Virus Database: 270.11.24/2018 - Release Date: 2009-03-23 06:52
You could make the Owner page, but make it a redirect to the company. I'm not certain that categories work on redirect pages though.
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Sandy Rozhon Sent: Tuesday, March 24, 2009 1:19 PM To: mediawiki-l@lists.wikimedia.org Subject: [Mediawiki-l] Adding to category:people
I have a page that gives information on a company which I could add to a category called "business". In addition, I would like to be able to have the owner's name show up under a category called "people", but I may or may not want to create a page for the owner of all companies.
Is there a way to format the {{category:people}} line so that it will display the owner's name when you go to the category page, but the link will actually go to the company page?
For example, if I had a page for a company owned by James Smith called Smith, Smith, and Jones and I try something like {{category:people|Smith, James}} the actual display on the people page would read "Smith, Smith, and Jones" instead of the desired "Smith, James"
Sandy
No virus found in this outgoing message. Checked by AVG - http://www.avg.com Version: 8.0.233 / Virus Database: 270.11.24/2018 - Release Date: 2009-03-23 06:52
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
"Christensen, Courtney" ChristensenC@BATTELLE.ORG wrote:
You could make the Owner page, but make it a redirect to the company. I'm not certain that categories work on redirect pages though. [...]
They do; cf. URI:http://de.wikipedia.org/wiki/Dollar-Zeichen.
Tim
I think what you describe would be better accomplished using semantic mediawiki.
Christensen, Courtney wrote:
You could make the Owner page, but make it a redirect to the company.
I'm not certain that categories work on redirect pages though.
They work. But you may need to add it on the same line as the #redirect
Sandy wrote:
I'm confused. What is DPL?
Sandy
Dynamic Page List http://www.mediawiki.org/wiki/Extension:DynamicPageList
Thanks for the suggestion. I'll explore semantic mediawiki as a possible solution as well as DPL.
Sandy
On 26 Mar 2009 at 22:40, Platonides wrote:
I think what you describe would be better accomplished using semantic mediawiki.
Christensen, Courtney wrote:
You could make the Owner page, but make it a redirect to the company.
I'm not certain that categories work on redirect pages though.
They work. But you may need to add it on the same line as the #redirect
Sandy wrote:
I'm confused. What is DPL?
Sandy
Dynamic Page List http://www.mediawiki.org/wiki/Extension:DynamicPageList
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.233 / Virus Database: 270.11.29/2024 - Release Date: 2009-03-26 07:12
No virus found in this outgoing message. Checked by AVG - http://www.avg.com Version: 8.0.233 / Virus Database: 270.11.30/2026 - Release Date: 2009-03-27 07:13
mediawiki-l@lists.wikimedia.org