xmlizer wrote:
<snip>
$kind=substr($article,"{{disambig}})<<2|substr($article,"{{stub}}")<<1|substr($article,"#REDIRECT");
// (more or less...)
What about other langages
fr : {{disambig}} --> {{Homonymie}}
fr : {{stub}} --> {{ébauche}}
They will be localised through LanguageFr.php and then in the code we
can just use:
wfmsg("disambigtemplate");
wfmsg("stubtemplate");
and that will translate things easily :o))
What about defining
<tt>#DISAMBIGUATION</tt> and <tt>#STUB</tt> and to
insert them respectively into Template:Disambig or Modèle:Homonymie, and
Template:Stub or Modèle:ébauche
Useless. If an article is already flagged with {{stub}} it's not needed
to add a keyword in [[template:stub]].
--
Ashar Voultoiz