МедијаВики:Gadget-wikEd.js: Разлика помеѓу преработките

Избришана содржина Додадена содржина
сНема опис на уредувањето
Hoo man (разговор | придонеси)
с Bot: Security fix: protocol-relative URLs per https://meta.wikimedia.org/?oldid=3197161 (questions?).
Ред 15:
// ==UserScript==
// @name wikEd
// @namespace http://en.wikipedia.org/wiki/User:Cacycle/
// @description Обемен уредник на текст со многу функции за Википедија и други уредувања на МедијаВики
// @include *
// @exclude
//
// @homepage http://en.wikipedia.org/wiki/User:Cacycle/wikEd
// @source http://en.wikipedia.org/wiki/User:Cacycle/wikEd.js
// @author Cacycle (http://en.wikipedia.org/wiki/User:Cacycle)
// @license Предадено во јавниот домен
// ==/UserScript==
Ред 29:
 
1. PLEASE DO NOT COPY THE WHOLE PROGRAM (in order to get the frequent updates and bug fixes and to save disk space)
2. See http://en.wikipedia.org/wiki/User:Cacycle/wikEd for more detailed instructions
3. Copy the following short block of code to [[User:YOURUSERNAME/monobook.js]]
4. Click SHIFT-Reload to update to the newest version
Ред 36:
 
// install [[User:Cacycle/wikEd]] in-browser text editor
+ 'http:mw.loader.load(*//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript');
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript"></script>');
 
// ---- END wikEd INSTALLATION CODE ----
Ред 47 ⟶ 45:
https://addons.mozilla.org/en-US/firefox/addon/748
2. Install wikEd by opening this address:
http://en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Cacycle/wikEd.user.js
 
*/
Ред 58 ⟶ 56:
window.WikEdInitGlobalConfigs = function() {
 
// user readable texts, copy changes to http://en.wikipedia.org/wiki/User:Cacycle/wikEd_international_en.js, also defined in wikEdDiff.js
if (typeof(wikEdText) == 'undefined') { window.wikEdText = {}; }
 
Ред 347 ⟶ 345:
 
// path to images, also defined in wikEdDiff.js
if (typeof(wikEdImagePath) == 'undefined') { window.wikEdImagePath = 'http://upload.wikimedia.org/wikipedia/commons/'; }
 
// image filenames, also defined in wikEdDiff.js
Ред 971 ⟶ 969:
if (typeof(wikEdRegExTypoFixURL) == 'undefined') { window.wikEdRegExTypoFixURL = wikEdHomeBaseUrl + 'w/index.php?title=Wikipedia:AutoWikiBrowser/Typos&action=raw'; }
 
// enable RegExTypoFix button (http://en.wikipedia.org/wiki/User:Mboverload/RegExTypoFix)
if (typeof(wikEdRegExTypoFix) == 'undefined') { window.wikEdRegExTypoFix = false; }
 
Ред 1.068 ⟶ 1.066:
 
// wikEd code home base URL for https compatibility
if (typeof(wikEdHomeBaseUrlStandard) == 'undefined') { window.wikEdHomeBaseUrlStandard = 'http://en.wikipedia.org/'; }
if (typeof(wikEdHomeBaseUrlSecure) == 'undefined') { window.wikEdHomeBaseUrlSecure = 'https://secure.wikimedia.org/wikipedia/en/'; }
 
Ред 1.275 ⟶ 1.273:
window.wikEdScriptURL = '';
 
// magic words and parser functions, see http://www.mediawiki.org/wiki/Help:Magic_words
// __MAGICWORDS__
window.wikEdMagicWords = '(NOTOC|FORCETOC|TOC|NOEDITSECTION|NEWSECTIONLINK|NOGALLERY|HIDDENCAT|NOCONTENTCONVERT|NOCC|NOTITLECONVERT|NOTC|END|START|NOINDEX|INDEX|STATICREDIRECT)';
 
// template, parser function, and parser variable modifiers {{modifier:...}}
// see http://meta.wikimedia.org/wiki/Help:Magic_words#Template_modifiers
window.wikEdTemplModifier = 'int|msg|msgnw|raw|subst';