https://bugzilla.wikimedia.org/show_bug.cgi?id=18890





--- Comment #10 from Bill Mitchell <[email protected]>  2009-05-26 
22:59:03 UTC ---
Speaking to comment #6:
1. This comment does not directly relate to the functionality of the
Cite_body.php modifications at all. It is more a matter of how to accommodate
the implied changes in wikitext usage.
2. In practice, the hardcoded div could, and no doubt would, be prettified by
packaging it in a pair of templates. Wikipedia already has {{refbegin}} and
{{refend}} to format a block of cited sources similarly to the way {{reflist}}
expands and specially formats a list of <references />. The template pair might
be named something like {{starthide}} and {{endhide}}. I think a better
alternative might be something like {{startblock|hide}} and {{endblock}} --
allowing the {{startblock}} template to be expanded to support other types of
special-purpose blocks than this ''hide'' purpose.
3. An alternative might be to junk the approach taken by the modified
Cite_body.php in Bugzilla:18890 for another approach. One such approach might
be to introduce a new element to the References tag to identify a block of ref
declarations; something like
<references block>
<ref name=1st>this is the first ref.</ref>
...
<ref name=327th>this is the three hundred and twenty seventh ref</ref>
</references>
I thought about this alternative, and shied away from it because
3a. It struck me that its implementation starting from the Cite-MW1.14-r45577
cite would likely be messier than the approach taken by Bug#18890.
3b. It does not offer the possibility of editor control of the ordering the
expanded list of references. The list would be expanded and numbered in the
order of appearance in the wikitext prose (whatever ref is referenced first in
the wikitext prose would be first in the expanded list and would be numbered
"1." , as with current usage). The approach taken by bug#18890 offers editors
an  additional flexibility option to control the ordering of the expanded list
of references if they desire to do so.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to