ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sietse Brouwer <sbbrouwer@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Proposal: making [[article]] and [[Article]] equivalent on the wiki
Date: Wed, 19 Sep 2012 14:11:20 +0200	[thread overview]
Message-ID: <CAF=dkzyohZ++W7bKCEVXP-puMh3uGr-ANLnoXDyKc+MVTVVNBQ@mail.gmail.com> (raw)

Hello, all,

The wiki currently has $wgCapitalLinks = false; meaning that if one
wishes to link to e.g. [[Columns]] inside a sentence one must write
"See the [[Columns|columns]] article." And if one links to another
article, one must remember whether its title is lowercase, Titlecase,
or if it doesn't matter because a redirect exists.

Proposal:
I propose we set
$wgCapitalLinks = true;
$wgCapitalLinkOverrides[ NS_FILE ] = false;
This will make writing a link as [[Article]] or [[article]] both
correct, but retain case sensitivity in the rest of the article title.
In the file namespace, however, case sensitivity will be retained for
the entire name, so that people won't have to download e.g.
"T-lilypond.tex".

Motivation below. Comments, agreement, disagreement welcome.
Cheers,
Sietse

Motivation:
Redirects can (and do) solve this, and so can changing the link, but
that is busywork that nobody should have to do.
Setting $wgCapitalLinks = true is a robust solution. Article titles
will remain case-sensitive, except for the first letter, meaning

* no more trying to remember whether an article is located at
[[lowercase]] or at [[Titlecase]]
* no more creating redirects from [[lowercase]] to [[Titlecase]] or vice versa
* you can always use the simplest wikilink, because [[Columns]] and
[[columns]] both work correctly.
* article titles will consistently be displayed in Titlecase
* for titles that should start in lowercase, such as [[texexec]] or
[[first-setup]], we'll need to add e.g. {{DISPLAYTITLE:texexec}}.

For the file namespace, it is preferable that case-sensitivity remains
on, especially for .tex and .zip files such as
http://wiki.contextgarden.net/File:T-lilypond.tex
http://wiki.contextgarden.net/index.php?title=Special%3APrefixIndex&prefix=&namespace=6
(The large amount of Titlecased filenames in that list is because in
the early days of this wiki, $wgCapitalLinks was also true
everywhere.)
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


             reply	other threads:[~2012-09-19 12:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-19 12:11 Sietse Brouwer [this message]
2012-09-19 12:13 ` Philipp Gesang
2012-09-24  8:24 ` Mojca Miklavec
2012-09-24  8:44   ` Sietse Brouwer
2012-09-24  9:32   ` Arthur Reutenauer
2012-09-24  9:44     ` Sietse Brouwer
2012-09-24 11:11   ` Sietse Brouwer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAF=dkzyohZ++W7bKCEVXP-puMh3uGr-ANLnoXDyKc+MVTVVNBQ@mail.gmail.com' \
    --to=sbbrouwer@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).