Page MenuHomePhabricator

Page dynamic layout Page links displayed in Bengali Wikisource shown as [.E0.A6.9B.E0.A6.AC.E0.A6.BF] instead on page Number ৮ (8) and so on...
Closed, ResolvedPublic

Description

Page (NS:0) dynamic layout Page links displayed in Bengali Wikisource shown as [.E0.A6.9B.E0.A6.AC.E0.A6.BF] instead on page(NS:104) Number ৮ (8) and so on... . May be some java script tricks can help to fix the issues.

Event Timeline

jayantanth raised the priority of this task from to Needs Triage.
jayantanth updated the task description. (Show Details)
jayantanth subscribed.

This might be custom on-wiki code? https://bn.wikisource.org/wiki/মিডিয়াউইকি:Common.js loads https://bn.wikisource.org/wiki/মিডিয়াউইকি:PageNumbers.js ...
Are you sure that this is not a problem with the local JavaScript but with the MediaWiki software or its extensions themselves?

Same javascript have followed in Assamese Wikisource at https://as.wikisource.org/wiki/মিডিয়াউইকি:Common.js use and https://as.wikisource.org/wiki/মিডিয়াউইকি:PageNumbers.js, but their output at NS:0 at article Page links displayed in bengali number. Bengali and Assamese use the same bengali script.

So I have no idea how to fixed this issue , Is it a issues of javascript, Unicode, proofread extention, MW, or anything...

We used to have the same issue with em and en dashes. I am unaware of how that was fixed but think it was done with the javascript for page numbers. Have a look at that to see if you can see that component for en dashes.

@jayantanth: Can you reply to the last comment please?

After over ride from Mul WS MediaWiki:PageNumbers.js to our BNWS PageNumbers.js the main issues was gone and shown page number as we want ( i. e page Number ৮ (8)). But another new issues found here , the side menu as ENWS "Display Options" and their sub option (

  • Layout 1
  • Page links displayed
  • Page links within text

not shown and don't work properly. So I have added "Messages are configurable here" script in addition fron ENWS. But problem was not solved by additional "Messages are configurable here" script.

Actually we wants present pagemunber display with proper sidemenu as ENWS.

To check Dynamic Page follow this page.

Aklapper claimed this task.

the main issues was gone and shown page number as we want

Great it works now. Closing this bug as resolved as it was fixed.

not shown and don't work properly.

See the output in your web browser's developer tools:

https://bn.wikisource.org/wiki/বড়দিদি?debug=true says what is wrong:

ReferenceError: init_setting is not defined index.php:364:3:

		init_setting( "layout_name", "layout", "0" );