Happy Monday,
There are strange people who make such links (kindof urlencoded?):
[[Második világháború#Partrasz.C3.A1ll.C3.A1s Szic.C3.ADli.C3.A1ban
.28Huskey hadm.C5.B1velet.29|Huskey hadműveletben]]
So the section title must have been copied from the URL.
Do we have a ready tool to fix these?
--
Bináris
Hello,
I installed Mediawiki 1.28 + Wikibase on Debian for testing purposes. I
also downloaded Pywikibot 2.0rc5 and followed :
https://www.mediawiki.org/wiki/Manual:Pywikibot/Third-party_Wiki_Quick_Start.
I edited my first item on http://localhost/wikidata/index.php/Item:Q3
which has "Théodore Hersart de la Villemarqué" as English and French
label. I also made some statements about this item. However, I have got
a pywikibot exception as I try to retrieve data from this item:
"python pwb.py login" works fine.
I entered the pwb.py shell: "python pwb.py shell" and typed the following:
>>> site = pywikibot.Site()
>>> site
APISite("fr", "wikidatacrbc")
>>> page = pywikibot.Page(site, u"Théodore Hersart de la Villemarqué")
>>> item = pywikibot.ItemPage.fromPage(page)
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/home/jean-baptiste/git/core/pywikibot/page.py", line 3979, in
fromPage
% page.site)
pywikibot.exceptions.WikiBaseError: wikidatacrbc:fr has no transcluded data
Do you have any idea of the causes of this error ? What should be the
name of the page in my case ?
Thanks,
--
Jean-Baptiste Pressac
Traitement et analyse de bases de données
Production et diffusion de corpus numériques
Centre de Recherche Bretonne et Celtique
Unité mixte de service (UMS) 3554
20 rue Duquesne
CS 93837
29238 Brest cedex 3
tel : +33 (0)2 98 01 68 95
fax : +33 (0)2 98 01 63 93
I'm investigating the possibility of rebasing wikitext. I.e. attempting to
replay user edits on top of a changed base text. I was wondering if this is
something anyone else on this list has attempted/done?
The background is a batchupload of images where I'd like to replace the
description page but would like to do that without nuking contributions
done to the page since it was created (or at least minimise/identify these)
Cheers,
André Costa / Lokal_Profil
I'm not sure if this is even the right place to post it, but I when working
with templates, especially infobox standardization, I would like to know
how many times a specific parameter is used, and optionally find out on
which pages it's being used. I was thinking this could be a useful addition
to the templatecount.py script, though it might be more fit for a wmflabs
tool (in which case I'm posting this to the wrong list...).
My Python skills are nowhere near the level at which I would attempt to try
this myself, so maybe someone here will take the challenge. Maybe a tool
like this already exists, though my preliminary googling didn't return any
useful results.
--
mvh
Jon Harald Søby