Closed renoirb closed 8 years ago
URLs to test out.
Those are ones with quirky URLS MediaWiki was allowing that we must redirect.
%20
for space (and NOT +
) has to be supported_
as an interchangeable token for a space
because its most likely that links in content might have been written like that and we can catch that case easily.+
as a space too?Based on a few entries from reports/summary.yml that has a "redirect_to" flag.
In the following links; Does it really has links "with a space" in the page content (e.g. "[[canvas/tutorial/Canvas tutorial/Drawing shapes]]"), or only with an underscore (e.g. "[[canvas/tutorial/Canvas_tutorial/Drawing_shapes]]")
Accept: text/html
to return HTML document, Accept: application/json
to return a JSON string and so on)Tests:
"tutorials/What is CSS?"
http head 'http://67.205.56.184/wiki/tutorials/What_is_CSS?'
HTTP/1.1 301 Moved Permanently
// ...
Location: http://67.205.56.184/tutorials/What_is_CSS
?
and the inconsistent caSinG!?
, and yet its not a GET query parameter marker!)... and redirect at the same place location
http://67.205.56.184/wiki/apis/webrtc/objects/MediaStream/properties/videoTracks
The redirect map is generated through the app/console mediawiki:summary
and creates reports/nginx_redirects.map that we’ll have loaded in NGINX configuration.
Some more URLs to try
Let’s make HTML some MediaWiki ASK query results.
Migrated tasks originally noted here into webplatform/docs#2
Most use cases should work now!
Once we have #3 addressed, we’ll have to configure web server to make proper HTTP redirection for funny URL names and others that may create conflicts (e.g. inconsistent casing #2)
Handle cases such as:
tutorials/What is CSS?
intotutorials/What_is_CSS
concepts/accessibility/definitions/visual impairment
intoconcepts/accessibility/definitions/visual_impairment
html/elements/!DOCTYPE
intohtml/elements/DOCTYPE
svg/properties/animVal (SVGAnimatedString)
intosvg/properties/animVal_SVGAnimatedString
css/Properties/color
intocss/properties/color
(notice "Properties" casing here)css/properties/flex-align
intocss/properties/align-items
(notice casing here too)Objectives
3.3. Path
)Expected deliverables
Reference