“帮助:沙盒”的版本间的差异

来自个人维基
跳转至: 导航搜索
recentchanges
 
(未显示1个用户的36个中间版本)
第1行: 第1行:
{{Setlang|title=zh-cmn-Hans|en}}__NEWSECTIONLINK____NOINDEX__
+
{{Setlang|title=zh-cmn-Hans|en}}__NEWSECTIONLINK____NOINDEX__[[分类:管理页面]]{{DEFAULTSORT:shahe}}
  
== {{tl|bpn}} test ==
+
== lnncrypt ==
  
without subst: {{bpn}}
+
{{blang|en-Qaac|
with subst: '''沙盒'''
+
              .    .   ,       ,​“”!!(
 +
}}
 +
 
 +
== Cite ==
 +
 
 +
colcount=3 Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}} Aaaaa{{ref|11111}}
 +
 
 +
{{reflist|colcount=3}}
 +
 
 +
colwidth=18rem Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}} Aaaaa{{note|11111}}
 +
 
 +
{{notelist|colwidth=18rem}}
 +
 
 +
== Img ==
 +
 
 +
<pre>
 +
{{img|https://cdn.staticaly.com/gh/DGCK81LNN/dgck81lnn.github.io_old/13df0ab352ba990e2cb7e6ffff4ab7b9b44aaf85/site_icon.png}}
 +
</pre>
 +
{{img|https://cdn.staticaly.com/gh/DGCK81LNN/dgck81lnn.github.io_old/13df0ab352ba990e2cb7e6ffff4ab7b9b44aaf85/site_icon.png}}
 +
 
 +
== recentchanges ==
 +
 
 +
{{MywikiParaHack|<html>
 +
<table class="wikitable lnnblog-helper-recentchanges"><tr><td>Ajax加载...</td></tr></table>
 +
<script>
 +
$(window).on( "load", function () {
 +
 
 +
function getTimeDesc( ts ) {
 +
var date = new Date( ts )
 +
var delta = Date.now() - date
 +
if ( delta >= 0 ) {
 +
if ( delta < 6e+4 ) return "刚刚"
 +
if ( delta < 3.6e+6 ) return ( 0 | (delta / 6e+4 ) ) + " 分钟前"
 +
if ( delta < 8.64e+7 ) return ( 0 | (delta / 3.6e+6 ) ) + " 小时前"
 +
}
 +
// 手动 UTC+8(
 +
return new Date( date.valueOf() + 2.88e+7 ).toISOString().slice( 0, 10 )
 +
}
 +
 
 +
new mw.Api()
 +
.get( {
 +
action: "query",
 +
list: "recentchanges",
 +
rctype: "new|edit|log",
 +
rcnamespace: "0|4|6|10|14",
 +
rclimit: 200,
 +
rcprop: "title|timestamp|loginfo|redirect"
 +
} )
 +
.done( function ( data ) {
 +
var container = $( ".lnnblog-helper-recentchanges" )
 +
 
 +
try {
 +
if ( !data ) throw "请求失败"
 +
 
 +
var rc = data.query.recentchanges
 +
if ( !rc.length ) {
 +
container.text( "咕咕咕,最近没有更改记录" )
 +
return
 +
}
 +
 
 +
container.html( "" )
 +
var map = {}
 +
 
 +
for ( var i = 0; i < rc.length; ++i ) {
 +
var title = rc[ i ].title
 +
if ( rc[ i ].type === "log" ) {
 +
if ( rc[ i ].logtype !== "move" ) continue
 +
map[ title ] = true
 +
title = rc[ i ].move.new_title
 +
}
 +
if ( map.hasOwnProperty( title ) ) continue
 +
map[ title ] = true
 +
 
 +
if ( rc[ i ].type !== "log" )
 +
if ( "redirect" in rc[ i ] ) continue
 +
 
 +
var ts = rc[ i ].timestamp
 +
 
 +
var li = $( "<tr><td data-1></td><td data-2></td></li>" )
 +
$( "td[data-1]", li ).text( title )
 +
$( "td[data-2]", li ).text( getTimeDesc( ts ) )
 +
container.append( li )
 +
}
 +
} catch (e) {
 +
container.text( "加载失败:" + e )
 +
throw e
 +
}
 +
} )
 +
} )
 +
</script>
 +
</html>}}

2023年3月16日 (四) 09:27的最后版本

目录

lnncrypt

              .    .   ,       ,​“”!!(

Cite

colcount=3 Aaaaa[1] Aaaaa[2] Aaaaa[3] Aaaaa[4] Aaaaa[5] Aaaaa[6] Aaaaa[7] Aaaaa[8] Aaaaa[9] Aaaaa[10] Aaaaa[11] Aaaaa[12] Aaaaa[13] Aaaaa[14] Aaaaa[15] Aaaaa[16] Aaaaa[17] Aaaaa[18] Aaaaa[19] Aaaaa[20] Aaaaa[21] Aaaaa[22] Aaaaa[23] Aaaaa[24] Aaaaa[25] Aaaaa[26] Aaaaa[27] Aaaaa[28] Aaaaa[29] Aaaaa[30] Aaaaa[31] Aaaaa[32]

  1. 11111
  2. 11111
  3. 11111
  4. 11111
  5. 11111
  6. 11111
  7. 11111
  8. 11111
  9. 11111
  10. 11111
  11. 11111
  12. 11111
  13. 11111
  14. 11111
  15. 11111
  16. 11111
  17. 11111
  18. 11111
  19. 11111
  20. 11111
  21. 11111
  22. 11111
  23. 11111
  24. 11111
  25. 11111
  26. 11111
  27. 11111
  28. 11111
  29. 11111
  30. 11111
  31. 11111
  32. 11111

colwidth=18rem Aaaaa[注 1] Aaaaa[注 2] Aaaaa[注 3] Aaaaa[注 4] Aaaaa[注 5] Aaaaa[注 6] Aaaaa[注 7] Aaaaa[注 8] Aaaaa[注 9] Aaaaa[注 10] Aaaaa[注 11] Aaaaa[注 12] Aaaaa[注 13] Aaaaa[注 14] Aaaaa[注 15] Aaaaa[注 16] Aaaaa[注 17] Aaaaa[注 18] Aaaaa[注 19] Aaaaa[注 20] Aaaaa[注 21] Aaaaa[注 22] Aaaaa[注 23] Aaaaa[注 24] Aaaaa[注 25] Aaaaa[注 26] Aaaaa[注 27] Aaaaa[注 28] Aaaaa[注 29] Aaaaa[注 30] Aaaaa[注 31]

  1. 11111
  2. 11111
  3. 11111
  4. 11111
  5. 11111
  6. 11111
  7. 11111
  8. 11111
  9. 11111
  10. 11111
  11. 11111
  12. 11111
  13. 11111
  14. 11111
  15. 11111
  16. 11111
  17. 11111
  18. 11111
  19. 11111
  20. 11111
  21. 11111
  22. 11111
  23. 11111
  24. 11111
  25. 11111
  26. 11111
  27. 11111
  28. 11111
  29. 11111
  30. 11111
  31. 11111

Img

{{img|https://cdn.staticaly.com/gh/DGCK81LNN/dgck81lnn.github.io_old/13df0ab352ba990e2cb7e6ffff4ab7b9b44aaf85/site_icon.png}}

recentchanges

Ajax加载...