Yes, I'm not sure about the automatic replacement of words in pages other than the current one — something more along the lines of a spelling-checker, maybe? Where the dictionary can be customised per-work. Is Extension:SpellingDictionary <https://www.mediawiki.org/wiki/Extension:SpellingDictionary> worth looking into? But no, perhaps not, because if such a thing were built as part of ProofreadPage, it could handle scannos as well (punctuation etc.; i.e. be more specialised than just spelling). For example, the PGDP WordCheck system presents the user with a syntax-highlighted view of each page prior to saving, highlighting *all* punctuation and spaces and newlines, and making each miss-spelled word a dropdown or suggest box.
—sam On 3 November 2016 at 18:04, Thomas PT <[email protected]> wrote: > Thank you very much for this idea! > > +1 for a gadget or maybe, in the future, a part of the ProofreadPage > extension. > > An issue that we probably need to tackle when designing this tool: what > about not-existing words that could be a typo of two different words? If we > replace all instances of the typo by one of the two word, we will change > the meaning of the text by introducing a worst typo when the other word is > the correct one. > > Thomas > > > Le 3 nov. 2016 à 01:34, Sam Wilson <[email protected]> a écrit : > > > > This sounds like a great idea (something akin to PGDP's WordCheck tool > > <http://www.pgdp.net/wiki/WordCheck>?) But I wonder if implementing it > as a > > Gadget would be easier? That way, the user is already logged in, and can > > access all the normal APIs etc. > > > > The word lists (both good and bad?) could be saved as subpages of the > Index > > page. Could probably make sense to have site-wide word lists too, for all > > the really common ones. > > > > Do you have an idea of the interface for correcting words (the > right-click > > drop down list)? > > > > This could be really useful for all language Wikisources I think! > > > > —Sam > > > > > > On 3 November 2016 at 06:11, Shrinivasan T <[email protected]> > wrote: > > > >> Gergo Tisza, > >> > >> Recently, we added more then 2000 books to Tamil WikiSource using > >> Google OCR with OCR4WikiSource > >> https://github.com/tshrinivasan/OCR4wikisource > >> > >> Most of the books have 30-40% spell errors. To fix them, editing the > >> pages manually is not easy. > >> > >> I am thinking of a browser plugin with the following workflow. > >> > >> 1. user logins to tamil wikisource > >> 2. reads a wiki page for any book > >> 3. Finds a word with spelling error > >> 4. double clicks it > >> 5. Inline textbox opens there > >> 6. Writes correct word and click ok button > >> 7. The change is saved automatically in background > >> 8. The old word and new word are sent to remote server and stored > >> 9. Mass find and replace for the stored wrong,correct words are > >> executed periodically > >> > >> With this design plan, hope users can easily contribute to fix the spell > >> errors. > >> > >> Hope there may be even better solutions. Share your thoughts on this. > >> > >> > >> Now, I am in point 1. > >> Cant find any javascript code login to wikipedia without getting > >> No 'Access-Control-Allow-Origin' header is present > >> error. > >> > >> The CORS link is not useful for beginner. > >> > >> Example code in javascript to login to wikipedia will be much helpful. > >> > >> > >> > >> > >> Moriel Schottlender, > >> > >> Your solution is fine. > >> Please share the code so that I can extend from there. > >> > >> Thanks. > >> > >> -- > >> Regards, > >> T.Shrinivasan > >> > >> > >> My Life with GNU/Linux : http://goinggnu.wordpress.com > >> Free E-Magazine on Free Open Source Software in Tamil : > http://kaniyam.com > >> > >> Get Free Tamil Ebooks for Android, iOS, Kindle, Computer : > >> http://FreeTamilEbooks.com > >> > >> _______________________________________________ > >> Wikitech-l mailing list > >> [email protected] > >> https://lists.wikimedia.org/mailman/listinfo/wikitech-l > >> > > > > > > > > -- > > User:SWilson (WMF) <https://meta.wikimedia.org/wiki/User:SWilson_(WMF)> > > Community Tech > > Fremantle, Western Australia > > _______________________________________________ > > Wikitech-l mailing list > > [email protected] > > https://lists.wikimedia.org/mailman/listinfo/wikitech-l > > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l > -- User:SWilson (WMF) <https://meta.wikimedia.org/wiki/User:SWilson_(WMF)> Community Tech Fremantle, Western Australia _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
