I've been working on html2unicode in the last days and I stumbled upon
the fact that a & also works as a normal ampersand, so that
& for example gets converted into &. Now the commit which
introduced it into core (fc61025 [1]) is not really descriptive so I
searched in compat's code and found the corresponding commit f97dfb0
[2].
There it links to the discussion on @xqt's talk page [3] which doesn't
really explain what is happening there. The API never returns HTML
entities unless it's the content of a page. I've been testing [4] such
a link and [[&]] does work but not [[&]]. Also the entitey
gets properly encoded, but [[ ]] also only once.
My question here is why is it necessary and especially in core which
only does API requests which shouldn't suffer from such a problem it
could be changed probably. The only reason I see if something is
decoding text improperly and converts into   which
shouldn't be our concern.
Fabian
[1]: https://github.com/wikimedia/pywikibot-core/commit/fc6102527e4c556cd77aa877…
[2]: https://git.wikimedia.org/blobdiff/pywikibot%2Fcompat.git/f97dfb0d1ca49751c…
[3]: https://de.wikipedia.org/w/index.php?title=Benutzer_Diskussion%3AXqt&action…
[4]: https://en.wikipedia.org/wiki/User:XZise/linktest
I have a bunch of breaking changes I'd like to make to the framework's
API; some of them are already in Gerrit ([1]
<https://gerrit.wikimedia.org/r/178579>, [2]
<https://gerrit.wikimedia.org/r/178647>).
John Vandenberg said they can be merged after the 2.0 release, but I
don't see a schedule yet. How long are we supposed to wait?
Hi,
I am a student at International Institute of Information Technology
Hyderabad, India. I plan to participate in GSoC this year. I was browsing
the potential projects under Mediawiki and found Pywikibot: Implement
support for OAuth <https://phabricator.wikimedia.org/T74065> project really
interesting and related to my domain of interest. I would like to apply for
the project.
I have a very good understanding of the mediawiki architecture including
the API. I had developed a mediawiki extension to support Peer Evaluation
<https://github.com/akashagarwal/peer-evaluation> in wiki courses for the
OERu as part of last year's GSoC. It consists of simple API's, tags and
some javascript. I am also about to complete another extension for CEMCA
<http://www.cemca.org.in/>in which I am adapting the TIPS framework for
quality assurance
<http://www.cemca.org.in/publicationhome/quality-assurance-guidelines-open-e…>
for wiki based articles.
It would be great if you could help me on how to proceed.
Mediawiki user page: https://www.mediawiki.org/wiki/User:Akashagarwal
IRC nick: akashagarwal
Github: https://github.com/akashagarwal
--
Best Regards,
Akash Agarwal
IIIT Hyderabad