User:Iritscen/WikiMods: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(moving XEB notes out of my test space)
(restored edits lost in rollback)
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
To ensure we don't lose track of them during upgrades, below are the changes made to default settings in MediaWiki for OniGalore. The customizations to the wiki's JS and CSS pages are documented at [[MediaWiki:Common]] and [[MediaWiki:Vector]].
To ensure we don't lose track of them during upgrades, below are the changes made to default settings in MediaWiki for OniGalore. Our customizations to the wiki's JS and CSS pages are documented at [[MediaWiki:Common]] and [[MediaWiki:Vector]]. Our customized messages are found [https://wiki.oni2.net/Special:AllMessages?prefix=&filter=modified&lang=en&limit=50 HERE].


"Custom namespaces" below refers to "AE:", "BSL:", "Oni2:", "OBD:", "XML:".
Extensions installed and enabled ([[Special:Version|source]]):
*CategoryTree
*Cite
*Confirm User Accounts
*Interwiki
*Math
*PageImages
*ParserFunctions
*Previews
*TemplateSandbox
*TextExtracts
*WikiEditor


Note: "Custom namespaces" below refer to "AE:", "BSL:", "OBD:", "Oni2:", and "XML:".
*$wgAccountRequestToS -- during account request process, displays message "requestaccount-tos", which displays MediaWiki:Requestaccount-page, which is supposed to display OniGalore:Terms of Service, which redirects to OniGalore:Privacy policy. If that is not working for account requesters, then this variable should be false or we should make a Terms of Service page
*$wgAllowSlowParserFunctions set to true
*$wgAllowUserJs set to true
*$wgAllowUserJs set to true
*$wgAllowUserCss set to true
*$wgAllowUserCss set to true
*Custom namespaces are now shown in Uncategorized pages, images, and categories
*$wgArticleCountMethod set to 'comma'
*$wgCountCategorizedImagesAsUsed -- was this changed?
*$wgCategoryTreeMaxDepth set to 4
*extlinks.csv generated by script at midnight -- discontinued
*$wgCategoryTreeDefaultOptions set to 'all'
*$wgConfirmAccountContact -- set to wiki-****@oni2.net
*$wgCategoryTreeCategoryPageOptions set to 'all'
*$wgAccountRequestToS -- during account request process, displays message "requestaccount-tos", which displays MediaWiki:Requestaccount-page, which is supposed to display OniGalore:Terms of Service, which redirects to OniGalore:Privacy policy. If that is not working for account requesters, then this variable should be false or we should make a Terms of Service page
*$wgCountCategorizedImagesAsUsed set to true
*$wgConfirmAccountContact -- set to wiki-t**m@oni2.net
*$wgContentNamespaces had custom namespaces and "User:" added to it, so these namespaces are now included in Special pages like UncategorizedPages and WantedPages.
*$wgGroupPermissions['*']['createaccount'] = false
*$wgMaxImageArea = 2.5e7
*$wgMaxShellMemory = 512000
*Similarly raised limits in /etc/ImageMagick-6/policy.xml
*$wgPFEnableStringFunctions set to true
*$wgPFEnableStringFunctions set to true
*$wgContentNamespaces had custom namespaces and "User:" added to it
*$wgRegisterInternalExternals set to true
*$wgCategoryTreeMaxDepth -- ?
*$wgCategoryTreeDefaultOptions -- ?
*$wgCategoryTreeCategoryPageOptions -- ?
*$wgCategoryTreeSpecialPageOptions -- ?
*Custom namespaces now shown in Most revisions
*$wgAllowSlowParserFunctions set to true
*$wgRestrictDisplayTitle set to false
*$wgRestrictDisplayTitle set to false
*$wgArticleCountMethod set to 'comma'
*Dump of "externallinks" table to https://wiki.oni2.net/w/extlinks.csv performed at 06:20 and 14:20 GMT
 
*Custom [[Special:Interwiki|interwiki links table]]:
Extensions installed:
<pre>
*CategoryTree
acronym http://www.acronymfinder.com/~/search/af.aspx?string=exact&Acronym=$1
*Cite (will be core from 1.21 on)
cache http://www.google.com/search?q=cache:$1
*ConfirmAccount
commons https://commons.wikimedia.org/wiki/$1
*ConfirmEdit (core)
dictionary http://www.dict.org/bin/Dict?Database=*&Form=Dict1&Strategy=*&Query=$1
*ParserFunctions (core)
google http://www.google.com/search?q=$1
 
metawikimedia https://meta.wikimedia.org/wiki/$1
==Fixing the XEB script==
mw https://www.mediawiki.org/wiki/$1
References:
wikibooks https://en.wikibooks.org/wiki/$1
*http://en.wikipedia.org/wiki/User_talk:MarkS/extraeditbuttons.js#Updates
wikidata https://www.wikidata.org/wiki/$1
*http://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28technical%29/Archive_93#Parts_of_the_toolbar_seem_shy
wikimedia https://foundation.wikimedia.org/wiki/$1
*https://bugzilla.wikimedia.org/show_bug.cgi?id=31511
wikinews https://en.wikinews.org/wiki/$1
 
wikipedia https://en.wikipedia.org/wiki/$1
Takeaway:
wikiquote https://en.wikiquote.org/wiki/$1
*Is ResourceLoader on?
wikisource https://wikisource.org/wiki/$1
*The diffs here make the toolbar-modifying code use mw.toolbar, a necessary change: http://de.wikipedia.org/w/index.php?title=MediaWiki%3AGadget-Extra-Editbuttons.js&diff=94521213&oldid=94132318
wikispecies https://species.wikimedia.org/wiki/$1
wikiversity https://en.wikiversity.org/wiki/$1
wikivoyage https://en.wikivoyage.org/wiki/$1
wikt https://en.wiktionary.org/wiki/$1
wiktionary https://en.wiktionary.org/wiki/$1
wp https://en.wikipedia.org/wiki/$1
</pre>


[[Category:Policies and documentation]]
[[Category:Policies and documentation]]

Latest revision as of 14:10, 6 January 2024

To ensure we don't lose track of them during upgrades, below are the changes made to default settings in MediaWiki for OniGalore. Our customizations to the wiki's JS and CSS pages are documented at MediaWiki:Common and MediaWiki:Vector. Our customized messages are found HERE.

Extensions installed and enabled (source):

  • CategoryTree
  • Cite
  • Confirm User Accounts
  • Interwiki
  • Math
  • PageImages
  • ParserFunctions
  • Previews
  • TemplateSandbox
  • TextExtracts
  • WikiEditor

Note: "Custom namespaces" below refer to "AE:", "BSL:", "OBD:", "Oni2:", and "XML:".

  • $wgAccountRequestToS -- during account request process, displays message "requestaccount-tos", which displays MediaWiki:Requestaccount-page, which is supposed to display OniGalore:Terms of Service, which redirects to OniGalore:Privacy policy. If that is not working for account requesters, then this variable should be false or we should make a Terms of Service page
  • $wgAllowSlowParserFunctions set to true
  • $wgAllowUserJs set to true
  • $wgAllowUserCss set to true
  • $wgArticleCountMethod set to 'comma'
  • $wgCategoryTreeMaxDepth set to 4
  • $wgCategoryTreeDefaultOptions set to 'all'
  • $wgCategoryTreeCategoryPageOptions set to 'all'
  • $wgCountCategorizedImagesAsUsed set to true
  • $wgConfirmAccountContact -- set to wiki-t**m@oni2.net
  • $wgContentNamespaces had custom namespaces and "User:" added to it, so these namespaces are now included in Special pages like UncategorizedPages and WantedPages.
  • $wgGroupPermissions['*']['createaccount'] = false
  • $wgMaxImageArea = 2.5e7
  • $wgMaxShellMemory = 512000
  • Similarly raised limits in /etc/ImageMagick-6/policy.xml
  • $wgPFEnableStringFunctions set to true
  • $wgRegisterInternalExternals set to true
  • $wgRestrictDisplayTitle set to false
  • Dump of "externallinks" table to https://wiki.oni2.net/w/extlinks.csv performed at 06:20 and 14:20 GMT
  • Custom interwiki links table:
acronym		http://www.acronymfinder.com/~/search/af.aspx?string=exact&Acronym=$1
cache		http://www.google.com/search?q=cache:$1
commons		https://commons.wikimedia.org/wiki/$1
dictionary	http://www.dict.org/bin/Dict?Database=*&Form=Dict1&Strategy=*&Query=$1
google		http://www.google.com/search?q=$1
metawikimedia	https://meta.wikimedia.org/wiki/$1
mw		https://www.mediawiki.org/wiki/$1
wikibooks	https://en.wikibooks.org/wiki/$1
wikidata	https://www.wikidata.org/wiki/$1
wikimedia	https://foundation.wikimedia.org/wiki/$1
wikinews	https://en.wikinews.org/wiki/$1
wikipedia	https://en.wikipedia.org/wiki/$1
wikiquote	https://en.wikiquote.org/wiki/$1
wikisource	https://wikisource.org/wiki/$1
wikispecies	https://species.wikimedia.org/wiki/$1
wikiversity	https://en.wikiversity.org/wiki/$1
wikivoyage	https://en.wikivoyage.org/wiki/$1
wikt		https://en.wiktionary.org/wiki/$1
wiktionary	https://en.wiktionary.org/wiki/$1
wp		https://en.wikipedia.org/wiki/$1