xmlizer wrote:
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
I am rather opposed to anything that would give any particular meaning
to "disambiguation pages" or "stubs", as they are Wikipedia-centric
concepts. The software should allow either server administrators or
even the users themselves to define custom such classifications. People
in the install the wiki software for different purposes, or even the
sister projects (Wiktionary, Wikisource, etc.) should be able to come up
with and use other classifications, and they should not be burdened with
concepts like "disambiguation page" that don't make any sense in the
context of their content.
Timwi
That's why I said to use some keyword like #REDIRECT
These keywords doesn't have to have a special meaning instead these
keywords has to be inserted in the page (or the template) so as to have
a special behaviour
Before, in the database you have to declare the keywords and when the
parser find a keyword it flag the cur_kind the corresponding bit
Example
-------------------------
| keyword | bit_position |
-------------------------
| REDIRECT | 0 |
| STUB | 1 |
| DISAMBIG | 2 |
| FOOBAR | 3 |
-------------------------
Then it could be used in the cur table with the cur_kind column
Secondly you could add to link to these page
<a class="stub disambig foobar" ....>...</a> if the value of
cur_kind =
1110b
or
<a class="redirect" ...>...</a> if the value of cur_kind is 1
This behaviour is indepedent of STUB, DISAMBIG etc... so could be used
by any wiki and it's up to the admin of the wiki to define keywords
allowed to be used
Xmlizer