Post reply

Name:
Email:
Subject:
Tags:

Seperate each tag by a comma
Message icon:

Attach:
(Clear Attachment)
(more attachments)
Allowed file types: apk, doc, docx, gif, jpg, mpg, pdf, png, txt, zip, xls, 3gpp, mp2, mp3, wav, odt, ods, html, mp4, amr, apk, m4a, jpeg, aac
Restrictions: 50 per post, maximum total size 150000KB, maximum individual size 150000KB
Note that any files attached will not be displayed until approved by a moderator.
Anti-spam: complete the task

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: Dhammañāṇa
« on: October 27, 2019, 04:35:49 PM »

Nyom, Atma let it rest for now as it is, and there are month and years other things, so maybe a solution without abounding stylings will be found (meanwhile certain links and headers look strange, but there are many other things as well, so no problem)

So no need to feel burdened here.
Posted by: Moritz
« on: October 27, 2019, 03:32:33 PM »

Maybe it is possible to modify the plugin, or write a different one, or to change DokuWiki code directly, for a maybe better, less "brutal" solution, possibly adding formatting for missing cases like titles and link-texts one by one, case by case, instead of just a general "whatever still looks like WikiSyntax, let us render it again").
Being able to use formatting in titles and link texts seems to be a good function that would be good to have in DokuWiki in general. Maybe possible to contribute to DokuWiki directly to implement this as a basic standard function.
Possible that it would be even less work than to replace everything if things like that are used often on accesstoinsight.eu.

But I don't know at the moment when I would find time, and if it really would be easily possible. I would try to look into it in the next days.

_/\_ _/\_ _/\_
Posted by: Dhammañāṇa
« on: October 27, 2019, 02:55:35 PM »

Sadhu for the quick look, Nyom.

Atma thought so.

As the header and link-style plugin is used so far, stylings have to be removed from headers but also inside of link texts.

Lot, lot of work and not so easy a "quick in between" one.

As nice plugin's are, seem, the more the more problems.
Posted by: Moritz
« on: October 27, 2019, 02:16:13 PM »

Vandami Bhante _/\_ _/\_ _/\_

I had not become aware earlier.

There seems to be a bug in relation with footnotes when using underline syntax.
//...//

//...//

What does Nyom Moritz think? Possible an issue of "real/utf url"?

Having checked, it is apparently an issue with the "Wiki-Style Script" plugin which I installed, if remembering correctly, after Danilo's recommendation. The plugin was installed to solve some other problem, making it possible to render formatting (like underline, bold, italic, ...) inside section headers correctly. And it worked well for that. Otherwise they would simply stay in WikiSyntax, i.e. **bold**, //italic//, __underlined__.
If I understand correctly, the plugin works by simply translating any "left-over" WikiText into HTML if there is anything that looks like it has not been properly rendered. Just adding some additional "render WikiText to HTML" step at the end. So it is really just some kind of "hack".

So in this case here, it would see the "__" in the footnote links and anchors, looking like some "left-over" WikiSyntax that had not been rendered yet, and convert it to HTML underline tags. Which is of course wrong in this case.

After disabling it now, footnotes work again.

I don't remember if there was another problem besides formatting in section/title headers that the "Wiki-Style Script" plugin was solving. Whatever it was, possibily needs a different solution.

_/\_ _/\_ _/\_
Posted by: Dhammañāṇa
« on: October 27, 2019, 01:09:50 PM »

Aramika   *

Dieses neue Thema (bzw. diese/r Beitrag/e) wurde  aus abgetrennten Beiträgen, ursprünglich in [ati.eu] Bug reports and other "repayments"/gifts for Dokuwiki , hinzugefügt. Für ev. ergänzende Informationen zur sehen Sie bitte das Ursprugsthema ein. Anumodana!
The new topic (or post/s) here are originaly from [ati.eu] Bug reports and other "repayments"/gifts for Dokuwiki . For eventual additionally information: please visit also the Topic of origin. Anumodana!

[Original post:]


There seems to be a bug in relation with footnotes when using underline syntax. Here a sample having come across:

Footnote 75 gives this link

http://accesstoinsight.eu/en/dictionary/buddhist_dictionary#fn%3Cu%3E75
http://accesstoinsight.eu/en/dictionary/buddhist_dictionary#fn75

Here the source text (http://accesstoinsight.eu/en/dictionary/buddhist_dictionary#sīla )

Code: [Select]
==== sīla ====

[[en:dictionary:buddhist_dictionary#sīla|➥]] **[[sīla|sīla]]**:(( __Appendix:__ //[[paccayasannissitasīla|paccayasannissita-sīla]]//, //[[paccāvekkhanasīla|paccāvekkhana-sīla]]//:, etc., are terms used in the Commentary for the proper contemplation (//[[paṭisaṅkhā]]// //[[yoniso]]//) of the 4 requisites of a monk, often dealt with in the old texts (e.g. [[en:tipitaka:sut:mn:mn.002.than|MN 2]]). Also the 3 other //[[pārisuddhisīla|pārisuddhi-sīla]]//, as //[[pātimokkhasaṁvarasīla|pātimokkhasaṁvara-sīla]]//, //[[indriyasīla|indriya-sīla]]//, and //[[ājīvapārisuddhisīla|ājīvapārisuddhi-sīla]]//, though under these names perhaps only known in the Commentary, are fully dealt with in the old texts, e.g. [[en:tipitaka:sut:mn:mn.053.than|MN 53]], [[en:tipitaka:sut:dn:dn.02.0.than|DN 2]], [[en:tipitaka:sut:mn:mn.002.than|MN 2]], etc. The terms //[[pannatti-sīla|pannatti-sīla]]// and //[[paññattisīla|paññatti-sīla]]// are used only in the Commentary)) 'morality', 'virtue', is a mode of mind and volition (see //[[cetanā]]//) manifested in speech or bodily action (see kamma). It is the foundation of the whole Buddhist practice, and therewith the first of the 3 kinds of training (see //[[sikkhā]]//) that form the 3-fold division of the 8-fold Path (see //[[magga]]//), i.e. morality, concentration and wisdom.

Testpage: http://accesstoinsight.eu/playground/index

The rendering of footnote link seems to be a general issue, see test-site here:

the underlines of the link would be rendered into
Code: [Select]
...#fn%3Cu%3E1
or
#fn<u>1

What does Nyom Moritz think? Possible an issue of "real/utf url"?