I have an all-core RTL (Hebrew) MediaWiki 1.34.0 website with Cite and ParserFunctions loaded in LocalSettings.php.
To create article footnotes in that website in an RTL manner I try to use the following template:
<includeonly>{{#תנאי:{{{שם|}}} | {{#tag:ref |<noinclude>1=</noinclude>{{{תוכן|}}} |<noinclude>name=</noinclude>{{{שם|}}} }} | {{#tag:ref |<noinclude>1=</noinclude>{{{תוכן|}}} }} }}</includeonly>
To which I call in articles by this pattern:
* בדיקה ראשונה{{הערה|תוכן=בדיקה ראשונה}} * בדיקה שנייה{{הערה|תוכן=בדיקה שנייה|שם=שם_ראשון}} * בדיקה שלישית{{הערה|שם=שם_ראשון}}
- The first call describes an unnamed call.
- The second call describes a call with creating a name (as a second parameter call)
- The third call described calling the second call by name (as a first parameter call)
The first call works fine: [1]
clickable footnote number and <ol><li> 1
under <references />
are both created.
The second call works fine: [2]
clickable footnote number and <ol><li> 2
under <references />
are both created.
My problem is with the third call: The clickable footnote number is [3]
instead [2]
and <ol><li> 3
was wrongly created under <references />
(it should not have been created in the first place because 2.0
and 2.1
should have been created instead).
Please share with the MediaWiki community how would you solve that problem.