tweaked rules for better readability
← Older revision
Revision as of 03:19, 25 July 2013
(One intermediate revision by one user not shown)
Line 8:
Line 8:
==Page structure==
==Page structure==
−
An initial bulk page import is planned based on pages [http://lists.w3.org/Archives/Public/public-webplatform/2013Apr/0238.html donated by Microsoft], and reformatted. The import work is an [http://project.webplatform.org/msdnjs ongoing subproject]. The initial page structure will be a set of top-level pages shown below, each one having second-level subpages that capture the logical structure and for efficient bread crumbs page navigation
:
+
An initial bulk page import is planned based on pages [http://lists.w3.org/Archives/Public/public-webplatform/2013Apr/0238.html donated by Microsoft], and reformatted. The import work is an [http://project.webplatform.org/msdnjs ongoing subproject]. The initial page structure will be a set of top-level pages shown below, each one having second-level subpages that capture the logical structure and for efficient bread crumbs page navigation
.
+
+
===Top-level pages===
{| class="wikitable"
{| class="wikitable"
Line 15:
Line 17:
| Objects || 336 pages: built-in objects (Array, ArrayBuffer, Boolean, etc) and other special objects (arguments, Function, Global, Object).
| Objects || 336 pages: built-in objects (Array, ArrayBuffer, Boolean, etc) and other special objects (arguments, Function, Global, Object).
|-
|-
−
| Constants || (
none
)
+
| Constants ||
1 page listing constants found within Math, Global, and Number like
(
E, Infinity, MIN_VALUE
)
|-
|-
−
| Properties ||
todo
+
| Properties ||
1 page listing properties found within arguments, RegExp, Function, Error, etc.
|-
|-
−
| Functions ||
(none)
+
| Functions ||
1 page listing functions found within Math, Global, Object, String, etc.
|-
|-
−
| Methods ||
(none)
+
| Methods ||
1 page listing methods found within String, Function, Enumerator, Array, etc.
|-
|-
| Operators || 39 pages: Addition Assignment, Addition, Assignment, Bitwise AND Assignment, etc.
| Operators || 39 pages: Addition Assignment, Addition, Assignment, Bitwise AND Assignment, etc.
Line 29:
Line 31:
| Errors || 2 pages: Run time, Syntax
| Errors || 2 pages: Run time, Syntax
|-
|-
−
| Reserved Words ||
(none)
+
| Reserved Words ||
1 page listing words unable to be used as identifiers.
−
|-
+
−
| Future Reserved Words || (none)
+
|}
|}
+
===Third-level subpages===
Third-level subpages will exist for each property, function (not requiring an object), method (requiring an object), and constant. For example, under the Objects top-level page, we have second-level pages Array and Math. These in turn will have the following third-level subpages:
Third-level subpages will exist for each property, function (not requiring an object), method (requiring an object), and constant. For example, under the Objects top-level page, we have second-level pages Array and Math. These in turn will have the following third-level subpages:
* Array's three properties: constructor, length, and prototype.
* Array's three properties: constructor, length, and prototype.
Line 40:
Line 41:
* Math's constant Math.E.
* Math's constant Math.E.
−
Putting it all together, an example URL path for the Array constructor would then be: "Objects/Array/constructor Property".
+
Putting it all together, an example URL path for the Array constructor would then be: "Objects/Array/constructor Property".
To see more examples, the current bulk import page names can be [https://github.com/maxpolk/msdn-js-conversion/blob/master/round-alice/upload-mapping.wiki found here].
+
+
Notice the rules for third-level pages under Object:
+
* property pages have a "Property" suffix, eg. Objects/Array/length '''Property'''
+
* function pages have a "Function" suffix, eg. Objects/Array/Array.isArray '''Function'''
+
* method pages have a "Method" suffix, eg. Objects/Array/concat '''Method'''
+
* constant pages have a "Constant" suffix, eg. Objects/Float32Array/BYTES_PER_ELEMENT '''Constant'''
+
+
Notice the rules for second-level pages under Operators:
+
* Operators are spelled out as words, eg. Operators/Addition Assignment for the <code style="font-size: larger;">+=</code> operator
+
* Logical or bitwise operators are capitlized, eg. Operators/Logical AND
==Templates and forms==
==Templates and forms==