Dear all,
I recently added a new item to the list of shared scripts : "PageNumbers.js" is a script that renders page numbers associated with the "page" command.
Javascript rendering allows phrases that cross page breaks to be indexed by search engines, and also to be searched in the navigator window. (see http://en.wikisource.org/wiki/Wikisource:Scriptorium#searching_across_page_b... ) In addition, the script highlights the text that corresponds to a page when the mouse is passed over a page link.
Example : http://en.wikisource.org/wiki/Transactions_of_the_Geological_Society,_1st_se...
To install it on your wiki, see http://wikisource.org/wiki/Wikisource:Shared_scripts
Thomas
Hi ThomasV, looks interesting, but we normally combine words at page breaks on the previous page. Are there any known interface-problems to the current system.
There is one small problem on your example-pages. Some of the pages didn't get marked when hovering over the page number in the current version of the Opera browser.
what must be done to aktivate this on our wiki, and is ist reversible?
Thanks a lot
joergens.mi
2010/8/6 ThomasV thomasV1@gmx.de
Dear all,
I recently added a new item to the list of shared scripts : "PageNumbers.js" is a script that renders page numbers associated with the "page" command.
Javascript rendering allows phrases that cross page breaks to be indexed by search engines, and also to be searched in the navigator window. (see
http://en.wikisource.org/wiki/Wikisource:Scriptorium#searching_across_page_b... ) In addition, the script highlights the text that corresponds to a page when the mouse is passed over a page link.
Example :
http://en.wikisource.org/wiki/Transactions_of_the_Geological_Society,_1st_se...
To install it on your wiki, see http://wikisource.org/wiki/Wikisource:Shared_scripts
Thomas
Wikisource-l mailing list Wikisource-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikisource-l
Michael Jörgens a écrit :
Hi ThomasV, looks interesting, but we normally combine words at page breaks on the previous page. Are there any known interface-problems to the current system.
Please read the discussion at en.ws This is not about combining hyphenated words; it is about text being indexed and searched. The current system does not let you search (e.g. with control-F) for a phrase that crosses a page break, and it does not let search engines index such a phrase.
There is one small problem on your example-pages. Some of the pages didn't get marked when hovering over the page number in the current version of the Opera browser.
there might be problems due to browser differences ; thanks for reporting them.
what must be done to aktivate this on our wiki,
you need to use the same "pagenum" template as en.ws. The script is installed just like any other script. see the link.
The script renders page numbers in the margin of the text; it would be possible to change it in order to render page numbers inside the text, as is usually the case at de.ws ; however this will break the possibility to search across page breaks with control-F
and is ist reversible?
What do you mean by "reversible" ? To my knowledge every configuration setting is reversible.
Thomas
Thanks a lot
joergens.mi
2010/8/6 ThomasV <thomasV1@gmx.de mailto:thomasV1@gmx.de>
Dear all, I recently added a new item to the list of shared scripts : "PageNumbers.js" is a script that renders page numbers associated with the "page" command. Javascript rendering allows phrases that cross page breaks to be indexed by search engines, and also to be searched in the navigator window. (see http://en.wikisource.org/wiki/Wikisource:Scriptorium#searching_across_page_breaks_doesn.27t_work ) In addition, the script highlights the text that corresponds to a page when the mouse is passed over a page link. Example : http://en.wikisource.org/wiki/Transactions_of_the_Geological_Society,_1st_series,_vol._1/On_the_Pitch-lake_of_the_Island_of_Trinitad To install it on your wiki, see http://wikisource.org/wiki/Wikisource:Shared_scripts Thomas _______________________________________________ Wikisource-l mailing list Wikisource-l@lists.wikimedia.org <mailto:Wikisource-l@lists.wikimedia.org> https://lists.wikimedia.org/mailman/listinfo/wikisource-l
Wikisource-l mailing list Wikisource-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikisource-l
On 08/06/2010 04:17 PM, ThomasV wrote:
This is not about combining hyphenated words; it is about text being indexed and searched.
This sounds very useful.
you need to use the same "pagenum" template as en.ws.
However, this sounds like it makes things very complicated. How ever will we roll out improvements to the Swedish (5000 proofread pages), Danish (900), Estonian (100) and other new languages of Wikisource? Installing the ProofreadPage extension must be a single decision and not dozens of small extra installments and adjustments. These small language communities never have to bother with the MySQL version, because when an update comes it just works. This is how the ProofreadPage system also needs to work, so small languages can focus on proofreading books instead of software upgrades.
Lars Aronsson a écrit :
you need to use the same "pagenum" template as en.ws.
However, this sounds like it makes things very complicated. How ever will we roll out improvements to the Swedish (5000 proofread pages), Danish (900), Estonian (100) and other new languages of Wikisource? Installing the ProofreadPage extension must be a single decision and not dozens of small extra installments and adjustments. These small language communities never have to bother with the MySQL version, because when an update comes it just works. This is how the ProofreadPage system also needs to work, so small languages can focus on proofreading books instead of software upgrades.
I agree on this. However, I have no control on the time it takes for software updates to be reviewed and deployed on the WMF servers, and this time has become insanely long; the last code update was more than 4 months ago. This is why I prefer to write javascript modules at ws.org ; they can be modified instantly.
Anyway, this part of the code will be moved into the extension once it has been fully tested and polished. For the moment is has been deployed at 5 subdomains (en fr de no la )
Thomas
wikisource-l@lists.wikimedia.org