[Mediawiki-l] Categories and #REDIRECT?
Jamie Bliss
astronouth7303 at gmail.com
Sun Apr 17 16:31:33 UTC 2005
I haven't looked at the redirect code, so I can't say for sure how it
works, or if this is already done.
Is there a standard function that returns a class/associative array of
a link's attributes, taking the link text as an argument? I would like
to see such a function being used for both parsing and redirecting.
The redirect code would only use the URL/translated title of it, but
the parser would use all of the attributes.
On 4/16/05, Jan Steinman <Jan at bytesmiths.com> wrote:
> Okay, one more #REDIRECT question...
>
> How about redirecting TO a Category: page? I read on Meta that you can
> do it by prefacing with a colon, but that it will only show the
> editable text.
>
> Does 1.5 (development) accomplish redirects to Category pages with all
> the included pages for the category?
>
> That would be very handy. For example, I have an Agriculture category,
> but no Agriculture page. I want the word "agriculture" to link to Good
> Stuff, but don't want to go to the trouble of fleshing out an
> Agriculture page at this time. It would be very convenient to #REDIRECT
> it off to [[:Category:Agriculture]] for the present.
>
> :::: "We need a revolution."
> :::: "Keep saying that, and we'll need a lawyer, assuming they let us
> have one."
> :::: Jan Steinman <http://www.Bytesmiths.com>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
--
-------------------------------------------------------------------
http://endeavour.zapto.org/astro73/
Thank you to JosephM for inviting me to Gmail!
Have lots of invites. Gmail now had 2GB.
More information about the MediaWiki-l
mailing list