User:Iritscen/WikiMods: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(Created page with "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 p...")
 
(moving XEB notes out of my test space)
Line 27: Line 27:
*ConfirmEdit (core)
*ConfirmEdit (core)
*ParserFunctions (core)
*ParserFunctions (core)
==Fixing the XEB script==
References:
*http://en.wikipedia.org/wiki/User_talk:MarkS/extraeditbuttons.js#Updates
*http://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28technical%29/Archive_93#Parts_of_the_toolbar_seem_shy
*https://bugzilla.wikimedia.org/show_bug.cgi?id=31511
Takeaway:
*Is ResourceLoader on?
*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


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

Revision as of 15:48, 12 November 2015

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.

"Custom namespaces" below refers to "AE:", "BSL:", "Oni2:", "OBD:", "XML:".

  • $wgAllowUserJs set to true
  • $wgAllowUserCss set to true
  • Custom namespaces are now shown in Uncategorized pages, images, and categories
  • $wgCountCategorizedImagesAsUsed -- was this changed?
  • extlinks.csv generated by script at midnight -- discontinued
  • $wgConfirmAccountContact -- set to wiki-****@oni2.net
  • $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
  • $wgPFEnableStringFunctions set to true
  • $wgContentNamespaces had custom namespaces and "User:" added to it
  • $wgCategoryTreeMaxDepth -- ?
  • $wgCategoryTreeDefaultOptions -- ?
  • $wgCategoryTreeCategoryPageOptions -- ?
  • $wgCategoryTreeSpecialPageOptions -- ?
  • Custom namespaces now shown in Most revisions
  • $wgAllowSlowParserFunctions set to true
  • $wgRestrictDisplayTitle set to false
  • $wgArticleCountMethod set to 'comma'

Extensions installed:

  • CategoryTree
  • Cite (will be core from 1.21 on)
  • ConfirmAccount
  • ConfirmEdit (core)
  • ParserFunctions (core)

Fixing the XEB script

References:

Takeaway: