Youni Verciti has uploaded a new change for review. https://gerrit.wikimedia.org/r/279750
Change subject: Rev 0.2.1 with documentation 0.2 ...................................................................... Rev 0.2.1 with documentation 0.2 Change-Id: I555c6c550e2739a47cdf1ed7faa41f0568920a7c --- M public_html/accueil.html M public_html/index.html M vcb/vcb.py 3 files changed, 9 insertions(+), 6 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/labs/tools/vocabulary-index refs/changes/50/279750/1 diff --git a/public_html/accueil.html b/public_html/accueil.html index abc7f10..8194dca 100644 --- a/public_html/accueil.html +++ b/public_html/accueil.html @@ -21,9 +21,10 @@ Si vous avez besoin de tester le programme, faites le de préférence sur le <a href="https://fr.wikiversity.org/wiki/D%C3%A9partement:Portugais">Département:Portugais</a> où il prétend être implémenté. <br /> <code>./vcb.py Portugais/Grammaire/Nom</code> +<br />Page d'aide de la commande vcb.py se trouve dans le laboratoire de la wikiversité française. +<a href="https://fr.wikiversity.org/wiki/Projet:Laboratoire/Propositions/Index_vocabulaire/Aide">Aide vcb.py </a> <br /> -<br /> -Le projet au sein du <a href="https://fr.wikiversity.org/wiki/Projet:Laboratoire/Propositions/Index_vocabulaire">laboratoire</a> de la Wikiversité ; avec des listes extraites de différents départements de langues étrangères.<br /> +Le projet au sein du <a href="https://fr.wikiversity.org/wiki/Projet:Laboratoire/Propositions/Index_vocabulaire">laboratoire</a> de la Wikiversité ; avec des exemples extraits de différents départements de langues étrangères.<br /> La <a href="https://fr.wikiversity.org/wiki/Utilisateur:Youni_Verciti_Bot">page du bot</a> sur fr.Wikiversité. <br /> Les logiciels du repertoire vocabulary-index sont sous licence: GNU General Public License version 3.0 <img src="gplv3-88x31.png" width="88" height="31" alt="" /> diff --git a/public_html/index.html b/public_html/index.html index a032aec..0e40248 100644 --- a/public_html/index.html +++ b/public_html/index.html @@ -30,6 +30,8 @@ <br /> If you need to test the scripts please run it against <a href="https://fr.wikiversity.org/wiki/D%C3%A9partement:Portugais">Département:Portugais</a> where it pretends to be fully implemented. <br /> +French Help page on Wikiversity laboratory for: <a href="https://fr.wikiversity.org/wiki/Projet:Laboratoire/Propositions/Index_vocabulaire/Aide">vcb.py </a> +<br /> The softwares in vocabulary-index directory are licenced under: GNU General Public License version 3.0 <img src="gplv3-88x31.png" width="88" height="31" alt="" /> <br /> Any comment are welcome at <a href="https://wikitech.wikimedia.org/wiki/User_talk:Youni_Verciti" name="User_talk:Youni_Verciti" title="Youni_Verciti">https://wikitech.wikimedia.org/wiki/User_talk:Youni_Verciti</a>.<br /> diff --git a/vcb/vcb.py b/vcb/vcb.py index 810ec40..c7e02a5 100755 --- a/vcb/vcb.py +++ b/vcb/vcb.py @@ -227,7 +227,7 @@ else: # IMPAIR PASS pass else: - error_codes_langues = 'Titres de colonnes: \n' + cdl + error_codes_langues = 'Titres de colonnes: \n' + str(cdl) log = log + error_codes_langues print cdl print template_name @@ -295,11 +295,11 @@ txtin = writelist(write_pack) comment = 'Indexation automatique du vocabulaire pour les langues étrangères. Youni Verciti Bot' if args.test: # MODE TEST SAVE IN LABORATOIRE - new_page = 'Projet:Laboratoire/Propositions/Index_vocabulaire/vcb '+ last_name + new_page = 'Projet:Laboratoire/Propositions/Index_vocabulaire/vcb '+ root_name_uni + ' ' + last_name_uni sommaire = u'Projet:Laboratoire/Propositions/Index_vocabulaire#Exemples' print new_page + 'La nouvelle page se trouve dans l\'espace de test du laboratoire.\nLe lien en bas de la page.' - print 'Page à publier: ' + new_page - new_page = unicode(new_page, 'utf-8') # UNICODE + print 'Page à publier: ' + str(new_page) + #new_page = unicode(new_page, 'utf-8') # UNICODE (nettoyer) page = pywikibot.Page(site, new_page) page.text = txtin try: -- To view, visit https://gerrit.wikimedia.org/r/279750 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I555c6c550e2739a47cdf1ed7faa41f0568920a7c Gerrit-PatchSet: 1 Gerrit-Project: labs/tools/vocabulary-index Gerrit-Branch: master Gerrit-Owner: Youni Verciti <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
