List,
I have setup Mediawiki for the www.AllBasic.Info site and I created custom name spaces for each Basic language. I'm having a problem defining or understanding how to create categories specific to each language name space.
This is what I have defined so far.
## ProvideX $wgExtraNamespaces[100] = "PX"; $wgExtraNamespaces[101] = "PX_talk"; $wgContentNamespaces[] = 100;
## FreeBasic $wgExtraNamespaces[102] = "FB"; $wgExtraNamespaces[103] = "FB_talk"; $wgContentNamespaces[] = 102;
## Gambas $wgExtraNamespaces[104] = "GB"; $wgExtraNamespaces[105] = "GB_talk"; $wgContentNamespaces[] = 104;
## Visual Basic $wgExtraNamespaces[106] = "VB"; $wgExtraNamespaces[107] = "VB_talk"; $wgContentNamespaces[] = 106;
## PureBasic $wgExtraNamespaces[108] = "PB"; $wgExtraNamespaces[109] = "PB_talk"; $wgContentNamespaces[] = 108;
## REALbasic $wgExtraNamespaces[110] = "RB"; $wgExtraNamespaces[111] = "RB_talk"; $wgContentNamespaces[] = 110;
## ScriptBasic $wgExtraNamespaces[112] = "SB"; $wgExtraNamespaces[113] = "SB_talk"; $wgContentNamespaces[] = 112;
## thinBASIC $wgExtraNamespaces[114] = "TB"; $wgExtraNamespaces[115] = "TB_talk"; $wgContentNamespaces[] = 114;
## HotBasic $wgExtraNamespaces[116] = "HB"; $wgExtraNamespaces[117] = "HB_talk"; $wgContentNamespaces[] = 116;
## EBasic $wgExtraNamespaces[118] = "EB"; $wgExtraNamespaces[119] = "EB_talk"; $wgContentNamespaces[] = 118;
## Category Namespaces $wgExtraNamespaces[120] = "PX_Category"; $wgExtraNamespaces[121] = "FB_Category"; $wgExtraNamespaces[122] = "GB_Category"; $wgExtraNamespaces[123] = "VB_Category"; $wgExtraNamespaces[124] = "PB_Category"; $wgExtraNamespaces[125] = "RB_Category"; $wgExtraNamespaces[126] = "SB_Category"; $wgExtraNamespaces[127] = "TB_Category"; $wgExtraNamespaces[128] = "HB_Category"; $wgExtraNamespaces[129] = "EB_Category";
If I have a page named "SB:STRING()" and want to assign it to the "SB Category:String Functions" category, everything is grouped under "S" due to the language name space.
I searched till for hours trying to find the solution to this and nothing.
If anyone could shed some light on using categories that are unique to name spaces, I would be very grateful. My wiki project is on hold till this gets resolved.
Thanks !
John
If I have a page named "SB:STRING()" and want to assign it to the "SB Category:String Functions" category, everything is grouped under "S" due to
Hello, ... perharpsIi don't understand very well what you need, but .. I think you should better follow the normal use of the Category spacename This spacename is natural in MW, like Template or Help, and no need to redeclare it. It comes with some naturally specific behaviors. And you can so use some extensions like <categorytree>. Sure it seems more "dirty" because you have in a second time to "chain" those category (a new little bit of work !) pages to construct the good tree
= put "[[Category:String functions|xx]]" in each yours "SB:String()" pages + and forget to use $wgExtraNamespaces[126] = "SB_Category"; The "|xx" in [[Category:String functions|xx]] should display more ordered list when consulting the Category page, with alphabetics range (A .. B .. C, etc)
@+ de jfb "0.02$", hope that helps
----- Original Message ----- From: "John Spikowski" support@allbasic.info To: mediawiki-l@lists.wikimedia.org Sent: Tuesday, September 09, 2008 6:02 AM Subject: [Mediawiki-l] Custom Namespace Categories
List,
I have setup Mediawiki for the www.AllBasic.Info site and I created custom name spaces for each Basic language. I'm having a problem defining or understanding how to create categories specific to each language name space.
This is what I have defined so far.
## ProvideX $wgExtraNamespaces[100] = "PX"; $wgExtraNamespaces[101] = "PX_talk"; $wgContentNamespaces[] = 100;
## FreeBasic $wgExtraNamespaces[102] = "FB"; $wgExtraNamespaces[103] = "FB_talk"; $wgContentNamespaces[] = 102;
## Gambas $wgExtraNamespaces[104] = "GB"; $wgExtraNamespaces[105] = "GB_talk"; $wgContentNamespaces[] = 104;
## Visual Basic $wgExtraNamespaces[106] = "VB"; $wgExtraNamespaces[107] = "VB_talk"; $wgContentNamespaces[] = 106;
## PureBasic $wgExtraNamespaces[108] = "PB"; $wgExtraNamespaces[109] = "PB_talk"; $wgContentNamespaces[] = 108;
## REALbasic $wgExtraNamespaces[110] = "RB"; $wgExtraNamespaces[111] = "RB_talk"; $wgContentNamespaces[] = 110;
## ScriptBasic $wgExtraNamespaces[112] = "SB"; $wgExtraNamespaces[113] = "SB_talk"; $wgContentNamespaces[] = 112;
## thinBASIC $wgExtraNamespaces[114] = "TB"; $wgExtraNamespaces[115] = "TB_talk"; $wgContentNamespaces[] = 114;
## HotBasic $wgExtraNamespaces[116] = "HB"; $wgExtraNamespaces[117] = "HB_talk"; $wgContentNamespaces[] = 116;
## EBasic $wgExtraNamespaces[118] = "EB"; $wgExtraNamespaces[119] = "EB_talk"; $wgContentNamespaces[] = 118;
## Category Namespaces $wgExtraNamespaces[120] = "PX_Category"; $wgExtraNamespaces[121] = "FB_Category"; $wgExtraNamespaces[122] = "GB_Category"; $wgExtraNamespaces[123] = "VB_Category"; $wgExtraNamespaces[124] = "PB_Category"; $wgExtraNamespaces[125] = "RB_Category"; $wgExtraNamespaces[126] = "SB_Category"; $wgExtraNamespaces[127] = "TB_Category"; $wgExtraNamespaces[128] = "HB_Category"; $wgExtraNamespaces[129] = "EB_Category";
If I have a page named "SB:STRING()" and want to assign it to the "SB Category:String Functions" category, everything is grouped under "S" due to the language name space.
I searched till for hours trying to find the solution to this and nothing.
If anyone could shed some light on using categories that are unique to name spaces, I would be very grateful. My wiki project is on hold till this gets resolved.
Thanks !
John
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Orange vous informe que cet e-mail a ete controle par l'anti-virus mail. Aucun virus connu a ce jour par nos services n'a ete detecte.
-- No virus found in this incoming message. Checked by AVG. Version: 7.5.526 / Virus Database: 270.6.18/1658 - Release Date: 07/09/2008 15:30
Dr JFBurté,
Thank you for your detail help as a solution to our problem.
I will give this a try and remove all the XX_Category definitions.
When I get this working I post something here so you know how it worked out.
Regards,
John
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Dr JFBurté Sent: Tuesday, September 09, 2008 12:38 AM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Custom Namespace Categories
If I have a page named "SB:STRING()" and want to assign it
to the "SB
Category:String Functions" category, everything is grouped
under "S"
due to
Hello, ... perharpsIi don't understand very well what you need, but .. I think you should better follow the normal use of the Category spacename This spacename is natural in MW, like Template or Help, and no need to redeclare it. It comes with some naturally specific behaviors. And you can so use some extensions like <categorytree>. Sure it seems more "dirty" because you have in a second time to "chain" those category (a new little bit of work !) pages to construct the good tree
= put "[[Category:String functions|xx]]" in each yours "SB:String()" pages
- and forget to use $wgExtraNamespaces[126] = "SB_Category";
The "|xx" in [[Category:String functions|xx]] should display more ordered list when consulting the Category page, with alphabetics range (A .. B .. C, etc)
@+ de jfb "0.02$", hope that helps
----- Original Message ----- From: "John Spikowski" support@allbasic.info To: mediawiki-l@lists.wikimedia.org Sent: Tuesday, September 09, 2008 6:02 AM Subject: [Mediawiki-l] Custom Namespace Categories
List,
I have setup Mediawiki for the www.AllBasic.Info site and I
created custom
name spaces for each Basic language. I'm having a problem
defining or
understanding how to create categories specific to each
language name
space.
This is what I have defined so far.
## ProvideX $wgExtraNamespaces[100] = "PX"; $wgExtraNamespaces[101] = "PX_talk"; $wgContentNamespaces[] = 100;
## FreeBasic $wgExtraNamespaces[102] = "FB"; $wgExtraNamespaces[103] = "FB_talk"; $wgContentNamespaces[] = 102;
## Gambas $wgExtraNamespaces[104] = "GB"; $wgExtraNamespaces[105] = "GB_talk"; $wgContentNamespaces[] = 104;
## Visual Basic $wgExtraNamespaces[106] = "VB"; $wgExtraNamespaces[107] = "VB_talk"; $wgContentNamespaces[] = 106;
## PureBasic $wgExtraNamespaces[108] = "PB"; $wgExtraNamespaces[109] = "PB_talk"; $wgContentNamespaces[] = 108;
## REALbasic $wgExtraNamespaces[110] = "RB"; $wgExtraNamespaces[111] = "RB_talk"; $wgContentNamespaces[] = 110;
## ScriptBasic $wgExtraNamespaces[112] = "SB"; $wgExtraNamespaces[113] = "SB_talk"; $wgContentNamespaces[] = 112;
## thinBASIC $wgExtraNamespaces[114] = "TB"; $wgExtraNamespaces[115] = "TB_talk"; $wgContentNamespaces[] = 114;
## HotBasic $wgExtraNamespaces[116] = "HB"; $wgExtraNamespaces[117] = "HB_talk"; $wgContentNamespaces[] = 116;
## EBasic $wgExtraNamespaces[118] = "EB"; $wgExtraNamespaces[119] = "EB_talk"; $wgContentNamespaces[] = 118;
## Category Namespaces $wgExtraNamespaces[120] = "PX_Category"; $wgExtraNamespaces[121] = "FB_Category"; $wgExtraNamespaces[122] = "GB_Category"; $wgExtraNamespaces[123] = "VB_Category"; $wgExtraNamespaces[124] = "PB_Category"; $wgExtraNamespaces[125] = "RB_Category"; $wgExtraNamespaces[126] = "SB_Category"; $wgExtraNamespaces[127] = "TB_Category"; $wgExtraNamespaces[128] = "HB_Category"; $wgExtraNamespaces[129] = "EB_Category";
If I have a page named "SB:STRING()" and want to assign it
to the "SB
Category:String Functions" category, everything is grouped
under "S" due
to the language name space.
I searched till for hours trying to find the solution to
this and nothing.
If anyone could shed some light on using categories that
are unique to
name spaces, I would be very grateful. My wiki project is on
hold till this
gets resolved.
Thanks !
John
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Orange vous informe que cet e-mail a ete controle par
l'anti-virus mail.
Aucun virus connu a ce jour par nos services n'a ete detecte.
-- No virus found in this incoming message. Checked by AVG. Version: 7.5.526 / Virus Database: 270.6.18/1658 - Release Date: 07/09/2008 15:30
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
I'm trying to keep each Basic language's categories separate. The STRING() function for ScriptBasic is different for FreeBASIC for example. The idea behind having one wiki and multiple namespaces is that a user can search multiple languages and have a common resource in the main namespace.
John
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Dr JFBurté Sent: Tuesday, September 09, 2008 12:38 AM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Custom Namespace Categories
If I have a page named "SB:STRING()" and want to assign it
to the "SB
Category:String Functions" category, everything is grouped
under "S"
due to
Hello, ... perharpsIi don't understand very well what you need, but .. I think you should better follow the normal use of the Category spacename This spacename is natural in MW, like Template or Help, and no need to redeclare it. It comes with some naturally specific behaviors. And you can so use some extensions like <categorytree>. Sure it seems more "dirty" because you have in a second time to "chain" those category (a new little bit of work !) pages to construct the good tree
= put "[[Category:String functions|xx]]" in each yours "SB:String()" pages
- and forget to use $wgExtraNamespaces[126] = "SB_Category";
The "|xx" in [[Category:String functions|xx]] should display more ordered list when consulting the Category page, with alphabetics range (A .. B .. C, etc)
@+ de jfb "0.02$", hope that helps
----- Original Message ----- From: "John Spikowski" support@allbasic.info To: mediawiki-l@lists.wikimedia.org Sent: Tuesday, September 09, 2008 6:02 AM Subject: [Mediawiki-l] Custom Namespace Categories
List,
I have setup Mediawiki for the www.AllBasic.Info site and I
created custom
name spaces for each Basic language. I'm having a problem
defining or
understanding how to create categories specific to each
language name
space.
This is what I have defined so far.
## ProvideX $wgExtraNamespaces[100] = "PX"; $wgExtraNamespaces[101] = "PX_talk"; $wgContentNamespaces[] = 100;
## FreeBasic $wgExtraNamespaces[102] = "FB"; $wgExtraNamespaces[103] = "FB_talk"; $wgContentNamespaces[] = 102;
## Gambas $wgExtraNamespaces[104] = "GB"; $wgExtraNamespaces[105] = "GB_talk"; $wgContentNamespaces[] = 104;
## Visual Basic $wgExtraNamespaces[106] = "VB"; $wgExtraNamespaces[107] = "VB_talk"; $wgContentNamespaces[] = 106;
## PureBasic $wgExtraNamespaces[108] = "PB"; $wgExtraNamespaces[109] = "PB_talk"; $wgContentNamespaces[] = 108;
## REALbasic $wgExtraNamespaces[110] = "RB"; $wgExtraNamespaces[111] = "RB_talk"; $wgContentNamespaces[] = 110;
## ScriptBasic $wgExtraNamespaces[112] = "SB"; $wgExtraNamespaces[113] = "SB_talk"; $wgContentNamespaces[] = 112;
## thinBASIC $wgExtraNamespaces[114] = "TB"; $wgExtraNamespaces[115] = "TB_talk"; $wgContentNamespaces[] = 114;
## HotBasic $wgExtraNamespaces[116] = "HB"; $wgExtraNamespaces[117] = "HB_talk"; $wgContentNamespaces[] = 116;
## EBasic $wgExtraNamespaces[118] = "EB"; $wgExtraNamespaces[119] = "EB_talk"; $wgContentNamespaces[] = 118;
## Category Namespaces $wgExtraNamespaces[120] = "PX_Category"; $wgExtraNamespaces[121] = "FB_Category"; $wgExtraNamespaces[122] = "GB_Category"; $wgExtraNamespaces[123] = "VB_Category"; $wgExtraNamespaces[124] = "PB_Category"; $wgExtraNamespaces[125] = "RB_Category"; $wgExtraNamespaces[126] = "SB_Category"; $wgExtraNamespaces[127] = "TB_Category"; $wgExtraNamespaces[128] = "HB_Category"; $wgExtraNamespaces[129] = "EB_Category";
If I have a page named "SB:STRING()" and want to assign it
to the "SB
Category:String Functions" category, everything is grouped
under "S" due
to the language name space.
I searched till for hours trying to find the solution to
this and nothing.
If anyone could shed some light on using categories that
are unique to
name spaces, I would be very grateful. My wiki project is on
hold till this
gets resolved.
Thanks !
John
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Orange vous informe que cet e-mail a ete controle par
l'anti-virus mail.
Aucun virus connu a ce jour par nos services n'a ete detecte.
-- No virus found in this incoming message. Checked by AVG. Version: 7.5.526 / Virus Database: 270.6.18/1658 - Release Date: 07/09/2008 15:30
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
The ideabehind having one wiki and multiple namespaces is that a user can search multiple languages and have a common resource in the main namespace.
Hi John, I understand for a particular namespace for each language, because of the variant between thus But the use of the Category Namespace is different : not to automatically show all the pages existing but to build **ONE/YOUR** category tree (with childs and parents for each level = you can put several [[Category:Category(n)]] on each page) for your whole site (and undistincly his whole namespaces) with the pages YOU decide to "tag", each page with one or several[[Category:TheCategoryThisPageBelongs]].
So the visitor can 1°)crawl though the pages themselves, or 2°) through the great and unique Category tree, with branches and subbranches for each purpose. So this tree will contain an alternative way of dysplaying the info = what you decide and how you decide ... a first branch for the administration tools, with a child branch for the template of the site, another great branch for langages, and somes child for each bunch of specific langage pages.
See for example http://en.wikipedia.org/wiki/Category:Wikipedia_administration You'll see inthere : the subcategories (child), the page of the category, the parent (click on the bottom link of that page <Contents>) and you can have Replace the tree for administration tools with what you need for making your language pages easier to navigate by the visitor and keep in mind you must "tag" every page that should take place in the Category tree
@+ de jfb "0.02$"
----- Original Message ----- From: "John Spikowski" support@allbasic.info To: "'MediaWiki announcements and site admin list'" mediawiki-l@lists.wikimedia.org Sent: Tuesday, September 09, 2008 10:41 AM Subject: Re: [Mediawiki-l] Custom Namespace Categories
I'm trying to keep each Basic language's categories separate. The STRING() function for ScriptBasic is different for FreeBASIC for example. The idea behind having one wiki and multiple namespaces is that a user can search multiple languages and have a common resource in the main namespace.
John
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Dr JFBurté Sent: Tuesday, September 09, 2008 12:38 AM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Custom Namespace Categories
If I have a page named "SB:STRING()" and want to assign it
to the "SB
Category:String Functions" category, everything is grouped
under "S"
due to
Hello, ... perharpsIi don't understand very well what you need, but .. I think you should better follow the normal use of the Category spacename This spacename is natural in MW, like Template or Help, and no need to redeclare it. It comes with some naturally specific behaviors. And you can so use some extensions like <categorytree>. Sure it seems more "dirty" because you have in a second time to "chain" those category (a new little bit of work !) pages to construct the good tree
= put "[[Category:String functions|xx]]" in each yours "SB:String()" pages
- and forget to use $wgExtraNamespaces[126] = "SB_Category";
The "|xx" in [[Category:String functions|xx]] should display more ordered list when consulting the Category page, with alphabetics range (A .. B .. C, etc)
@+ de jfb "0.02$", hope that helps
----- Original Message ----- From: "John Spikowski" support@allbasic.info To: mediawiki-l@lists.wikimedia.org Sent: Tuesday, September 09, 2008 6:02 AM Subject: [Mediawiki-l] Custom Namespace Categories
List,
I have setup Mediawiki for the www.AllBasic.Info site and I
created custom
name spaces for each Basic language. I'm having a problem
defining or
understanding how to create categories specific to each
language name
space.
This is what I have defined so far.
## ProvideX $wgExtraNamespaces[100] = "PX"; $wgExtraNamespaces[101] = "PX_talk"; $wgContentNamespaces[] = 100;
## FreeBasic $wgExtraNamespaces[102] = "FB"; $wgExtraNamespaces[103] = "FB_talk"; $wgContentNamespaces[] = 102;
## Gambas $wgExtraNamespaces[104] = "GB"; $wgExtraNamespaces[105] = "GB_talk"; $wgContentNamespaces[] = 104;
## Visual Basic $wgExtraNamespaces[106] = "VB"; $wgExtraNamespaces[107] = "VB_talk"; $wgContentNamespaces[] = 106;
## PureBasic $wgExtraNamespaces[108] = "PB"; $wgExtraNamespaces[109] = "PB_talk"; $wgContentNamespaces[] = 108;
## REALbasic $wgExtraNamespaces[110] = "RB"; $wgExtraNamespaces[111] = "RB_talk"; $wgContentNamespaces[] = 110;
## ScriptBasic $wgExtraNamespaces[112] = "SB"; $wgExtraNamespaces[113] = "SB_talk"; $wgContentNamespaces[] = 112;
## thinBASIC $wgExtraNamespaces[114] = "TB"; $wgExtraNamespaces[115] = "TB_talk"; $wgContentNamespaces[] = 114;
## HotBasic $wgExtraNamespaces[116] = "HB"; $wgExtraNamespaces[117] = "HB_talk"; $wgContentNamespaces[] = 116;
## EBasic $wgExtraNamespaces[118] = "EB"; $wgExtraNamespaces[119] = "EB_talk"; $wgContentNamespaces[] = 118;
## Category Namespaces $wgExtraNamespaces[120] = "PX_Category"; $wgExtraNamespaces[121] = "FB_Category"; $wgExtraNamespaces[122] = "GB_Category"; $wgExtraNamespaces[123] = "VB_Category"; $wgExtraNamespaces[124] = "PB_Category"; $wgExtraNamespaces[125] = "RB_Category"; $wgExtraNamespaces[126] = "SB_Category"; $wgExtraNamespaces[127] = "TB_Category"; $wgExtraNamespaces[128] = "HB_Category"; $wgExtraNamespaces[129] = "EB_Category";
If I have a page named "SB:STRING()" and want to assign it
to the "SB
Category:String Functions" category, everything is grouped
under "S" due
to the language name space.
I searched till for hours trying to find the solution to
this and nothing.
If anyone could shed some light on using categories that
are unique to
name spaces, I would be very grateful. My wiki project is on
hold till this
gets resolved.
Thanks !
John
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Orange vous informe que cet e-mail a ete controle par
l'anti-virus mail.
Aucun virus connu a ce jour par nos services n'a ete detecte.
-- No virus found in this incoming message. Checked by AVG. Version: 7.5.526 / Virus Database: 270.6.18/1658 - Release Date: 07/09/2008 15:30
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 --------------------------------------------------------------------------------------- Orange vous informe que cet e-mail a ete controle par l'anti-virus mail. Aucun virus connu a ce jour par nos services n'a ete detecte.
I don't completely understand what you're trying to do, but be aware of this syntax:
[[Category:My category | {{PAGENAME}}]]
This will help your articles (with namespaces) to sort on the article name on category pages.
DanB
-----Original Message----- If I have a page named "SB:STRING()" and want to assign it to the "SB Category:String Functions" category, everything is grouped under "S" due to the language name space.
Dan and Dr JFBurté,
I think I'm making progress with the suggestions made.
http://www.allbasic.info/wiki/index.php/Category:String_Functions
This is mixing the languages together and I not sure if this is the desired result.
I'm open to any suggestions that might make the category work better.
I liked the example from the Wikipedia that Dr JFBurté posted.
http://en.wikipedia.org/wiki/Category:Wikipedia_administration
I really appreciated the help getting our Basic Language wiki rolling.
John
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Daniel Barrett Sent: Tuesday, September 09, 2008 6:30 AM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Custom Namespace Categories
I don't completely understand what you're trying to do, but be aware of this syntax:
[[Category:My category | {{PAGENAME}}]]
This will help your articles (with namespaces) to sort on the article name on category pages.
DanB
-----Original Message----- If I have a page named "SB:STRING()" and want to assign it to the "SB Category:String Functions" category, everything is grouped under "S" due to the language name space.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Hello,
As John Spikowksi, I'd like to create my own namespaces which act as if they were categories, images, medias. (i.e. extend built-in namespaces)
For namespace which would acts like Image: I'd like to custom the automatically generated Image:Xyz.gif page, for example Mp3:Myfile.mp3 would display id3 info and a flash player, QBasic:MySourceCode.bas will syntax highlight the file in quick basic. For the QBasic_Category and xyz_Category, they will display and act as categories, but with another namespace numer.
The big advantage : - the search and queries (in special page) can be performed on specified namespaces - on wiki with user right access per namespace, I can restrict some images/files to granted user, and let Image: namespace for public visitors. etc...
2008/9/9, John Spikowski support@allbasic.info:
List,
I have setup Mediawiki for the www.AllBasic.Info site and I created custom name spaces for each Basic language. I'm having a problem defining or understanding how to create categories specific to each language name space.
This is what I have defined so far.
## ProvideX $wgExtraNamespaces[100] = "PX"; $wgExtraNamespaces[101] = "PX_talk"; $wgContentNamespaces[] = 100;
## FreeBasic $wgExtraNamespaces[102] = "FB"; $wgExtraNamespaces[103] = "FB_talk"; $wgContentNamespaces[] = 102;
## Gambas $wgExtraNamespaces[104] = "GB"; $wgExtraNamespaces[105] = "GB_talk"; $wgContentNamespaces[] = 104;
## Visual Basic $wgExtraNamespaces[106] = "VB"; $wgExtraNamespaces[107] = "VB_talk"; $wgContentNamespaces[] = 106;
## PureBasic $wgExtraNamespaces[108] = "PB"; $wgExtraNamespaces[109] = "PB_talk"; $wgContentNamespaces[] = 108;
## REALbasic $wgExtraNamespaces[110] = "RB"; $wgExtraNamespaces[111] = "RB_talk"; $wgContentNamespaces[] = 110;
## ScriptBasic $wgExtraNamespaces[112] = "SB"; $wgExtraNamespaces[113] = "SB_talk"; $wgContentNamespaces[] = 112;
## thinBASIC $wgExtraNamespaces[114] = "TB"; $wgExtraNamespaces[115] = "TB_talk"; $wgContentNamespaces[] = 114;
## HotBasic $wgExtraNamespaces[116] = "HB"; $wgExtraNamespaces[117] = "HB_talk"; $wgContentNamespaces[] = 116;
## EBasic $wgExtraNamespaces[118] = "EB"; $wgExtraNamespaces[119] = "EB_talk"; $wgContentNamespaces[] = 118;
## Category Namespaces $wgExtraNamespaces[120] = "PX_Category"; $wgExtraNamespaces[121] = "FB_Category"; $wgExtraNamespaces[122] = "GB_Category"; $wgExtraNamespaces[123] = "VB_Category"; $wgExtraNamespaces[124] = "PB_Category"; $wgExtraNamespaces[125] = "RB_Category"; $wgExtraNamespaces[126] = "SB_Category"; $wgExtraNamespaces[127] = "TB_Category"; $wgExtraNamespaces[128] = "HB_Category"; $wgExtraNamespaces[129] = "EB_Category";
If I have a page named "SB:STRING()" and want to assign it to the "SB Category:String Functions" category, everything is grouped under "S" due to the language name space.
I searched till for hours trying to find the solution to this and nothing.
If anyone could shed some light on using categories that are unique to name spaces, I would be very grateful. My wiki project is on hold till this gets resolved.
Thanks !
John
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
As John Spikowski, I would like this as well! ;-)
Is this something that can be done without php coding or is this a configuration change in LocalSettings.php?
The feedback is great and greatly appreciated.
John
As John Spikowksi, I'd like to create my own namespaces which act as if they were categories, images, medias. (i.e. extend built-in namespaces)
For namespace which would acts like Image: I'd like to custom the automatically generated Image:Xyz.gif page, for example Mp3:Myfile.mp3 would display id3 info and a flash player, QBasic:MySourceCode.bas will syntax highlight the file in quick basic. For the QBasic_Category and xyz_Category, they will display and act as categories, but with another namespace numer.
The big advantage :
- the search and queries (in special page) can be performed
on specified namespaces
- on wiki with user right access per namespace, I can
restrict some images/files to granted user, and let Image: namespace for public visitors. etc...
2008/9/9, John Spikowski support@allbasic.info:
List,
I have setup Mediawiki for the www.AllBasic.Info site and I created custom name spaces for each Basic language. I'm having a problem defining or understanding how to create categories specific to each language name space.
This is what I have defined so far.
## ProvideX $wgExtraNamespaces[100] = "PX"; $wgExtraNamespaces[101] = "PX_talk"; $wgContentNamespaces[] = 100;
## FreeBasic $wgExtraNamespaces[102] = "FB"; $wgExtraNamespaces[103] = "FB_talk"; $wgContentNamespaces[] = 102;
## Gambas $wgExtraNamespaces[104] = "GB"; $wgExtraNamespaces[105] = "GB_talk"; $wgContentNamespaces[] = 104;
## Visual Basic $wgExtraNamespaces[106] = "VB"; $wgExtraNamespaces[107] = "VB_talk"; $wgContentNamespaces[] = 106;
## PureBasic $wgExtraNamespaces[108] = "PB"; $wgExtraNamespaces[109] = "PB_talk"; $wgContentNamespaces[] = 108;
## REALbasic $wgExtraNamespaces[110] = "RB"; $wgExtraNamespaces[111] = "RB_talk"; $wgContentNamespaces[] = 110;
## ScriptBasic $wgExtraNamespaces[112] = "SB"; $wgExtraNamespaces[113] = "SB_talk"; $wgContentNamespaces[] = 112;
## thinBASIC $wgExtraNamespaces[114] = "TB"; $wgExtraNamespaces[115] = "TB_talk"; $wgContentNamespaces[] = 114;
## HotBasic $wgExtraNamespaces[116] = "HB"; $wgExtraNamespaces[117] = "HB_talk"; $wgContentNamespaces[] = 116;
## EBasic $wgExtraNamespaces[118] = "EB"; $wgExtraNamespaces[119] = "EB_talk"; $wgContentNamespaces[] = 118;
## Category Namespaces $wgExtraNamespaces[120] = "PX_Category"; $wgExtraNamespaces[121] = "FB_Category"; $wgExtraNamespaces[122] = "GB_Category"; $wgExtraNamespaces[123] = "VB_Category"; $wgExtraNamespaces[124] = "PB_Category"; $wgExtraNamespaces[125] = "RB_Category"; $wgExtraNamespaces[126] = "SB_Category"; $wgExtraNamespaces[127] = "TB_Category"; $wgExtraNamespaces[128] = "HB_Category"; $wgExtraNamespaces[129] = "EB_Category";
If I have a page named "SB:STRING()" and want to assign it
to the "SB
Category:String Functions" category, everything is grouped
under "S"
due to the language name space.
I searched till for hours trying to find the solution to
this and nothing.
If anyone could shed some light on using categories that
are unique to
name spaces, I would be very grateful. My wiki project is
on hold till
this gets resolved.
Thanks !
John
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-- Sylvain Machefert
Tous aux Balkans ! http://www.tousauxbalkans.net _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
I can live with how this works but any better suggestions (with how-to's) would be appricated.
http://www.allbasic.info/wiki/index.php/Category:String_Functions
John
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of John Spikowski Sent: Tuesday, September 09, 2008 3:46 PM To: 'MediaWiki announcements and site admin list' Subject: Re: [Mediawiki-l] Custom Namespace Categories
As John Spikowski, I would like this as well! ;-)
Is this something that can be done without php coding or is this a configuration change in LocalSettings.php?
The feedback is great and greatly appreciated.
John
As John Spikowksi, I'd like to create my own namespaces
which act as
if they were categories, images, medias. (i.e. extend built-in namespaces)
For namespace which would acts like Image: I'd like to custom the automatically generated Image:Xyz.gif page, for example Mp3:Myfile.mp3 would display id3 info and a flash player, QBasic:MySourceCode.bas will syntax highlight the file in
quick basic.
For the QBasic_Category and xyz_Category, they will display
and act as
categories, but with another namespace numer.
The big advantage :
- the search and queries (in special page) can be performed on
specified namespaces
- on wiki with user right access per namespace, I can restrict some
images/files to granted user, and let Image: namespace for public visitors. etc...
2008/9/9, John Spikowski support@allbasic.info:
List,
I have setup Mediawiki for the www.AllBasic.Info site and
I created
custom name spaces for each Basic language. I'm having a problem defining or understanding how to create categories
specific to each
language name space.
This is what I have defined so far.
## ProvideX $wgExtraNamespaces[100] = "PX"; $wgExtraNamespaces[101] = "PX_talk"; $wgContentNamespaces[] = 100;
## FreeBasic $wgExtraNamespaces[102] = "FB"; $wgExtraNamespaces[103] = "FB_talk"; $wgContentNamespaces[] = 102;
## Gambas $wgExtraNamespaces[104] = "GB"; $wgExtraNamespaces[105] = "GB_talk"; $wgContentNamespaces[] = 104;
## Visual Basic $wgExtraNamespaces[106] = "VB"; $wgExtraNamespaces[107] = "VB_talk"; $wgContentNamespaces[] = 106;
## PureBasic $wgExtraNamespaces[108] = "PB"; $wgExtraNamespaces[109] = "PB_talk"; $wgContentNamespaces[] = 108;
## REALbasic $wgExtraNamespaces[110] = "RB"; $wgExtraNamespaces[111] = "RB_talk"; $wgContentNamespaces[] = 110;
## ScriptBasic $wgExtraNamespaces[112] = "SB"; $wgExtraNamespaces[113] = "SB_talk"; $wgContentNamespaces[] = 112;
## thinBASIC $wgExtraNamespaces[114] = "TB"; $wgExtraNamespaces[115] = "TB_talk"; $wgContentNamespaces[] = 114;
## HotBasic $wgExtraNamespaces[116] = "HB"; $wgExtraNamespaces[117] = "HB_talk"; $wgContentNamespaces[] = 116;
## EBasic $wgExtraNamespaces[118] = "EB"; $wgExtraNamespaces[119] = "EB_talk"; $wgContentNamespaces[] = 118;
## Category Namespaces $wgExtraNamespaces[120] = "PX_Category";
$wgExtraNamespaces[121] =
"FB_Category"; $wgExtraNamespaces[122] = "GB_Category"; $wgExtraNamespaces[123] = "VB_Category";
$wgExtraNamespaces[124] =
"PB_Category"; $wgExtraNamespaces[125] = "RB_Category"; $wgExtraNamespaces[126] = "SB_Category";
$wgExtraNamespaces[127] =
"TB_Category"; $wgExtraNamespaces[128] = "HB_Category"; $wgExtraNamespaces[129] = "EB_Category";
If I have a page named "SB:STRING()" and want to assign it
to the "SB
Category:String Functions" category, everything is grouped
under "S"
due to the language name space.
I searched till for hours trying to find the solution to
this and nothing.
If anyone could shed some light on using categories that
are unique to
name spaces, I would be very grateful. My wiki project is
on hold till
this gets resolved.
Thanks !
John
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-- Sylvain Machefert
Tous aux Balkans ! http://www.tousauxbalkans.net _______________________________________________ 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
Hi John, keep in, mind you can also insert a Category link by editing each category page and so on, to obtain the "tree" you need to dysplay around all the functions that populate your site type for example [[Category:UpBranch]] and then go to http://www.allbasic.info/wiki/index.php/Category:UpBranch and so on whith each Category page you need to include in your tree @+ de jfb "0.02$"
----- Original Message ----- From: "John Spikowski" support@allbasic.info To: "'MediaWiki announcements and site admin list'" mediawiki-l@lists.wikimedia.org Sent: Wednesday, September 10, 2008 1:25 AM Subject: Re: [Mediawiki-l] Custom Namespace Categories
I can live with how this works but any better suggestions (with how-to's) would be appricated.
http://www.allbasic.info/wiki/index.php/Category:String_Functions
John
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of John Spikowski Sent: Tuesday, September 09, 2008 3:46 PM To: 'MediaWiki announcements and site admin list' Subject: Re: [Mediawiki-l] Custom Namespace Categories
As John Spikowski, I would like this as well! ;-)
Is this something that can be done without php coding or is this a configuration change in LocalSettings.php?
The feedback is great and greatly appreciated.
John
As John Spikowksi, I'd like to create my own namespaces
which act as
if they were categories, images, medias. (i.e. extend built-in namespaces)
For namespace which would acts like Image: I'd like to custom the automatically generated Image:Xyz.gif page, for example Mp3:Myfile.mp3 would display id3 info and a flash player, QBasic:MySourceCode.bas will syntax highlight the file in
quick basic.
For the QBasic_Category and xyz_Category, they will display
and act as
categories, but with another namespace numer.
The big advantage :
- the search and queries (in special page) can be performed on
specified namespaces
- on wiki with user right access per namespace, I can restrict some
images/files to granted user, and let Image: namespace for public visitors. etc...
2008/9/9, John Spikowski support@allbasic.info:
List,
I have setup Mediawiki for the www.AllBasic.Info site and
I created
custom name spaces for each Basic language. I'm having a problem defining or understanding how to create categories
specific to each
language name space.
This is what I have defined so far.
## ProvideX $wgExtraNamespaces[100] = "PX"; $wgExtraNamespaces[101] = "PX_talk"; $wgContentNamespaces[] = 100;
## FreeBasic $wgExtraNamespaces[102] = "FB"; $wgExtraNamespaces[103] = "FB_talk"; $wgContentNamespaces[] = 102;
## Gambas $wgExtraNamespaces[104] = "GB"; $wgExtraNamespaces[105] = "GB_talk"; $wgContentNamespaces[] = 104;
## Visual Basic $wgExtraNamespaces[106] = "VB"; $wgExtraNamespaces[107] = "VB_talk"; $wgContentNamespaces[] = 106;
## PureBasic $wgExtraNamespaces[108] = "PB"; $wgExtraNamespaces[109] = "PB_talk"; $wgContentNamespaces[] = 108;
## REALbasic $wgExtraNamespaces[110] = "RB"; $wgExtraNamespaces[111] = "RB_talk"; $wgContentNamespaces[] = 110;
## ScriptBasic $wgExtraNamespaces[112] = "SB"; $wgExtraNamespaces[113] = "SB_talk"; $wgContentNamespaces[] = 112;
## thinBASIC $wgExtraNamespaces[114] = "TB"; $wgExtraNamespaces[115] = "TB_talk"; $wgContentNamespaces[] = 114;
## HotBasic $wgExtraNamespaces[116] = "HB"; $wgExtraNamespaces[117] = "HB_talk"; $wgContentNamespaces[] = 116;
## EBasic $wgExtraNamespaces[118] = "EB"; $wgExtraNamespaces[119] = "EB_talk"; $wgContentNamespaces[] = 118;
## Category Namespaces $wgExtraNamespaces[120] = "PX_Category";
$wgExtraNamespaces[121] =
"FB_Category"; $wgExtraNamespaces[122] = "GB_Category"; $wgExtraNamespaces[123] = "VB_Category";
$wgExtraNamespaces[124] =
"PB_Category"; $wgExtraNamespaces[125] = "RB_Category"; $wgExtraNamespaces[126] = "SB_Category";
$wgExtraNamespaces[127] =
"TB_Category"; $wgExtraNamespaces[128] = "HB_Category"; $wgExtraNamespaces[129] = "EB_Category";
If I have a page named "SB:STRING()" and want to assign it
to the "SB
Category:String Functions" category, everything is grouped
under "S"
due to the language name space.
I searched till for hours trying to find the solution to
this and nothing.
If anyone could shed some light on using categories that
are unique to
name spaces, I would be very grateful. My wiki project is
on hold till
this gets resolved.
Thanks !
John
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-- Sylvain Machefert
Tous aux Balkans ! http://www.tousauxbalkans.net _______________________________________________ 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
Orange vous informe que cet e-mail a ete controle par l'anti-virus mail. Aucun virus connu a ce jour par nos services n'a ete detecte.
-- No virus found in this incoming message. Checked by AVG. Version: 7.5.526 / Virus Database: 270.6.19/1661 - Release Date: 09/09/2008 04:58
Dr JFBurté,
Thank you for your continued interest in the All Basic wiki configuration setup.
My goal is this.
String Functions
XX <-- Language code (alphabetical)
Page Name (alphabetical)
XX
Page Name . . .
Is UpBranch a Mediawiki keyword? I'm still a bit unclear on how to do this. I have been managing Mediawiki sites for years but never got too creative. The All Basic wiki is a challenge for me. ;-)
John
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Dr JFBurté Sent: Tuesday, September 09, 2008 4:39 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Custom Namespace Categories
Hi John, keep in, mind you can also insert a Category link by editing each category page and so on, to obtain the "tree" you need to dysplay around all the functions that populate your site type for example [[Category:UpBranch]] and then go to http://www.allbasic.info/wiki/index.php/Category:UpBranch and so on whith each Category page you need to include in your tree @+ de jfb "0.02$"
----- Original Message ----- From: "John Spikowski" support@allbasic.info To: "'MediaWiki announcements and site admin list'" mediawiki-l@lists.wikimedia.org Sent: Wednesday, September 10, 2008 1:25 AM Subject: Re: [Mediawiki-l] Custom Namespace Categories
I can live with how this works but any better suggestions
(with how-to's)
would be appricated.
http://www.allbasic.info/wiki/index.php/Category:String_Functions
John
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of John Spikowski Sent: Tuesday, September 09, 2008 3:46 PM To: 'MediaWiki announcements and site admin list' Subject: Re: [Mediawiki-l] Custom Namespace Categories
As John Spikowski, I would like this as well! ;-)
Is this something that can be done without php coding or is this a configuration change in LocalSettings.php?
The feedback is great and greatly appreciated.
John
As John Spikowksi, I'd like to create my own namespaces
which act as
if they were categories, images, medias. (i.e. extend built-in namespaces)
For namespace which would acts like Image: I'd like to custom the automatically generated Image:Xyz.gif page, for example Mp3:Myfile.mp3 would display id3 info and a flash player, QBasic:MySourceCode.bas will syntax highlight the file in
quick basic.
For the QBasic_Category and xyz_Category, they will display
and act as
categories, but with another namespace numer.
The big advantage :
- the search and queries (in special page) can be performed on
specified namespaces
- on wiki with user right access per namespace, I can
restrict some
images/files to granted user, and let Image: namespace for public visitors. etc...
2008/9/9, John Spikowski support@allbasic.info:
List,
I have setup Mediawiki for the www.AllBasic.Info site and
I created
custom name spaces for each Basic language. I'm having
a problem
defining or understanding how to create categories
specific to each
language name space.
This is what I have defined so far.
## ProvideX $wgExtraNamespaces[100] = "PX"; $wgExtraNamespaces[101] = "PX_talk";
$wgContentNamespaces[] = 100;
## FreeBasic $wgExtraNamespaces[102] = "FB"; $wgExtraNamespaces[103] = "FB_talk";
$wgContentNamespaces[] = 102;
## Gambas $wgExtraNamespaces[104] = "GB"; $wgExtraNamespaces[105] = "GB_talk";
$wgContentNamespaces[] = 104;
## Visual Basic $wgExtraNamespaces[106] = "VB"; $wgExtraNamespaces[107] = "VB_talk";
$wgContentNamespaces[] = 106;
## PureBasic $wgExtraNamespaces[108] = "PB"; $wgExtraNamespaces[109] = "PB_talk";
$wgContentNamespaces[] = 108;
## REALbasic $wgExtraNamespaces[110] = "RB"; $wgExtraNamespaces[111] = "RB_talk";
$wgContentNamespaces[] = 110;
## ScriptBasic $wgExtraNamespaces[112] = "SB"; $wgExtraNamespaces[113] = "SB_talk";
$wgContentNamespaces[] = 112;
## thinBASIC $wgExtraNamespaces[114] = "TB"; $wgExtraNamespaces[115] = "TB_talk";
$wgContentNamespaces[] = 114;
## HotBasic $wgExtraNamespaces[116] = "HB"; $wgExtraNamespaces[117] = "HB_talk";
$wgContentNamespaces[] = 116;
## EBasic $wgExtraNamespaces[118] = "EB"; $wgExtraNamespaces[119] = "EB_talk";
$wgContentNamespaces[] = 118;
## Category Namespaces $wgExtraNamespaces[120] = "PX_Category";
$wgExtraNamespaces[121] =
"FB_Category"; $wgExtraNamespaces[122] = "GB_Category"; $wgExtraNamespaces[123] = "VB_Category";
$wgExtraNamespaces[124] =
"PB_Category"; $wgExtraNamespaces[125] = "RB_Category"; $wgExtraNamespaces[126] = "SB_Category";
$wgExtraNamespaces[127] =
"TB_Category"; $wgExtraNamespaces[128] = "HB_Category"; $wgExtraNamespaces[129] = "EB_Category";
If I have a page named "SB:STRING()" and want to assign it
to the "SB
Category:String Functions" category, everything is grouped
under "S"
due to the language name space.
I searched till for hours trying to find the solution to
this and nothing.
If anyone could shed some light on using categories that
are unique to
name spaces, I would be very grateful. My wiki project is
on hold till
this gets resolved.
Thanks !
John
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-- Sylvain Machefert
Tous aux Balkans ! http://www.tousauxbalkans.net _______________________________________________ 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
Orange vous informe que cet e-mail a ete controle par
l'anti-virus mail.
Aucun virus connu a ce jour par nos services n'a ete detecte.
-- No virus found in this incoming message. Checked by AVG. Version: 7.5.526 / Virus Database: 270.6.19/1661 - Release Date: 09/09/2008 04:58
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
An extension that gives "special powers" to a namespace is not hard to write. Create an extension that runs on every page load, and check:
if ($wgTitle && ($wgTitle->getNamespace() == your namespace ID)) { ... do fun stuff... }
DanB ________________________________________ From: Sylvain Machefert [iubito@gmail.com]
As John Spikowksi, I'd like to create my own namespaces which act as if they were categories, images, medias. (i.e. extend built-in namespaces)
Unfortunatly php is not my native language. Only one guess allowed to what my primary language is. ;-)
... do fun stuff...
Translation:
Add content to wiki Announce wiki is ready to use ...
John
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Daniel Barrett Sent: Tuesday, September 09, 2008 5:12 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Custom Namespace Categories
An extension that gives "special powers" to a namespace is not hard to write. Create an extension that runs on every page load, and check:
if ($wgTitle && ($wgTitle->getNamespace() == your namespace ID)) { ... do fun stuff... }
DanB ________________________________________ From: Sylvain Machefert [iubito@gmail.com]
As John Spikowksi, I'd like to create my own namespaces which act as if they were categories, images, medias. (i.e. extend built-in namespaces)
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
I have been programming in Basic since the late 70's.
I do maintenance programming in the other languages. (with a little help from my friends)
John
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Platonides Sent: Thursday, September 11, 2008 2:39 PM To: mediawiki-l@lists.wikimedia.org Subject: Re: [Mediawiki-l] Custom Namespace Categories
John Spikowski wrote:
Unfortunatly php is not my native language. Only one guess
allowed to
what my primary language is. ;-)
ScriptBasic!
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
DanB,
Which hook would that be?
Jack
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Daniel Barrett Sent: Tuesday, September 09, 2008 8:12 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Custom Namespace Categories
An extension that gives "special powers" to a namespace is not hard to write. Create an extension that runs on every page load, and check:
if ($wgTitle && ($wgTitle->getNamespace() == your namespace ID)) { ... do fun stuff... }
DanB ________________________________________ From: Sylvain Machefert [iubito@gmail.com]
As John Spikowksi, I'd like to create my own namespaces which act as if they were categories, images, medias. (i.e. extend built-in namespaces)
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
OutputPageBeforeHTML works for me.
DanB
-----Original Message----- From: Jack D. Pond
DanB,
Which hook would that be?
Jack
-----Original Message----- if ($wgTitle && ($wgTitle->getNamespace() == your namespace ID)) { ... do fun stuff... }
mediawiki-l@lists.wikimedia.org