I want to suggest to enhance the way link texts are generated, by introducing directives to links. This is esp. important for subpage links. [[link|text|<directives>]] where directives are 'l' - lower case, 'c' - capitalize, 's' - subpage. multiple directives can appear.
so [[../Some Page||ls]] will give the text as 'some page'.
Thanks, ittay
On 30/01/07, Ittay Dror ittayd@qlusters.com wrote:
I want to suggest to enhance the way link texts are generated, by introducing directives to links. This is esp. important for subpage links. [[link|text|<directives>]] where directives are 'l' - lower case, 'c' - capitalize, 's' - subpage. multiple directives can appear.
This seems redundant to the existing piped link mechanism and doesn't seem useful for MediaWiki in general.
You're putting too much faith in the "subpage" mechanism - there is no such thing as a subpage, really - it's just some special handling of links and breadcrumbs that appears when a flag is enabled for certain namespaces.
Rob Church
Rob Church wrote:
On 30/01/07, Ittay Dror ittayd@qlusters.com wrote:
I want to suggest to enhance the way link texts are generated, by introducing directives to links. This is esp. important for subpage links. [[link|text|<directives>]] where directives are 'l' - lower case, 'c' - capitalize, 's' - subpage. multiple directives can appear.
This seems redundant to the existing piped link mechanism and doesn't seem useful for MediaWiki in general.
well, it will still allow me to use [[Some Page||l]] to see 'some page' in the text.
You're putting too much faith in the "subpage" mechanism - there is no such thing as a subpage, really - it's just some special handling of links and breadcrumbs that appears when a flag is enabled for certain namespaces.
but i really like it. it allows me to create pages talking about the same topic in different contexts, without needing to embed the context as part of the topic. In my specific case, the wiki is to describe a product. so I have an introduction page for both 1.0 and 2.0 versions. without subpages, i have to name the pages '1.0 introduction' and '2.0 introduction' and every other page also. it makes referencing pages awkward (always the pesky '1.0' prefix), makes generating nice lists awkward (always the pesky '1.0' prefix), and makes reusing the same page in two versions awkward (if it links to other pages, then i need to go over, replacing every 1.0 with 2.0). also, for example, FAQ pages (needing a pesky FAQ).
ittay
Rob Church
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org