Changes between Version 2 and Version 4 of Ticket #14425


Ignore:
Timestamp:
2017-03-01T21:25:03+01:00 (8 years ago)
Author:
nyurik
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14425

    • Property Component CoreCore validator
    • Property Keywords patch validator removed
    • Property Milestone17.03
    • Property Summary (patch) Improve Wikipedia tag validators[patch] Improve Wikipedia tag validators
  • Ticket #14425 – Description

    v2 v4  
    55* remove space before page title   ("en: Foo" -> "en:Foo")
    66* replace "_" with spaces   ("en:Foo_bar" -> "en:Foo bar")
    7 * replace "_" with spaces   ("en:Foo_bar" -> "en:Foo bar")
    87* capitalize first letter if it's not "jbo" language   ("en:foo" ->  "en:Foo")
     8* double language link ("en:en:Foo" -> "en:Foo")
    99
    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)
     10This patch also adds a few additional validator functions: trim, upper and lower