Last modified: 2014-09-07 21:12:40 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 T72486, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70486 - Getting Special:RandomInCategory in raw mode not possible anymore
Getting Special:RandomInCategory in raw mode not possible anymore
Status: UNCONFIRMED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.24rc
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-06 12:04 UTC by formatierer2010
Modified: 2014-09-07 21:12 UTC (History)
2 users (show)

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


Attachments

Description formatierer2010 2014-09-06 12:04:49 UTC
Using clientside javascript this request doesn't work any more.

$.get(mw.config.get("wgServer")+mw.config.get("wgScript")
      +"?title="+mw.util.wikiUrlencode("Special:RandomInCategory")
      +"&action=raw&maxage=0&category="+mw.util.wikiUrlencode(somevalue),
      handleResponse);

which for example should get the raw text of a random page in the category "somevalue" from URL:

https://en.wiktionary.org/w/index.php?title=Special:RandomInCategory&action=raw&maxage=0&category=Africa

Using https://en.wiktionary.org/w/index.php?title=Special:RandomInCategory/Africa&action=raw&maxage=0 instead also doesn't work.

This might be a side effect of Bug 67581. It seems, that it is now not possible, to get a random page of a category in raw mode.
Comment 1 Andre Klapper 2014-09-07 20:49:57 UTC
(In reply to formatierer2010 from comment #0)
> This might be a side effect of Bug 67581.

CC'ing patch author and reviewer
Comment 2 Kunal Mehta (Legoktm) 2014-09-07 21:12:40 UTC
Yeah that patch probably did it. I don't think it's worth supporting action=raw for this, and would much rather fix bug 61840 to allow for this in a sane manner.

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


Navigation
Links