1581 Commits

Author SHA1 Message Date
Ignacio R. Morelle
d65124a8c2 terrain2wiki: Remove leading/trailing whitespace in lines before parsing
The Dark Flagstones terrain had .aliasof at the last line before the
closing tag, which caused a newline to be output right before </code> in
the wiki page, and in turn causing MW to generate invalid XHTML.

This change makes the generated wiki page valid XHTML again (except for
another problem with the actual glamdrol theme, not the page contents).
2012-05-12 21:29:00 +00:00
Ignacio R. Morelle
15510a8dcd terrain2wiki: Wrap .string and .aliasof column contents in <code>...
...and use &#124; instead of the Unicode broken bar (fixes bug #19678)

This also extends the vertical bar escaping to the .aliasof column
contents (in case we ever get base terrains with vertical bars)

By using <code> we should be able to stick to byte-accurate contents
without compromising readability, by styling terrain type strings in a
default monospace font suitable for code display (i.e. | and l should be
distinguishable from each other).
2012-05-12 21:11:07 +00:00
Alexander van Gessel
c9a5c32bb4 Rename [object]duration=level to [object]duration=scenario 2012-05-01 22:13:52 +01:00
Mark de Wever
7efcde580f Escape the pipe-symbol in the wiki uploader.
Fixes the display off terrains with a pipe-symbol in the wiki.

Fixes bug #19678.
2012-04-30 20:29:52 +00:00
Alexander van Gessel
04f9899eb6 Say *which* add-on is blocked by untracked files 2012-04-16 14:04:21 +01:00
Alexander van Gessel
dceff02c33 Make libgithub's readonly cleanup a bit more potent 2012-04-16 13:57:23 +01:00
Alexander van Gessel
7ee1d6c55f Have some logs make some more sense 2012-04-14 02:11:24 +01:00
Alexander van Gessel
1fc1cdddd2 Remove some unneeded imports 2012-04-14 02:11:21 +01:00
Alexander van Gessel
70abf0e6f8 Make wescamp send all its logs to stdout, rather than some 2012-04-14 02:11:19 +01:00
Alexander van Gessel
542e9122a9 Try to clean up readonly checkouts 2012-04-14 02:10:59 +01:00
Anonymissimus
3bbe460a4e wmmlint rule for previous commit
No updates to mainline wml required.
2012-03-29 15:28:34 +00:00
Anonymissimus
a396df7abe cheap wmllint rule for viewing_side -> side
Global renaming; there is only 1 false positive in my addons
and none in mainline. I hope nobody uses this string as a tag
or variable name.
2012-03-27 19:50:39 +00:00
Elias Pschernig
ed0a21cb58 [wmlunits] Set extra_defines from [campaign] in addition to the campaign define. 2012-03-23 20:40:37 +00:00
Elias Pschernig
1b4e09bc80 [wmlunits] Ignore hidden units also in the navigation bar. 2012-03-23 20:16:48 +00:00
Alexander van Gessel
6439916e9f Disable the python wmlxgettext script...
...so people don't spend days trying to figure out why it doesn't do
what it should
2012-03-19 03:30:19 +01:00
Elias Pschernig
93a9a3a330 Added wiki output option to wmlunits. 2012-03-16 18:16:47 +00:00
Elias Pschernig
216443b910 [wmlunits] Treat negative defense values as if they were positive. 2012-03-11 23:24:53 +00:00
Elias Pschernig
b6089cba9f [wmlunits] Fix errors in The_Earths_Gut and Archaic_Era...
...due to mistakenly ignoring hide_help=true units being used in
[base_unit].
2012-03-09 20:22:54 +00:00
Alexander van Gessel
34647d1a9a Add a quiet option to wescamp.py.
Make everything but verbose call CampaignClient quietly
2012-03-09 03:23:49 +01:00
Alexander van Gessel
b2c266ac01 Add a quiet option to CampaignClient 2012-03-09 03:23:47 +01:00
Alexander van Gessel
1b94118b83 Replace os.tmpnam with tempfile.NamedTemporaryFile 2012-03-09 03:23:44 +01:00
Elias Pschernig
1a45e8f61e [wmlunits] Add warnings about missing images to log. 2012-03-08 12:51:51 +00:00
Elias Pschernig
d815cabe7b [wmlunits] For units without a portrait use a scaled base image. 2012-03-07 17:46:23 +00:00
Elias Pschernig
811319b2a3 [wmlunits] exclude tempfile paths from error messages 2012-03-07 13:40:18 +00:00
Elias Pschernig
a295a6909f [wmlunits] converted error log to html 2012-03-07 13:20:26 +00:00
Ignacio R. Morelle
6a63680815 wesnoth_addon_manager: Make 1.9.x portspec alias to 1.10.x...
...since the server scripts haven't been fixed for 1.10 yet

This must be reverted once the 1.10 server transition is completed.
2012-03-06 06:18:25 +00:00
Elias Pschernig
80b2ae2cf2 [wmlunits] Added per-addon log pages. 2012-03-04 23:11:15 +00:00
Alexander van Gessel
6949e4679d Add -C/--checkout-readonly option to wescamp.py 2012-03-04 23:45:02 +01:00
Alexander van Gessel
fa75530c76 Remove some stray code 2012-03-04 19:35:53 +01:00
Alexander van Gessel
d6bae92b9c Rename a number of variables containing 'svn' 2012-03-04 19:35:51 +01:00
Alexander van Gessel
46d35e90ef Remove last references to libsvn 2012-03-04 19:35:48 +01:00
Alexander van Gessel
7ea2f8bc39 Make the -g/--git option the default, removing the svn equivalents 2012-03-04 19:35:45 +01:00
Alexander van Gessel
62caeb242f Document a usage of wescamp.py 2012-03-04 19:35:41 +01:00
Elias Pschernig
76a68a2c61 [wmlunits] fix path to error log 2012-03-04 17:38:31 +00:00
Elias Pschernig
8b145520a5 [wmlunits] Added error log page. 2012-03-04 15:46:41 +00:00
Elias Pschernig
182dc77281 [wmlunits] Handle [advancefrom] WML tags for units. 2012-03-04 14:20:20 +00:00
Elias Pschernig
3ebb10809c [wmlunits] Add units from an era but without any faction...
...to a special "factionless" faction.
2012-03-03 18:01:06 +00:00
Elias Pschernig
3698f4c4e7 [wmlunits] fixed bug listing mainline units for each campaign 2012-03-03 16:47:46 +00:00
Elias Pschernig
1b105e75ee [wmlunits] Ignore addon unit levels < 0 or > 5.
Ignore addons with unhandled errors.
2012-03-02 23:16:08 +00:00
Elias Pschernig
a09daf74ea [wmlunits] Started working on a per-addon log...
...listing all the unit WML mistakes in the addon's unit definitions.
2012-03-02 21:23:09 +00:00
Elias Pschernig
e2f9eccb48 [wmlunits] fixed bug 2012-03-02 19:11:20 +00:00
Elias Pschernig
b7f955cf78 [wmlunits] fixed bug 2012-02-29 21:50:08 +00:00
Elias Pschernig
e0537fec86 [wmlunits] On translated unit pages, stay on the same page...
...(in the new language) when changing languages instead of jumping
back to the overview.
2012-02-28 19:57:00 +00:00
Elias Pschernig
b3942cf1f6 [wmlunits] Fixed broken links to advancement units for addon units...
...advancing to mainline units.
2012-02-27 23:51:12 +00:00
Alexander van Gessel
30d4e650be Update CampaignClient to know about 1.10 (instead of 1.9) 2012-02-23 02:38:16 +01:00
Alexander van Gessel
f8879eeff1 Use ssh urls rather than git urls for wescamp checkouts 2012-02-21 12:54:03 +01:00
Elias Pschernig
3bd7c7ee1f [wmlunits] Create animation statistics again.
Sort unit tree overviews differently.
2012-02-20 22:38:55 +00:00
Elias Pschernig
5f79fb5439 [wmlunits] Don't display a bogus "rails" movement cost. 2012-02-19 16:53:44 +00:00
Elias Pschernig
b540995651 [wesnoth_addon_manager] Cache info about addon dependencies...
...from the .pbl file locally (so e.g. wmlunits can use it more easily).
2012-02-19 16:42:49 +00:00
Elias Pschernig
af48d016e4 [wmlunits] Added some error checks. 2012-02-19 13:22:18 +00:00