Skip to main content

Bookmarklets XWiki

Backup

javascript: void((function() {
    var query = "format=xar&pages=Admin.%2525&pages=_Default-Artikel.%2525&pages=Tour.%2525&history=true"
    var loc = location.href.replace( new RegExp("view.+","gm"), "export/Main");
    loc.indexOf("?") == -1 ? (location.href = loc + "?" + query) : (location.href = loc + "&" + query);
})());

Achtung: %2525 wird in der URL dann nur noch zu %25 und "ersetzt" das % für die SQL-query.

Quelle: https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/Exports#HAdvanced

Enable hidden Export

javascript:(function(){ 
  var style = document.createElement(%27style%27);
  var styleContent = document.createTextNode(%27#tmExport { display: block !important; }%27); 
  style.appendChild(styleContent ); 
  var caput = document.getElementsByTagName(%27head%27); 
  caput[0].appendChild(style); 
})();

Blame author

javascript:void((function(){
  var loc = location.href; 
  loc.indexOf("?") == -1 ? (location.href = loc+"?viewer=code&showLastAuthors=true") : (location.href = loc+"&viewer=code&showLastAuthors=true");
})());

Zeigt an, welchen Teil des Artikels welcher Autor geschrieben hat.