More actions
A user with 4,896 edits. Account created on 16 November 2020.
19 June 2023
- 17:2617:26, 19 June 2023 diff hist +830 N Template:Portal styles/styles.css copied from wikipedia current
- 17:2517:25, 19 June 2023 diff hist +3,469 N Module:Box-header/colours Created page with "return { aliceblue = "#F0F8FF", antiquewhite = "#FAEBD7", aqua = "#00FFFF", aquamarine = "#7FFFD4", azure = "#F0FFFF", beige = "#F5F5DC", bisque = "#FFE4C4", black = "#000000", blanchedalmond = "#FFEBCD", blue = "#0000FF", blueviolet = "#8A2BE2", brown = "#A52A2A", burlywood = "#DEB887", cadetblue = "#5F9EA0", chartreuse = "#7FFF00", chocolate = "#D2691E", coral = "#FF7F50", cornflower = "#6495ED", cornsilk = "#FFF8DC", crimson = "#DC143C", cyan = "#..." current
- 17:2417:24, 19 June 2023 diff hist +15,793 N Module:Box-header Created page with "local getArgs = require('Module:Arguments').getArgs local p = {} ---------- Config data ---------- local namedColours = mw.loadData( 'Module:Box-header/colours' ) local modes = { lightest = { sat=0.10, val=1.00 }, light = { sat=0.15, val=0.95 }, normal = { sat=0.40, val=0.85 }, dark = { sat=0.90, val=0.70 }, darkest = { sat=1.00, val=0.45 }, content = { sat=0.04, val=1.00 }, grey = { sat=0.00 } } local min_contrast_ratio_normal_text = 7 -- i.e 7:1..." current
- 17:2017:20, 19 June 2023 diff hist +7,060 N Module:Random portal component Created page with "-- This module implements Template:Random portal component local p = {} local mRandom = require('Module:Random') local currentTitle = mw.title.getCurrentTitle() -- tracking function added by BHG 29/04/2019 -- called as subPageTrackingCategories(pages, args.max) local function subPageTrackingCategories(pages, max, header) local retval = ""; local thispagetitle = mw.title.getCurrentTitle().text -- don't track DYK etc, only selected/featured articles, biogs etc..." current
- 17:1817:18, 19 June 2023 diff hist +5,330 N Module:Selected recent additions Created page with "local randomModule = require('Module:Random') function cleanupArgs(argsTable) local cleanArgs = {} for key, val in pairs(argsTable) do if type(val) == 'string' then val = val:match('^%s*(.-)%s*$') if val ~= '' then cleanArgs[key] = val end else cleanArgs[key] = val end end return cleanArgs end function isAffirmed(val) if not(val) then return false end local affirmedWords = ' add added affirm affirmed include included on true yes y ' return..." current
- 17:1717:17, 19 June 2023 diff hist +3,847 N Module:Pagetype/config Created page with "-------------------------------------------------------------------------------- -- Module:Pagetype configuration data -- -- This page holds localisation and configuration data for Module:Pagetype. -- -------------------------------------------------------------------------------- local cfg = {} -- Don't edit this line. -------------------------------------------------------------------------------- -- St..." current
- 17:1717:17, 19 June 2023 diff hist +8,794 N Module:Random slideshow Created page with "-- Creates a slideshow gallery where the order is randomised. Intended for use on portal pages. local p = {} local excerptModule = require('Module:Excerpt/portals') local randomModule = require('Module:Random') function cleanupArgs(argsTable) local cleanArgs = {} for key, val in pairs(argsTable) do if type(val) == 'string' then val = val:match('^%s*(.-)%s*$') if val ~= '' then cleanArgs[key] = val end else cleanArgs[key] = val end end return c..." current
- 17:1517:15, 19 June 2023 diff hist +29,864 N Module:Transcluder Created page with "-- Module:Transcluder is a general-purpose transclusion engine -- Central version and documentation at https://en.wikipedia.org/wiki/Module:Transcluder -- By User:Sophivorus, User:Certes & others -- Version 1.4.1 -- License CC-BY-SA-3.0 local p = {} -- Helper function to test for truthy and falsy values -- @todo Somehow internationalize it local function truthy(value) if not value or value == '' or value == 0 or value == '0' or value == 'false' or value == 'no' or val..." current
- 17:1517:15, 19 June 2023 diff hist +48,875 N Module:Excerpt/portals Created page with "-- ATTENTION ! -- This version of Excerpt is designed specifically for the portal namespace and its associated templates -- Prefer Module:Excerpt whenever possible -- Name of the category to track content pages with errors local errorCategory = "Articles with broken excerpts" -- Error messages local errorMessages = { prefix = "Excerpt error: ", noPage = "No page given", pageNotFound = "Page '%s' not found", leadEmpty = "Lead section is empty", sectionEmpty = "Sect..." current
- 17:1417:14, 19 June 2023 diff hist +9,692 N Module:Excerpt Created page with "-- Module:Excerpt implements the Excerpt template -- Documentation and master version: https://en.wikipedia.org/wiki/Module:Excerpt -- Authors: User:Sophivorus, User:Certes & others -- License: CC-BY-SA-3.0 local Transcluder = require( 'Module:Transcluder' ) local yesno = require( 'Module:Yesno' ) local ok, config = pcall( require, 'Module:Excerpt/config' ) if not ok then config = {} end local p = {} -- Helper function to get arguments local args function getArg( ke..." current
- 17:1317:13, 19 June 2023 diff hist +126 N Template:Transclude selected recent additions Created page with "<includeonly>{{{{{|safesubst:}}}#invoke:Selected recent additions|main}}</includeonly><noinclude>{{documentation}}</noinclude>" current
- 17:1317:13, 19 June 2023 diff hist +122 N Template:Transclude files as random slideshow Created page with "<includeonly>{{main other||{{#invoke:Random slideshow|transclude}}}}</includeonly><noinclude>{{Documentation}}</noinclude>" current
- 17:1317:13, 19 June 2023 diff hist +196 N Template:Random portal component Created page with "<includeonly>{{#invoke:random portal component|main}}</includeonly><noinclude> {{documentation}} {{purge page}} <!-- Add categories to the /doc subpage and interwikis to Wikidata. --> </noinclude>" current
- 17:1217:12, 19 June 2023 diff hist +103 N Template:Transclude random excerpt Created page with "<includeonly>{{#invoke:Excerpt/portals|random}}</includeonly><noinclude> {{documentation}} </noinclude>" current
- 17:1117:11, 19 June 2023 diff hist +173 N Template:Namespace detect Created page with "{{SAFESUBST:<noinclude />#invoke:Namespace detect|main}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
- 17:1117:11, 19 June 2023 diff hist +211 N Template:Portal styles Created page with "<templatestyles src = "Portal styles/styles.css"/><includeonly>{{Namespace detect |portal=__NOTOC____NOEDITSECTION__ |wikipedia=__NOTOC____NOEDITSECTION__ }}</includeonly><noinclude>{{documentation}}</noinclude>" current
- 17:1017:10, 19 June 2023 diff hist +935 N Module:Flex columns Created page with "local p = {} local function setCleanArgs(argsTable) local cleanArgs = {} for key, val in pairs(argsTable) do if type(val) == 'string' then val = val:match('^%s*(.-)%s*$') if val ~= '' then cleanArgs[key] = val end else cleanArgs[key] = val end end return cleanArgs end p.main = function(frame) local parent = frame.getParent(frame) local output = p._main(parent.args) return frame:extensionTag{ name='templatestyles', args = { src='Module:Fle..." current
- 17:1017:10, 19 June 2023 diff hist +1,097 N Module:Purge Created page with "-- This module implements Template:Purge. local p = {} local function makeUrlLink(url, display) return string.format('[%s %s]', url, display) end function p._main(args) -- Make the URL local url do local title if args.page then title = mw.title.new(args.page) if not title then error(string.format( "'%s' is not a valid page name", args.page ), 2) end else title = mw.title.getCurrentTitle() end if args.anchor then title..." current
- 17:0917:09, 19 June 2023 diff hist +647 N Module:Anchor Created page with "-- This module implements {{anchor}}. local getArgs = require('Module:Arguments').getArgs local tableTools = require('Module:TableTools') local p = {} function p.main(frame) -- Get the positional arguments from #invoke, remove any nil values, -- and pass them to p._main. local args = getArgs(frame) local argArray = tableTools.compressSparseArray(args) return p._main(unpack(argArray)) end function p._main(...) -- Generate the list of anchors. local anchors = {...." current
- 17:0917:09, 19 June 2023 diff hist +3,948 N Module:Unsubst Created page with "local checkType = require('libraryUtil').checkType local p = {} local BODY_PARAM = '$B' local specialParams = { ['$params'] = 'parameter list', ['$aliases'] = 'parameter aliases', ['$flags'] = 'flags', ['$B'] = 'template content', ['$template-name'] = 'template invocation name override', } function p.main(frame, body) -- If we are substing, this function returns a template invocation, and if -- not, it returns the template body. The template body can be specif..." current
- 17:0817:08, 19 June 2023 diff hist +6,765 N Module:Pagetype Created page with "-------------------------------------------------------------------------------- -- -- -- PAGETYPE -- -- -- -- This is a meta-module intended to replace {{pagetype}} and similar -- -- templates. It automatically detects namespaces, and allows for..." current
- 17:0617:06, 19 June 2023 diff hist +527 N Portal:Union of Soviet Socialist Republics/box-header2 Created page with "{{Box-header |noedit={{{noedit|}}}| title={{{1}}} |editpage={{{2}}} |border=#F8B800 <!-- This is the color of the borders around Box Sections --> |titleforeground=#F9DD16 <!-- This is the color of the Box Section Title Bar text --> |titlebackground=#CC0000 <!-- This is the color of the Box Section Title Bar --> |background=#f9f9ff <!-- This is the color of the Box Section background --> |foreground=black <!-- This is the color of the Box Sect..." current
- 17:0517:05, 19 June 2023 diff hist +89 N Template:Box-header Created page with "{{#invoke:Box-header|boxHeader}}<noinclude> {{Box-footer}} {{documentation}} </noinclude>" current
- 17:0517:05, 19 June 2023 diff hist +527 N Portal:Union of Soviet Socialist Republics/box-header Created page with "{{Box-header |noedit={{{noedit|}}}| title={{{1}}} |editpage={{{2}}} |border=#F8B800 <!-- This is the color of the borders around Box Sections --> |titleforeground=#F9DD16 <!-- This is the color of the Box Section Title Bar text --> |titlebackground=#c60000 <!-- This is the color of the Box Section Title Bar --> |background=#f9f9ff <!-- This is the color of the Box Section background --> |foreground=black <!-- This is the color of the Box Sect..." current
- 17:0317:03, 19 June 2023 diff hist +562 N Portal:Union of Soviet Socialist Republics/Header Created page with "__NOTOC__ ---- {| width="100%" cellpadding="4" cellspacing="2" style="border-style:solid; border-width:2px; border-color: #ffd700;" | width="100%" style="vertical-align:top;padding:0; margin:0;" | <div style="float:right; width:100%"> <div class="radius" style="margin-bottom:.4em; padding:.1em; background:#c60000; text-align:center; font-size:150%; font-variant: small-caps;">40px <span style="color:#f9dd16">'''UNION OF SOVIET SOCIALIST REPUB..." current
- 16:4716:47, 19 June 2023 diff hist +179 N Template:Pagetype Created page with "{{<includeonly>safesubst:</includeonly>#invoke:pagetype|main}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
- 16:4616:46, 19 June 2023 diff hist +177 N Template:Anchor Created page with "{{<includeonly>safesubst:</includeonly>#invoke:anchor|main}}<noinclude> {{Documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
- 16:4516:45, 19 June 2023 diff hist +272 N Template:Flatlist Created page with "<templatestyles src="Hlist/styles.css"/><div class="hlist {{{class|}}}" {{#if:{{{style|}}}{{{indent|}}}|style="{{#if:{{{indent|}}}|margin-left: {{#expr:{{{indent}}}*1.6}}em;}} {{{style|}}}"}}>{{#if:{{{1|}}}| {{{1}}} </div>}}<noinclude></div> {{documentation}} </noinclude>" current
- 16:4516:45, 19 June 2023 diff hist +97 N Template:Endflatlist Created page with "<includeonly></div></includeonly><noinclude> {{documentation|Template:Flatlist/doc}} </noinclude>" current
- 16:4416:44, 19 June 2023 diff hist +1,126 N Template:Portals browsebar Created page with "{{anchor|portals-browsebar}}{{flatlist<includeonly>|class=noprint</includeonly>|style=text-align: center}}<!--The following should link to sections of Wikipedia:Contents/Portals --> ; Portal topics : Activities : Culture : Geography : Health..." current
- 16:4416:44, 19 June 2023 diff hist +827 N Template:Short description/lowercasecheck Created page with "{{#ifeq:<!--test first character for lower-case letter-->{{#invoke:string|find|1={{{1|}}}|2=^%l|plain=false}}|1 |<!-- first character is a lower case letter; test against whitelist -->{{#switch: {{First word|{{{1|}}}}}<!--begin whitelist--> |c. <!--for circa--> |gTLD |iMac |iOS |iOS, |iPad |iPhone |iTunes |macOS |none |pH |pH-dependent=<!-- end whitelist; short description starts with an allowed lower-case string; whitelist matched; do nothing --> |#default=<!-- apply c..." current
- 16:4416:44, 19 June 2023 diff hist +392 N Template:Smalldiv Created page with "<div style="font-size:85%;">{{#if: 1 | <!-- To make it possible to use the template with newlines at the beginning and end, inside lists, or put lists inside --> {{{1}}} }}</div><includeonly>{{SAFESUBST:#if:{{{1|}}}||Category:Pages using small with an empty input parameter}}</includeonly><noinclude> {{Documentation}}<!--Categories and interwikis go in the /doc sub-page.--> </noinclude>" current
- 16:4316:43, 19 June 2023 diff hist +1,348 N Template:Short description Created page with "{{#ifeq:{{lc:{{{1|}}}}}|none|<nowiki /><!--Prevents whitespace issues when used with adjacent newlines-->|<div class="shortdescription nomobile noexcerpt noprint searchaux" style="display:none">{{{1|}}}{{SHORTDESC:{{{1|}}}|{{{2|}}}}}</div>}}<includeonly>{{#ifeq:{{{pagetype}}}|Disambiguation pages||{{#ifeq:{{pagetype |defaultns = all |user=exclude}}|exclude||{{#ifeq:{{#switch: {{NAMESPACENUMBER}} | 2 | 3 | 4 | 5 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 15 | 100 | 101 | 118 | 11..." current
- 16:4316:43, 19 June 2023 diff hist +429 N Template:Portal other Created page with "{{#switch: <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} | {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> | {{#ifeq:{{NAMESPACE}}|{{ns:Portal}} | portal | other }} }} | portal = {{{1|}}} | other | #default = {{{2|}}} }}<!--End switch--><noinclude> {{documentation}} <!-- Add categories and interwikis to the /doc subpage, not here! --> </noinclude>" current
- 16:4216:42, 19 June 2023 diff hist +6,099 N Template:Portal maintenance status Created page with "{{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__|$B= <div class=portal-maintenance-status {{portal other|1=style=display:none;}}> {{ {{#if:{{{embed|}}}|text|ombox}} | type = notice | image = 30px | {{#if:{{{embed|}}}|1|text}} = {{#if:{{{embed|}}}||<span style="font-size:108%;">'''Portal maintenance status:'''</span> <small>({{{date|No date set{{portal other|Category:Portals with undated maintenance templates}}}}})</small>..." current
- 16:4216:42, 19 June 2023 diff hist +64 N Template:Purge Created page with "{{#invoke:Purge|main}}<noinclude> {{documentation}} </noinclude>" current
- 16:4216:42, 19 June 2023 diff hist +169 N Template:Purge link portals Created page with "<div style="text-align:center; margin:0.25em auto 0.75em">{{purge|{{{1|'''Refresh with new selections below (purge)'''}}}}}</div><noinclude>{{documentation}}</noinclude>" current
- 16:4116:41, 19 June 2023 diff hist +81 N Template:Clear Created page with "<div style="clear:{{{1|both}}};"></div><noinclude> {{documentation}} </noinclude>" current
- 16:4116:41, 19 June 2023 diff hist +69 N Template:Flex columns Created page with "{{#invoke:Flex columns|main}}<noinclude>{{Documentation}}</noinclude>" current
- 16:4016:40, 19 June 2023 diff hist +111 N Template:Transclude lead excerpt Created page with "<includeonly>{{safesubst:#invoke:Excerpt/portals|lead}}</includeonly><noinclude> {{documentation}} </noinclude>" current
- 16:4016:40, 19 June 2023 diff hist +161 N Template:Portal description Created page with "<includeonly>{{Short description|Wikipedia portal for content related to {{{1|{{{topic|{{PAGENAME}}}}}}}}}}</includeonly><noinclude>{{Documentation}}</noinclude>" current
- 16:4016:40, 19 June 2023 diff hist +234 N Template:Box-footer Created page with "<includeonly>{{#if:{{{1|}}}|<div class="noprint" style="margin:0.3em 0.2em 0.2em 0.3em; padding:0.3em 0.2em 0.2em 0.3em; text-align:right;"><b>{{{1|}}}</b></div>}}{{clear}}</div></includeonly><noinclude> {{Documentation}} </noinclude>" current
- 16:3916:39, 19 June 2023 diff hist +6,710 N Portal:Union of Soviet Socialist Republics test into importing portals from wikipedia
- 14:3014:30, 19 June 2023 diff hist +178 m History of China added picture Tag: Visual edit
- 14:2314:23, 19 June 2023 diff hist +125 N File:Oracle bone inscriptions.png No edit summary current
- 14:2114:21, 19 June 2023 diff hist +15,668 History of China added on the zhou dynasty Tag: Visual edit
- 10:4410:44, 19 June 2023 diff hist +1 m Falun Gong made the pictures a bit bigger Tag: Visual edit
- 10:2310:23, 19 June 2023 diff hist +4 m History of China →Early societies: italicised Tag: Visual edit
- 10:0710:07, 19 June 2023 diff hist +35 History of China corrected ancestry Tag: Visual edit
- 09:38, 19 June 2023 (diff | hist) . . +224 . . confusing statement on Talk:History of China