User talk:Rical/LQT Archive 1

From mediawiki.org


We can discuss here. Sory about my english. Rical (talk) 11:21, 31 March 2012 (UTC)Reply

comment moved[edit]

Hi, Rical. I moved your comment from User:Sumanah/Lua vs Javascript to Talk:Lua scripting since that's a better place for live discusison; the page you edited is more of an archive. Thanks.

Also:

Dear Rical, Welcome to MediaWiki.org!

Yes, welcome! This site is dedicated to documenting the MediaWiki software, the software behind many wikis, including that of Wikipedia and the Wikimedia Foundation projects.
Please, take a look at the following pages. They might prove useful to you as a newcomer here:

If you have any questions, please ask me on my talk page. Once again, welcome, and I hope you quickly feel comfortable here, and find this site useful documentation of the MediaWiki software.

Thanks, and regards,

Sumana Harihareswara, Wikimedia Foundation Volunteer Development Coordinator (talk) 22:22, 3 April 2012 (UTC)Reply

Upcoming MediaWiki & Wikimedia developers' events[edit]

You might be interested in coming to MediaWiki developer meetings such as Berlin Hackathon 2012 to learn more about upcoming features and changes, including Lua. Sumana Harihareswara, Wikimedia Foundation Volunteer Development Coordinator (talk) 22:23, 3 April 2012 (UTC)Reply

Bonjour/Hello[edit]

(Pardon mon Français) J'ai vu User:Rical/LocalSettings.php, et je me demande à quoi il servait, parce que il ne fait bon pour mettre votre fiche sur cette site.

Si vous voudriez voir PHP formaté, vous pouvez utiliser <syntaxhighlight lang="php"> avant le code, et </syntaxhighlight> aprés. Merci.

English: I've seen User:Rical/LocalSettings.php, and I wonder what purpose it serves, because it's not good to place your file on this site.

If you want to see formatted PHP, you can use <syntaxhighlight lang="php"> before the code, et </syntaxhighlight> after. Thank you.--Jasper Deng (talk) 01:26, 25 April 2012 (UTC)Reply

My goal is to try Lua scripting in production-like mode as a replacement or complement of template. Elsewhere I used many languages to produce professional applications. I first try to understand how to install "my workspace" here.
Where to find examples and list of lua scripts ? Thanks to continue your welcome help. Rical (talk) 01:51, 25 April 2012 (UTC)Reply
I don't believe you can sandbox Lua on this website. If you want to develop, much of it will require offline experimentation; see Developer hub for a start.--Jasper Deng (talk) 03:15, 25 April 2012 (UTC)Reply
OK, I see what you're trying to do. LocalSettings.php is a configuration file for MediaWiki. My advice is to operate your own instance of MediaWiki and then add those lines to your LocalSettings.php file on your webserver.--Jasper Deng (talk) 03:19, 25 April 2012 (UTC)Reply

Proofread Page[edit]

(copied from s:fr:Discussion utilisateur:Rical#Proofread Page)

Bonjour, je me permet de t’inviter à, si tu en a le temps, à améliorer ProofreadPage. Zaran, Beau et moi le faisons déjà suivant nos possibilités mais quelqu’un de plus serait le bienvenu. La procédure pour soumettre des patchs s’est bien améliorée en mars dernier : il suffit maintenant de demander un compte utilisateur ici pour pouvoir faire des "pull request". Tout est expliqué ici. A bientôt sur gerrit ! Tpt (d) 4 juin 2012 à 13:34 (UTC)

PS: Je travaille sur un projet de système de stockage de métadonnées pour l’espace index.

Participation à ProofreadPage[edit]

(copied from s:fr:Discussion_utilisateur:Tpt#Participation à ProofreadPage)

Salut Tpt, très accaparé comme toi, je me suis surtout occupé des nombres romains dans wmflabs où j'ai un compte depuis 1,5 mois. Maintenant que je suis bien rodé en LUA, je veux bien remplacer cette activité par ProofreadPage. Mais là il va me falloir un petit coup de pouce.
Développeur depuis le i8080 en 1976, j'ai déjà de l'expérience en SQL, js, jquery depuis 2008. Je développe un client de centre d'appel médical pour mon frère et je suis en train d'y intégrer Wakanda vers une BDD 4D.
Les nouveautés pour moi ici sont :
  • les architectures de mediawiki et Guerrit,
  • le PHP, voisin de JS + jquery, attention aux faux amis,
  • l'environnement de développement (X),
  • la structure et les fonctions de ProofreadPage (X),
  • ce qui reste à faire dans ProofreadPage (X),
  • dans quelle branche de Gerrit nous travaillont (X),
  • comment upload vers Gerrit sans terminal (X),
J'ai déjà repéré : project:mediawiki/extensions/ProofreadPage et Sueur_de_sang.djvu/227
Si tu pouvais me faire un bref condensé sur les (X) ? Juste pour démarrer du bon pied. On verra après. --Rical (d) 6 juin 2012 à 20:07 (UTC)
  • Environnement de développement : une version de mediawiki tournant avec LAMP/WAMP sur ton ordinateur + un éditeur de texte. C’est mis en place en 1/2 heure. Tout est expliqué dans la doc.
  • La structure et les fonctions de ProofreadPage : La majeur partie du code est dans le fichier ProofreadPage_body.php notamment le système de transclusion. Les autres fichiers PHP concernent les pages spéciales et les API ajoutés par ProofreadPage. Il y a aussi 3 modules en javascript : ext.proofreadpage.page s’occupe de l’interface de l’espace page, ext.proofreadpage.index du formulaire de l’espace index et ext.proofreadpage.article d’ajouter le lien "source" dans l’espace principal.
  • Ce qui reste à faire : tu peux piocher dans bugzilla ou suivre tes idées. Une bonne idée serai d’améliorer la partie javascript de l’extension notamment la fonctionnalité de zoom des images pour l’espace page (dans le module ext.proofreadpage.page) qui pourrais être rendu bien plus efficace en tirant parti de jQuery UI.
  • Pour les petites modifications, tu soumet tout simplement un patch via git pull : une nouvelle branche sera alors créée pour lui par gerrit. Tu peux la modifier ensuite à tout moment. Tout est expliqué .
  • comment upload vers Gerrit sans terminal : GIT GUI fait cela assez bien mais le terminal reste nécessaire dans bien des cas (modification de patch en particulier).
Tpt (d) 7 juin 2012 à 13:56 (UTC)

Extension:ProofreadPage zoom and synchro[edit]

The proposition for my work in ProofreadPage is to make easier the edit of the text to compare with the image :

  • A button selects horizontal or vertical comparison panels.
  • The user can drag and zoom the image.
  • Each edit or select of the text synchonize the displayed part of the image.
  • An alt-clic from the user can optimize the text / image synchro.
  • The user can unselect the synchro (for convenience or bug) and return to only drag and zoom.
  • A metadata imgSynchro memorizes the optimization for next edits. --Rical (talk) 23:10, 7 June 2012 (UTC)Reply

The operation :

  • Push the synchro button display this help :
  • When icon is darked the synchronisation is OFF. The user can only zoom and move the image.
  • When icon is ligthed the synchronisation is ON. When the user edit the text, the image follow the text by itself.
  • Each time the user clic the synchro button, the state ON/OFF change. The zoom is not changed (only by the user).
  • When the state is synchro ON and the ALT touch is maintained pressed :
  • The user can select a word in text, and move the image, and zoom it, and clic a point in the image.
  • Then the user can clic on the synchro button to memorize the new synchro point.
  • The user can also press the up or down arrows to move across synchro points. He can also press minus touch to delete one synchro point, or press plus touch to add one, with validations.
Any change in synchro points is instantly memorized in the imgSynchro metadata. --Rical (talk) 11:36, 12 June 2012 (UTC)Reply