User:Phe/common.js
Appearance
< User:Phe
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
var old_wgserver = '//wikisource.org';
mw.loader.load(old_wgserver + '/w/index.php?title=MediaWiki:OCR.js&action=raw&ctype=text/javascript' );
// Keep the line below. It is used to check the global usage of the script at [[Special:GlobalUsage/User:He7d3r/Tools/LanguageConverter.js]]
// [[File:User:He7d3r/Tools/LanguageConverter.js]] (see [[bugzilla:33355]])
mw.loader.load(old_wgserver + '/w/index.php?title=User:He7d3r/Tools/LanguageConverter.js&action=raw&ctype=text/javascript' );
// old wikisource config
//if ( 'sourceswiki' === mw.config.get( 'wgDBname' ) ) {
if (window.LanguageConverter === undefined) {
window.LanguageConverter = {};
}
importStylesheet( 'User:He7d3r/Tools/LanguageConverter.css' );
window.LanguageConverter.config = {
msg: {
error_missing_dict : 'Le dictionnaire suivant n’a pas été trouvé :\n',
error_missing_dict_name : 'Il est nécessaire de définir la page du dictionnaire pour ',
error_typo_processing : 'Une erreur est apparu pendant la transformation de la modification typographique suivante\n',
error_word_processing : 'Une erreur est apparu pendant la transformation de l’expression suivante :\n',
help_page_link : 'Page d’aide',
show_changes_link : 'Montrer les altérations',
hide_changes_link : 'Cacher les alérations'
},
word_chars : 'a-zçâàäāãéèêẽëîïôöōõûùüÿœæA-ZÀÂÄÉÈÊËÎÏÔÖÙÛÜŸÇŒÆ&ßẞĩq̃ĨQ̃',
typo_changes : {
'fr-moderne': [
[ /ſ/g, 's' ],
[ /ff/g, 'ff' ],
[ /fl/g, 'fl' ],
[ /fi/g, 'fi' ],
[ /ffi/g, 'ffi' ],
[ /ffl/g, 'ffl' ],
[ /ſt/g, 'st' ],
[ /st/g, 'st' ]
]
},
variants_list : {
'fr':'Orthographe originale',
'fr-moderne' : 'Orthographe moderne'
},
ns_list : {
'0' : true, // Main
'2' : true, // User
'4' : true, // Wikisource
'14' : true, // Category
'102' : true, // Author
'104' : true, // Page
'112' : true // Index
},
local_dic_id : {
'fr' : 'modernisations',
'fr-moderne' : 'modernisations-moderne'
},
no_conversion_class : 'manter-ortografia',
global_dic_page : {
'fr-moderne':'Wikisource:Dictionnaire'
},
help_page : 's:pt:Wikisource:Modernização',
show_changes : false,
show_menu_title : true,
selection_mode: 'AND',
max_seq : 3
};
//}
/* == Lupin' tools == */
mw.loader.load( '//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js&action=raw&ctype=text/javascript' );
simplePopups=true;
popupDelay=0.7;
popupStructure='original';
popupOnEditSelection=false;
popupAdminLinks=true;
proofreadpage_default_layout='horizontal';
/* Enhanced diff */
mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEdDiff.js&action=raw&ctype=text/javascript' );