So, if we already have URL with oldid we can cut 'title' from it before saving (explode query_string by & and take only part with 'oldid'). In such case we will have short URL like https://uk.wikipedia.org/w/index.php?oldid=16797698 , and it will store in database correctly,

2015-10-15 13:24 GMT+03:00 Jean-Frédéric <jeanfrederic.wiki@gmail.com>:


2015-10-15 10:59 GMT+01:00 Анатолій Гончаров <ahonc.ua@gmail.com>:
Well, URL is cutted, but there are also no <a href> tags

Well, yeah, because the link generator expects a non-cut URL. It is not 'just' a matter of slapping <a> tags around the field − it’s not super advanced, but there is somme formatting going on [1]
 
If T112461 is fixed, it should generate link.

No, there are many possible bugs that could prevent link to be generated. T112461 was about a specific one (as stated in the task title, « because of new URL format »), and this one is fixed.
 
But if that makes it clearer, I just filed <https://phabricator.wikimedia.org/T115572>

--
Jean-Frédéric

_______________________________________________
Wiki Loves Monuments mailing list
WikiLovesMonuments@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
http://www.wikilovesmonuments.org



--
Анатолій Гончаров
mailto:Ahonc.ua@gmail.com
ICQ: 364-176-156