Upgrade notes

From ENIGMA

Jump to: navigation, search

These are just notes relating to the coming software upgrade to the wiki.

1) Install MediaWiki toolbar extension, it looks like wikipedias and will make it easier for new contributors and they wont get turned off, plus it looks way better and has way more functionality. Here is the link... [1]

2) Enable TeX so that we can use math formulas. more infor

3) make navigation panel to the left collapse like on mediawiki and wikipedia

4) fix auto demotion bug with me and josh, i believe i've figured this out, whenever trying to make some of josh's accounts bureaucrat it says I do not have permission to edit user permissions on "other" wikis, so when the original wiki was merged, something must be messed up in the data base that it thinks these are two seperate wikis

5) Add html elements to administrator only protected templates, there are many extensions for it on mediawiki, but they are needed in order to enable the Tex math extension as well as provide us a way of automating requests and creating other custom gadgets, such as isms request for a page for modify user rights that doesnt suck

5) MediaWiki:Geshi.css, the general syntax highlight extension is broke, even if you remove all my styling from that css file GML strings still show up red, idk if perhaps some css code landed into a different css file thats doing it or if the extension itself is broke, but we also need to make it parse articles in Category:Function:All so that it auto updates its keyword list or something similar

EDL

  1. // demonstrates checking if the W key has been pressed and if so moving 5 pixels up
  2. 'W dfgdfg for' "sdfasfsadfsdf for"
  3. if (keyboard_check(ord('W dfgdfg for' "sdfasfsadfsdf for"))) {
  4.   y -= 5;
  5. }
  6. d3d_set_zwriteenable(true);
  7. random jargan

GML

  1. // demonstrates checking if the W key has been pressed and if so moving 5 pixels up
  2. 'W dfgdfg for' "sdfasfsadfsdf for"
  3. if (keyboard_check(ord('W dfgdfg for' "sdfasfsadfsdf for"))) {
  4.   y -= 5;
  5. }
  6. d3d_set_zwriteenable(true);
  7. " see it dont work"
  8.  
  9. " it
  10. does why the h is this line highlighted?
  11. not
  12. work "
  13.  
  14. " it
  15.  
  16. does why the h is this line highlighted?
  17. not
  18. work "
  19.  
  20. random jargan

Try whatever you will, you will not fix the GML syntax highlighting. If it was parsing correctly it would come out like this... It dont work for Robert, Josh, or Ism. Geshicorrect.png

And what the heck is with it bolding every fifth line number?

  1. void subdivide(float u1[2], float u2[2], float u3[2], float cutoff, long depth)
  2. {
  3.  
  4.    GLfloat v1[3], v2[3], v3[3], n1[3], n2[3], n3[3];
  5.    GLfloat u12[2], u23[2], u32[2];
  6.    GLint i;
  7.  
  8.    if (depth == maxdepth || (curv(u1) < cutoff &&
  9.        curv(u2) < cutoff && curv(u3) < cutoff)) {
  10.       surf(u1, v1, n1); surf(u2, v2, n2); surf(u3, v3, n3);
  11.  
  12.       glBegin(GL_POLYGON);
  13.          glNormal3fv(n1); glVertex3fv(v1);
  14.          glNormal3fv(n2); glVertex3fv(v2);
  15.          glNormal3fv(n3); glVertex3fv(v3);
  16.       glEnd();
  17.       return;
  18.    }
  19.  
  20.    for (i = 0; i < 2; i++) {
  21.       u12[i] = (u1[i] + u2[i])/2.0;
  22.       u23[i] = (u2[i] + u3[i])/2.0;
  23.       u31[i] = (u3[i] + u1[i])/2.0;
  24.    }
  25.  
  26.    subdivide(u1, u12, u31, cutoff, depth+1);
  27.    subdivide(u2, u23, u12, cutoff, depth+1);
  28.    subdivide(u3, u31, u23, cutoff, depth+1);
  29.    subdivide(u12, u23, u31, cutoff, depth+1);
  30. }
  31.    }
  32.  
  33.    subdivide(u1, u12, u31, cutoff, depth+1);
  34.    subdivide(u2, u23, u12, cutoff, depth+1);
  35.    subdivide(u3, u31, u23, cutoff, depth+1);
  36.    subdivide(u12, u23, u31, cutoff, depth+1);
  37. }
  38.    }
  39.  
  40.    subdivide(u1, u12, u31, cutoff, depth+1);
  41.    subdivide(u2, u23, u12, cutoff, depth+1);
  42.    subdivide(u3, u31, u23, cutoff, depth+1);
  43.    subdivide(u12, u23, u31, cutoff, depth+1);
  44. }
  45.    }
  46.  
  47.    subdivide(u1, u12, u31, cutoff, depth+1);
  48.    subdivide(u2, u23, u12, cutoff, depth+1);
  49.    subdivide(u3, u31, u23, cutoff, depth+1);
  50.    subdivide(u12, u23, u31, cutoff, depth+1);
  51. }
  52.    }
  53.  
  54.    subdivide(u1, u12, u31, cutoff, depth+1);
  55.    subdivide(u2, u23, u12, cutoff, depth+1);
  56.    subdivide(u3, u31, u23, cutoff, depth+1);
  57.    subdivide(u12, u23, u31, cutoff, depth+1);
  58. }
  59.    }
  60.  
  61.    subdivide(u1, u12, u31, cutoff, depth+1);
  62.    subdivide(u2, u23, u12, cutoff, depth+1);
  63.    subdivide(u3, u31, u23, cutoff, depth+1);
  64.    subdivide(u12, u23, u31, cutoff, depth+1);
  65. }
  66.    }
  67.  
  68.    subdivide(u1, u12, u31, cutoff, depth+1);
  69.    subdivide(u2, u23, u12, cutoff, depth+1);
  70.    subdivide(u3, u31, u23, cutoff, depth+1);
  71.    subdivide(u12, u23, u31, cutoff, depth+1);
  72. }
  73.    }
  74.  
  75.    subdivide(u1, u12, u31, cutoff, depth+1);
  76.    subdivide(u2, u23, u12, cutoff, depth+1);
  77.    subdivide(u3, u31, u23, cutoff, depth+1);
  78.    subdivide(u12, u23, u31, cutoff, depth+1);
  79. }
  80.    }
  81.  
  82.    subdivide(u1, u12, u31, cutoff, depth+1);
  83.    subdivide(u2, u23, u12, cutoff, depth+1);
  84.    subdivide(u3, u31, u23, cutoff, depth+1);
  85.    subdivide(u12, u23, u31, cutoff, depth+1);
  86. }
  87.    }
  88.  
  89.    subdivide(u1, u12, u31, cutoff, depth+1);
  90.    subdivide(u2, u23, u12, cutoff, depth+1);
  91.    subdivide(u3, u31, u23, cutoff, depth+1);
  92.    subdivide(u12, u23, u31, cutoff, depth+1);
  93. }
  94.    }
  95.  
  96.    subdivide(u1, u12, u31, cutoff, depth+1);
  97.    subdivide(u2, u23, u12, cutoff, depth+1);
  98.    subdivide(u3, u31, u23, cutoff, depth+1);
  99.    subdivide(u12, u23, u31, cutoff, depth+1);
  100. }
  101.    }
  102.  
  103.    subdivide(u1, u12, u31, cutoff, depth+1);
  104.    subdivide(u2, u23, u12, cutoff, depth+1);
  105.    subdivide(u3, u31, u23, cutoff, depth+1);
  106.    subdivide(u12, u23, u31, cutoff, depth+1);
  107. }
  108.    }
  109.  
  110.    subdivide(u1, u12, u31, cutoff, depth+1);
  111.    subdivide(u2, u23, u12, cutoff, depth+1);
  112.    subdivide(u3, u31, u23, cutoff, depth+1);
  113.    subdivide(u12, u23, u31, cutoff, depth+1);
  114. }
  115.    }
  116.  
  117.    subdivide(u1, u12, u31, cutoff, depth+1);
  118.    subdivide(u2, u23, u12, cutoff, depth+1);
  119.    subdivide(u3, u31, u23, cutoff, depth+1);
  120.    subdivide(u12, u23, u31, cutoff, depth+1);
  121. }
  122.    }
  123.  
  124.    subdivide(u1, u12, u31, cutoff, depth+1);
  125.    subdivide(u2, u23, u12, cutoff, depth+1);
  126.    subdivide(u3, u31, u23, cutoff, depth+1);
  127.    subdivide(u12, u23, u31, cutoff, depth+1);
  128. }
  129.    }
  130.  
  131.    subdivide(u1, u12, u31, cutoff, depth+1);
  132.    subdivide(u2, u23, u12, cutoff, depth+1);
  133.    subdivide(u3, u31, u23, cutoff, depth+1);
  134.    subdivide(u12, u23, u31, cutoff, depth+1);
  135. }
  136.    }
  137.  
  138.    subdivide(u1, u12, u31, cutoff, depth+1);
  139.    subdivide(u2, u23, u12, cutoff, depth+1);
  140.    subdivide(u3, u31, u23, cutoff, depth+1);
  141.    subdivide(u12, u23, u31, cutoff, depth+1);
  142. }
  143.    }
  144.  
  145.    subdivide(u1, u12, u31, cutoff, depth+1);
  146.    subdivide(u2, u23, u12, cutoff, depth+1);
  147.    subdivide(u3, u31, u23, cutoff, depth+1);
  148.    subdivide(u12, u23, u31, cutoff, depth+1);
  149. }
  150.    }
  151.  
  152.    subdivide(u1, u12, u31, cutoff, depth+1);
  153.    subdivide(u2, u23, u12, cutoff, depth+1);
  154.    subdivide(u3, u31, u23, cutoff, depth+1);
  155.    subdivide(u12, u23, u31, cutoff, depth+1);
  156. }
  157.    }
  158.  
  159.    subdivide(u1, u12, u31, cutoff, depth+1);
  160.    subdivide(u2, u23, u12, cutoff, depth+1);
  161.    subdivide(u3, u31, u23, cutoff, depth+1);
  162.    subdivide(u12, u23, u31, cutoff, depth+1);
  163. }
  164.    }
  165.  
  166.    subdivide(u1, u12, u31, cutoff, depth+1);
  167.    subdivide(u2, u23, u12, cutoff, depth+1);
  168.    subdivide(u3, u31, u23, cutoff, depth+1);
  169.    subdivide(u12, u23, u31, cutoff, depth+1);
  170. }
  171.    }
  172.  
  173.    subdivide(u1, u12, u31, cutoff, depth+1);
  174.    subdivide(u2, u23, u12, cutoff, depth+1);
  175.    subdivide(u3, u31, u23, cutoff, depth+1);
  176.    subdivide(u12, u23, u31, cutoff, depth+1);
  177. }
  178.    }
  179.  
  180.    subdivide(u1, u12, u31, cutoff, depth+1);
  181.    subdivide(u2, u23, u12, cutoff, depth+1);
  182.    subdivide(u3, u31, u23, cutoff, depth+1);
  183.    subdivide(u12, u23, u31, cutoff, depth+1);
  184. }
  185.    }
  186.  
  187.    subdivide(u1, u12, u31, cutoff, depth+1);
  188.    subdivide(u2, u23, u12, cutoff, depth+1);
  189.    subdivide(u3, u31, u23, cutoff, depth+1);
  190.    subdivide(u12, u23, u31, cutoff, depth+1);
  191. }
  192.    }
  193.  
  194.    subdivide(u1, u12, u31, cutoff, depth+1);
  195.    subdivide(u2, u23, u12, cutoff, depth+1);
  196.    subdivide(u3, u31, u23, cutoff, depth+1);
  197.    subdivide(u12, u23, u31, cutoff, depth+1);
  198. }
Personal tools
Namespaces
Variants
Actions
Navigation
ENIGMA
Other
Toolbox