Last modified: 2014-02-12 23:54:01 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 T59668, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57668 - Coordinate removal fail
Coordinate removal fail
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-27 16:42 UTC by Max Semenik
Modified: 2014-02-12 23:54 UTC (History)
10 users (show)

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


Attachments

Comment 1 Bingle 2013-11-27 16:43:22 UTC
Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1459
Comment 2 Luigi Assom 2013-12-01 21:47:45 UTC
In some cases, 
parameter exsentences does not return the number of sentences, but the coordinates of an article.

Instead parameter exchars return a number of chars, and also the coordinates.
Comment 3 Andre Klapper 2013-12-02 10:03:12 UTC
luigi.assom: Examples for "some cases" are very welcome, and whether the problem is reproducible for such a testcase.
Comment 4 Luigi Assom 2013-12-02 10:41:14 UTC
Hello Andre!!
sure, here some:
https://en.wikipedia.org/wiki/United_World_College_of_the_Adriatic
https://en.wikipedia.org/wiki/North_Wessex_Downs
https://en.wikipedia.org/wiki/White_Cliffs_of_Dover

https://en.wikipedia.org/w/api.php?format=jsonfm&action=query&titles=North_Wessex_Downs|White_Cliffs_of_Dover&prop=extracts&exintro&explaintext&exsentences=10&continue

Also note that
https://en.wikipedia.org/w/api.php?format=jsonfm&action=query&titles=North_Wessex_Downs|White_Cliffs_of_Dover&prop=extracts&exintro&explaintext&exsentences=10&continue

does not return excerpt neither coordinates for the last topic in the last query,
while the separated query
https://en.wikipedia.org/w/api.php?format=jsonfm&action=query&titles=White_Cliffs_of_Dover&prop=extracts&exintro&explaintext&exsentences=10&continue
returns the coordinates (and not the excerpt)

others:
https://en.wikipedia.org/wiki/Alabama_House_of_Representatives
https://en.wikipedia.org/w/api.php?format=jsonfm&action=query&titles=Alabama%20House%20of%20Representatives&prop=extracts&exintro&explaintext&exsentences=10

https://en.wikipedia.org/wiki/Alabama_Senate
https://en.wikipedia.org/w/api.php?format=jsonfm&action=query&titles=Alabama_Senate&prop=extracts&exintro&explaintext&exsentences=10


https://en.wikipedia.org/wiki/Black_Belt_(region_of_Alabama)
https://en.wikipedia.org/w/api.php?format=jsonfm&action=query&titles=Black%20Belt%20(region%20of%20Alabama)&prop=extracts&exintro&explaintext&exsentences=10

https://en.wikipedia.org/wiki/Malta
https://en.wikipedia.org/w/api.php?format=jsonfm&action=query&titles=Malta&prop=extracts&exintro&explaintext&exsentences=10
Comment 5 Luigi Assom 2013-12-02 10:46:18 UTC
If you need more examples, just let me know - although it may be a good sample
Comment 6 Luigi Assom 2013-12-03 11:03:57 UTC
Hello,

I am looking at the xml of articles which return experts correctly (e.g. Alabama, Venice, Rome) respect to the others which return coordinates.

I noticed that the articles failing to report the excerpts, have a {{coord}} in and at the beginning of the <text> field: 
<text xml:space="preserve" bytes="">
 {{coord ...}}
 ...
</text>

About articles displaying excerpts properly:
Alabama reports the field {{coord}} at the end of the </text>
Venice do not report a {{coord}} (though coordinates are present at top right of the page)
Rome do not report a {{coord}} (though coordinates are present at top right of the page)
Comment 7 Gerrit Notification Bot 2013-12-03 16:40:46 UTC
Change 98848 had a related patch set uploaded by MaxSem:
Fix removal of title coordinates from extracts

https://gerrit.wikimedia.org/r/98848
Comment 8 Gerrit Notification Bot 2013-12-04 00:40:36 UTC
Change 98848 merged by jenkins-bot:
Fix removal of title coordinates from extracts

https://gerrit.wikimedia.org/r/98848
Comment 9 Max Semenik 2013-12-04 00:47:32 UTC
Change deployed, however it might take some time to take effect everywhere due to caching.
Comment 10 Luigi Assom 2013-12-04 01:53:18 UTC
Terrific Max!!
what was the cause?
I hope my little suggestions were of help...
thank you all guys!

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


Navigation
Links