Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
backup /
extensions /
WikiEditor /
modules /
Delete
Unzip
Name
Size
Permission
Date
Action
images
[ DIR ]
drwxr-xr-x
2012-03-22 16:23
contentCollector.js
11.48
KB
-rw-r--r--
2010-12-06 23:51
ext.wikiEditor.css
483
B
-rw-r--r--
2010-09-20 22:06
ext.wikiEditor.dialogs.js
385
B
-rw-r--r--
2011-02-25 01:01
ext.wikiEditor.highlight.js
174
B
-rw-r--r--
2010-09-20 22:06
ext.wikiEditor.js
136
B
-rw-r--r--
2010-09-20 22:06
ext.wikiEditor.preview.js
180
B
-rw-r--r--
2011-06-07 01:18
ext.wikiEditor.previewDialog.js
186
B
-rw-r--r--
2010-09-20 22:06
ext.wikiEditor.publish.js
172
B
-rw-r--r--
2011-06-07 01:18
ext.wikiEditor.templateEditor.js
300
B
-rw-r--r--
2011-06-26 21:25
ext.wikiEditor.templates.js
276
B
-rw-r--r--
2011-06-26 21:25
ext.wikiEditor.tests.toolbar.js
5.42
KB
-rw-r--r--
2011-07-02 11:09
ext.wikiEditor.toc.js
181
B
-rw-r--r--
2010-09-20 22:06
ext.wikiEditor.toolbar.hideSig.js
598
B
-rw-r--r--
2011-11-09 15:51
ext.wikiEditor.toolbar.js
453
B
-rw-r--r--
2011-02-24 02:45
jquery.wikiEditor.css
2.02
KB
-rw-r--r--
2011-01-12 01:06
jquery.wikiEditor.dialogs.config.css
5.32
KB
-rw-r--r--
2011-04-21 10:59
jquery.wikiEditor.dialogs.config.js
45.15
KB
-rw-r--r--
2011-11-09 17:12
jquery.wikiEditor.dialogs.css
1.31
KB
-rw-r--r--
2010-09-16 23:44
jquery.wikiEditor.dialogs.js
7.59
KB
-rw-r--r--
2011-08-28 17:32
jquery.wikiEditor.highlight.js
12.42
KB
-rw-r--r--
2010-09-15 05:08
jquery.wikiEditor.html
3.78
KB
-rw-r--r--
2011-01-04 13:03
jquery.wikiEditor.iframe.js
50.21
KB
-rw-r--r--
2011-06-26 21:25
jquery.wikiEditor.js
21.04
KB
-rw-r--r--
2011-06-26 21:25
jquery.wikiEditor.preview.css
522
B
-rw-r--r--
2010-09-16 00:40
jquery.wikiEditor.preview.js
4.81
KB
-rw-r--r--
2011-07-08 20:00
jquery.wikiEditor.previewDialog.css
826
B
-rw-r--r--
2010-09-17 00:57
jquery.wikiEditor.previewDialog.js
3.78
KB
-rw-r--r--
2011-06-26 21:25
jquery.wikiEditor.publish.js
4.92
KB
-rw-r--r--
2011-06-07 01:18
jquery.wikiEditor.templateEditor.js
28.4
KB
-rw-r--r--
2011-01-04 13:53
jquery.wikiEditor.templates.js
1.8
KB
-rw-r--r--
2010-09-15 05:08
jquery.wikiEditor.toc.css
3.38
KB
-rw-r--r--
2011-01-12 01:06
jquery.wikiEditor.toc.js
24.09
KB
-rw-r--r--
2011-06-26 21:25
jquery.wikiEditor.toolbar.config.js
45.44
KB
-rw-r--r--
2011-10-20 23:36
jquery.wikiEditor.toolbar.css
6.88
KB
-rw-r--r--
2011-02-19 16:02
jquery.wikiEditor.toolbar.js
24.43
KB
-rw-r--r--
2011-11-14 18:59
Save
Rename
/* Preview module for wikiEditor */ ( function( $ ) { $.wikiEditor.modules.preview = { /** * Compatability map */ 'browsers': { // Left-to-right languages 'ltr': { 'msie': [['>=', 7]], 'firefox': [['>=', 3]], 'opera': [['>=', 9.6]], 'safari': [['>=', 4]] }, // Right-to-left languages 'rtl': { 'msie': [['>=', 8]], 'firefox': [['>=', 3]], 'opera': [['>=', 9.6]], 'safari': [['>=', 4]] } }, /** * Internally used functions */ fn: { /** * Creates a preview module within a wikiEditor * @param context Context object of editor to create module in * @param config Configuration object to create module from */ create: function( context, config ) { if ( 'initialized' in context.modules.preview ) { return; } context.modules.preview = { 'initialized': true, 'previewText': null, 'changesText': null }; context.modules.preview.$preview = context.fn.addView( { 'name': 'preview', 'titleMsg': 'wikieditor-preview-tab', 'init': function( context ) { // Gets the latest copy of the wikitext var wikitext = context.$textarea.textSelection( 'getContents' ); // Aborts when nothing has changed since the last preview if ( context.modules.preview.previewText == wikitext ) { return; } context.modules.preview.$preview.find( '.wikiEditor-preview-contents' ).empty(); context.modules.preview.$preview.find( '.wikiEditor-preview-loading' ).show(); $.post( mw.util.wikiScript( 'api' ), { 'action': 'parse', 'title': mw.config.get( 'wgPageName' ), 'text': wikitext, 'prop': 'text', 'pst': '', 'format': 'json' }, function( data ) { if ( typeof data.parse == 'undefined' || typeof data.parse.text == 'undefined' || typeof data.parse.text['*'] == 'undefined' ) { return; } context.modules.preview.previewText = wikitext; context.modules.preview.$preview.find( '.wikiEditor-preview-loading' ).hide(); context.modules.preview.$preview.find( '.wikiEditor-preview-contents' ) .html( data.parse.text['*'] ) .find( 'a:not([href^=#])' ).click( function() { return false; } ); }, 'json' ); } } ); context.$changesTab = context.fn.addView( { 'name': 'changes', 'titleMsg': 'wikieditor-preview-changes-tab', 'init': function( context ) { // Gets the latest copy of the wikitext var wikitext = context.$textarea.textSelection( 'getContents' ); // Aborts when nothing has changed since the last time if ( context.modules.preview.changesText == wikitext ) { return; } context.$changesTab.find( 'table.diff tbody' ).empty(); context.$changesTab.find( '.wikiEditor-preview-loading' ).show(); // Call the API. First PST the input, then diff it var postdata = { 'action': 'parse', 'onlypst': '', 'text': wikitext, 'format': 'json' }; $.post( mw.util.wikiScript( 'api' ), postdata, function( data ) { try { var postdata2 = { 'action': 'query', 'indexpageids': '', 'prop': 'revisions', 'titles': mw.config.get( 'wgPageName' ), 'rvdifftotext': data.parse.text['*'], 'rvprop': '', 'format': 'json' }; var section = $( '[name=wpSection]' ).val(); if ( section != '' ) postdata2['rvsection'] = section; $.post( mw.util.wikiScript( 'api' ), postdata2, function( data ) { // Add diff CSS mw.loader.load( 'mediawiki.action.history.diff' ); try { var diff = data.query.pages[data.query.pageids[0]] .revisions[0].diff['*']; context.$changesTab.find( 'table.diff tbody' ) .html( diff ); context.$changesTab .find( '.wikiEditor-preview-loading' ).hide(); context.modules.preview.changesText = wikitext; } catch ( e ) { } // "blah is undefined" error, ignore }, 'json' ); } catch( e ) { } // "blah is undefined" error, ignore }, 'json' ); } } ); var loadingMsg = mediaWiki.msg( 'wikieditor-preview-loading' ); context.modules.preview.$preview .add( context.$changesTab ) .append( $( '<div />' ) .addClass( 'wikiEditor-preview-loading' ) .append( $( '<img />' ) .addClass( 'wikiEditor-preview-spinner' ) .attr( { 'src': $.wikiEditor.imgPath + 'dialogs/loading.gif', 'valign': 'absmiddle', 'alt': loadingMsg, 'title': loadingMsg } ) ) .append( $( '<span></span>' ).text( loadingMsg ) ) ) .append( $( '<div />' ) .addClass( 'wikiEditor-preview-contents' ) ); context.$changesTab.find( '.wikiEditor-preview-contents' ) .html( '<table class="diff"><col class="diff-marker" /><col class="diff-content" />' + '<col class="diff-marker" /><col class="diff-content" /><tbody /></table>' ); } } }; } )( jQuery );