Difference between revisions of "Template:Frac/doc"
Jump to navigation
Jump to search
Debug data:
(Proper use of expr[ession] template.) |
(Added category.) |
||
Line 1: | Line 1: | ||
Creates simple inline fractions like this one: {{ {{BASEPAGENAME}}}}. There is no awareness of where the line is, so if the top or the bottom of the fraction is too tall, vertical centering will be wrong: | Creates simple inline fractions like this one: {{ {{BASEPAGENAME}}}}. There is no awareness of where the line is, so if the top or the bottom of the fraction is too tall, vertical centering will be wrong: | ||
<samp style="display:block;text-align:center">− {{ {{BASEPAGENAME}}|<var>numerator</var>|{{expr|<var>denominator − {{expr|{{ {{BASEPAGENAME}}|<var>numerator</var>|<var>denominator</var>}}}}}}}}, − {{ {{BASEPAGENAME}}|{{expr|<var>numerator</var> + {{expr|{{ {{BASEPAGENAME}}|<var>numerator|<var>denominator</var>}}</var>|<var>denominator}}}}}}</samp> | <samp style="display:block;text-align:center">− {{ {{BASEPAGENAME}}|<var>numerator</var>|{{expr|<var>denominator − {{expr|{{ {{BASEPAGENAME}}|<var>numerator</var>|<var>denominator</var>}}}}}}}}, − {{ {{BASEPAGENAME}}|{{expr|<var>numerator</var> + {{expr|{{ {{BASEPAGENAME}}|<var>numerator|<var>denominator</var>}}</var>|<var>denominator}}}}}}</samp> | ||
+ | |||
+ | {{Category:Math}} |
Revision as of 06:30, 17 September 2021
Creates simple inline fractions like this one: numeratordenominator. There is no awareness of where the line is, so if the top or the bottom of the fraction is too tall, vertical centering will be wrong: − numeratornumeratordenominator denominator − , − numeratordenominator numerator + denominator
This category contains templates that can be used to create mathematical formulas and equations. Their purpose is to provide a workaround for the missing support of LaTeX and MathML, using only HTML and CSS.
Debug data:
[SQLBagOStuff] MainObjectStash using store ReplicatedBagOStuff
[objectcache] MainWANObjectCache using store EmptyBagOStuff
IP: 216.73.216.207
Start request GET /mediawiki/index.php?diff=next&oldid=7698&title=Template%3AFrac%2Fdoc
HTTP HEADERS:
CONTENT-TYPE:
CONTENT-LENGTH: 0
X-FORWARDED-FOR: 10.1.4.35
USER-AGENT: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HOST: zero-k.info
COOKIE: wikidb229_mw__session=bu5bmlqrcjei3c93e3juhkon9fjnqmoe
ACCEPT-ENCODING: gzip, br, zstd, deflate
ACCEPT: */*
VIA: 1.1 squid-proxy-5b5d847c96-m5llr (squid/6.10)
CONNECTION: keep-alive
CACHE-CONTROL: max-age=0[localisation] LocalisationCache: using store LCStoreDB
[session] SessionManager using store SqlBagOStuff
[session] Session "bu5bmlqrcjei3c93e3juhkon9fjnqmoe" requested without UserID cookie
[DBReplication] Cannot use ChronologyProtector with EmptyBagOStuff
[DBReplication] Wikimedia\Rdbms\LBFactory::getChronologyProtector: request info {
"IPAddress": "216.73.216.207",
"UserAgent": "Mozilla\/5.0 AppleWebKit\/537.36 (KHTML, like Gecko; compatible; ClaudeBot\/1.0; +claudebot@anthropic.com)",
"ChronologyProtection": false,
"ChronologyPositionIndex": 0,
"ChronologyClientId": false
}[DBConnection] Wikimedia\Rdbms\LoadBalancer::lazyLoadReplicationPositions: executed chronology callback.
[DBConnection] Wikimedia\Rdbms\LoadBalancer::getLocalConnection: connected to database 0 at 'localhost'.
[SQLBagOStuff] Connection mysql object #124 (handle id #118) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #124 (handle id #118) will be used for SqlBagOStuff
[DBConnection] Wikimedia\Rdbms\LoadBalancer::getLocalConnection: connected to database 0 at 'localhost'.
[localisation] LocalisationCache::isExpired(en): cache for en expired due to GlobalDependency
[localisation] LocalisationCache::recache: got localisation for en from source
[DBQuery] startAtomic: entering level 0 (LCStoreDB::finishWrite)
[DBQuery] endAtomic: leaving level 0 (LCStoreDB::finishWrite)
Title::getRestrictionTypes: applicable restrictions to [[Template:Frac/doc]] are {edit,move}
[objectcache] Rejected set() for global:revision-row-1.29:wikidb229-mw_:1457:7747 due to pending writes.
[objectcache] Rejected set() for global:NameTableSqlStore:slot_roles:wikidb229-mw_ due to pending writes.
[objectcache] Rejected set() for global:NameTableSqlStore:content_models:wikidb229-mw_ due to pending writes.
[ContentHandler] Created handler for wikitext: WikitextContentHandler
Article::view: showing diff page
DifferenceEngine old '7698' new 'next' rcid ''
[MessageCache] MessageCache using store SqlBagOStuff
[SQLBagOStuff] Connection mysql object #124 (handle id #118) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #124 (handle id #118) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #124 (handle id #118) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #124 (handle id #118) will be used for SqlBagOStuff
[SQLBagOStuff] SqlBagOStuff::lock failed due to timeout for wikidb229-mw_:messages:en.
[SQLBagOStuff] Connection mysql object #124 (handle id #118) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #124 (handle id #118) will be used for SqlBagOStuff
[MessageCache] MessageCache::load: Loading en... local cache is empty, global cache is expired/volatile, loading from database
ParserFactory: using preprocessor: Preprocessor_Hash
Unstubbing $wgLang on call of $wgLang::_unstub from ParserOptions->__construct
DifferenceEngine old '0' new '0' rcid '0'
WikiPage::getParserOutput: using parser cache: no
[caches] parser: SqlBagOStuff
[SQLBagOStuff] Connection mysql object #124 (handle id #118) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #124 (handle id #118) will be used for SqlBagOStuff
Parser cache options found.
[objectcache] Rejected set() for wikidb229-mw_:page:10:a1a3985342af29c75e9d2fa667fbbc2e31146179 due to pending writes.
[objectcache] Rejected set() for global:revision-row-1.29:wikidb229-mw_:1456:7708 due to pending writes.
[objectcache] Rejected set() for wikidb229-mw_:page:10:a5292679ec28d35bb78fea0ab23b82968c9375a6 due to pending writes.
[objectcache] Rejected set() for global:revision-row-1.29:wikidb229-mw_:1458:7753 due to pending writes.
[objectcache] Rejected set() for wikidb229-mw_:page:14:3edf0df49942da6d11a1a217e4d3af4a5a8e64f2 due to pending writes.
[objectcache] Rejected set() for global:revision-row-1.29:wikidb229-mw_:1472:7740 due to pending writes.
MediaWiki::preOutputCommit: primary transaction round committed
MediaWiki::preOutputCommit: pre-send deferred updates completed
MediaWiki::preOutputCommit: session changes committed
MediaWiki::preOutputCommit: LBFactory shutdown completed
Title::getRestrictionTypes: applicable restrictions to [[Template:Frac/doc]] are {edit,move}