Done Lars; I edited Modulo:Pg to keep Template:Pg
simpler.
Alex
2013/6/3 Alex Brollo <alex.brollo(a)gmail.com>
Thanks Lars: OK. :-)
2013/6/3 Lars Aronsson <lars(a)aronsson.se>
> On 06/03/2013 12:10 AM, Alex Brollo wrote:
>
>> Take a look to this page <http://it.wikisource.org/**
>> wiki/Pagina:Manuale_di_**economia_politica_con_una_**
>>
introduzione_alla_scienza_**sociale.djvu/583<http://it.wikisource.org/wi…3>>.
>> As you see, page numbers are simply wrapped into a tl|Pg. No other
>> parameters. Nevertheless, they are transformed into active links do right
>> djvu pages.
>>
>> Now, go here <http://it.wikisource.org/**wiki/Manuale_di_economia_**
>> politica_con_una_introduzione_**alla_scienza_sociale/Indice_**
>>
dei_nomi_di_autori#pagename583<http://it.wikisource.org/wiki/Manuale_di_…
>> **> where the same page is transcluded in ns0. Page numbers now are
>> active links to the right subpage/chapter.
>>
>> This trick uses: Template:Pg <http://it.wikisource.org/**
>> wiki/Template:Pg <http://it.wikisource.org/wiki/Template:Pg>>,
>> Modulo:Pg
<http://it.wikisource.org/**wiki/Modulo:Pg<http://it.wikisource.org/wiki/Modulo:Pg>>,
>> and this Modulo:Dati/Manuale.... <http://it.wikisource.org/**
>> wiki/Modulo:Dati/Manuale_di_**economia_politica_con_una_**
>>
introduzione_alla_scienza_**sociale.djvu<http://it.wikisource.org/wiki/M…u>>;
>> nothing more than this, no javascript and no AJAX, so I presume (I didn't
>> test by now) that links are running too into any html-based export of ns0
>> pages as server builds them.
>>
>
> Excellent! However, on the transcluded page, the link goes only to the
> chapter URL. It should also add #pag137 or #pagename147, since
> all page links in the margin of the transcluded chapter are marked
> like this:... id="pag137"><span id="pagename147">...
>
>
> --
> Lars Aronsson (lars(a)aronsson.se)
> Project Runeberg - free Nordic literature -
http://runeberg.org/
>
>
>
>
> ______________________________**_________________
> Wikisource-l mailing list
> Wikisource-l(a)lists.wikimedia.**org <Wikisource-l(a)lists.wikimedia.org>
>
https://lists.wikimedia.org/**mailman/listinfo/wikisource-l<https://list…
>