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(a)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(a)allbasic.info>
To: <mediawiki-l(a)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(a)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(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l