User talk:Ricordisamoa - Meta-Wiki
Jump to content
From Meta, a Wikimedia project coordination wiki
Latest comment:
5 months ago
by MediaWiki message delivery in topic
Join us for “Many Tongues, One Movement: Voices Across Languages”!
Afrikaans
العربية
অসমীয়া
asturianu
azərbaycanca
Boarisch
беларуская
беларуская (тарашкевіца)
български
ပအိုဝ်ႏဘာႏသာႏ
বাংলা
བོད་ཡིག
bosanski
català
کوردی
corsu
čeština
Cymraeg
dansk
Deutsch (Sie-Form)
Zazaki
ދިވެހިބަސް
Ελληνικά
emiliàn e rumagnòl
Esperanto
eesti
euskara
فارسی
suomi
Nordfriisk
Frysk
galego
Alemannisch
ગુજરાતી
עברית
हिन्दी
Fiji Hindi
hrvatski
magyar
հայերեն
interlingua
Bahasa Indonesia
Ido
íslenska
italiano
ქართული
ភាសាខ្មែរ
한국어
Qaraqalpaqsha
စှီၤ
kurdî
Limburgs
ລາວ
lietuvių
Minangkabau
македонски
മലയാളം
молдовеняскэ
Bahasa Melayu
မြန်မာဘာသာ
مازِرونی
Napulitano
नेपाली
Nederlands
norsk nynorsk
norsk
occitan
Kapampangan
Norfuk / Pitkern
polski
português
português do Brasil
پښتو
Runa Simi
română
русский
संस्कृतम्
sicilianu
سنڌي
Taclḥit
සිංහල
slovenčina
slovenščina
Soomaaliga
shqip
српски / srpski
svenska
ꠍꠤꠟꠐꠤ
ślůnski
தமிழ்
тоҷикӣ
ไทย
Türkmençe
Tagalog
Türkçe
татарча / tatarça
ⵜⴰⵎⴰⵣⵉⵖⵜ
українська
اردو
oʻzbekcha / ўзбекча
vèneto
Tiếng Việt
吴语
粵語
中文(简体)
中文(繁體)
+/-
Welcome to Meta!
edit
Hello Ricordisamoa, and welcome to the
Wikimedia
Meta-Wiki
! This website is for coordinating and discussing all
Wikimedia projects
. You may find it useful to read our
policy page
. If you are interested in doing translations, visit
Meta:Babylon
. You can also leave a note on
Meta:Babel
or
Wikimedia Forum
(please read the instructions at the top of the page before posting there). Happy editing!
-- 15:00, 1 October 2011 (UTC)
Botflag at ksh-Wikipedia
edit
Latest comment:
13 years ago
2 comments
2 people in discussion
Your requested botflag at ksh-Wikipedia has been granted.--
BBKurt
talk
16:33, 2 April 2013 (UTC)
Reply
Thanks, I've already seen it. --
Ricordi
samoa
17:13, 2 April 2013 (UTC)
Reply
Fundraising translation feedback
edit
Latest comment:
12 years ago
1 comment
1 person in discussion
Hey Ricordisamoa, I have a bit of a request to ask from you. We pulled down our banners nearly a fortnight ago for what was a highly successful international fundraiser and brought the curtain down on last years fundraiser. This week however we will be changing payment processors and during the testing of the new system it would be useful to use the time productively on on testing banner text.
To help us out with this I wonder if you would be willing to help us improve our italian text using
This Link
Simply follow the simple instructions on that page and if you have any questions feel free to contact me on my talk page.
We are going to run the test on tuesday so if you dont see this message till 24 hours after it was sent you can ignore me :) Many Thanks though.
Jseddon (WMF)
talk
18:11, 28 April 2013 (UTC)
Reply
Lock
edit
Latest comment:
12 years ago
2 comments
2 people in discussion
See
Global locks
PiRSquared17
talk
13:50, 6 May 2013 (UTC)
Reply
I finally understand, thank you. --
Ricordi
samoa
13:31, 27 June 2013 (UTC)
Reply
Mi dispiace di avere a suo tempo tradotto con 'bottone'
edit
Latest comment:
12 years ago
2 comments
2 people in discussion
Chiedo venia, co-italano RicordiSamoa, ma per non buttarmi troppo giù, potremmo giustificarmi con le 'prime armi', la 'nuova arrivata', la 'non so quale iniziale deformante smania di volere dimostrare più di quello che riuscivo a fare'.. Ma, se nessun Amministratore sarà così cattivone nel frattempo da bloccarmi, potrai verificare che col tempo che è succeduto da allora, sono un poco migliorata, ed anzi ho meravigliosamente capito che, quando una traduzione è molto difficile per me, lascio che siano gli altri a partire, e.. col senno di poi, vado lì e affino le.. ripetizioni, le doppie mancanti, qualche riga saltata.. Vedo giusto così? Ciao, --
Gloria sah
talk
22:30, 8 May 2013 (UTC)
Reply
Non fa niente, grazie per tutti i tuoi sforzi! --
Ricordi
samoa
22:43, 8 May 2013 (UTC)
Reply
Your request at nlwiki
edit
Latest comment:
12 years ago
2 comments
2 people in discussion
Dear Ricordisamoa, I've responded to your request
here
. Kind regards,
Mathonius
talk
18:45, 17 May 2013 (UTC)
Reply
I've already replied there, thanks for noticing. --
Ricordi
samoa
13:31, 27 June 2013 (UTC)
Reply
Text selection and editing tools
edit
Latest comment:
12 years ago
3 comments
2 people in discussion
Presently many toolbar links and tools run a "encapsulate" action, t.i. adding some text before and after text selection. Such tools are "pediacentric", they presume that there's only one textbox so they are build to run there. Tools don't run on different textareas or input fields - while the best would be, that they run exactly the same into any textarea/input area.
This draft script reads selection from any textarea/input area and returns the original activeElement and selection into a comfortable format (it's
verbose
just to make things easier to catch):
function sel() {
var elemento=document.activeElement;
var ss=elemento.selectionStart;
var se=elemento.selectionEnd;
var contenuto=elemento.value;
var s=[contenuto.substring(0,ss),contenuto.substring(ss,se),contenuto.substring(se)];
return [elemento, s];
This is a test version of an "encapsulate" script, using sel():
function incapsula(pre,post) {
var s=sel();
var testo=s[1][0]+pre+s[1][1]+post+s[1][2];
s[0].value=testo;
What's your opinion about? --
Alex brollo
talk
06:01, 27 June 2013 (UTC)
Reply
IMHO most buttons are actually supposed to be used in "wpTextbox1" only; however, some others aren't (such as special characters). The best way to solve this would be to get the default
addToToolbar
functions extended by
MediaWiki
developers, and to encourage tool developers to use those. --
Ricordi
samoa
13:24, 27 June 2013 (UTC)
Reply
Well, the programming style of wikiEditor is really very complex - to a discouraging level. I'll try to get some attention by its developers, but it's not "my way" at all: I wonder how much of the code is addressed to "core functionality" and how much is devoted to "beautifying"; IMHO adding an icon linked to a tool can be done with two or three lines of jQuery code and I can't understand the need to write something which needs hundreds of lines with the same (or more limited) functional result. :-(. In the meantime, I'll add my scripts to my personal tools.... ignoring wikiEditor. --
Alex brollo
talk
15:15, 27 June 2013 (UTC)
Reply
Update. sel() runs well when shot by an hotkey; doesn't run with a click on a button.... simply, I presume, why after the click the document.activeElement
is the button
. :-( So, I save sel() for my Chrome Shortcut manager scripts only.
Js scripts su wikisource
edit
Latest comment:
12 years ago
6 comments
2 people in discussion
Con i privilegi ridotti di utente semplice, non puoi modificare il nsMediaWiki nè i js degli altri utenti. Spero che questa limitazione sia presto superata. Nel frattempo potrei ridirigere alle tue pagine js la lettura degli script; mi sembra la cosa più saggia, così eventuali miglioramenti prenderebbero subito vita. Secondo te, basta importScript()? E' una routine sincrona o asincrona? --
Alex brollo
talk
15:02, 4 July 2013 (UTC)
Reply
Beh... succede spesso che "rompa" uno script
tentando di migliorarlo, dato che quasi sempre uso le mie stesse sottopagine come test. Se non vi preoccupate di questo, allora
importScript
mw.loader.load
dovrebbero bastare; altrimenti, rassegnatevi a decine di "{{
editprotected
}}" al giorno! --
Ricordi
samoa
01:57, 5 July 2013 (UTC)
Reply
Non nego che mi punge vaghezza di candidarti come sysop su it.source per permetterti di accedere direttamente al nsMediaWiki; l'unico problema è che non so precisamente se la cosa ti interessi, e se tu abbia il tempo di prenderti questa incombenza. In genere, inoltre, passa un po' più di tempo dalla "prima apparizione" alla candidatura; ma io farei ben volentieri un'eccezione. Nel frattempo, punterò qualche importScript() alle tue pagine js personali; spero di ricordarmi di avvisarti (come avrai visto, sono un pasticcione e non garantisco niente ;-) ).
(ridomando: importScript() è sincrono o asincrono? Detesto mw.loader.load() con tutte le mie forze....) --
Alex brollo
talk
07:23, 5 July 2013 (UTC)
Reply
importScript
è probabilmente asincrono, ma non ne trovo alcuna conferma nella documentazione...
– sysop su it.source? non se ne parla, aspetta almeno qualche mese
--
Ricordi
samoa
07:55, 5 July 2013 (UTC)
Reply
Aimè. Ok, continuerò con i miei pasticci.... --
Alex brollo
talk
08:09, 5 July 2013 (UTC)
Reply
Puoi provare
User:Ricordisamoa/JavaScript task force
--
Ricordi
samoa
08:24, 5 July 2013 (UTC)
Reply
Importing Iraqi census data
edit
Latest comment:
12 years ago
1 comment
1 person in discussion
Hi, Ricordi!
I started
Wikidata:Wikidata:Project_chat#Importing_Iraqi_census_data
and learned that the ability is coming in the northern hemisphere autumn
WhisperToMe
talk
05:40, 20 July 2013 (UTC)
Reply
Deep user inspector
edit
Latest comment:
12 years ago
27 comments
16 people in discussion
Of course there is always somebody who thinks that everything that is possible has to be done. Of course there is always somebody who ignores the opinion of a community’s majority. No one should be surprised about your inspector. It’s just another disappointment.
NNW
talk
20:55, 11 September 2013 (UTC)
Reply
100% agree. This tool is lacking an opt-in. Without this function it must be shut down immediately. --
smial
talk
21:49, 11 September 2013 (UTC)
Reply
You're free not to use it; I'm not advertising it at all. --
Ricordi
samoa
00:09, 12 September 2013 (UTC)
Reply
You don’t?
NNW
talk
07:51, 12 September 2013 (UTC)
Reply
NordNordWest
that was just a full reply to
Cyberpower678
's last question. --
Ricordi
samoa
08:36, 12 September 2013 (UTC)
Reply
Cyberpower678’s last question
your answer to it
. No one asked for the link to that tool, you gave it without a question.
NNW
talk
08:43, 12 September 2013 (UTC)
Reply
NordNordWest
that provisional "answer" was pending for an update, of course. --
Ricordi
samoa
08:46, 12 September 2013 (UTC)
Reply
From your point of view, of course. The only way to promote that tool. Again: No one asked for that link.
NNW
talk
08:54, 12 September 2013 (UTC)
Reply
This is really reckless, Ricordisamoa. Do you know
en:Wikipedia:Do not disrupt Wikipedia to illustrate a point
? Of course you do, you did this on purpose, right? Let me translate you the first reaction posted on your new tool: "This a good occasion to leave the project for good. Last drop on the balance." Congratulations. --
Atlasowa
talk
07:50, 12 September 2013 (UTC)
Reply
Atlasowa
Snowolf had best illustrated my POV on the discussion; DUI is simply an advanced and interactive alternative (without opt-in/out) to X!'s excellent tool. --
Ricordi
samoa
08:42, 12 September 2013 (UTC)
Reply
@Ricordisamoa: Do you know
this discussion
? --
smial
talk
07:51, 12 September 2013 (UTC)
Reply
Smial
Yes, I know it, and it's indeed named "X!'s Edit Counter", not "Ricordisamoa's Deep User Inspector"; the mantainer of the tool agreed the community to have a say on
that
tool, not on every similar tool hosted on Wikimedia Labs. --
Ricordi
samoa
08:31, 12 September 2013 (UTC)
Reply
Apparently your tool has the same approach as X!s counter. As the community in its majority in the mentioned request has disagreed to a counter that processes user data without user's agreement, your tool is not consistant to this majority voting. This is understood as an offensive act against the intention of that voting act and the community. --
smial
talk
11:45, 12 September 2013 (UTC)
Reply
Hi Ricordisamoa, thank you for your tool, the visualization of the data is great and beautiful. However as you know the processing and publication of large amounts of (public) data on a specific user is considered inappropriate by a (large, specific) part of the community. Do you think it would be possible to add an opt-in option and give local communities the chance to decide if they want to enable the opt-in method? Thanks
Sitic
talk
13:05, 12 September 2013 (UTC)
Reply
Hi Ricordisamoa, I kindly ask you to add an opt-in mechanism for such kind of tools. I know that all data are public but to show aggregated data to everyone is not very privacy friendly. Thanks for your understanding.
Raymond
talk
13:28, 12 September 2013 (UTC)
Reply
+1 to NNW, Sitic and Raymond. --
Don-kun
talk
15:26, 12 September 2013 (UTC)
Reply
+1 --
J. Patrick Fischer
talk
17:46, 12 September 2013 (UTC)
Reply
+1.--
Aschmidt
talk
23:50, 12 September 2013 (UTC)
Reply
Hello Ricordisamoa. Thanks for creating this tool. I'd just like to give a bit of positive feedback. Using this tool helped me learn a couple things about myself as an editor I didn't know beforehand, like the fact that I apparently edit the most on Monday (I know, makes no sense). I'm personally against an opt-in, and that's all I'll say about that, so thanks very much for taking the time to develop this tool!
N7
JM
23:56, 12 September 2013 (UTC)
Reply
Hello Ricordisamoa. I also want to thank you for this tool that gives me the opportunity to find out more about the way others are working in the wikipedia. In this way it shows me when my edit-war-opponent normally is editing and I can send this data to his boss since I know where he is working. Also it brings me a very valuable argument in a discussion to tell everyone that the opponent it only working for about 15% in articles and with more than 50% in discussion pages - he is a troll, don't you mind? Very interesting for me: He is working on lots of articles in the Essen area in Germany so maybe I can found out more about where he lives and how many children he has. ... for myself it doesn't matter if you are able to see my data - but do you really wish to be that opponent I described living in a kind of Brave New World? --
Achim Raschka
talk
12:31, 13 September 2013 (UTC)
Reply
This tool is disgusting in my opinion. To aggregate massive amounts of data about a user without an opt-in as the community wishes it, is wrong. Add to that, your tool times out half of the time. I'm going to direct you to
en:WP:POINT
.—
cyberpower
Chat
Hello!
15:07, 13 September 2013 (UTC)
Reply
Personally, I think this tool is great. We made data about user contributions and page histories transparent to protect Wikipedia, and preserve its reputation. In short, this information is public
precisely
so that we can use tools like this learn to about who is editing what, and your tool helps us do this even better. The fact that Special:Contribs and page histories make it hard to learn lots about who edited and when is not a feature, it's a defect. The first I did here was to punch in my own username, and learned some fascinating and useful things I didn't know about my own edits, and I'm not the least bit uncomfortable with others knowing that information too.
Steven Walling
talk
23:41, 19 September 2013 (UTC)
Reply
Sorry Stephen to correct you, but userdata in Wikimedia-platforms like Wikipedia has never been dedicated to the special purpose, that "this information is public
precisely
so that we can use tools like this learn to about who is editing what". Userdata is only open due to a structural sideeffect of Mediawiki (we use a database to record all actions in detail only as this logging is necessary to be on the safe side in licensing issues), it went to be a playground for big-data-freaks only later.
Denis Barthel
talk
07:58, 22 September 2013 (UTC)
Reply
Count me as one of the ones who loves the tool. If I could change one thing about it, though, I'd say it should specify if a user is blocked or not. Maybe it assumes you already know. But I love everything else, and I used it on myself and was able to find some edits I forgot about. My favorite page is the map. Interesting name by the way, both the full name and the acronym.
Soap
talk
03:52, 5 October 2013 (UTC)
Reply
In case it is going to happen that Ricordisamoa is forced to shut down this tool, I will register a domain and host at my Home Server. I am so happy that such a free solution exists; as I could imagine there are also paid user-analysis-tools for ad-companies and other dirty purposes; and be sure that neither the NSA nor any other secret service needs DUI.
If you really want to protect privacy, you are not going to shut down this tool but a) Strip user data from database dumps b) limit the user contribution anonymous users are able to fetch through the API. That would be a proper solution. Anything else is just harming ourselves while others services can happily continue aggregating and evaluating user data and even offer them for sale. --
Rillke
talk
21:39, 14 October 2013 (UTC)
Reply
Soap
user's block information has been inserted in
change 0d30333
. You can test it out even now with any blocked user. Thanks for the suggestion! --
Ricordi
samoa
21:55, 2 November 2013 (UTC)
Reply
Thank you : )
Soap
talk
23:02, 7 November 2013 (UTC)
Reply
DUI-time for development
edit
Latest comment:
12 years ago
2 comments
2 people in discussion
Hello,
can you estimate, how long the development of this tool has taken? Imho the maximum of transparency necessarily leads to an easy analysis. Thank you. --
Tavok
talk
12:52, 12 September 2013 (UTC)
Reply
Tavok
Well, several months ago I created a basic client-side edit counter with static charts. But it was experimental, and I never published it, while I continued to use X!'s tool. ...Until I came annoyed about keeping the opt-in, decided to develop my tool further, and got the job done in few days. --
Ricordi
samoa
13:01, 12 September 2013 (UTC)
Reply
DUI: Negative deleted edits
edit
Latest comment:
12 years ago
3 comments
2 people in discussion
Hi, I was just using DUI for my own (commons) account and was slightly confused by these numbers:
Live edits: 6,550
Deleted edits: -130
Total edits (including deleted): 6,420
How is it possible to have negative deleted edits? Am I misinterpreting the numbers? Thanks.
Julian Herzog
talk
18:39, 4 October 2013 (UTC)
Reply
It is a known bug: please refer to
[1]
. Thanks, --
Ricordi
samoa
14:14, 7 October 2013 (UTC)
Reply
Ah, thanks.
Julian Herzog
talk
21:05, 7 October 2013 (UTC)
Reply
Feedback su DUI
edit
Latest comment:
12 years ago
6 comments
2 people in discussion
Ciao! Forse sono cose che già sai:
La mia utenza risulta
Currently blocked by undefined with an expiry time of undefined because "undefined"
. M'è venuto un colpo, ho pensato "finalmente ce l'hanno fatta!" :D
Accanto alla torta ci sono i dati numerici, ma il testo si interrompe e non si legge tutto: es., Discussioni utente: 6281 (8........
nella tab "advanced", il numero di edit finisce sopra la striscia colorata (quella degli edit per ns) se gli edit sono più di 999.
restando alle strisce colorate (riprese da vecchi editcounter) imho andrebbero ristrette in altezza (così uno può vedere più mesi in un'unica schermata) e ampliati in larghezza (così uno distingue meglio i ns in cui detiene gli zerovirgola di edit). Per come è organizzato adesso, c'è tanto bianco che non dice niente e molta informazione compressa in spazi indistinguibili.
rights: (sempre la mia utenza) lunedì 26 luglio 2010 16:13:33: became sysop and removed rollbacker; mercoledì 21 dicembre 2011 10:44:58: became autopatrolled; manca "removed sysop", no? Come, uno si dimette e non me lo riconosci? :D
tag: cosa significa questa tab?
map: bella! Forse varrebbe la pena rimpicciolire le coord da 1 edit rispetto a quelle da 5, da 5 rispetto a da 11, per dire.
Tutto molto bello e
stiloso
(nel senso migliore del termine)!! --
Pequod
76
talk
20:14, 16 November 2013 (UTC)
Reply
Problema grave, cercherò di risolverlo al più presto!
Errore del layout, che tra breve sarà "responsivo";
piccolo bug;
spiega meglio la tua idea;
i burocrati non possono rimuovere il flag di amministratore, il log che cerchi è probabilmente
questo
, e al momento DUI controlla esclusivamente i
registri locali
i tag sono le "
etichette
" assegnate alle modifiche dal software MediaWiki, come "modifica da mobile" oppure "vandalismo"; il grafico mostra appunto le etichette in percentuale sul totale delle modifiche, soprattutto per identificare quelle improprie;
gli indicatori hanno dimensioni proporzionali al numero di modifiche alla voce, ma con dimensioni minime in modo da poter essere sempre distinte.
Grazie per la tua opinione! --
Ricordi
samoa
01:34, 22 November 2013 (UTC)
Reply
Ciao! Rispetto al punto 4, le bande colorate sono tozze. Non so come dire, sono troppo grosse nord-sud (in altezza) e poco est-ovest (in larghezza) - questo spiega? Poiché i colori relativi ai ns sono esplicitati est-ovest, sarebbe bene diminuire la dimensione nord-sud e aumentare quella est-ovest. Questo determina due cose: a) si occupa meno spazio nord-sud: più mesi sono visibili; b) si leggono con maggiore chiarezza i dati, soprattutto quelli relativi a ns poco editati (gli zero virgola si vedono solo "premiando" est-ovest con un po' più di spazio). Tutto chiaro? :) Per il resto, grazie per le spiegazioni! --
Pequod
76
talk
11:24, 23 November 2013 (UTC)
Reply
Per il primo bug:
risolto
, semplicemente avevo controllato che il messaggio funzionasse con gli utenti bloccati ma non che non funzionasse per quelli "liberi"! --
Ricordi
samoa
20:04, 23 November 2013 (UTC)
Reply
Ottimo. :) Immagino che
Currently blocked by undefined with an expiry time of undefined because "undefined"
in sostanza significasse "libero", no? :D --
Pequod
76
talk
17:24, 25 November 2013 (UTC)
Reply
Esatto, proprio perché il controllo di valori
undefined
in JavaScript è problematico... --
Ricordi
samoa
03:20, 26 November 2013 (UTC)
Reply
Tool di evidenziazione rime
edit
Latest comment:
12 years ago
5 comments
2 people in discussion
Ti ho risposto nel bar di wikisource. Sono affascinato dallo script, anche se te ne propongo un uso alternativo (quello di usarlo solo in pagine speciali di "analisi testuale"). Ma vorrei ingaggiarti, visto la tua competenza, per sottoporti un altro problema: quello della
costruzione dinamica di dizionari ortografici specifici per opera
, come strumento per aiutare l'utente in rilettura. Il problema è molto complesso, ma qualcosa mi dice che tu potresti affrontarlo. Purtroppo i dicionari esistenti ci servono poco, perchè noi trattiamo anche testi con ortografie desuete o poetiche che NON devono essere considerate errori.
Come avrai capito, sono molto più interessato agli
strumenti per lavorare
che agli
strumenti che arricchiscono e abbelliscono il testo a fine lavoro
.... è una visione del tutto personale, non farti scoraggiare dal mio punto di vista, altri wikisourciani sono invece entusiasti della cura dell'aspetto finale grafico. --
Alex brollo
talk
16:17, 27 November 2013 (UTC)
Reply
Alex brollo
ti ho risposto anch'io nel bar di Wikisource. E sono interessato all'idea dei dizionari, approfondisci. --
Ricordi
samoa
23:45, 27 November 2013 (UTC)
Reply
Lo farò.... su Distributed Proofreaders (progetto totalmente diverso dal nostro di rilettura, estremamente gerarchico a livelli di competenza rigidissimi) hanno un ottimo dizionario basato su javascript. Il nostro dovrebbe essere diverso, in base alla filosofia, giusta o sbagliata che sia "tutti fanno un po' di tutto". Là, per formattare bisogna essere abilitati, e lo si è solo "passando un esame" piuttosto difficile! Facci un giro se ti va. --
Alex brollo
talk
14:45, 28 November 2013 (UTC)
Reply
Alex brollo
perché allora non usate tutti Distributed Proofreaders? --
Ricordi
samoa
22:54, 6 December 2013 (UTC)
Reply
(rispondo in ritardo per mancata notifica... dimenticavo di attivarla): siamo in wikisource, tocca usare quello che passa il convento; la filosofia del progetto è comunque molto diversa. --
Alex brollo
talk
08:27, 15 December 2013 (UTC)
Reply
Canvas
edit
Latest comment:
12 years ago
2 comments
1 person in discussion
Se sei d'accordo, io aprirei, su it.source, tre sottopagine del tuo nome utente:
Utente:RicordiSamoa/CanvasLab, pagina vuota che sarà riempita via javascript;
Utente:RicordiSamoa/Canvas.js, script "stabili" che riempiono CanvasLab;
Utente:RicordiSamoa/CanvasAlfa.js, script "sperimentali" per pasticciare.
L'idea è: tu accedi come/quando vuoi con i tuoi permessi di utente; io pure, con i permessi di sysop, ma (prometto) solo sulla pagina Alfa.
Pian piano, potremmo aggiungere le funzioni per l'acchiappo di un'immagine jpg, il suo riversamento nel canvas, la sua manipolazione (croppaggio-filtraggio-analisi immagine), la sua ri-trasformazione in un file grafico e infine il caricamento su Commons via javascript. Che ne dici? --
Alex brollo
talk
08:24, 15 December 2013 (UTC)
Reply
Intanto sono andato un po' avanti; adesso ho
it:s:Utente:Alex brollo/CanvasLab
dove con un paio di click carico qualsiasi immagine e la copio dentro un canvas. Script per ora in
it:s:Utente:Alex brollo/CanvasLab.js
--
Alex brollo
talk
19:27, 15 December 2013 (UTC)
Reply
Forse trovato il supporto per il dizionario
edit
Latest comment:
12 years ago
8 comments
2 people in discussion
Da mesi (anni) sto cercando un modo di salvare elenchi di parole tratti dati testi, dopo tentativi pionieristici di molto tempo fa. Di certo non vanno bene pagine o sottopagine (per il fatto di essere "storicizzate" e quindi inadatte a continue piccole variazioni, tanto più che sarebbero "grosse": una cosa che urta la mia "ecologia web". Ovviamente la strada dei cookie, con i suoi 4k ridicoli, non porta da nessuna parte (ma un pochino ho battuto anche quella). Adesso ho scoperto l'oggetto window.localStorage; lo conosci senz'altro. 5 Mby locali, persistenti, sito-specifici. In più, un po' di maneggiamento di jQuery mi fa intravedere che gli elenchi di parole sono molto più facili da acchiappare dall'html che dal wikitesto, dove sono spezzettati e mescolati a testo che nulla c'entra....
Provo a costruire un "accumulatore di lemmi" opera-specifico, vediamo cosa viene fuori e vediamo che velocità operativa raggiunge. Un vecchio script mini-parser per isolare i lemmi di un testo dai caratteri di punteggiatura ce l'ho. Si tratta solo di imbastire un dizionario e creare uno scriptino per aggiungere alle parole esistenti quelle nuove... se tutto va bene è cosa di mezz'ora. --
Alex brollo
talk
22:19, 17 December 2013 (UTC)
Reply
Il vecchio script va in pensione: basta una banale testo.replace(/[\.\ \,\;\:\-\_\"\n\t\)\(\/0123456789\}\{\[\]\*\?\%\!\>\<]+/g,",").split(",") e la lista grezza dei lemmi, depurata da cifre e punteggiatura, viene fuori in un attimo. --
Alex brollo
talk
10:28, 18 December 2013 (UTC)
Reply
Alex brollo
perché allora non
testo
split
/[\.\ \,\;\:\-\_\"\n\t\)\(\/\d\}\{\[\]\*\?\%\!\>\<]+/g
--
Ricordi
samoa
13:33, 18 December 2013 (UTC)
Reply
PS: a proposito di localStorage, puoi usare
mw:ResourceLoader/Default modules#jquery.jStorage
per compatibilità. --
Ricordi
samoa
13:41, 18 December 2013 (UTC)
Reply
Grazie
; sono estremamente grossolano sia in regex che in jQuery.... ma sono una spugna che assorbe rapidamente i suggerimenti :-)
Avevo adocchiato in localStorage il campo jStorage ma non sapevo a cosa servisse e me ne sono tenuto a rispettosa distanza --
Alex brollo
talk
15:56, 18 December 2013 (UTC)
Reply
Ecco la funzione parserNew, restituisce la lista ordinata, minuscolizzata e uniquizzata delle parole della pagina corrente (in view):
function parserNew() {
var lista=$("#mw-content-text").text().toLocaleLowerCase().split(/[\.\ \,\;\:\-\_\"\n\t\)\(\/\d\}\{\[\]\*\?\%\!\>\<\=\↑]+/g);
var ll=[];
$.each(lista, function(idx,val) {if ($.inArray(val,ll)==-1 && val!="") ll.push(val);});
return ll.sort();
--
Alex brollo
talk
15:56, 18 December 2013 (UTC)
Reply
Alex brollo
jStorage usa localStorage quando possibile, altrimenti i cookie. È preferibile al localStorage standard qualora sia necessario supportare anche browser vecchi (pur con qualche limitazione). Quali sono le applicazioni pratiche dell'"accumulatore di lemmi"? --
Ricordi
samoa
16:58, 18 December 2013 (UTC)
Reply
Un dizionario opera-specifico è uno strumento formidabile per verificare i testi in fase di rilettura, con potenzialità di correzione automatica di scannos compresa la conversione di lettere (tipo cauallo->cavallo nei testi seicenteschi, oppure, più banalmente, perché->perchè nei testi anche piuttosto recenti, o più->piú nei testi curati da Carducci). Nei testi antichi sarebbe una vera pacchia; nei testi moderni, un aiuto utile. L'intero range delle applicazioni possibili
lo scopriremo solo vivendo
... di certo, non si sente mai la mancanca di quello che non si immagina che ci possa essere ;-)
Un faticosissimo, pionieristico tentativo l'ho già fatto anni fa via bot, ma era uno strumento faticoso e comunque "per un utente solo". --
Alex brollo
talk
14:42, 20 December 2013 (UTC)
Reply
Tool suggestion
edit
Latest comment:
12 years ago
2 comments
2 people in discussion
Hi! I suspect that a number of users may be interested in opt-out feature for your DUI tool. Please see
here
and anything you like to read above the section I linked. --
Gryllida
talk
02:18, 28 December 2013 (UTC)
Reply
Replied
, thanks. --
Ricordi
samoa
03:06, 29 December 2013 (UTC)
Reply
DUI
edit
Latest comment:
12 years ago
1 comment
1 person in discussion
Hi Ricordisamoa, the dates are available for everyone, but anyway an opt-in/-out option would be preferable, particularly with regard to the Map and the Punchcard – this detailed movement profile could exert influence on the activity of some users, indeed it could provoke quiet a few people to leave off the Wikipedia. But this is not the purport of this message. Yesterday I created some new articles with coordinates, but the Map doesn't show any of them. The largest circle shows an article where I contributed 5 edits (
w:de:Himalaya
), but the articles with 10–25 Edits (
w:de:Bering-Gletscher
w:de:Larsen Islands
w:de:Brady-Gletscher
) are not shown. There are some more articles with coordinates, which aren't taken into consideration. I thought it might be good to know. Regards --
Anıl Öztaş
talk
08:04, 9 January 2014 (UTC)
Reply
DUI result cut
edit
Latest comment:
12 years ago
2 comments
2 people in discussion
I've finished to deploy your Lua module on Wikiquote and now I wish to see my edit count on your DUI. However the "User talk" numbers in French are cut by the right white margin.
JackPotte
talk
19:25, 16 February 2014 (UTC)
Reply
JackPotte
DUI has critical layout issues (see discussions above). I will work on a full redesign soon. Thanks, --
Ricordi
samoa
03:37, 17 February 2014 (UTC)
Reply
Messaggio sulla wp occitano
edit
Latest comment:
12 years ago
1 comment
1 person in discussion
Ciao,
Ho veduto il messaggio sulla taverna non occitanofòna della wp occitana. Non ho capito così aspetta da noi: azione tecnica, cambio nelle pagine che utilizzano questo modello. We need more information. Thanks in advance.
--
Jfblanc
talk
07:41, 19 February 2014 (UTC)
(oc:wp sysop)
Reply
Wikimedia genealogy project
edit
Latest comment:
12 years ago
1 comment
1 person in discussion
Please visit
this page
if you wish to contribute to a centralized discussion about a Wikimedia genealogy project. Thank you! --
Another Believer
talk
21:46, 26 February 2014 (UTC)
Reply
DUI issues with Firefox browser
edit
Latest comment:
11 years ago
2 comments
2 people in discussion
Hi, your DUI tool is awesome! Keep up the good work! Nevertheless, it has some issues with the Firefox browser: the page seems to have stopped refreshing after the warning... Any explanations? Best regards, --
Jagwar
grrr...
19:41, 3 March 2014 (UTC)
Reply
Jagwar
have you tried
toollabs:dewkin
? If you're still experiencing issues with it, please report the user name and project you're trying to inspect, and the error messages shown in the browser console (if any). Also, keeping the browser up-to-date could help. --
Ricordi
samoa
05:00, 9 June 2014 (UTC)
Reply
Upcoming IdeaLab Events: IEG Proposal Clinics
edit
Idea Lab
Idea Lab
Hello,
Ricordisamoa
! We've added
Events
to IdeaLab, and you're invited :)
Upcoming events focus on turning ideas into
Individual Engagement Grant
proposals before the March 31 deadline. Need help or have questions about IEG?
Join us at a Hangout
Thursday, 13 March 2014, 1600 UTC
Wednesday, 19 March 2014, 1700 UTC
Saturday, 29 March 2014, 1700 UTC
Hope to see you there!
This message was delivered automatically to IEG and IdeaLab participants. To unsubscribe from any future IEG reminders, remove your name from
this list
Requests for comment/Standardize ProofreadPage namespaces across Wikisources
edit
Latest comment:
12 years ago
1 comment
1 person in discussion
Non mi pare la proposta sia sufficientemente definita e non capisco nemmeno perché sia in Meta (vedi discussione), inoltre non c'è ancora un solo favorevole per alcuna delle opzioni, quindi non me la sento. --
Nemo
19:27, 15 March 2014 (UTC)
Reply
ricordisamoa/dui/, doesn't seem to actually exist.
edit
Latest comment:
11 years ago
3 comments
2 people in discussion
When calling the uri you ger the message "
The URI you have requested,
, doesn't seem to actually exist."
Is that temporary? Did it move to somewhere else?
84.137.60.46
08:58, 17 March 2014 (UTC)
Reply
This is due to
wikitech:Tool Labs/Migration to eqiad
. I'm still in search for a way to port the old .htaccess configuration. Anyway, I've set up a temporary mirror at
. Enjoy! --
Ricordi
samoa
15:46, 17 March 2014 (UTC)
Reply
issue #6
, now fixed. --
Ricordi
samoa
15:47, 5 June 2014 (UTC)
Reply
Hackathon di Zurigo
edit
Latest comment:
12 years ago
1 comment
1 person in discussion
Ciao ricordisamoa, ti interesserebbe andare alla Hackathon di Zurigo? `
Info qui]. C'è poco tempo, ma se ti interessa, registrati entro domani e poi parliamone. (Aubrey sloggato, dovresti avere la mia mail).
Aubrey
lascia perdere, sarà per una prossima occasione (nell'UE, si spera!) --
Ricordi
samoa
00:58, 24 April 2014 (UTC)
Reply
Aprire richiesta su Bugzilla
edit
Latest comment:
12 years ago
3 comments
2 people in discussion
Ciao Ricordisamoa,
relativamente a:
s:it:Wikisource:Bar#Barra_laterale_.22Altri_progetti.22_con_link_automatizzati_da_Wikidata
Mi sembra che il consenso ci sia.
Puoi aprire tu la richieste su bugzilla? Non sono molto pratico con bugzilla e se potessi farlo tu mi faresti un grosso piacere.
--
Accurimbono
talk
08:10, 16 April 2014 (UTC)
Reply
Accurimbono
fatto
--
Ricordi
samoa
10:54, 16 April 2014 (UTC)
Reply
Ricordisamoa
Grazie! --
Accurimbono
talk
07:21, 17 April 2014 (UTC)
Reply
DUI error
edit
Latest comment:
11 years ago
3 comments
2 people in discussion
Hi Ricordisamoa, it seems that your DUI-tool currently doesn't show more than last 500 edits in tab "advanced". Also in "Punchcard". In "overview" all edits except last 500 are counted as "deleted". Best Regards, --
Holder
talk
04:27, 1 May 2014 (UTC)
Reply
Holder
issue #8
, now fixed. --
Ricordi
samoa
23:25, 4 June 2014 (UTC)
Reply
Thanks. --
Holder
talk
11:09, 7 June 2014 (UTC)
Reply
Edit-count
edit
Latest comment:
11 years ago
3 comments
2 people in discussion
Volevo tanto ringraziarti, tardi, per l'uso che sto facendo del tuo edit-count. E' sempre il più accattivante ed il più intuitivo e sono contenta che ora funzioni di nuovo. Ma qui di cosa vi occupate? Grazie ancora.--
Amaunet
talk
23:16, 3 June 2014 (UTC)
P.S. Ricordo Samoa anche io.
Reply
Amaunet
deduco
che provieni da it.wiki; per farsi un'idea di Meta, la
Pagina principale
è un'ottima sintesi; per approfondire,
Meta:About/it
. --
Ricordi
samoa
23:57, 4 June 2014 (UTC)
Reply
solo oggi mi sono accorta della tua risposta, imperdonabile! Leggerò la pagina e se posso contribuire in qualche modo lo farò. Il tempo non mi manca ;) intanto saluti. --
Amaunet
talk
14:40, 25 February 2015 (UTC)
Reply
Requests for comment/Superprotection
edit
Latest comment:
11 years ago
2 comments
2 people in discussion
Please consider merging your RfC into the slightly older
Requests for comment/Superprotect rights
. Thanks,
Microchip08
talk
17:37, 10 August 2014 (UTC)
Reply
Microchip08
Done
--
Ricordi
samoa
17:41, 10 August 2014 (UTC)
Reply
Great minds think alike, or some such thing
edit
Latest comment:
11 years ago
2 comments
2 people in discussion
Requests for comment/Superprotection
Requests for comment/Superprotect rights
. I saw your page only briefly, and you had included some useful background. A log link. Could you add that to the background section, and edit anything else there that you think needs amending.
John Vandenberg
talk
17:50, 10 August 2014 (UTC)
Reply
John Vandenberg
Done
– see
Special:Diff/9478271
and
Special:Diff/9478294
. --
Ricordi
samoa
19:30, 10 August 2014 (UTC)
Reply
Please consider not translating
Tech News
in protest
edit
Latest comment:
11 years ago
1 comment
1 person in discussion
Hi Ricordisamoa,
I have just noticed that you've been working on the translation of
Tech News
this weekend.
I wanted to ask you to consider refraining from translating such pages to avoid supporting the recent actions of the Wikimedia Foundation. On Sunday, they have
implemented a change
that gives them an unprecedented, unilateral and unlimited power to protect certain pages on Wikimedia wikis in a manner that makes it impossible for all volunteers — including locally elected administrators — to edit them.
The change was secretly forced through without any community consultation, and the Foundation have used this new feature to
actively fight
the volunteer community of the German Wikipedia.
Your volunteer translations directly sustain such actions of the Foundation. Your work helps them save time and effort that they would otherwise have to invest in recruiting, training and managing new employees, and saves them money they would otherwise have to spend on professional translations.
The recent actions of the Wikimedia Foundation make it very clear that they no longer respect the wishes of the volunteer community, and that they no longer consider us an equal partner. The least we can do to voice our dismay at those actions, and to support our colleagues on the German Wikipedia, is to stop investing our precious time as volunteers on directly helping the Wikimedia Foundation. We can instead
translate pages
which help all wiki users.
Please take a minute to consider withdrawing your help for the Foundation in protest against their disrespectful treatment of the volunteer community of the German Wikipedia.
Thank you for your time and your consideration!
odder
talk
22:01, 12 August 2014 (UTC)
Reply
Wikipedia Ottoman Turkish 4
edit
Latest comment:
11 years ago
1 comment
1 person in discussion
Hello. Could you pleace vote on
Requests for new languages/Wikipedia Ottoman Turkish 4
.--
Uishaki
talk
03:11, 30 December 2014 (UTC)
Reply
CommonsHelper
edit
Latest comment:
11 years ago
5 comments
3 people in discussion
Hi. I'm trying to use CommonsHelper here on Meta to move appropriate files to Commons. For example <
>. It never works, despite having authorized the aplication to work under OAuth. It always gives me an Error:Null message. Since you seem authorized to commit on
Magnus
tools, can you please have a look at this when you have a minute? The error log is the following:
Querying CommonSense ...done.
Querying image data ...done.
Retrieving image description ...done.
ERROR: null
Thank you for your help. Best regards. --
20:45, 22 January 2015 (UTC)
Reply
MarcoAurelio
I inspected the source of the page showing the error, and a slightly modified version of the JavaScript code gave me "The file you submitted was empty" as error message. Investigating further, it appears that CommonsHelper is trying to upload the file from an incorrectly built URL,
. The URL building function should have been fixed with
this commit
by
User:Nemo bis
. CommonsHelper might use an out-of-date version of that, but as I wrote I cannot find the code so it's all up to
Magnus
as always. PS: I have no commit access, I just filed some pull requests :-) --
Ricordi
samoa
07:02, 23 January 2015 (UTC)
Reply
Hi, and many thanks for your detailed answer. We hope that the patch by Nemo can resolve this issue :-) Best regards, --
14:05, 23 January 2015 (UTC)
Reply
Fixed. Turns out that the wiki is at "meta.wiki
edia", but the file path is "meta.wiki
edia". WTF? --
Magnus Manske
talk
13:53, 25 January 2015 (UTC)
Reply
Thanks
Magnus
! But why doesn't CommonsHelper use the same code as your other tools?
Nemo
's patch is very nice and avoids site-specific code. --
Ricordi
samoa
15:29, 25 January 2015 (UTC)
Reply
Thank you!
edit
Latest comment:
11 years ago
4 comments
2 people in discussion
Script-Schnark-popuprefs-2
For
this
!! This is great. And much needed. Schnark has generously
announced
to shower you with bugreports :-)) There were several
earlier discussions since 2012 etc.
Have a look at
de:Benutzer:Schnark/js/popuprefs
too. Thank you so much for taking this on! --
Atlasowa
talk
16:38, 10 February 2015 (UTC)
Reply
Atlasowa
Thanks for the feedback! Please note that
a different implementation
by
Prtksxna
is also under review. I've added an incomplete list of the current gadgets/scripts to
phab:T67114
, which is also the appropriate place for suggestions. --
Ricordi
samoa
09:57, 12 February 2015 (UTC)
Reply
You missed
he:Mediawiki:Gadget-CiteTooltip.js
, in use since 2012, for context see: (end of)
Wikipedia:Gadget/proposals/Archive_4#Reference_Tooltips
I think the "icons for reference type" is useless clutter. Nobody needs those icons, they will be wrong a lot of the time (newspaper as web etc.), and will needlessly cause bugs. All that they will accomplish is: they will delay the feature for another year.
I won't contribute to phab because it demands my email address. --
Atlasowa
talk
12:48, 12 February 2015 (UTC)
Reply
T71474 VisualEditor: Reference & cite tooltips should show content snippets, instead of generic labels
--
Atlasowa
talk
14:00, 12 February 2015 (UTC)
Reply
DEWKIN times
edit
Latest comment:
10 years ago
1 comment
1 person in discussion
If the time displayed on the "punchcard" tab are in UTC, then the labels should also be in UTC, not in am/pm form. Thanks.
— The preceding
unsigned
comment was added by
206.248.131.55
talk
"UTC" in the Deep Wiki Inspector refers to the
UTC timezone
, not the time format (I don't even think a UTC time format exists), which is borrowed from
GitHub
and does not carry timezone information by itself. For example, a generic time of 17:00 can be represented as "5p", regardless of the timezone. DEWKIN is always UTC, so "5p" means "17:00 UTC", which is a particular time. I'm sorry for having taken so much to reply, and I hope to have solved your doubts. Regards, --
Ricordi
samoa
20:32, 28 June 2015 (UTC)
Reply
Structured Wikiquote
edit
Latest comment:
11 years ago
2 comments
2 people in discussion
Hi! I'm a supporter of
Structured Wikiquote
; almost since I began to use current Wikiquote I realized that it should be structured and wikitext is not the best option.
I think the way to promote the project is making some progress on our own, to show the potential. I'm thinking running some servers: one reduced copy of English Wikiquote, one of Spanish Wikiquote, one of Wikidata and a server which will be the new front end of the project.
The creation of a special page to show the quotes whithin certain criteria (quotes from author W, quotes about X, quotes in work Y, quotes from character Z, etc.) it would be a great advance. This page must have a
AJAX interface
killer feature
to show the potential of the project) to edit, modify and delete the quotes, and their info; also it should be able to do the same without JavaScript (GET/POST actions).
Also, it would be useful some parser functions, like {{#quote|author=
Q937
}} to transclude the quote into the old projects. They will be able to choose bitween continue with wikitext+wikidata, transclude wikidata, or redirect to main multilanguage site.
As you can see, it's a lot of work. And I need time to my real job :P, so I think I will start at middle of May. But I don't know if is a task I could alone. We will see.
Eloy
talk
20:31, 2 April 2015 (UTC)
Reply
Eloy
Thank you for supporting the project! I look forward to hacking on Wikibase in the next weeks and setting up a mockup with some real quotes. I suggest that we (interested people) design a proper
data model
before starting any concrete implementation. Later, as I wrote in
Structured Wikiquote#Roadmap
, a test instance could be created (e.g. at beta.wmflabs.org) for developers and testers alike. --
Ricordi
samoa
21:50, 4 April 2015 (UTC)
Reply
Please fill out our Inspire campaign survey
edit
Thank you for participating in the Wikimedia Inspire campaign during March 2015!
Please take our short survey
and share your experience during the campaign.
Many thanks,
Jmorgan (WMF)
talk
), on behalf of the
IdeaLab
team.
23:34, 13 April 2015 (UTC)
This message was delivered automatically to Inspire campaign participants. To unsubscribe from any future IdeaLab reminders, remove your name from
this list
Structured Wikiquote
edit
Latest comment:
11 years ago
1 comment
1 person in discussion
C'è un'osservazione che mi aspettavo di trovare e che non vedo nella bozza. Riguarda il fatto che a mio avviso i migliori candidati alla migrazione, oltre ovviamente chi vuole sperimentare come avvenuto con wikidata, in questo caso non sono le wiki "piccole" in sè ma sono le wiki medio-piccole che hanno alla data di inizio sperimentato un uso massiccio del C.T. e/o una forte similitudine o semplicità linguistica. Questo include con ogni probabilità le wiki che già adesso sperimentano una "doppia versione" (le due no/nn), le lingue artificiali (esperanto), le lingue "ombrello" per aree multiculturali (indonesiano, malese), le lingue che hanno ceppi comuni molto forti e si differenziano solo per ragioni politiche (ceco/slovacco, serbo/croato).
Intendo dire che basandosi su criteri lingusitici si può ottenere una transizione molto più efficace. Si piantano dei ceppi solidi con forte interrelazione e che quindi hanno tutto l'interesse a migrare subito, che poi possono fungere comunque da "punto di partenza" per altree lingue medio-piccole a loro più simili (nei casi citati le altre lingue scandinave, le altre lingue slave, le altre lingue maleo-polinesiache)
In una seconda fase procederei sì a tappeto con concludere le lingue minori che fanno numero con minore sforzo ma questo soprattutto perché queste includono quelle di cui il parlante medio ha una forte conoscenza di una lingua principale (minoranze linguistiche: catalano, basco, sardo, frisone), perché di fatto anticipano l'ingresso come know-how di lingue nazionali maggiori.
A quel punto una minima base di partenza anche per le lingue principali si è comunque creata, esiste un'infrastruttura che ha mostrato di funzionare e quindi anche per le wikiquote più autonome e scettiche il rapporto costi/benefici inizia a essere diverso.
Questo specchietto varrebbe per qualsiasi migrazione di piattaforme "con testo scritto", non solo per wikiquote. Mi rendo conto comunque che wikiquote ha il vantaggio di avere un chiaro "item", ma in teoria l'item è pezzo di un testo che nella sua interessa se possibile a livello di copyrigth sarebbe comunque degno di essere archiviato a livello multilinguistico (Wikisource).
La chiaccherata del più e del meno finisce qua.--
Alexmar983
talk
10:33, 22 April 2015 (UTC)
Reply
Global CSS/JS migration
edit
Latest comment:
10 years ago
2 comments
1 person in discussion
Hello Ricordisamoa. You have global scripts and styles in
User:Ricordisamoa/global.js
and
User:Ricordisamoa/global.css
, which you import using
your local CSS/JS pages
. Since August 2014, your
global.js
and
global.css
pages are
loaded automatically on all wikis
. Although you requested cleanup via
GlobalCssJs
, there are still several pages left like
wikivoyage:User:Ricordisamoa/common.css
and
als:User:Ricordisamoa/common.js
. Do you want me to fix this by removing the imports from your local pages using
Synchbot
(without changing any other content)? —
Pathoschild
01:58, 07 July 2015 (UTC)
Pathoschild
My common.js on
als
da
id
and
min
can be safely deleted. Among the other ones, some are empty and mainly left for historical reasons; the rest are still useful and should not be changed. --
Ricordi
samoa
06:18, 8 July 2015 (UTC)
Reply
Done! You can see the list of changes on
your archive page
. —
Pathoschild
03:50, 25 July 2015 (UTC)
Pathoschild
Thank you! --
Ricordi
samoa
22:56, 25 July 2015 (UTC)
Reply
Question about DEep WiKi INspector
edit
Latest comment:
10 years ago
6 comments
3 people in discussion
Hello Ricordisamoa! Quick question about DEep WiKi INspector – is there any particular reason that it doesn't "count"
Reviewer
in "User rights"? Just curious... Thanks!
IJBall
talk
21:29, 1 August 2015 (UTC)
Reply
Hi
IJBall
, thank you for reporting this issue. Actually, because of
gerrit:183315
(whose
announcement
I guiltily missed), the tool was not reporting user rights changes at all. It should be
fixed
now. Thanks again! --
Ricordi
samoa
04:53, 2 August 2015 (UTC)
Reply
FWIW, I'm still not seeing the "Reviewer" right on mine. I also tested
User:Hawkeye7
(someone with a number of user rights) just to be sure, and it's not displaying any [user] rights there, either – just "0". Just thought you should know...
IJBall
talk
18:44, 2 August 2015 (UTC)
Reply
Odd.
Hawkeye7
talk
05:41, 5 August 2015 (UTC)
Reply
IJBall
and
Hawkeye7
Hawkeye7@enwiki shows 5 user group changes to me. Sorry for not having mentioned that you may have to
bypass your browser's cache
to use the most recent version of the tool. --
Ricordi
samoa
18:55, 8 August 2015 (UTC)
Reply
Very interesting... But, several days later now, yes, it works! Thanks again, Ricordisamoa!
IJBall
talk
08:05, 12 August 2015 (UTC)
Reply
Your story
edit
Latest comment:
10 years ago
1 comment
1 person in discussion
Hi Ricordisamoa, I hear your thoughts will be valuable
here
. :)
— The preceding
unsigned
comment was added by
MGalloway (WMF)
talk
MGalloway (WMF)
Done
--
Ricordi
samoa
23:52, 11 August 2015 (UTC)
Reply
Di passaggio...?
edit
Latest comment:
10 years ago
2 comments
2 people in discussion
Ti ho intravisto su mul.source; io ci sto in vacanza.... :-) --
Alex brollo
talk
21:27, 15 August 2015 (UTC)
Reply
Alex brollo
Può darsi che nasca qualcosa :-) Letta l'email? --
Ricordi
samoa
17:16, 16 August 2015 (UTC)
Reply
legacyscripts
edit
Latest comment:
10 years ago
2 comments
2 people in discussion
Given
phabricator:T75810
and your
gerrit:217987
, would it still be useful to go through all Wikimedia wikis and list all gadgets which have legacyscripts true? How to present and what to do with such a list? --
Nemo
17:50, 18 August 2015 (UTC)
Reply
Nemo bis
I guess most of them are very old and should be overhauled properly; some of the newest ones may work without changes, their authors not even knowing what ResourceLoader is; but many of them may as well be local copies of common snippets — then the Force™ should suffice. --
Ricordi
samoa
12:37, 23 August 2015 (UTC)
Reply
Question about DEep WiKi INspector
edit
Latest comment:
10 years ago
2 comments
2 people in discussion
Hello Ricordisamoa. What is the purpose of the page "map"? --
84.118.62.168
19:48, 17 September 2015 (UTC)
Reply
The "map" tab shows the location of the subjects of articles and files edited by the inspected user, if provided to the
GeoData
extension, i.e. via the #coordinates parser function. --
Ricordi
samoa
20:46, 17 September 2015 (UTC)
Reply
What future IdeaLab campaigns would you like to see?
edit
Latest comment:
10 years ago
1 comment
1 person in discussion
Hi there,
I’m Jethro, and I’m seeking your help in deciding topics for new
IdeaLab
campaigns that could be run starting next year. These campaigns aim to bring in proposals and solutions from communities that address a need or problem in Wikimedia projects. I'm interested in hearing your preferences and ideas for campaign topics!
Here’s how to participate:
Learn more about this consultation
Vote on and submit new campaign topics in
the AllOurIdeas Survey
Discuss campaign topics and ask questions on
the IdeaLab talk page
Take care,
I JethroBT (WMF)
Community Resources
, Wikimedia Foundation.
03:33, 5 December 2015 (UTC)
Reply
Notice of removal of global bot status from one or various accounts of yours
edit
Hello PAGENAME}}. You are being contacted as owner of one or more accounts flagged with
global bot
status. This is to inform you that pursuant
§1.1.4 of the global bot policy
as amended by
this RFC
one or various of the global bots which you operate are inactive in the terms laid out by the global bot policy. As such, global bot status from those account(s) have been removed. This message is being left on Meta-Wiki and on your homewiki. We thank you for your work as global bot operator. If you have any questions or concerns, you can raise them at the
Stewards' Noticeboard
on Meta-Wiki. Best regards. —
Marco
Aurelio
~~~
— This message has been automatically delivered by on behalf of
MarcoAurelio
Future IdeaLab Campaigns
results
edit
Latest comment:
10 years ago
1 comment
1 person in discussion
Last December, I invited you to
help determine future ideaLab campaigns
by submitting and voting on different possible topics. I'm happy to announce
the results of your participation
, and encourage you to review them and our next steps for implementing those campaigns this year. Thank you to everyone who volunteered time to participate and submit ideas.
With great thanks,
I JethroBT (WMF)
Community Resources
, Wikimedia Foundation.
23:55, 26 January 2016 (UTC)
Reply
Global bot
edit
Latest comment:
10 years ago
1 comment
1 person in discussion
This message is being left on your talk page at Meta-Wiki and those of your home wiki(s). Sorry for the duplicates.
Dear global bot operator: Some days ago you received a message in which you were informed that one or various accounts you hold lost a global bot flag because of inactivity. Due to a mistake, messages informing about this were not sent before removal took place as policy mandates. As such, if you think your bot will be active again on global bot duties, you can request the restoration of the global bot flag on the
stewards' noticeboard
at Meta-Wiki within the next two (2) weeks after this message has been posted. Please note that this removal was purely procedural based on inactivity. If you have any questions, you can reach me on my
talk page at Meta-Wiki
. Please accept my apologies in advance for this. Best regards. --
MediaWiki message delivery
talk
) on behalf of
MarcoAurelio
at
18:11, 2 February 2016 (UTC)
Reply
Should FuzzyBot remove all potentially outdated translations?
edit
Latest comment:
10 years ago
1 comment
1 person in discussion
Hello, thanks for adding multiple
new translations in your language
here at Meta-Wiki in recent years. Please join the discussion with your opinion:
Should FuzzyBot automatically remove all potentially outdated translations?
Nemo
talk
12:00, 1 March 2016 (UTC)
Reply
Open Call for Individual Engagement Grants
edit
Latest comment:
10 years ago
1 comment
1 person in discussion
Greetings! The
Individual Engagement Grants (IEG) program
is accepting proposals
until April 12th to fund new tools, research, outreach efforts, and other experiments that enhance the work of Wikimedia volunteers.
Whether you need a small or large amount of funds (up to $30,000 USD), IEGs can support you and your team’s project development time in addition to project expenses such as materials, travel, and rental space.
Submit
a grant request
or
draft
your proposal
in IdeaLab
Get help with your proposal
in an upcoming Hangout session
Learn from examples
of completed Individual Engagement Grants
With thanks,
I JethroBT (WMF)
Community Resources
15:57, 31 March 2016 (UTC)
Reply
DEWKIN
edit
Latest comment:
9 years ago
2 comments
2 people in discussion
In DEWKIN, my live edits is "401" ,my deleted edits is "-15" and my total edits (including deleted) is "386".
I wonder why my deleted edits has a minus sign. This makes my total edits decrease.
Please see this :
In two other analysis tools, my live edits is "401", my deleted edits is "5" and my total edits (including deleted) is "406".
Please see this :
Please see this :
I wonder how they are different.
( but my total edits in pie chart in all analysis tools above is "401" )
Please check this for me. Thank you. --
P03781p
talk
10:22, 3 May 2016 (UTC)
Reply
Hi
P03781p
, unfortunately that's a known issue. I have created
to track it. --
Ricordi
samoa
16:11, 8 May 2016 (UTC)
Reply
2016 Community Wishlist Survey
edit
Latest comment:
9 years ago
1 comment
1 person in discussion
Hi,
You’re getting this message because you participated in the
2015 Community Wishlist Survey
and we want to make sure you don't miss it this year – or at least can make the conscious choice to ignore if it you want to. The 2015 survey decided what the
Community Tech
team should work on during 2016. It was also the focus of Wikimedia hackathons and work by other developers. You can see the status of wishes from the 2015 wishlist at
2015 Community Wishlist Survey/Results
The
2016 Community Wishlist Survey
is now open for wishes. You can create proposals until November 20. You will be able to vote on which wishes you think are best or most important between November 28 and December 12. /
Johan (WMF)
talk
) via
MediaWiki message delivery
talk
11:17, 14 November 2016 (UTC)
Reply
Inspire Campaign survey on outreach to outside knowledge networks
edit
Latest comment:
9 years ago
1 comment
1 person in discussion
Thanks for your participation during the
Inspire Campaign focused on outreach to outside knowledge networks
from February 2017. I'm interested in hearing your experience during the campaign, so if you're able,
I invite you to complete this brief survey
to describe how you contributed to the campaign and how you felt about participating. I want to improve how campaigns are run, so let me know if there's something that could be done better for next time.
Please feel free to let me know on my talk page if you have any questions about the campaign or the survey. Thanks!
I JethroBT (WMF)
talk
18:34, 31 March 2017 (UTC)
Reply
Opt-out instructions
Survey link error fixed
edit
Latest comment:
9 years ago
1 comment
1 person in discussion
Hi there, there was a error with the Inspire survey link that caused the survey to be shown as expired, but has now been fixed. The link in the above message should now bring you to the survey. Apologies,
I JethroBT (WMF)
19:20, 31 March 2017 (UTC)
Reply
DEep WiKi INspector: coordinates information
edit
Latest comment:
8 years ago
3 comments
2 people in discussion
Hello,
Thanks for nice tool.
This is to let you know that some users are mislead by the interface into believing that the dots represent the geolocation of the editor's IPs when editing, which can lead to wasted time on SPI; see this for instance:
see this wall of text; search keyword DEWKIN
This is an easy mistake to make. I think this could trivially be avoided by some minor changes in the UI's label: "coordinates information" is vague, and could be replaced by something more univocal. Though making it short may take some thinking. "Locations edited" is not very good, but the best I can come up with right now. "Interests map" might be nice, but of course the current version of the tool only maps
geographical
interests.
Cheers
Gamall Wednesday Ida
talk
11:58, 7 July 2017 (UTC)
Reply
Gamall Wednesday Ida
I am sorry for those who may have been misled by the map for so long... It has now got a caption that should hopefully make things clearer. You may have to clear your browser's cache to see it. Let me know if it isn't enough. --
Ricordi
samoa
19:45, 9 July 2017 (UTC)
Reply
Hello. I see the caption "The map shows locations associated with pages in the Main and File namespaces edited by the user. The area of each circle is proportional to the number of edits the user made to the corresponding page.", which, to my mind, is clear enough. Thanks for the quick reaction, and have a nice day.
Gamall Wednesday Ida
talk
20:05, 9 July 2017 (UTC)
Reply
dewkin: punch card
edit
Latest comment:
8 years ago
2 comments
2 people in discussion
Hi, this thing is simply great! I wonder, how can I see such a thing not for one user, but, say, active users in ukwiki for he last month. Is it possible? It feels like something community building, like: "hey folks, we are similar, we all like to edit at 3 am on Saturday"
--
Ата
(talk)
21:13, 26 September 2017 (UTC)
Reply
Ата
Thank you for the feedback. I agree it would be interesting to compare different users' punch cards. How do you think it should look like (e.g. stacked/overlapping circles)? In the meantime I'll try to devise the implementation --
Ricordi
samoa
23:25, 27 September 2017 (UTC)
Reply
Structured Wikiquote
edit
Latest comment:
8 years ago
1 comment
1 person in discussion
What is happening to this proposal with no demo?--
Jusjih
talk
05:11, 23 April 2018 (UTC)
Reply
Script Revert
edit
Latest comment:
7 years ago
8 comments
2 people in discussion
Ricordo una volta avevi tra le tue creazioni uno script per il revert fatto veramente bene. Su it.wiki la pagina non è più accessibile e su wikidata ho trovato uno script ma non funziona. Mi sono perso qualcosa? perché il tuo era l'unico script che funzionava per i revert e sinceramente crosswiki mi servirebbe uno script funzionante per i revert veloci.--
Wim b
[ t ]
23:28, 9 July 2018 (UTC)
Reply
Wim b
Quale pagina su it.wiki non è più accessibile? Se intendi
d:User:Ricordisamoa/Rollback.js
, è bastata una piccola modifica a renderlo nuovamente funzionante. Stai attento però, gli edit appaiono molto simili ai rollback veri e propri, se non possiedi le relative autorizzazioni potresti essere redarguito
--
Ricordi
samoa
22:13, 12 July 2018 (UTC)
Reply
Ricordisamoa
eh, infatti adesso vedo il link. Una sola domanda: so che il tuo orgoglio te lo impedisce e ti capisco perché ho sempre ritenuto che sei un genio col JS, ma se aggiungi una cosa tipo "[[d:User:Ricordisamoa/Rollback.js|tramite script]]" alla fine, o "[[d:User:Ricordisamoa/Rollback.js|Script]]:" all'inizio, così si vede che è diverso e nessuno può dire nulla? Perché a differenza di roba tipo il revert di "Twinkle" il tuo funziona e visto che Twinkle è consigliato tra gli strumenti per lo SWMT… magarii trova il modo di accontentare tutti :p.
PS: Sì, dicevo proprio quello, ma una volta mi apre fosse anche su it.Wikipedia o almeno io avevo il link di quello. --
Wim b
[ t ]
22:21, 12 July 2018 (UTC)
Reply
Ecco, una cosa tipo
questa
, un "Reverted
edit by
user
(talk). (using
tuoScript
)" così funziona bene, non si confonde con i revert "veri" e pace fatta per tutti. So che è una mutilazione per te perché il "bello" era proprio quello, ma se non può essere usato è pure peggio, no?! Io lo vedrei bene un po' castrato nell'aspetto e un po' potenziato nelle funzioni per essere usato bene cross-wiki, senza paura della crocefissione. --
Wim b
[ t ]
00:02, 13 July 2018 (UTC)
Reply
Wim b
Porti tu la croce?
Avvistato
lo script in una edit war con un vero rollbacker
(notare etichetta "Annulla" invece di "Rollback"). Per non guastare il mio "esercizio di imitazione" che ne dici di un fork? Non ricordo metodi soddisfacenti per rendere gli script configurabili, ed eventuali modifiche all'originale non dovrebbero comunque risultare di difficile integrazione. --
Ricordi
samoa
07:54, 19 August 2018 (UTC)
Reply
Ricordisamoa
Cosa intendi per «porti tu la croce»? io ho copiato lo script, attribuzione compresa, e me lo sono messo nel Global.js aggiungendo "[ SCRIPT ]" davanti al campo oggetto, così imita quanto basta ma allo stesso tempo anche un cieco può vedere che non è la funzione originale.--
Wim b
[ t ]
17:22, 19 August 2018 (UTC)
Reply
Wim b
Intendo ciò che hai inteso con «crocefissione» a causa di un uso scorretto dello script (benché operato da qualcun altro). Sentiti libero di diffondere il tuo fork nello SWMT anche segnalando eventuali difetti. --
Ricordi
samoa
13:36, 20 August 2018 (UTC)
Reply
una cosa che ho notato è che annulla le modifiche dell’ultimo utente e lo fa bene, però non “capisce” quando un altro utente ti anticipa, di fatto facendoti ripristinare il vandalismo. Per ora l’unico difetto che ho trovato è questo sul conflitto di edizione, se fosse semplice rimaritare sarebbe un bel passo avanti, sennò basta starci un po’ attenti e passare dalla cronologia come faccio io prima di chiudere il tab. Poi magari un giorno che sei in ena di risolvere problemi ne ho da sottoportene uno io per Wikibooks, diciamo che sono arrivato all’80% della soluzione da solo, ho solo un problema di “scaricamento”. —
Wim b
[ t ]
14:21, 20 August 2018 (UTC)
Reply
2 chiarimenti su Lua
edit
Latest comment:
7 years ago
6 comments
2 people in discussion
Ciao, al solito voglio sempre fare il passo più lungo della gamba, oggi ho due dilemmi con Lua:
so che è possibile, ma mi sfugge il modo in cui farlo: in pratica su wikibooks ci sono 2 sommari, uno verticale e uno orizzontale, con gli stessi parametri, per quello verticale ho scritto
questo
e in qualche modo funziona. Visto per l'appunto che i parametri sono gli stessi volevo dividere in 3 funzioni, una che fa il lavoro sporco (recupera parametri, if, categorizza, ecc) e gli altri due che fanno apparire rispettivamente la tabella verticale o orizzontale, in modo da scrivere ad esempio {{#invoke:Sommario|verticale}} o {{#invoke:Sommario|orizzontale}} e far apparire l'orientamento giusto (al punto in cui sono arrivato facendo prove in pratica i valori non passavano da una funzione all'altra, perché mi dava sempre l'errore "parametro ... nil".
su wikt invece ho scritto il modulo
Vedi anche
per far apparire il box apposito. Volevo prendere 2 piccioni con una fava e usarlo anche per le sezioni, rimpicciolendolo quindi, ho abilitato quindi il parametro "sect" che quando assume il valore "y" restituisce il box piccolo. E funziona, non fosse che anche la "y" mi finisce tra i link mostrati (vd.
wikt:Wikizionario:Sandbox
). La domanda sarebbe: è possibile distinguere in gruppi i parametri nominali da quelli generici col numeretto e prenderli in considerazione separatamente?
Spero sia una cos semplice, e se avrai voglia di risolverlo, anche da capire cosicché la prossima volta io mi limiti a copiare invece che chiedere. Purtroppo sei il mio risolviproblemi di fiducia, forse in una vita passata eri jack lo squartatore… --
Wim b
[ t ]
17:37, 2 September 2018 (UTC)
Reply
Wim b
Hai una pagina di prova che mostra l'errore? Altrimenti non capisco
Una modifica minima come
questa
non gestisce tutti i parametri nominali ma forse è sufficiente?
--
Ricordi
samoa
17:40, 4 September 2018 (UTC)
Reply
Ora, la pagina di errore non c'è perché alla fine non ho salvato nulla visto che mi dava errore. In pratica vorrei solo condividere i parametri tra la funzione "Verticale" (che è quella scritta
qui
e quella "Orizzontale" che non esiste perché non sono stato capace di condivedere questi benedetti parametri. Mi basterebbe che i parametri fossero gestiti da una funzione e le due tabelle da altre due funzioni distinte. Sennò duplico il codice che recupera gli argomenti e festa finita.
eccheccavolo, almeno non sminuirla così, fai un po' di scene tipo "è una modifica tecnicissima da manuale esperto", ci sono stato dietro 3 ore e te me la sminuisci con "modifica minima" :) :p. (btw: se mi capitasse per il futuro, c'è anche un modo per escludere tutti i parametri nominali?) --
Wim b
[ t ]
17:59, 4 September 2018 (UTC)
Reply
Wim b
Proprio non vuoi aiutarmi eh? XD Ho implementato "Orizzontale" in
Modulo:Wim b/Sommario
cercando di condividere più codice possibile ma declino qualsiasi responsabilità sul risultato...
Modificando quelle parti potresti scrivere
for
in
pairs
args
do
if
type
==
'number'
then
if
mw
text
trim
==
''
then
error
'[[Template:Vedi|Template Vedi]]: È stato specificato un parametro vuoto'
end
table.insert
lemmi
string.format
'[[%s]]'
mw
text
trim
)))
end
end
--
Ricordi
samoa
23:00, 4 September 2018 (UTC)
Reply
Il risultato sembra essere quello giusto, ma tanto non è che io sarei riuscito a tirarci fuori chissà cosa :) --
Wim b
[ t ]
12:02, 5 September 2018 (UTC)
Reply
Comunque riguardo allo script del revert, avevo fatto una modifica, avevo sostituito il controllo su "sysop/rollbacker", con il controllo se ci fosse o meno il link, avevo messo:
if
'.mw-rollback-link'
).
length
return
// user is rollbacker, no need for these buttons
Perché in alcuni progetti avevano nomi diversi o il diritto era garantito un po' a tutti, come su en.books, che ti veniva dato dopo
tot
modifiche e con il discorso di palesare il fatto che si stesse trattando di uno script, non ho mai avuto lamentele di sorta--
Wim b
[ t ]
17:45, 8 September 2018 (UTC)
Reply
Sono già passati 2 mesi…
edit
Latest comment:
7 years ago
21 comments
2 people in discussion
… e non ho ancora avuto un'idea irrealizzabile per le mie (scarse) capacità. Il problema di oggi è:
dovrei fare uno script per scrivere una ricetta su wikibooks, nell'altro computer ho il codice per aggiungere gli ingredienti e i passaggi, ho lo script per scrivere materialmente la pagina, ho il codice per creare una pagina speciale dal nulla, ma siccome le cose semplici non piacciono a nessuno, mi serviva il codice per aggiungere le varie categoria tramite (magari) un checkbox. Il problema qual'è?! che con le API ho dovuto mollare perché partendo da una categoria, non mi dava (o non sono stato in grado io) tutte le sotto-categoria fino all'ultima, allora ho provato con "CategoryTree", ho scritto
in una pagina e poi ho provato in console col codice
var
IsCat
'.CategoryTreeLabelCategory'
var
IsHandler
'.CategoryTreeBullet'
//IsCat.attr('havecb', 'havecb')
IsCat
attr
'havecb'
'havecb'
).
prepend
''
'.CategoryTreeToggle'
).
on
"click"
function
()
IsCat
each
function
()
if
IsCat
).
attr
'havecb'
==
'havecb'
// do this
else
IsCat
attr
'havecb'
'havecb'
this
).
prepend
''
})
})
E in effetti al primo giro mi funzionava, però poi ogni volta che premevo la freccetta blu per aprire la categoria, mi caricava la lista delle sottocategorie e il CB non lo appiccicava. Alla fine mi servirebbe che le categorie immediatamente sotto "Ricette" fossero titoli e le altre sotto-sotto-ecc. selezionabili con un CB, in pratica mi servirebbe che selezionando X CB alla fine la ricetta venga inserita in quelle categorie. Non so se sono riuscito a spiegarmi. C'è secondo te un modo per recuperare automaticamente queste categorie cosicché se domani ne venisse aggiunta una, non debba mettere mano allo script? Qualsiasi modo, perché visto che le ricette vengono inserite spesso e categorizzate mai, sarebbe stato secondo me un modo per avere la botte piena e la moglie ubriaca. Grazie in anticipo, anche solo se non mi manderai apertamente a quel paese… :p --
Wim b
17:59, 21 November 2018 (UTC)
Reply
Wim b
Ho identificato alcuni problemi quali:
il primo
this
non funziona come credi, ti consiglio di
documentarti
su questo peculiare aspetto di JavaScript;
una volta memorizzato in
IsCat
il risultato di
$('.CategoryTreeLabelCategory')
, esso non include automaticamente i nuovi elementi;
similmente, il
click
viene registrato solo sulle freccette già presenti all'atto della chiamata
$('.CategoryTreeToggle')
la variabile
IsCat
si riferisce all'insieme degli elementi corrispondenti a ciascuna categoria, pertanto il suo metodo
attr
restituirà il valore dell'attributo appartenente al
primo
elemento quando usato nel primo modo
$(IsCat).attr('havecb')
ma imposterà il valore dell'attributo per
tutti
gli elementi nel secondo modo
IsCat.attr('havecb', 'havecb')
l'elenco delle sottocategorie potrebbe non essere ancora caricato quanto ti viene notificato l'evento
click
sulla relativa freccetta.
Secondariamente, inoltre:
è sconsigliabile creare elementi a partire da codice HTML contenente valori arbitrari come
$(this).text()
l'attributo
id
è pensato per essere univoco nell'intera pagina, usato in quel modo risulta fuorviante.
Facile risolvere il problema 2 riselezionando gli elementi ogni volta, il 3 usando
event delegation
function
addCheckboxes
()
'.CategoryTreeLabelCategory'
).
each
function
()
if
this
).
attr
'havecb'
===
'havecb'
// do this
else
this
).
attr
'havecb'
'havecb'
).
prepend
''
).
val
this
).
text
()
);
);
'.CategoryTreeTag'
).
on
'click'
'.CategoryTreeToggle'
addCheckboxes
);
addCheckboxes
();
Tuttavia, il problema 5 obbliga a cliccare più volte sulle freccette per far apparire le caselle di spunta. O preferiresti un
MutationObserver
L'esercizio di oggi è:
usa
categorymembers
continue
per liberarti da CategoryTree, o almeno provaci
. --
Ricordi
samoa
10:15, 22 November 2018 (UTC)
Reply
So benissimo che il codice scritto non era dei migliori, ma non essendo riuscito a far scaricare quello che volevo tramite api, mi sono dovuto arrangiare con quello che avevo, :(. Ora vedrò di capirci qualcosa in quello che hai scritto sopra.
PS: hai ragione per gli ID, era il codice provvisorio per fare le prove, che oltretutto non avrei potuto usare dopo. Comunque secondo te è una cosa semplice o è complicata (per quanto hai visto su le mie capacità)? Sennò faccio la la lista a mano con “ul” e “li”… :D—-
Wim b
12:13, 22 November 2018 (UTC)
Reply
Wim b
Puoi usare
promise
e ricorsione. --
Ricordi
samoa
14:44, 22 November 2018 (UTC)
Reply
… credo che aggiungerò la lista a mano :)--
Wim b
14:59, 28 November 2018 (UTC)
Reply
Wim b
Preferiresti una lista già popolata con tutte le sottocategorie oppure una "dinamica" con freccette in stile CategoryTree? --
Ricordi
samoa
17:48, 28 November 2018 (UTC)
Reply
Non credo sia un problema l'una o l'altra, certo quella con le freccette tipo CategoryTree, sopratutto se come quest'ultima si presenta chiusa di default e poi cliccabile dopo, sarà certamente meno ingombrante, ma alla fine non vedo grosse differenze tra l'una e l'altra scelta. --
Wim b
17:53, 28 November 2018 (UTC)
Reply
Wim b
Ho una bozza che potrebbe interessarti:
var
api
new
mw
Api
();
function
getSubCategories
title
cont
pages
return
api
get
extend
action
'query'
generator
'categorymembers'
gcmtitle
title
gcmtype
'subcat'
gcmlimit
'max'
prop
'categoryinfo|categories'
clcategories
title
clprop
'sortkey'
},
cont
).
then
function
data
pages
extend
true
{},
pages
||
{},
data
query
pages
);
if
data
continue
!==
undefined
return
getSubCategories
title
data
continue
pages
);
return
map
pages
function
page
return
page
).
sort
function
if
categories
].
sortkey
categories
].
sortkey
return
if
categories
].
sortkey
categories
].
sortkey
return
return
);
);
function
doneFilter
pages
return
pages
map
function
page
var
$li
'
).
append
'