[Commits] [wesnoth/wesnoth] e3adf0: html.py: hone regexes for URL linking

GitHub noreply at github.com
Fri May 16 05:48:37 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: e3adf001a87ad5183f472ca21f6c53d7ce97d58e
      https://github.com/wesnoth/wesnoth/commit/e3adf001a87ad5183f472ca21f6c53d7ce97d58e
  Author: Groggy Dice <groggydice at yahoo.com>
  Date:   2014-05-16 (Fri, 16 May 2014)

  Changed paths:
    M data/tools/addon_manager/html.py

  Log Message:
  -----------
  html.py: hone regexes for URL linking

First, a couple of extraneous quotes were left in the second regex around
"</a>".

Second, it is possible that a period or question mark could be used to end
a sentence, rather than be part of the URL. So check that these characters
are followed by an alphanumeric character to make them part of the URL.


  Commit: 1a794a2d1e84674a3ac056c11881f64b3ffdcd63
      https://github.com/wesnoth/wesnoth/commit/1a794a2d1e84674a3ac056c11881f64b3ffdcd63
  Author: Groggy Dice <groggydice at yahoo.com>
  Date:   2014-05-16 (Fri, 16 May 2014)

  Changed paths:
    M data/tools/wmllint

  Log Message:
  -----------
  wmllint: warn about no side key in [set/(dis)allow_recruit],[store_gold]

Those who are updating from old UMC may otherwise be caught unawares by the
change from defaulting to side 1 when the side key is missing, to all
sides. Later we will have an option to turn off this warning.


  Commit: d866189a0e80e8a03e0271e3a6929a9f9bafa26f
      https://github.com/wesnoth/wesnoth/commit/d866189a0e80e8a03e0271e3a6929a9f9bafa26f
  Author: Groggy Dice <groggydice at yahoo.com>
  Date:   2014-05-16 (Fri, 16 May 2014)

  Changed paths:
    M data/tools/wmllint

  Log Message:
  -----------
  wmllint: warn about no side key in [*_shroud],[gold],[modify_side/ai]

Those who are updating from old UMC may otherwise be caught unawares by the
change from defaulting to side 1 when the side key is missing, to all
sides. Later we will have an option to turn off this warning.

Since the insertion of an attribute line is now commented out, it may be
questioned whether this still belongs in hack_syntax. However, at some
point the plan is to give users an option to insert the side= key.


  Commit: 93353ee0a67bd0a608b299ffdbbd049ee49e17c7
      https://github.com/wesnoth/wesnoth/commit/93353ee0a67bd0a608b299ffdbbd049ee49e17c7
  Author: Groggy Dice <groggydice at yahoo.com>
  Date:   2014-05-16 (Fri, 16 May 2014)

  Changed paths:
    M data/tools/wmllint

  Log Message:
  -----------
  wmllint: add option to turn off missing side= key warning


Compare: https://github.com/wesnoth/wesnoth/compare/da388ce21a7d...93353ee0a67b


More information about the Commits mailing list