[Mediawiki-l] Custom Namespace Categories

John Spikowski support at allbasic.info
Tue Sep 9 23:57:29 UTC 2008


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 at lists.wikimedia.org 
> [mailto:mediawiki-l-bounces at 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 at allbasic.info>
> To: "'MediaWiki announcements and site admin list'" 
> <mediawiki-l at 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 at lists.wikimedia.org
> >> [mailto:mediawiki-l-bounces at 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 at 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 at 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 at lists.wikimedia.org
> >> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >>
> >>
> >> _______________________________________________
> >> MediaWiki-l mailing list
> >> MediaWiki-l at lists.wikimedia.org
> >> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
> >
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l at 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 at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l




More information about the MediaWiki-l mailing list