Youni Verciti has uploaded a new change for review. https://gerrit.wikimedia.org/r/286279
Change subject: Rev 0.2 Gerrit ready for review on branch dev ...................................................................... Rev 0.2 Gerrit ready for review on branch dev Change-Id: I5c244592ac4993e76e6b4e317ad8c79e31f3ea18 --- M License.txt M dpt.py M fac.py M public_html/index.html 4 files changed, 17 insertions(+), 14 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/labs/tools/fr-wikiversity-ns refs/changes/79/286279/1 diff --git a/License.txt b/License.txt index a5099e8..dcae3bf 100644 --- a/License.txt +++ b/License.txt @@ -1,7 +1,9 @@ -Copyright. [Olivier Duval] ([April - 28 - 2016]) +Copyright. Olivier Duval (April-28-2016) -[[email protected]] [email protected] + +(French translation below) This software is a computer program whose purpose is to monitor customs namespaces of fr-wikiversity project. @@ -32,11 +34,11 @@ The fact that you are presently reading this means that you have had knowledge of the [CeCILL|CeCILL-B|CeCILL-C] license and that you accept its terms. -### +##################################################################### -Copyright. [Olivier Duval], ([28 avril 2016]) +Copyright. Olivier Duval, (28 avril 2016) -[[email protected]] [email protected] Ce logiciel est un programme informatique servant à monitorer les espaces de noms supplémentaires du projet fr-wikiversité. diff --git a/dpt.py b/dpt.py index d4db0a8..d3b3341 100755 --- a/dpt.py +++ b/dpt.py @@ -4,16 +4,16 @@ # Licence CeCILL compatible Gnu-Gpl (License.txt) ### Liste les pages de l'espace de nom "Département" nº 108 -### Verifie si redirection et cherche la cible -### Liste les sous-pages. les liens dans leçons par thèmes et leçons par niveaux -### Compare les deux listes de liens et les fusionnent -### Verifie si les pages derrière les liens existent +# Verifie si redirection et cherche la cible +# Liste les sous-pages. les liens dans leçons par thèmes et leçons par niveaux +# Compare les deux listes de liens et les fusionnent +# Verifie si les pages derrière les liens existent ### Compare le nombre de page d'interface et le nombre de leçons du département import pywikibot -lang = 'fr' # prefixe langue +lang = 'fr' family = 'wikiversity' -site = pywikibot.Site(lang, family) # +site = pywikibot.Site(lang, family) #log = '' sous_pages = [] diff --git a/fac.py b/fac.py index 7dc0ce9..de27573 100755 --- a/fac.py +++ b/fac.py @@ -10,11 +10,11 @@ ### et liste des départements ######################################################################## -# Variables PWB import pywikibot -lang = 'fr' # prefixe langue +lang = 'fr' family = 'wikiversity' -site = pywikibot.Site(lang, family) # On obtient très facilement la liste des pages dans l'espace de nom 106 Faculté via Pywikibot +site = pywikibot.Site(lang, family) + ### Variables etape-1 liste_facultes = [] # pages liste_sous_pages = [] # sous-pages diff --git a/public_html/index.html b/public_html/index.html index 505b34d..6e61c73 100644 --- a/public_html/index.html +++ b/public_html/index.html @@ -3,6 +3,7 @@ <br /> <a href="http://tools-static.wmflabs.org/fr-wikiversity-ns/fr-wikiversity-ns.git/">Http easy download</a> <br /> +<br /> fr-wikiversity-ns is a tool for French Wikiversity mains customs namespaces monitoring. <br /> Basicly two simples Python scripts based on Pywikibot:<br /> -- To view, visit https://gerrit.wikimedia.org/r/286279 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I5c244592ac4993e76e6b4e317ad8c79e31f3ea18 Gerrit-PatchSet: 1 Gerrit-Project: labs/tools/fr-wikiversity-ns Gerrit-Branch: master Gerrit-Owner: Youni Verciti <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
