Jump to content

User:Tsuijing

From mediawiki.org

install

[edit]

steps:

  1. download MediaWiki and upload to your own site
  2. parse DNS : add domain to the path same to step1
  3. admin email
  4. database name
  5. database user and password
  6. bind the two before
  7. visit your site and just do what it guides you

pic support

[edit]

Manual:$wgAllowExternalImages remember the ; https://en.wikipedia.org/upload/b/bc/Wiki.png

useful extensions

[edit]

Extension:SyntaxHighlighter

Extension:Comments use the git master

Extension:VisualEditor

VisualEditor

[edit]

https://codeload.github.com/wikimedia/parsoid/zip/v0.10.0

https://www.mediawiki.org/wiki/Parsoid/Developer_Setup

http://veditor.herokuapp.com/

Extension:VisualEditor

lists

[edit]
  • 1
  • 2
    • 2.1
    • 2.2
      • 2.3
  • 3
    • 3.1

python

[edit]
import time
from flask import Flask,request,g,make_response
import hashlib
import xml.etree.ElementTree as ET
list=[]
s=0
for i in range(1,201):
    for j in range(i,201):
        for k in range(j,i+j):
                c=i+k+j
                ss=(i+j+k)*(i+j-k)*(i-j+k)*(-i+j+k)
                list.append([c,ss,i,j,k])
list.sort()
for a in range(1,len(list)):
    if(list[a-1][0]==list[a][0] and list[a-1][1]==list[a][1]):
        print(list[a-1],list[a])
        s+=1
print(s)

js

[edit]
// SyntaxHighlighter makes your code snippets beautiful without tiring your servers.
// http://alexgorbatchev.com
var setArray = function(elems) {
    this.length = 0;
    push.apply(this, elems);
    return this;
}

table

[edit]
Header 1 Header 2 Header 3
row 1, cell 1 row 1, cell 2 row 1, cell 3
row 2, cell 1 row 2, cell 2 row 2, cell 3
caption
area general people
sum rank a b c d
father 4,741.8 12 3.45% 43.33 123.7 818.69 4,647.21
child1 667.7 1 14.08 70.05 317.8 397.40 553.04
child2 40.8 16 0.86 31.13 17.6 - 36.13

<comments />—— only one <comments /> can run ,others will not be parsed

iptest