URL:
  <http://gna.org/bugs/?10934>

                 Summary: wmllint: implement a check if the current "speaker
is likely to exist
                 Project: Battle for Wesnoth
            Submitted by: ivanovic
            Submitted on: Donnerstag 31.01.2008 um 13:42
                Category: Feature Request
                Severity: 3 - Normal
                Priority: 3 - Low
              Item Group:  None of the others
                  Status: None
                 Privacy: Public
             Assigned to: esr
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: any
        Operating System: any

    _______________________________________________________

Details:

It would be nice to have a check in wmllint to make sure that speakers do
realy exist. Often some rather strange names are used in the description
block, which are likely to have some typos in them.

Here is a "better" specification:

Collect all description= tags inside of [message][/message] blocks (later on
maybe in other places, too). Check if a unit with the respective
"description=" value is defined or automatically recalled in the given
scenario. If some $ is used inside the description= part, do not check
further, since those can be *anything*. If the respective unit is not found,
print out a warning, including the linenumber where the possibly faulty tag
is used.

There might be some corner cases, where a description= tag that is not
including a $ is used and where the nick is still not already existant in the
scenario. Maybe zookeeper has some more ideas, where the description= tags can
come from.




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?10934>

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to