מדיה ויקי:Common.js – הבדלי גרסאות
אין תקציר עריכה |
אין תקציר עריכה |
||
| שורה 1: | שורה 1: | ||
mw.loader.using( [ 'mediawiki.util' ], function () { | mw.loader.using( [ 'mediawiki.util' ], function () { | ||
'use strict'; | 'use strict'; | ||
document. | document.write("<a onclick="view()">הצג תוכן מוסתר</a>"); | ||
var projectNamespace, | var projectNamespace, | ||
bookmarkletsPages; | bookmarkletsPages; | ||
| שורה 13: | שורה 13: | ||
importScript( 'MediaWiki:BookmarkletsInit.js' ); | importScript( 'MediaWiki:BookmarkletsInit.js' ); | ||
} | } | ||
} | } | ||
function view() { | function view() { | ||
document.GetElementById("a").style="display:block"; | document.GetElementById("a").style="display:block"; | ||
} | } | ||
); | |||