CINXE.COM
add
<html> <head> <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" /> <script src="https://tools-static.wmflabs.org/cdnjs/ajax/libs/jquery/3.6.0/jquery.min.js"></script> <script> function addCatRow(node, counter) { $(node).after('<input type="text" name="category' + (counter + 1) + '" id="category-input' + (counter + 1) + '" placeholder="Category name" style="margin-top: 12px;padding: 6px 8px;border: 1px solid #a2a9b1;border-radius: 2px;width: 640px;"><a href="#" id="category-add-' + (counter + 1) + '" onClick="addCatRow(this, ' + (counter + 1) + ')"><svg style=\"width: 20px; height: 20px;vertical-align: middle;\"><title>add</title><path fill=\"#36c\" d=\"M11 9V4H9v5H4v2h5v5h2v-5h5V9z\"/></svg></a>'); $("#category-add-" + counter).remove(); } </script> </head> <body style="font: 14px sans-serif;color: #202122;"> <h1 style="font: 2em 'Linux Libertine','Georgia','Times',serif;color: #000;line-height: 1.3;margin-bottom:7.2px;border-bottom: 1px solid #a2a9b1;display: block;">Random page in category</h1> <div style="padding: 4px 0px;"> <svg style="width: 20px; height: 20px;vertical-align: middle;"> <g fill="#d33"> <path d="M13.728 1H6.272L1 6.272v7.456L6.272 19h7.456L19 13.728V6.272zM11 15H9v-2h2zm0-4H9V5h2z"/> </g> </svg> <span style="color: #d23;font-weight: 700;line-height: 20px;vertical-align: middle;"> There are no items in the <a style="color: #ba0000;text-decoration: none;" href="https://en.wikipedia.org/wiki/wiki/RTL_(Hungarian_TV_channel)">wiki/RTL (Hungarian TV channel)</a> category on <a style="color: #0645ad;text-decoration: none;" href="https://en.wikipedia.org/">en.wikipedia.org</a>. </span> </div> <form oninput='document.getElementById("outputURL").href = document.getElementById("outputURL").innerHTML = window.location.href.split(/[?#]/)[0] + "?" + $(this).serialize();'> <div style='margin-top: 12px;'> <span style='display: block;padding-bottom: 4px;'> <label for='category-input'> Category: </label> </span> <input type='text' name='category' id='category-input' value="wiki/RTL (Hungarian TV channel)" style='padding: 6px 8px;border: 1px solid #a2a9b1;border-radius: 2px;width: 640px;'><a href='#' id='category-add-1' onClick='addCatRow(this, 1)'><svg style="width: 20px; height: 20px;vertical-align: middle;"><title>add</title><path fill="#36c" d="M11 9V4H9v5H4v2h5v5h2v-5h5V9z"/></svg></a> </div> <div style="margin-top: 12px;display: none;" id="expandedOptions"> <div style="float: left; padding-right: 8px;"> <span style="display: block;padding-bottom: 4px;"> <label for="server-input"> Server: </label> </span> <input type="text" name="server" id="server-input" value="en.wikipedia.org" style="padding: 6px 8px;border: 1px solid #a2a9b1;border-radius: 2px;width: 155px;"> </div> <div style="float: left;padding-right: 8px;padding-left: 8px;"> <span style="display: block;padding-bottom: 4px;"> <label for="cmnamespace-input"> Namespace number(s): </label> </span> <input type="text" name="cmnamespace" id="cmnamespace-input" value="" style="padding: 6px 8px;border: 1px solid #a2a9b1;border-radius: 2px;width: 144px;"> </div> <div style="float: left;padding-right: 8px;padding-left: 8px;"> <span style="display: block;padding-bottom: 4px;"> <label for="cmtype-input"> Type: </label> </span> <select name="cmtype" id="cmtype-input" style="padding: 5px 8px;border: 1px solid #a2a9b1;border-radius: 2px;width: 144px;"> <option value="" selected></option> <option value="file">File</option> <option value="page">Page</option> <option value="subcat">Category</option> <option value="file|page">File or page</option> <option value="file|subcat">File or Category</option> <option value="page|subcat">Page or Category</option> <option value="file|page|subcat">File, page, or category</option> </select> </div> <div style="float: left;padding-left: 8px;"> <span style="display: block;padding-bottom: 4px;"> <label for="cmtype-input"> Return Type: </label> </span> <select name="returntype" id="cmtype-input" style="padding: 5px 8px;border: 1px solid #a2a9b1;border-radius: 2px;width: 144px;"> <option value="" selected></option> <option value="">Any</option> <option value="subject">Subject/Article</option> <option value="talk">Talk</option> </select> </div> <div style="clear: both;"> <div style="padding-top: 12px;padding-bottom: 4px;display: block;">URL:</div> <div style="display: block;padding: 5px 8px;border: 1px solid #a2a9b1;border-radius: 2px;width: 622px;overflow-wrap: break-word;"><a id="outputURL"></a></div> </div> </div> <input type="submit" value="Go" style="margin-top: 12px;background-color: #36c;border: 1px solid #36c;border-radius: 2px;padding: 6px 12px;color: #fff;font-weight: 700;"> </form> <div style="font-size: smaller;margin-top: 12px;display: block;"><a href="#" onclick='var x = document.getElementById("expandedOptions");if (x.style.display === "none") {x.style.display = "block";this.innerHTML="Hide additional options";} else {x.style.display = "none";this.innerHTML="Show additional options";}'>Show additional options</a> · <a href="/README.html">View documentation</a></div> <script type="text/javascript">document.getElementById("outputURL").href = document.getElementById("outputURL").innerHTML = window.location.href.split(/[#]/)[0];</script> </body> </html>