[Mediawiki-l] that awful <ref> syntax

River Tarnell river at wikimedia.org
Wed Dec 12 11:52:55 UTC 2007


so, the first thing i notice when editing Wikipedia articles these days
is that they're full of <ref> tags that make it nearly impossible to
find the actual text of the article.  the problem seems to be that the
entire reference is inline in the text.  while this is useful for
locality of editing, wouldn't it be nice if it would be close to the
text, but not inline?

for example, references could be named and referred to with [name], and
then defined at the end of each paragraph:

Wikipedia[wikip] is a project of the Wikimedia Foundation[wmf].
[wikip] http://en.wikipedia.org/
[wmf] http://wikimediafoundation.org/

now, it's still easy to see and change the references, but you can
actually see the article text as well.

for an example from a real Wikipedia article, see
<http://www.mediawiki.org/wiki/User:Kate/ref>.

of course this would require some changes to the core parser to do
properly, but i think the feature is useful enough to be worth it.

comments?

	- river.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20071212/37028405/attachment.pgp 


More information about the MediaWiki-l mailing list