Utilisateur:Zetud/AWB/Test/ZetudBot-Référence

À lire

modifier

Règle et recommandations

modifier
Attention au cas de parenthèses et guillemet (la réf est collée au signe de ponctuation...)
Solution implémentée 11-Sep 23:24 :
à skipper
</ref>:
</ref>;
</ref>...
</ref>!
</ref>?
</ref>»
</ref>…
à ne pas skipper
</ref>.
</ref>,
</ref>

Discussions

modifier
Plusieurs sections et essais
Mettre une espace fine ?
avec lien vers autres discussions
[1]km² / km 2 / km[2]

Code AWB au 11-Sep-2011

modifier
(</ref>|<ref[^/]*/>) *(<sup>)?[,;\.]?(</sup>)? *<ref\b 
$1<ref"
(\.|\.{3}|,| *;| *:| *\!| *\?)? *(<ref[^>]*>[^<]*</ref>|<ref[^/]*/>)({{,}}<ref[^>]*>[^<]*</ref>|{{,}}<ref[^/]*/>)?({{,}}<ref[^>]*>[^<]*</ref>|{{,}}<ref[^/]*/>)?({{,}}<ref[^>]*>[^<]*</ref>|{{,}}<ref[^/]*/>)?({{,}}<ref[^>]*>[^<]*</ref>|{{,}}<ref[^/]*/>)?
$2$3$4$5$6$1
(</ref>|<ref[^/]*/>)\.{2}([^\.])
$1.$2

Virer l'espace avant la REF

modifier

Cas modifiables

modifier

Espace en trop avant la REF

modifier


Point en trop avant la REF

modifier

Cas simples

modifier

Cas avec URL

modifier

Section Notes et références pour éviter le message MediaWiki

modifier
  1. 1
  2. 2
  3. Toto
  4. Toto
  5. Toto
  6. Toto
  7. Titi
  8. Toto
  9. Titi
  10. Toto
  11. Toto
  12. Titi
  13. [h
  14. [h
  15. [h
  16. [hi refait
  17. [h
  18. [h
  19. [h
  20. [h
  21. [h
  22. Toto
  23. Toto

Virer le point avant la REF

modifier

A faire

modifier
  • toto.[1] Le titi
  • toto .[2] Le titi
  • toto .[3] Le titi
  • toto .[4] Le titi
  • toto .[5] Le titi
  • toto .[6] Le titi
  • toto .[7] Le titi
  • toto .[8] Le titi
  • toto .[9] Le titi
  • toto .[10] Le titi
  • toto .[11] Le titi espace normal
  • toto .[12] Le titi espace insécable
  • toto .[13]
  • toto .[14] Le titi

The Boss

modifier

A ne pas faire

modifier
  • toto.[23] Le titi car caractère interdit dans la REF
  • toto.[24] Le titi car caractère interdit dans la REF
  • toto .[25] et minuscule

Noters et ref pour pas rouge

modifier
  1. toto
  2. toto
  3. Le Monde du 11 aout 2011
  4. Le Monde du 11/8/2011
  5. http://www.lemonde.fr/
  6. [1]
  7. «Titi»
  8. «Titi»
  9. « Titi»
  10. «Titi »
  11. « Titi »
  12. « Titi »
  13. SAUTPAGE
  14. « Le titre » dans lemonde.fr
  15. Polar Music Prize
  16. Rock and Roll Hall of Fame
  17. Songwriter's Hall of Fame
  18. NJ Hall of Fame
  19. [2]
  20. (23990) Springsteen, IAU Minor Planet Center
  21. [3]
  22. (en) Lire le discours de Barack Obama (voir la vidéo du discours et le résumé)
  23. to<to
  24. to<to
  25. to<to