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 <[email protected]>:

>
>
> 2015-10-15 10:59 GMT+01:00 Анатолій Гончаров <[email protected]>:
>
>> 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>
>
> [1]
> https://phabricator.wikimedia.org/rTHER2be5c388e70187b522cf054c8dfdc8f605a0c865
> --
> Jean-Frédéric
>
> _______________________________________________
> Wiki Loves Monuments mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
> http://www.wikilovesmonuments.org
>



-- 
Анатолій Гончаров
mailto:[email protected]
ICQ: 364-176-156
_______________________________________________
Wiki Loves Monuments mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
http://www.wikilovesmonuments.org

Reply via email to