Last modified: 2014-01-08 23:30:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T54855, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52855 - Invalid (linktrail/linkprefix?) regexp for hi wp
Invalid (linktrail/linkprefix?) regexp for hi wp
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Gabriel Wicke
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-14 16:25 UTC by ssastry
Modified: 2014-01-08 23:30 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description ssastry 2013-08-14 16:25:37 UTC
Try any Hindi page.  Ex: http://localhost:8000/hi/%E0%A4%95%E0%A5%83%E0%A4%B7%E0%A5%8D%E0%A4%A3%E0%A4%BF%E0%A4%95%E0%A4%BE

You will find the error output in the terminal where you started the server:

[SyntaxError: Invalid regular expression: /^([a-z\x{0900}-\x{0963}\x{0966}-\x{A8E0}-\x{A8FF}]+)/: Range out of order in character class]
Comment 1 Gabriel Wicke 2013-08-16 00:21:55 UTC
This is a known issue. Probably a difference between PHP and JS char class syntax that we could handle in our regexp conversion code.
Comment 2 Gerrit Notification Bot 2014-01-07 20:52:40 UTC
Change 106106 had a related patch set uploaded by GWicke:
Fix link prefix and trail regexp handling

https://gerrit.wikimedia.org/r/106106
Comment 3 Gerrit Notification Bot 2014-01-08 02:12:25 UTC
Change 106106 merged by jenkins-bot:
Fix link prefix and trail regexp handling

https://gerrit.wikimedia.org/r/106106

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links