Changes between Version 2 and Version 4 of Ticket #14425
- Timestamp:
- 2017-03-01T21:25:03+01:00 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #14425
- Property Component Core → Core validator
- Property Keywords patch validator removed
- Property Milestone → 17.03
- Property Summary (patch) Improve Wikipedia tag validators → [patch] Improve Wikipedia tag validators
-
Ticket #14425 – Description
v2 v4 5 5 * remove space before page title ("en: Foo" -> "en:Foo") 6 6 * replace "_" with spaces ("en:Foo_bar" -> "en:Foo bar") 7 * replace "_" with spaces ("en:Foo_bar" -> "en:Foo bar")8 7 * capitalize first letter if it's not "jbo" language ("en:foo" -> "en:Foo") 8 * double language link ("en:en:Foo" -> "en:Foo") 9 9 10 * double language link ("en:en:Foo" -> "en:Foo") 11 {{{ 12 This part is not implemented because it requires regex backreferences in validators, 13 which don't work for some reason: *[wikipedia =~ /^([-a-z]{2,12}:)\1/] {...} 14 }}} 15 16 This patch also adds a few additional validator functions: trim, upper and lower (for completeness) 10 This patch also adds a few additional validator functions: trim, upper and lower