Last modified: 2012-04-16 09:16: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 T30399, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28399 - Get Random list from Arabic Wiktionary
Get Random list from Arabic Wiktionary
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-02 23:00 UTC by tigereye_203
Modified: 2012-04-16 09:16 UTC (History)
4 users (show)

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


Attachments

Description tigereye_203 2011-04-02 23:00:56 UTC
the 'list=random' should return random list of pages in the specified 
1. namespace
2. language

but when i try this
"http://ar.wiktionary.org/w/api.php?action=query&list=random&rnnamespace=0&rnlimit=10"

which is in the Arabic domain, 
most of the pages are in English,
which is not right even if this contain English or other languages,
at least get the majority Arabic not English
Comment 1 Sam Reed (reedy) 2011-04-02 23:02:47 UTC
http://ar.wikipedia.org/w/api.php?action=query&list=random&rnnamespace=0&rnlimit=10

It's fine on there.

On the english wiktionary, I got

      <page id="1102561" ns="0" title="にちふつ" />


It's something wiktionary specific...
Comment 2 tigereye_203 2011-04-02 23:05:41 UTC
ok
is there any possibility to limit the returned languages
i.e. 
0 for all
1 for English
2 for Spanish
3 for Arabic
...... and so on
that would be very helpful
Comment 3 Sam Reed (reedy) 2011-04-02 23:12:10 UTC
http://ar.wiktionary.org/wiki/crazies

The links work, and there's no way to filter the languages currently... As this information probably isn't kept

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


Navigation
Links