On Sunday 15 August 2004 08:31, Brion Vibber wrote:
Nikola Smolenski wrote:
How costly it would be to change type of
cur_is_redirect to int?
It's presently a tinyint, with valid values from -128 to 127. Altering
its meaning would require being careful not to break existing
assumptions, however, and neither 'disambiguation' nor 'stub' are imho
useful or objectively calculable.
I'm also not sure how useful it is, but it is objectively calculable :)
$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}}
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
???