[MediaWiki-l] references

classic Classic list List threaded Threaded
2 messages Options
Bri
Reply | Threaded
Open this post in threaded view
|

[MediaWiki-l] references

Bri
Greetings!

Is there a way in the <references> tag to place the note first and then
the instances?

Now:

1. ↑ ^1.00 1.01 1.02 1.03 1.04 1.05 1.06 SRD-OGL v5.1

2. ↑ ^2.00 2.01 2.02 2.03 UA Classics Revisited

What I would like:

1. ↑ SRD-OGL v5.1 ^1.00 1.01 1.02 1.03 1.04 1.05 1.06

2. ↑ UA Classics Revisited ^2.00 2.01 2.02 2.03

Thanks in advance,
Brian
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: [MediaWiki-l] references

Bryan Davis
On Sun, May 28, 2017 at 9:19 AM, Bri <[hidden email]> wrote:

> Greetings!
>
> Is there a way in the <references> tag to place the note first and then the
> instances?
>
> Now:
>
> 1. ↑ ^1.00 1.01 1.02 1.03 1.04 1.05 1.06 SRD-OGL v5.1
> 2. ↑ ^2.00 2.01 2.02 2.03 UA Classics Revisited
>
> What I would like:
>
> 1. ↑ SRD-OGL v5.1 ^1.00 1.01 1.02 1.03 1.04 1.05 1.06
> 2. ↑ UA Classics Revisited ^2.00 2.01 2.02 2.03

Processing of the <references> tag is handled by the Cite extension.
There is some documentation on mediawiki.org [0] about customizing
it's output.

It looks to me like the "cite_references_link_many" message could be
changed to switch the display order for footnotes with multiple uses.
I created a [[MediaWiki:Cite_references_link_many]] page on a testing
wiki with the content `<li id="$1">↑ $3 <span
class="mw-cite-backlink">$2</span></li>` and that seems to do what you
are wanting. The "cite_references_link_one" message can be changed to
alter how a reference with a single usage is displayed.

[0]: https://www.mediawiki.org/wiki/Extension:Cite#Customization

Bryan
--
Bryan Davis              Wikimedia Foundation    <[hidden email]>
[[m:User:BDavis_(WMF)]] Manager, Cloud Services          Boise, ID USA
irc: bd808                                        v:415.839.6885 x6855

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l