Last modified: 2013-11-06 03:54:12 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57958, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55958 - langlinks table not being updated for many pages
langlinks table not being updated for many pages
Status: NEW
Product: MediaWiki
Classification: Unclassified
JobQueue (Other open bugs)
unspecified
All All
: High major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-21 07:27 UTC by reza1615
Modified: 2013-11-06 03:54 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description reza1615 2013-10-21 07:27:39 UTC
for many case the langlinks API and database query can not purge or update themself and show the old wrong interwiki link!

API: for example:
http://en.wikipedia.org/w/api.php?action=query&prop=langlinks&titles=Oldsmobile_Intrigue

<ll lang="fa" xml:space="preserve">الگو:اولدزموبیل</ll> 

Query in labs :

sql enwiki_p

SELECT page_title,ll_title  FROM page  JOIN langlinks ON page_id = ll_from WHERE page_is_redirect = 0 AND page_title='Oldsmobile_Intrigue' and page_namespace=0 AND ll_lang='fa' GROUP BY ll_from;

+---------------------+-------------------------------+
| page_title          | ll_title                      |
+---------------------+-------------------------------+
| Oldsmobile_Intrigue | الگو:اولدزموبیل               |
+---------------------+-------------------------------+

which should be اولدزموبیل_اینتریگ

Also For these case it is the same!

Oldsmobile 
Oldsmobile_88 
Oldsmobile_Intrigue 
Oldsmobile_Cutlass_Supreme 
Oldsmobile_Silhouette 
Oldsmobile_Firenza 
Oldsmobile_Bravada 
Oldsmobile_Cutlass_Calais 
Oldsmobile_Custom_Cruiser 
Oldsmobile_Achieva 
Compressed_hydrogen 
Bastak 
Bastak_County 
Guwdah 
Azdi_Bastak 
Pisah 
Lard-e_Basto 
Moghdan-e_Bastak 
Morwa,_Hormozgan 
Tang-e_Dalan,_Hormozgan 
Nakhahry 

and more than 200 other cases!
Comment 1 reza1615 2013-10-21 07:28:57 UTC
This bug cause some bot and gadgets get wrong interwiki and do wrong works!
Comment 2 reza1615 2013-10-21 07:34:26 UTC
this bug didn't update interwikis since 9 OCT!
See: https://en.wikipedia.org/w/index.php?title=Template:Oldsmobile&diff=prev&oldid=576489983

after this change API and query should show article's interwiki not the template's.
Comment 3 reza1615 2013-10-21 11:32:43 UTC
see also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=50924
Comment 4 Brad Jorsch 2013-10-21 14:29:21 UTC
Certainly not an API bug, the API is correctly returning the contents of the langlinks table.

Bug 50924 also seems unrelated, as that has to do with edits on Wikidata not propagating to local wikis.

The problem here seems to be that the job queue did not properly update langlinks for the transcluding pages after https://en.wikipedia.org/w/index.php?title=Template:Oldsmobile&diff=prev&oldid=576489983.
Comment 5 reza1615 2013-10-29 21:13:32 UTC
it is not only for templates please see

http://fa.wikipedia.org/w/api.php?action=query&prop=langlinks&titles=%D8%B2%D8%A8%D8%A7%D9%86_%D8%AA%D8%A7%DB%8C
or

http://fa.wikipedia.org/w/api.php?action=query&prop=langlinks&titles=%D8%AF%D8%B3%D8%AA%DA%AF%D8%A7%D9%87_%D8%AA%D9%86%D9%81%D8%B3%DB%8C


it shouldn't have any interwiki!
or
please get this query

SELECT /*SLOW OK */ page_title,ll_lang  FROM page  JOIN langlinks ON page_id = ll_from WHERE page_namespace = 0 AND page_is_redirect = 1 GROUP BY page_title ORDER BY count(ll_from) DESC;

the result will show many pages which doesn't have any interwiki:
--------------------------------
page_title	ll_lang
--------------------------------
زبان_تای	af
ولگاگراد_(شهر)	af
ناحیه_(فرانسه)	af
لئوناردو_فیبوناچی	af
زبان‌های_ترکی	an
تغییر_ساعت_تابستانی	af
ازن_(مولکول)	af
استان_لاریخا	an
ماده‌گرایی	af
شارلوت،_کارولینای_شمالی	an
فهرست_ناحیه‌های_ایتالیا	af
دستگاه_تنفسی	an
سوسمار	an
نیایشگاه_آرتمیس	ar
پاپ_فرانسیس	af
فهرست_استان‌های_ترکیه	ar
کارون_(ماه)	af
هسته_سیستم‌عامل	af
لایه_ازن	af
وال_کوسه	af
تقسیمات_کشوری_ژاپن	af
استان_سند	ar
قانون_جهانی_گرانش_نیوتون	af
باشگاه_فوتبال_گالاتاسرای	ar
پراگماتیسم	ar
سرآغاز_(فیلم)	ar
پاپ_مارک	af
سدنا	ar
Comment 6 Aaron Schulz 2013-11-06 01:36:50 UTC
Do null (no change) edits help any of these pages?
Comment 7 Tim Starling 2013-11-06 01:50:16 UTC
I null edited [[Oldsmobile Intrigue]], and it was fixed after I did so. So I guess the job could have been lost, or not yet executed.
Comment 8 reza1615 2013-11-06 03:50:25 UTC
(In reply to comment #6)
> Do null (no change) edits help any of these pages?

before this report I clicked on purge but it doesn't change!
Comment 9 reza1615 2013-11-06 03:54:12 UTC
can we do the null edit by bot because they are more than 300 pages!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links