Uživatel:Jirka.Pavlik.test/common.js: Porovnání verzí
| Řádek 1: | Řádek 1: | ||
if (window.mw) { | if (window.mw) { | ||
var unstructuredName = mw.config.get('unstructuredName'); | var unstructuredName = mw.config.get('unstructuredName'); | ||
| − | + | if (unstructuredName != null && unstructuredName.match(/^\d+$/)) {) { | |
| − | + | document.write(unstructuredName); | |
| − | + | } | |
| − | |||
| − | |||
} | } | ||
Verze z 6. 11. 2014, 15:08
if (window.mw) {
var unstructuredName = mw.config.get('unstructuredName');
if (unstructuredName != null && unstructuredName.match(/^\d+$/)) {) {
document.write(unstructuredName);
}
}