On Saturday 03 July 2004 18:14, Timwi wrote:
Timwi wrote:
Jens Frank wrote:
There are several category names with a / in some
languages:
It seems that the pipe ("|") character is disallowed in our article
titles (and hence, in categories too), but allowed in URLs (I couldn't
find the relevant RfC on this for definite confirmation; can someone
find it?). How about we use that instead?
Actually, I have a better idea now. How about two slashes (//)? Then we
can have something like "Category:9/11//People" to have the intersection
of Category:9/11 and Category:People.
I like this idea. By the way, whichever is done,
$t = preg_replace("'///+'","//",$t);
if(strchr($t,"//")) {
should really be
if(strchr($t,"//")) {
$t = preg_replace("'///+'","//",$t);