https://bugzilla.wikimedia.org/show_bug.cgi?id=70486

            Bug ID: 70486
           Summary: Special:RandomInCategory
           Product: MediaWiki
           Version: 1.24-git
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
          Assignee: [email protected]
          Reporter: [email protected]
       Web browser: ---
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to