User:Jinbobo/Sandbox

From Feed The Beast Wiki
Jump to: navigation, search
mw.user.isAnon() - Check if user is logged in.

Math Test

A differential p-form is a smooth alternating bilinear map from a smooth manifold to the -th exterior product of the cotangent bundle on , denoted by . The cotangent bundle is the dual bundle of the tangent bundle , which is obtained by stitching together the tangent planes over the entire manifold.

with

Differential operator

Math is beautiful. Kreygasm

Supported syntax highlighting languages

<syntaxhighlight lang="lang"> ... </syntaxhighlight>
Code Language
abap ABAP
actionscript ActionScript
ada Ada
apache Apache Configuration
applescript AppleScript
asm Assembly
asp Active Server Pages (ASP)
autoit AutoIt
bash Bash
basic4gl Basic4GL
bf Brainfuck
blitzbasic Blitz BASIC
bnf Backus-Naur Form
c C
c_mac C (Mac)
caddcl AutoCAD DCL
cadlisp AutoLISP
cfdg CFDG
cfm ColdFusion Markup Language
cil Common Intermediate Language (CIL)
cobol COBOL
cpp-qt C++ (Qt toolkit)
cpp C++
csharp C#
css Cascading Style Sheets (CSS)
d D
delphi Delphi
diff Diff
div DIV
dos DOS batch file
dot DOT
eiffel Eiffel
fortran Fortran
freebasic FreeBASIC
gambas Gambas
genero Genero
gettext GNU internationalization (i18n) library
glsl OpenGL Shading Language (GLSL)
gml Game Maker Language (GML)
gnuplot gnuplot
groovy Groovy
haskell Haskell
hq9plus HQ9+
html4strict HTML
html5 HTML5
idl Uno IDL
ini INI
inno Inno
intercal INTERCAL
io Io
java Java
java5 Java(TM) 2 Platform Standard Edition 5.0
javascript JavaScript
kixtart KiXtart
klonec Klone C
klonecpp Klone C++
latex LaTeX
lisp Lisp
lolcode LOLCODE
lotusscript LotusScript
lua Lua
Code Language
m68k Motorola 68000 Assembler
make make
matlab MATLAB M
mirc mIRC scripting language
mxml MXML
mpasm Microchip Assembler
mysql MySQL
nsis Nullsoft Scriptable Install System (NSIS)
objc Objective-C
ocaml-brief OCaml
ocaml OCaml
oobas OpenOffice.org Basic
oracle8 Oracle 8 SQL
oracle11 Oracle 11 SQL
pascal Pascal
per per
perl Perl
php-brief PHP
php PHP
pixelbender Pixel Bender
plsql PL/SQL
povray Persistence of Vision Raytracer
powershell Windows PowerShell
progress OpenEdge Advanced Business Language
prolog Prolog
providex ProvideX
python Python
qbasic QBasic/QuickBASIC
rails Rails
reg Windows Registry
robots robots.txt
rsplus R
ruby Ruby
sas SAS
scala Scala
scheme Scheme
scilab Scilab
sdlbasic SdlBasic
smalltalk Smalltalk
smarty Smarty
sql SQL
tcl Tcl
teraterm Tera Term
text Plain text
thinbasic thinBasic
tsql Transact-SQL
typoscript TypoScript
vala Vala
vb Visual Basic
vbnet Visual Basic .NET
verilog Verilog
vhdl VHDL
vim Vimscript
visualfoxpro Visual FoxPro
visualprolog Visual Prolog
whitespace Whitespace
winbatch Winbatch
xml XML
xorg_conf Xorg.conf
xpp X++
z80 ZiLOG Z80 Assembler
HAI
CAN HAS COOKIES?
KTHXBYE

Scrape image URLs from navboxes

Array.prototype.getUnique = function(){
   var u = {}, a = [];
   for(var i = 0, l = this.length; i < l; ++i){
      if(u.hasOwnProperty(this[i])) {
         continue;
      }
      a.push(this[i]);
      u[this[i]] = 1;
   }
   return a;
}
arr = $(".navbox").html().match(/\/images\/thumb\/.\/..\/Grid[^\.]+\.png/g);
for(i=0; i<arr.length; i++){
	arr[i] = arr[i].replace("%28","(").replace("%29",")");
}
arr = arr.getUnique();
for(i=0; i<arr.length; i++){
	$("#mw-content-text").append("http://wiki.feed-the-beast.com"+arr[i].replace("%28","(").replace("%29",")")+"<br>");
}

Database access

& wfGetDB ($db, $groups=array(), $wiki=false)
DatabaseBase class documentation

Image path

$file = wfFindFile( $filename );
$url = $file->getUrl();

Issue trackers

Image path scraper

Array.prototype.getUnique = function(){
   var u = {}, a = [];
   for(var i = 0, l = this.length; i < l; ++i){
      if(u.hasOwnProperty(this[i])) {
         continue;
      }
      a.push(this[i]);
      u[this[i]] = 1;
   }
   return a;
}
arr = $(".navbox").html().match(/\/[0-9a-e]\/[0-9a-e]{2}\/Grid[^\. ]+.png/g);
for(i=0; i<arr.length; i++){
	arr[i] = arr[i].replace("%28","(").replace("%29",")");
}
arr = arr.getUnique();
for(i=0; i<arr.length; i++){
	$("#mw-content-text").append("http://wiki.feed-the-beast.com/images").append(arr[i].replace("%28","(").replace("%29",")")+"<br>");
}

Translation message documentation stats

Colors \o/

000 020 040 060 080 100 120 140 160 180 200 220 240 260 280 300 320 340 360
blah blah blah blah blah blah blah blah blah blah blah
blah blah blah
blah

Timezones

AEDT*
(ACDT*)
KST
JST
AWDT*
CST CET UTC EST CST PST Timezone Abbreviations
UTC+11
(UTC+10:30)
UTC+9 UTC+8 UTC+1 UTC UTC-5 UTC-6 UTC-8 Timezone
Slowpoke
jjw_123 UNV Developers
Lathanael Eyamaz Jadedcat Mod Pack Team
Lawbroken Flipz Forum Moderators
Captainnana
Rob
Web Team
NogaD4 Jinbobo Alistaire
Beleriond
Retep998
Padfoote
TheSatanicSanta Wiki Team
1100 (1030) 0900 0800 0100 0000 1900 1800 1600
1200 (1130) 1000 0900 0200 0100 2000 1900 1700
1300 (1230) 1100 1000 0300 0200 2100 2000 1800
1400 (1330) 1200 1100 0400 0300 2200 2100 1900
1500 (1430) 1300 1200 0500 0400 2300 2200 2000
1600 (1530) 1400 1300 0600 0500 0000 2300 2100
1700 (1630) 1500 1400 0700 0600 0100 0000 2200
1800 (1730) 1600 1500 0800 0700 0200 0100 2300
1900 (1830) 1700 1600 0900 0800 0300 0200 0000
2000 (1930) 1800 1700 1000 0900 0400 0300 0100
2100 (2030) 1900 1800 1100 1000 0500 0400 0200
2200 (2130) 2000 1900 1200 1100 0600 0500 0300
2300 (2230) 2100 2000 1300 1200 0700 0600 0400
0000 (2330) 2200 2100 1400 1300 0800 0700 0500
0100 (0030) 2300 2200 1500 1400 0900 0800 0600
0200 (0130) 0000 2300 1600 1500 1000 0900 0700
0300 (0230) 0100 0000 1700 1600 1100 1000 0800
0400 (0330) 0200 0100 1800 1700 1200 1100 0900
0500 (0430) 0300 0200 1900 1800 1300 1200 1000
0600 (0530) 0400 0300 2000 1900 1400 1300 1100
0700 (0630) 0500 0400 2100 2000 1500 1400 1200
0800 (0730) 0600 0500 2200 2100 1600 1500 1300
0900 (0830) 0700 0600 2300 2200 1700 1600 1400
1000 (0930) 0800 0700 0000 2300 1800 1700 1500
Color Description
First half of day when most people work on weekdays.
Second half of day when most people are awake.
Night when people may be awake or asleep.
Night when most people are alseep.

Roadmap

  • Remove accounts with no edits.
  • Deploy questycaptcha, challange only unregistered users, test its effectiveness
  • Allow anonymous edits.

Q2 roadmap

  • get a new team member in charge of organization
  • get someone on the team to represent the wiki team in the regular FTB meetings

content wise

  • improve navigability, overhaul content categorization
    • remove the search by category category, focus on categorizing by items' property
    • category tree can be non-linear
    • a page can be in more than one category
  • QA: assess article quality, identify quality content
  • complete the manual of style
  • remove unnecessary limitations on article content, for example the limitations of recipes that an item is used in
    • have the community establish rules like that by consensus in the future
    • use common sense when following the rules
  • QA: assess navigability, est. the amount of clicks to reach content
  • assess wiki's significance in the community
  • rethink content strategy
    • focus on community guides and build showcases
    • focus on FTB itself, document its history and members.
    • provide more information on mod and modpacks
  • promote community involvement
    • announce on forum and reddit, and get @ftb_team & @ftb_support to tweet it.
    • provide an incentive for users to edit the wiki
      • probably like a title on the forum
  • QA: assess the involvement of the community
  • overhaul wiki landing page
    • allow users to quickly access quality (featured) content
    • provide an incentive (like a trivia, did you know section) for users to browse more pages
    • portal to mod/modpack pages
  • reorganize team structure
  • reassess wiki team's role in the wiki
  • devise new recruitment strategy
  • general staff election inc. sysops bureaucrats

other stuff

  • fix: Piwik tracking code
  • improve the wiki's mobile frontend
  • complete the wiki's responsive stylesheets
  • rewrite and merge: Tilesheets and OreDict
  • optimize: Tilesheets and OreDict, profile and identify bottlenecks
  • May: mediawiki release schedules: Update to mediawiki 1.23

forum stuff

  • either allow all users to post in the forum section or remove it
  • rename it to wiki discussion or something, just not wiki creation

TODO

+ interface to edit tilesheets
+ tilesheets for each page (caching)
+ specify priority for sheets
  • Have a look at the translation interface whenever or not there exists a problem with sections that contain external links.

Prioritize skin CSS support for

IE Firefox Chrome Safari Opera iOS Safari Opera Mini Android Mini Blackberry Browser IE Mobile
2.1: 32%
2.2: 36%
3.2: 32% 2.3: 37%
4.0-4.1: 42% 3.0: 50%
8.0: 18% 4.2-4.3: 46% 4.0: 55%
Legacy LTS 9.0: 40% 31.0: 88% 5.0-5.1: 60% 4.1: 55%
Legacy 10.0: 68% 26.0: 82% 32.0: 89% 6.0-6.1: 69% 4.2-4.3: 56% 7.0: 54%
Current 11.0: 72% 26.0: 83% 32.0: 90% 7.0: 77% 19.0: 87% 7.0: 74% 5.0-7.0: 21% 4.4: 79% 10.0: 79% 10.0: 63%
Near Future 27.0: 84% 33.0: 90% 29.0: 88%
Future 28.0: 87% 34.0: 91% 29.0: 88%
3 Ver Ahead 29.0: 88% 35.0: 91%