https://gate.unigre.it/mediawiki/index.php?title=User:ArchivesPUG_01/common.js&feed=atom&action=history
User:ArchivesPUG 01/common.js - Revision history
2024-03-28T08:20:04Z
Revision history for this page on the wiki
MediaWiki 1.35.7
https://gate.unigre.it/mediawiki/index.php?title=User:ArchivesPUG_01/common.js&diff=3831&oldid=prev
Irene Pedretti: ArchivesPUG moved page User:ManciniWiki/common.js to User:ArchivesPUG 01/common.js: Automatically moved page while renaming the user "ManciniWiki" to "ArchivesPUG 01"
2017-01-26T16:32:28Z
<p>ArchivesPUG moved page <a href="/mediawiki/index.php/User:ManciniWiki/common.js" class="mw-redirect" title="User:ManciniWiki/common.js">User:ManciniWiki/common.js</a> to <a href="/mediawiki/index.php/User:ArchivesPUG_01/common.js" title="User:ArchivesPUG 01/common.js">User:ArchivesPUG 01/common.js</a>: Automatically moved page while renaming the user "<a href="/mediawiki/index.php/User:ManciniWiki" class="mw-redirect" title="User:ManciniWiki">ManciniWiki</a>" to "<a href="/mediawiki/index.php/User:ArchivesPUG_01" class="mw-redirect" title="User:ArchivesPUG 01">ArchivesPUG 01</a>"</p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 16:32, 26 January 2017</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>
Irene Pedretti
https://gate.unigre.it/mediawiki/index.php?title=User:ArchivesPUG_01/common.js&diff=2642&oldid=prev
Lorenzo Mancini: Blanked the page
2017-01-16T16:38:58Z
<p>Blanked the page</p>
<a href="https://gate.unigre.it/mediawiki/index.php?title=User:ArchivesPUG_01/common.js&diff=2642&oldid=2637">Show changes</a>
Lorenzo Mancini
https://gate.unigre.it/mediawiki/index.php?title=User:ArchivesPUG_01/common.js&diff=2637&oldid=prev
Lorenzo Mancini at 16:22, 16 January 2017
2017-01-16T16:22:06Z
<p></p>
<a href="https://gate.unigre.it/mediawiki/index.php?title=User:ArchivesPUG_01/common.js&diff=2637&oldid=2635">Show changes</a>
Lorenzo Mancini
https://gate.unigre.it/mediawiki/index.php?title=User:ArchivesPUG_01/common.js&diff=2635&oldid=prev
Lorenzo Mancini: Blanked the page
2017-01-16T15:54:47Z
<p>Blanked the page</p>
<a href="https://gate.unigre.it/mediawiki/index.php?title=User:ArchivesPUG_01/common.js&diff=2635&oldid=2634">Show changes</a>
Lorenzo Mancini
https://gate.unigre.it/mediawiki/index.php?title=User:ArchivesPUG_01/common.js&diff=2634&oldid=prev
Lorenzo Mancini: Created page with "/* Any JavaScript here will be loaded for all users on every page load. */ var customizeToolbar = function () { $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { 'sections':..."
2017-01-16T15:47:13Z
<p>Created page with "<span dir="auto"><span class="autocomment">Any JavaScript here will be loaded for all users on every page load.: </span> var customizeToolbar = function () { $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { 'sections':..."</span></p>
<p><b>New page</b></p><div>/* Any JavaScript here will be loaded for all users on every page load. */<br />
var customizeToolbar = function () {<br />
<br />
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {<br />
'sections': {<br />
'annotation': {<br />
'type': 'toolbar', // Can also be 'booklet'<br />
'label': 'Annotation'<br />
// or 'labelMsg': 'section-emoticons-label' for a localized label<br />
}<br />
}<br />
} );<br />
<br />
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {<br />
section: 'annotation',<br />
groups: {<br />
'text': {<br />
'label': 'TEI'<br />
}<br />
}<br />
} );<br />
<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
section: 'annotation',<br />
group: 'text',<br />
tools: {<br />
"head": {<br />
label: 'Head: "the <head> element is used to identify a heading prefixed to the start of any textual division, at any level" (TEI P5).',<br />
type: 'button',<br />
icon: 'http://mediawikiarchivio.unigre.it/mediawiki/images/d/db/TEI_Head22px.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<head>',<br />
post: "</head>"<br />
}<br />
}<br />
}<br />
}<br />
});<br />
<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
section: 'annotation',<br />
group: 'text',<br />
tools: {<br />
"paragraph": {<br />
label: 'Paragraph: the <p> tag "marks paragraphs in prose" (TEI P5)',<br />
type: 'button',<br />
icon: 'http://mediawikiarchivio.unigre.it/mediawiki/images/b/b3/TEI_P22px.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<p>',<br />
post: "</p>"<br />
}<br />
}<br />
}<br />
}<br />
});<br />
<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
section: 'annotation',<br />
group: 'text',<br />
tools: {<br />
"lb": {<br />
label: 'Line break: "<lb> (line break) marks the start of a new (typographic) line in some edition or version of a text" (TEI P5).',<br />
type: 'button',<br />
icon: 'http://mediawikiarchivio.unigre.it/mediawiki/images/1/1b/TEI_Lb22px.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<lb/>',<br />
ownline: true<br />
}<br />
}<br />
}<br />
}<br />
});<br />
<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
section: 'annotation',<br />
group: 'text',<br />
tools: {<br />
"pb": {<br />
label: 'Page break: "<pb> (page break) marks the start of a new page in a paginated document" (TEI P5).',<br />
type: 'button',<br />
icon: 'http://mediawikiarchivio.unigre.it/mediawiki/images/2/28/TEI_Pb22px.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<pb/>',<br />
ownline: true<br />
}<br />
}<br />
}<br />
}<br />
});<br />
<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
section: 'annotation',<br />
group: 'text',<br />
tools: {<br />
"add": {<br />
label: 'Addition: "<add> (addition) contains letters, words, or phrases inserted in the source text by an author, scribe, or a previous annotator or corrector" (TEI P5).',<br />
type: 'button',<br />
icon: 'http://mediawikiarchivio.unigre.it/mediawiki/images/0/09/TEI_Add22px.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<add>',<br />
post: "</add>"<br />
}<br />
}<br />
}<br />
}<br />
});<br />
<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
section: 'annotation',<br />
group: 'text',<br />
tools: {<br />
"del": {<br />
label: 'Deletion: "<del> (deletion) contains a letter, word, or passage deleted, marked as deleted, or otherwise indicated as superfluous or spurious in the copy text by an author, scribe, or a previous annotator or corrector" (TEI P5).',<br />
type: 'button',<br />
icon: 'http://mediawikiarchivio.unigre.it/mediawiki/images/b/bb/TEI_Del22px.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<del>',<br />
post: "</del>"<br />
}<br />
}<br />
}<br />
}<br />
});<br />
<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
section: 'annotation',<br />
group: 'text',<br />
tools: {<br />
"gap": {<br />
label: 'Gap: "<gap> indicates a point where material has been omitted in a transcription, whether for editorial reasons described in the TEI header, as part of sampling practice, or because the material is illegible, invisible, or inaudible" (TEI P5).',<br />
type: 'button',<br />
icon: 'http://mediawikiarchivio.unigre.it/mediawiki/images/3/3e/TEI_Gap22px.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<gap/>',<br />
ownline: true<br />
}<br />
}<br />
}<br />
}<br />
});<br />
<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
section: 'annotation',<br />
group: 'text',<br />
tools: {<br />
"unclear": {<br />
label: 'Unclear: "<unclear> contains a word, phrase, or passage which cannot be transcribed with certainty because it is illegible or inaudible in the source" (TEI P5).',<br />
type: 'button',<br />
icon: 'http://mediawikiarchivio.unigre.it/mediawiki/images/c/c7/TEI_Unclear22px.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<unclear>',<br />
post: "</unclear>"<br />
}<br />
}<br />
}<br />
}<br />
});<br />
<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
section: 'annotation',<br />
group: 'text',<br />
tools: {<br />
"sic": {<br />
label: 'Sic: "<sic> (Latin for thus or so) contains text reproduced although apparently incorrect or inaccurate" (TEI P5).',<br />
type: 'button',<br />
icon: 'http://mediawikiarchivio.unigre.it/mediawiki/images/9/91/TEI_Sic22px.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<sic>',<br />
post: "</sic>"<br />
}<br />
}<br />
}<br />
}<br />
});<br />
<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
section: 'annotation',<br />
group: 'text',<br />
tools: {<br />
"underline": {<br />
label: 'Underline: marks underlined text.',<br />
type: 'button',<br />
icon: 'http://mediawikiarchivio.unigre.it/mediawiki/images/b/b5/TEI_Und22px.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<hi rend="underline">',<br />
post: "</hi>"<br />
}<br />
}<br />
}<br />
}<br />
});<br />
<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
section: 'annotation',<br />
group: 'text',<br />
tools: {<br />
"superscript": {<br />
label: 'Superscript: marks a superscripted text.',<br />
type: 'button',<br />
icon: 'http://mediawikiarchivio.unigre.it/mediawiki/images/9/92/TEI_Sup22px.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<hi rend="superscript">',<br />
post: "</hi>"<br />
}<br />
}<br />
}<br />
}<br />
});<br />
<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
section: 'annotation',<br />
group: 'text',<br />
tools: {<br />
"note": {<br />
label: 'Note: "<note> contains a note or annotation" (TEI P5).',<br />
type: 'button',<br />
icon: 'http://mediawikiarchivio.unigre.it/mediawiki/images/f/f1/TEI_Note22px.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '<note>',<br />
post: "</note>"<br />
}<br />
}<br />
}<br />
}<br />
});<br />
<br />
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {<br />
section: 'annotation',<br />
groups: {<br />
'entities': {<br />
'label': 'Entities'<br />
}<br />
}<br />
} );<br />
<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
section: 'annotation',<br />
group: 'entities',<br />
tools: {<br />
"name": {<br />
label: 'Annotate names',<br />
type: 'button',<br />
icon: 'http://mediawikiarchivio.unigre.it/mediawiki/images/5/57/Icon_Users.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '[[citesName::',<br />
post: "]]"<br />
}<br />
}<br />
}<br />
}<br />
});<br />
<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
section: 'annotation',<br />
group: 'entities',<br />
tools: {<br />
"place": {<br />
label: 'Annotate places',<br />
type: 'button',<br />
icon: 'http://mediawikiarchivio.unigre.it/mediawiki/images/7/76/Icon_Placeholder.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '[[citesPlace::',<br />
post: "]]"<br />
}<br />
}<br />
}<br />
}<br />
});<br />
<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
section: 'annotation',<br />
group: 'entities',<br />
tools: {<br />
"work": {<br />
label: 'Annotate works',<br />
type: 'button',<br />
icon: 'http://mediawikiarchivio.unigre.it/mediawiki/images/e/e0/Icon_work.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '[[citesWork::',<br />
post: "]]"<br />
}<br />
}<br />
}<br />
}<br />
});<br />
<br />
$('#wpTextbox1').wikiEditor('addToToolbar', {<br />
section: 'annotation',<br />
group: 'entities',<br />
tools: {<br />
"object": {<br />
label: 'Annotate objects',<br />
type: 'button',<br />
icon: 'http://mediawikiarchivio.unigre.it/mediawiki/images/7/7e/Icon_object.png',<br />
action: {<br />
type: 'encapsulate',<br />
options: {<br />
pre: '[[citesObject::',<br />
post: "]]"<br />
}<br />
}<br />
}<br />
}<br />
});<br />
};<br />
<br />
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */<br />
if ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit', 'submit' ] ) !== -1 ) {<br />
mw.loader.using( 'user.options' ).then( function () { <br />
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])<br />
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {<br />
$.when(<br />
mw.loader.using( 'ext.wikiEditor.toolbar' ), $.ready<br />
).then( customizeToolbar );<br />
}<br />
} );<br />
}</div>
Lorenzo Mancini