I see little effort on finding solutions potentially able to scale to all
our projects and languages
See my reply to your initial comment on that ticket. This was just a first hack at implementing this functionality. If you had simply asked if there were plans to expand this to other projects/languages the answer you would have received would have been "absolutely! this is just a first pass".
I have pasted the referenced comment and response from that ticket below:
It's inappropriate an unsustainable to hardcode such wiki-specific
parsing in our code.
In the future please consider the tone and impact of your comments before clicking "post".
Imagine you were, say, a first-time volunteer contributor and the first piece of feedback you received was the comment you posted above. How would that make you feel about even trying to contribute?
I'm not saying there's not a kernel of truth in your comment, because there is*, but the way you phrased it actually inclines me to take your opinion, and you, far less seriously.
*I agree it would indeed be better to have this endpoint work across all language wikis. I intend to examine such functionality, but as a first pass I chose to implement the core logic for my native language. My implementation should be fairly easy to modify, as well, because I had this eventuality in mind throughout development.
On Thu, Jan 12, 2017 at 12:41 AM, Federico Leva (Nemo) nemowiki@gmail.com wrote:
Is it considered acceptable now to produce a service or API that hardcodes wiki-specific parsing of certain wikitext or HTML patterns in certain wiki pages (such as the "On this day" section of the main page of one wiki)?
I'm confused by the status of things and after my comment https://phabricator.wikimedia.org/T143408#2919000 I see little effort on finding solutions potentially able to scale to all our projects and languages (which I assume to be the mission, see "globally" in https://wikimediafoundation.org/wiki/Mission_statement ; please point it out if this assumption is incorrect).
It might be that wiki-specific parsing hardcoded in MediaWiki/Wikimedia code is actually able to scale, if written correctly; a comment on the association patch seemed to imply so. This would be a very surprising finding, and one which goes against 15 years of experience, so if we have some examples or evidence of this it would be very worthwhile to point them out.
Nemo
Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l