Open main menu

Changes

4,665 bytes removed ,  12:19, 20 June 2018
restore three rows that were accidentally removed
This page serves to inventory and assess the mix of extensions that are in use for the DCS wiki. Code for "regular" extensions are hosted on Gerrit at the WMF (which is also mirrored to GitHub) with documentation at https://www.mediawiki.org/wiki. Code for the DCS extensions is in the [https://github.com/debtcompliance/mediawiki/tree/master/extensions private Debt Compliance GitHub repo]; and the Organic Design extensions are in the [https://github.com/OrganicDesign/extensions/tree/master/MediaWiki 'MediaWiki' tree of the Organic Design GitHub repo].
== Mime Report ==; RegularIn :: Code for "regular" extensions are hosted on Gerrit at the WMF (which is also mirrored to GitHub) with documentation at https://www.mediawiki.org/wiki. Regular is in quotes because ''all'' extensions modify the behavior and capabilities of MediaWiki. Those that are used by the WMF in their projects or are distributed in the official download should be considered stable, tested, and maintained. Over time, some extensions become part of MediaWiki core; and rarely core features are extracted into extensions.; DCS custom Custom:: Code for the DCS extensions is in the [https://github.com/debtcompliance/mediawiki/tree/master/extensions private Debt Compliance GitHub repo]; Organic Design:: Organic Design extensions, here are in the file counts [https://github.com/OrganicDesign/extensions/tree/master/MediaWiki 'MediaWiki' tree of the Organic Design GitHub repo]. Just because it's an OD extension doesn't mean it's not used by file-type:the wider MediaWiki community. We try to note usage below.
14 {{Highlight||text=Please review with the goal of adding info to the What does it do? column.css 6 That would be helpful to understand the function or utility of the extension -- especially as seen from the user perspective.gif 1 Please note whichever role is involved: '''regular-user''', '''talk-editor''', '''client-admin''', or '''sysop'''.ico 1 .jpg 9 .js 43 .json 69 .php 8 .pl 4 .png 1 .svg}}
The ultimate goal is two-fold: not only understand 'What does it do?', but also understand related questions like:
== Source Code Summary =={| class=* "wikitable sortableHow critical is it? (Used all the time / occasionally, but still essential / never)"|+ Source Lines of Code * "Does it need work? (SLOCknown bugs or missing functionality)"|-! SLOC !! Directory !! SLOC-by-Language * "Can or should this extension be replaced (Sortedwith a more widely supported "regular" extension)|-| 1873 || DcsJobAdmin || perl=985,php=779,javascript=109 |-| 751 || DcsCommon || php=548,javascript=203 |-| 551 || DcsSearch || javascript=282,php=269 |-| 481 || DcsNamespaces || php=425to improve maintainability,javascript=56 |-| 379 || DcsAmmendments || php=203features,javascript=176 |-| 315 || DcsTitle || php=315 |-| 269 || DcsSingleSignOn || php=269 |-| 258 || DcsSection || php=258 |-| 230 || DcsNuke || php=230 |-| 208 || DcsComplianceChecklist || php=208 |-| 178 || DcsExportTerms || php=178 |-| 168 || DcsComplianceChecklist2 || php=168 |-| 158 || DcsGroupAdmin || php=158 |-| 139 || DcsWatchComments || php=139 |-| 123 || DcsUserDisable || php=78,javascript=45 |-| 110 || DcsLoanPages || php=110 |-| 104 || DcsBaskets || php=57,javascript=47 |-| 90 || DcsSkin || php=90 |-| 88 || DcsFindTitle || php=88 |-| 70 || DcsUploadedFiles || php=70 |-| 40 || DcsEmailLink || php=40 |-| 0 || DcsSection2 || (none) |}security and lower cost?
Of course some features or functions are not really "user-centric" but might provide security or other features important to stakeholders like "Owner" or "Developer". For example: The DcsSkin provides a look and feel that is consistent with the company brand and makes the user experience more seamless while navigating between Website / Rails App / Wiki.
{| class="wikitable sortableI've put information about "|+ Totals grouped by language (dominant language first)|-! php: | 4680 (71.09%)|-! perl: | 985 (14.96%)|-! javascript: | 918 (13.95%)|}  Total Physical Source Lines of Code (SLOC) = 6,583<br />Development Effort Estimate, Person-Years (Person-Months) = 1.45 (17.36)<br [[Extension inventory/>&nbsp;&nbsp;(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))<br />Schedule Estimate, Years (Months) = 0.62 (7.40)<br />&nbsp;&nbsp;(Basic COCOMO model, Months = 2.5 * (person-months**0.38))<br />Estimated Average Number of Developers (Effort/Schedule) = 2.35<br />Total Estimated Cost to Develop = $ 195,428<br />&nbsp;&nbsp;(average salary = $56,286/year, overhead = 2.40).<br />   === And for the 'tools' directory ==={sloc||+ Source Lines lines of Code!!SLOC ! Directory ! SLOC-by-Language (Sorted)|-| 4817 || top_dir || perl=3838,php=648,sh=331 |code]]" into a sub-| 345 || crowdratingarticle.org || perl=345 |-| 172 || jobs || perl=121,php=51 |-| 63 || bm-gateway || python=63 |-| 4 || meditation || perl=4 |-| 3 || docker || sh=3 |-| 0 || atom || (none) |-| 0 || icons || (none) |-| 0 || nginx || (none) |}
{| class="wikitable sortable"
|+ Totals grouped !#!Extension!What does it do? (explain functionality by language (dominant language firstrole: regular-user, talk-editor, client-admin, or sysop)!Maintenance / Last release!Used by WMF!Used by Meza!Used by QualityBox!Example / Notes / Alternatives?
|-
! perl|1|[[mw: Extension:CirrusSearch|CirrusSearch]]| 4308 Extends the core search for MediaWiki to be able to use [[Elasticsearch]]. Elasticsearch provides a much better search capability to all users of the wiki. In particular, it allows DCS to index documents (79file uploads).72%|Continuous|Yes|Yes|Yes|CirrusSearch (Elasticsearch)is vital to the ability to index uploaded files
|-
! php|2|[[mw:Extension:Elastica|Elastica]]| 699 (12Base Elasticsearch functionality by providing the Elastica library; required by CirrusSearch.93%)|Continuous|Yes|Yes|Yes|Required as part of Search
|-
! sh:| 334 (6.18%)3|-!python[[mw:Extension: Nuke|Nuke]]| 63 (1The Nuke extension makes it possible for sysops to [https://demo.qualitybox.us/wiki/Special:Nuke mass delete pages].17%)|}Continuous|Bundled|No<pre>|YesTotal Physical Source Lines of Code (SLOC) = 5|For whatever reason,404Development Effort Estimate, Person-Years (Person-Months) = 1the DCSNuke extension intercepts page requests for the Nuke special page. DCSNuke has no added functionality.18 (14The DCSNuke code is roughly equivalent to the REL1_20 release of Nuke; and the current Nuke extension offers more functionality.11) (Basic COCOMO modelI thought that potentially the reason to use a cloned extension was to totally customize the interface language strings, Person-Months = 2.4 * but that's not the case<ref>meld <(KSLOC**1curl https://raw.05))Schedule Estimate, Years (Months) = 0githubusercontent.57 (6com/debtcompliance/mediawiki/master/extensions/DcsNuke/i18n/en.84json?token=AACV4LWLt32dJzNg2zqcDRP_QZ6ecfOvks5bDx4MwA%3D%3D) <(Basic COCOMO model, Months = 2curl https://raw.githubusercontent.5 * (personcom/wikimedia/mediawiki-extensions-months**0.38))Estimated Average Number of Developers (EffortNuke/master/Schedule) = 2.06Total Estimated Cost to Develop = $ 158,852 (average salary = $56,286i18n/year, overhead = 2en.40json).</preref>. Remove DCSNuke.
'''DcsNuke is not just a clone, as described in the Github wiki Extensions page: it adds a new field for supplying a title pattern to select the deletion candidates by. Other criteria could be added later such as restricting to category.'''
== "Regular" Extensions =={| class="wikitable sortable"|-! Extension! Used by WMF projects?! What The custom DcsNuke extension does it do? ! Maintenance / Last release ! Used by Meza! Used by QualityBox! Alternative Extension|-| [https://www.mediawiki.org/wiki/Extension:CirrusSearch CirrusSearch] | YES| Extends the core search for MediaWiki to be able to use [https://en.wikipedia.org/wiki/Elasticsearch Elasticsearch]| Continuous | Yes| Yes| |-| [https://www.mediawiki.org/wiki/Extension:Cite Cite] | Bundled| Provides <nowiki><references /> and <ref></ref></nowiki> tags| Continuous| Yes| Yes| |-| [https://www.mediawiki.org/wiki/Extension:CiteThisPage CiteThisPage] | Bundled| Provides [https://demo.qualitybox.us/wiki/Special:CiteThisPage Cite This Page] Special Page.| Continuous | No| Yes| UNUSED|-| [https://www.mediawiki.org/wiki/Extension:ConfirmEdit ConfirmEdit]| Bundled| Adds CAPTCHAs for page saves and other user actions to protect against spam and password-guessing| Continuous| No| Yes| UNUSED|-| [https://www.mediawiki.org/wiki/Extension:Elastica Elastica] | YES| Base Elasticsearch functionality by providing the Elastica library; required by CirrusSearch.| Continuous| Yes| Yes| |-| [https://www.mediawiki.org/wiki/Extension:Gadgets Gadgets] | Bundled| Provides a way for users to pick JavaScript or CSS based "gadgets" that other wiki users not provide. | Continuous | No| Yes| UNUSED|-| [https://www.mediawiki.org/wiki/Extension:ImageMap ImageMap] | Bundled| The ImageMap extension allows clickable image maps.| Continuous | Yes| Yes| UNUSED|-| [https://www.mediawiki.org/wiki/Extension:InputBox InputBox ]| Bundled| The InputBox extension adds already created HTML forms to wiki pages.| Continuous| Yes| Yes| UNUSED|-| [https://www.mediawiki.org/wiki/Extension:Interwiki Interwiki]| Bundled| The Interwiki extension adds the "Special:Interwiki" page to MediaWiki, to view and edit the interwiki table, and a log of any actions made with it.| Continuous| Yes| Yes| UNUSED|-| [https://www.mediawiki.org/wiki/Extension:LocalisationUpdate LocalisationUpdate] | Bundled| allows to update the localizations for MediaWiki messages at any time, without needing to upgrade features different from the MediaWiki software.| Continuous| No| No| UNUSED|-| [https://www.mediawiki.org/wiki/Extension:Nuke Nuke] | Bundled| The regular Nuke extension makes it possible for sysops to [https://demo.qualitybox.us/wiki/Special:The regular Nuke mass delete pages].| Continuous| No| Yes| For whatever reason, the DCSNuke extension intercepts page requests shall be included for the Nuke special page. DCSNuke has no added functionality. The DCSNuke code is roughly equivalent to the REL1_20 release of Nuke; and the current Nuke extension offers more functionality. I thought that potentially the reason to use a cloned extension was to totally customize the interface language strings, but that's not the case<ref>meld <(curl https://raw.githubusercontentDCS.com/debtcompliance/mediawiki/master/extensions/DcsNuke/i18n/en.json?token=AACV4LWLt32dJzNg2zqcDRP_QZ6ecfOvks5bDx4MwA%3D%3D) <(curl https://raw.githubusercontent.com/wikimedia/mediawiki-extensions-Nuke/master/i18n/en.json)</ref>. Remove DCSNuke.|-| ParserFunctions| Bundled?| What does it do? | Maintenance / Last release | Meza?| QB?| UNUSED?|-| PdfHandler| Bundled?| What does it do? | Maintenance / Last release | Meza?| QB?| UNUSED?|-| PipeEscape| Bundled?| What does it do? | Maintenance / Last release | Meza?| QB?| UNUSED?|-| Poem| Bundled?| What does it do? | Maintenance / Last release | Meza?| QB?| UNUSED?|-| Renameuser| Bundled?| What does it do? | Maintenance / Last release | Meza?| QB?| UNUSED?
|-
| SimpleMathJax4| Bundled?[[mw:Extension:ParserFunctions|ParserFunctions]]|Enhances the wikitext parser with helpful functions, mostly related to logic and string-handling.| What does it do? Continuous maintenance| Maintenance / Last release Bundled| Meza?Yes| QB?Yes| UNUSED?At the bottom of the Special:Version page, you'll see a list of "Parser Function Hooks" that includes the following custom parser functions defined by DCS extensions: '''amendments''', '''companycomments''', '''compliancechecklist''', '''loans''', '''loansinuse''', '''section'''. Many of the others are provided by the Parser Functions extension: if, ifeq, switch, ifexist, ifexpr, iferror, time, timel, expr, rel2abs, titleparts, len, pos, rpos, sub, count, replace, explode
|-
| SpamBlacklist5| Bundled?[[mw:Extension:Pipe_Escape|PipeEscape]]|The Pipe Escape extension allows for pipe characters in parser function arguments (and template argument calls) avoid being interpreted as an argument delimiter. This is primarily for the purpose of using wiki tables (or parts thereof) inside parser function calls or templates.| What does it do? Old but stable| Maintenance / Last release Bundled| Meza?Yes| QB?Yes| UNUSED?Included via DcsSetup
|-
| SyntaxHighlight_GeSHi6| Bundled?[[mw:Extension:SimpleMathJax|SimpleMathJax]]|The SimpleMathJax extension enables MathJax, a Javascript library, for typesetting TeX formula in MediaWiki inside math environments. This extension will load resources from cdnjs.cloudflare.com on all wiki pages that have math or chem tags.| What does it do? Regular maintenance| Maintenance / Last release No, WMF uses the Math extension| Meza?Yes| QB?Yes| UNUSED?included by DcsSetup.php
|-
| TitleBlacklist7| Bundled?[[mw:Extension:WikiEditor|WikiEditor]]| What does The WikiEditor extension provides an improved interface for editing wikitext. It is the wikitext editing interface that Wikipedia started using in 2010 for desktop users, and so it do? is sometimes called the "2010 wikitext editor".| Maintenance / Last release 0.5.1 (2016-04-15) some oversight by WMF|Bundled| Meza?Yes| QB?Yes| UNUSED?
|-
| WikiEditor8| Bundled?[https://github.com/debtcompliance/mediawiki/wiki/Extensions#dcsamendments DcsAmmendments]|Adds ammendments section to DCS loan pages. Sysop (only) can add/delete/edit/re-order (up/down) the ammendments; UX [https://github.com/debtcompliance/mediawiki/blob/master/extensions/DcsAmmendments/modules/dcsammendments.js implemented in JavaScript]. Extends the API with the same functions. Adds new log type: amendments; and logs all actions.| What does it do? Jan 2018 - new sort functionality ready for testing| Maintenance / Last release no| Meza?no| QB?no| UNUSED?https://clienttest.dm.dcstemporary.com/ARCA14:1.5_Time_References
|-
|}9|[https://github.com/debtcompliance/mediawiki/wiki/Extensions#dcsbaskets DcsBaskets]|This extension allows the utilization column of the Baskets tables to be edited directly using AJAX and saving values into 'basket' tables rather than in the traditional wiki-text revision tables.|1.4.3, 2018-05-25== Custom DCS Extensions ==|no|no|no|"Baskets" can be found in the hierarchy list of the leftnav under the 'Compliance' folder. The page name, by convention, is 'Baskets' e.g. https://clienttest.dm.dcstemporary.com/Baskets This is really neat, and very advanced. However, now that Visual Editor is available, I'd suspect that the user experience of editing large tables in Visual Editor would be much better. '''Replace Baskets with Visual Editor'''
{| class='''We've tested the Visual Editor and found it to be to "wikitable sortableclunky"|-! Extension! Purpose! Last release! Confirm used? + notes|-| DcsAmmendments| Adds ammendments section to DCS loan pages. Sysop (only) can add/delete/edit/re-order (up/down) the ammendments; UX [https://github.com/debtcompliance/mediawiki/blob/master/extensions/DcsAmmendments/modules/dcsammendments.js implemented in JavaScript]. Extends the API with the same functions. Adds new log type: amendments; and logs all actions.| Jan 2018 - new sort functionality ready for testing| yes|-| DcsBaskets| purpose?| release?| yespractical use, that was a year or so back, but based on my own experience I think it would still be considered that way if it was tested again now'''
|-
| DcsCommon10| [https://github.com/debtcompliance/mediawiki/wiki/Extensions#dcscommonDcsCommon]| Cookie handling was [https://github.com/debtcompliance/mediawiki/commit/41b4c2a9af447c25143da7e39d959dae3affd0c8#diff-dfec3a4f5a263c72b06f5ceafcac3408 added on June 14, 2017]. The code (the cookie.js part) is from a project called [https://github.com/js-cookie/js-cookie/blob/master/src/js.cookie.js js-cookie]. So, we could update that code. Or, we could replace it with internal functions so we don't rely on 3rd party code. See the API documentation for [https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.cookie mw.cookie] (Does '''not''' use the $wgCookieSecure configuration variable since 'detect' could not work with
ResourceLoaderStartUpModule; as module cache is not fragmented by protocol.) The mw.cookie (JavaScript) code is syntactically and functionally similar to the server-side cookie API (`[https://doc.wikimedia.org/mediawiki-core/master/php/classWebRequest.html#aa952980c6053a1e23c3ce673eb0f1d6d WebRequest#getCookie]` and `[https://doc.wikimedia.org/mediawiki-core/master/php/classWebResponse.html#a92cfd006677a1d96c3cee8ee3edcccd3 WebResponse#setcookie]`).
https://www.mediawiki.org/wiki/Manual:Hooks/UserSetCookies is deprecated as of REL1_27, and session-handling extensions should be subclassing CookieSessionProvider. [https[mw://www.mediawiki.org/wiki/Manual:$wgSessionProviders |$wgSessionProviders]]
The class creates methods for outputting messages, notices, dates, getting [https[git://gerrit.wikimedia.org/g/mediawiki/core/+/master/includes/content/ContentHandler.php#86 |raw content]].
It loads some javascript (through resource loader). That [https://github.com/debtcompliance/mediawiki/blob/master/extensions/DcsCommon/modules/dcscommon.js javascript] could more easily be maintained as MediaWiki:Common.js? although there may be load order issues. The JS defines like-named methods with varying features. E.g. <blockquote>Check if the passed page title string is in a loan namespace, returns boolean. Note that this function only checks if the namespace is in the list of all loan namespaces, it doesn't do any checks for whether the namespace is in use, or whether the title is in a DCS_TOC article like the DcsCommon::isLoanPage PHP function.</blockquote>
The series of extensions create [https://github.com/debtcompliance/mediawiki/blob/bf8a1096e71d2e997c626b9d6e33b4799ba4a87e/extensions/DcsEmailLink/DcsEmailLink.php#L4 DcsInit()] (in DcsEmailLink), DcsBlockPageAccess(), and DcsReady() hook functions. DcsReady() implementations are different across different classes from Basket to [https://github.com/debtcompliance/mediawiki/blob/93999818fd46c2075638120b12d4f684968daa90/extensions/DcsSingleSignOn/DcsSingleSignOn.php#L42 DcsSingleSignOn].
| The 'common' extension creates a singleton instance of the DcsCommon class that does a bunch of things according to [https://github.com/debtcompliance/mediawiki/wiki/Extensions#dcscommon notes in the wiki]. The permissions shouldn't really be hidden away in the class code. They should simply be in LocalSettings.php. onUserGetRights() is a big function. The 'self:cache' is mostly called in connection with 'isLocal'. Any true caching should just be offloaded to APC and memcache. Although there is no 'dcs' table in the database on dcsTemporary, the [https://github.com/debtcompliance/mediawiki/blob/master/extensions/DcsCommon/DcsCommon.php#L653 setData()] method is used throughout the codebase so should update [https://github.com/debtcompliance/mediawiki/wiki/Extensions#dcscommon wiki] about where this data is stored. '''set/getData is for storing arbitrary DCS data in the dcs db table. Agreed that this extension needs cleaning up.'''|recent|no|no|no|pervasive
|-
| 11|[https://github.com/debtcompliance/mediawiki/wiki/Compliance-Checklist DcsComplianceChecklist]|Provides a dropdown list of loans and responsibility terms by which the table can be filtered on the Checklist page (by convention). The parser function creates the page contents and form controls.|recent (2017 - 2018)|no| purpose?no| release?no| yese.g. https://clienttest.dm.dcstemporary.com/Checklist
|-
|12| DcsComplianceChecklist2 | purpose?| release?|no|no|no| only used in the '''checktest''' subdomain, or when `wgLocalTesting`; intention is to use a timestamp condition. '''This is in progress, the requirements of the checklist are simpler now and version 2 is just about stripping out a bunch of obsolete functionality.'''
|-
| 13|[https://github.com/debtcompliance/mediawiki/tree/master/extensions/DcsEmailLinkDcsEmailLink]|Allows you to send a link to a page in the wiki. Activated by the "Email Link" item in the primary navigation across the top of the page. Similar to the "Email Page" extension by Aran, which is also used.|11 months ago|no| purpose?no| release?no| yesvisit any page
|-
| 14|[https://github.com/debtcompliance/mediawiki/wiki/Extensions#dcsexportterms DcsExportTerms]|Allows terms to be downloaded in Comma Separated Value (CSV) format. CSV is easily imported to a spreadsheet.|recent|no| purpose?no| release?no| yesVisit https://clienttest.dm.dcstemporary.com/Category:Terms and you will see a "Export Terms" action in the primary navigation across the top of the page.
|-
| 15|[https://github.com/debtcompliance/mediawiki/wiki/Extensions#dcsfindtitle DcsFindTitle]| purpose?helps to find a title regardless of case-sensitivity of the system.| release?recent| yesno|-no| DcsGroupAdminno| purposeintegrates with the API, however I'm unsure where it's visible/usable to the user. I believe it's used from the Ruby side to create links that will match a wiki page even if there is a case mismatch. If you wish to navigate to https://clienttest.dm.dcstemporary.com/ARCA14:TOC but request https://clienttest.dm.dcstemporary.com/arca14:toc instead, you'll get a 404 Not Found error. If you request https://clienttest.dm.dcstemporary.com/arca14:toc?action=findtitle then you will be redirected to the proper article.| release?| yes'''This uses ApiBeforeMain and APIAfterExecute hooks to modify the API query prop=info to make it case-insensitive.'''
|-
| DcsJobAdmin16| purpose?[https://github.com/debtcompliance/mediawiki/wiki/Extensions#dcsgroupadmin DcsGroupAdmin]| release?Leverages the DcsBlockPageAccess hook to allow/disallow access to files and namespaces.| yesrecent|no|no|no|https://clienttest.dm.dcstemporary.com/Special:DcsGroupAdmin/equality
|-
| DcsLoanPages17| purpose?| release?| yes[https://github.com/debtcompliance/mediawiki/tree/master/extensions/DcsJobAdmin DcsJobAdmin]|See [https://github.com/debtcompliance/mediawiki/wiki/Background-| DcsNamespaces| purpose?| release?| yes|-| DcsNuke| purpose?| release?| yesjobs Background info on Background jobs]. REPLACE with Creates a Special Page [https://wwwclienttest.mediawikidm.dcstemporary.orgcom/wiki/ExtensionSpecial:DcsJobAdmin Special:Nuke standard Nuke extensionDcsJobAdmin]where you can start a new job; or view current and historical jobs. Each job type loads it's own form into the Admin page. The job runner extends the Maintenance class, and loops over running jobs to provide some progress reporting. It saves the most recent 10 jobs to a 'history' list.|-| DcsSearch| purpose?| release?| yes|-| DcsSection| purpose?| release?| yes|-| DcsSection2| purpose?| release?| NO|-| DcsSingleSignOn| purpose?| release?| yes|-| DcsSkin| purpose?| release?| usage?|-| DcsTitle| purpose?| release?| yes|-| DcsUploadedFiles| purpose?| release?| yes|-| DcsUserDisable| purpose?| release?| yes|-| DcsWatchComments| purpose?| release?| yes|-|}There are functions in the code for:
== Organic Design extensions ==* Return a list of the currently running jobs sorted by start time.# Accordian* Add a job to the 'history' list of jobs executed (list is limited to 10 items).# AddLinkClasses* Get a 'history' list of the last 10 jobs# AjaxComments* Get job data (both current and history)# ArticleProperties* shell_exec() to the process table to find DcsJobRunner. Return the currently running jobs by Process ID (PID)# Bliki* register the PHP code classes for each job type: # CodeTidy** Change Namespace# CurrentPages** EditTest# CurrentUsers** Import# Download** ImportXML# EmailPage** Links# EmailToWiki** PhpTest# EximMailList** ReplaceText# ExtraMagic# FaceBook# FileAttach# FormMailer# HighlightJS# InterWiki# jQueryUpload# jQueryUpload2# Ligmincha# LinkAttributes# LinkTree# NukeDPL# ODMaps# OrganicDesign# PdfBook# RecentActivity# SimpleCalendar# TransformChanges# TreeAndMenu# UserLoginLog# UserProfiles# Variables# WebSocket# WikiaAdmin# WikiaInfo** UpgradeAttachments
Each (or almost all?) PHP file is backed by a perl file which was the basis for the PHP development. Everything is written twice because it all started back when the best framework for handling MediaWiki jobs was a perl bot framework. Things have changed significantly over the recent past for [[mw:Manual:Job_queue|MediaWiki's job queue]].
According to [https://github.com/debtcompliance/mediawiki/wiki/Extensions#dcsjobadmin the documentation], it allows you to manage jobs. But, I'm wondering how much this is actually used? The job queue should be run automatically by cron, and the administrative user shouldn't have to worry about it really. If there is a usage pattern where job execution is time sensitive, there is a use for an Admin function; but I'm curious about the usage patterns that create large or numerous jobs. Otherwise, set wgJobRunRate to zero, and put it into cron `0 0 * * * root /usr/bin/php /var/www/example.com/www/w/maintenance/runJobs.php > /var/log/runJobs.log 2>&1`
'''These jobs aren't just the standard MW maintenance jobs, they're DCS-specific jobs that need to run in the background as they often need to do intensive manipulation of thousands of articles. The special page is the interface to these jobs allowing parameters to be set for them and stopping/starting/cancelling/pausing them etc, as well as getting feedback on their progress or errors etc.'''
|2018-05-25
|no
|no
|no
|
|-
|18
|[https://github.com/debtcompliance/mediawiki/wiki/Extensions#dcsloanpages DcsLoanPages]
|creates "backlinks" which are links to content that contain a particular keyword or phrase found in a loan document. It also creates the <nowiki>"< Prev" and "Next >"</nowiki> navigation links (called 'breadcrumbs' in the code, but actually these are 'pager' links not breadcrumbs).
|recent
|no
|no
|no
|If you go to a page like https://clienttest.dm.dcstemporary.com/ARCA14:Agreement You will see a large section of content called '''Index to ARCA14 pages containing "Agreement""'' So, in other words, it's a list of links to pages of the ARCA14 loan that have the word "Agreement" in them. These links are created by the extension.
 == Special:Version ==This is what you'll see reported by ''They wanted the "[https://clienttest.dm.dcstemporary.com/Special:Version Special:Version]" page backlinks at the bottom of the wiki === Installed skins === {| class="wikitable sortable"|- | align=center| '''Skin'''| align=center| '''Version'''| align=center| '''License'''| align=center| '''Description'''| align=center| '''Authorspage not in a separate special page'''
|-
| 19| [https://wwwgithub.com/debtcompliance/mediawiki.org/wiki/Skin:Cologne_Blue Cologne BlueExtensions#dcsnamespaces DcsNamespaces]| | –| | [Manages the segregation of loan documents into their own separate namespaces. Also provides some functionality around moving/deleting/renaming namespaces via the https://clienttest.dm.dcstemporary.com/Special:Version/License/Cologne_Blue GPL-2DcsNamespaces special page.0+]| recent| A lightweight skin with minimal formattingno| no| Lee Daniel Crocker and othersno|e.g. https://clienttest.dm.dcstemporary.com/Special:DcsNamespaces
|-
| 20| [http://www.debtcompliance.com/ DcsSkin]DcsNuke| purpose?| 3.0.2, 2016-07-01release?| no| [http://www.debtcompliance.com/ Copyright © 2007-2018 Debt Compliance Services]no| | DCS skin desgined to match the QAR appno| | REPLACE with [[httpmw://www.organicdesign.co.nz/aran Aran DunkleyExtension:Nuke|standard Nuke extension]] '''See notes in Nuke above, this is not a replica of Nuke'''
|-
| | [https://www.mediawiki.org/wiki/Skin:Modern Modern]21| | –DcsSearch| | [Extends the Elasticsearch backend with additional business logic, and new features and UX (saving search "favorites" and indexing link paths traversed in connection with a search query). See https://clienttest.dm.dcstemporarygithub.com/Special:Versiondebtcompliance/mediawiki/Licensewiki/Modern GPLSearch-2.0+]&-sorting|a year ago| no| A blue/gray theme with sidebar and top bar. Derived from MonoBookno| no| River Tarnell and otherse.g. See the "heart" symbol next to the search box which implements the "favorites" feature.
|-
| 22| [https://wwwgithub.com/debtcompliance/mediawiki.org/wiki/Skin:MonoBook MonoBookExtensions#dcssection DcsSection]| Allows for loan documents to be imported into the wiki as multiple articles. Creates a 'section reference' capability.| in progress (v2)| no| [https://clienttest.dm.dcstemporary.com/Special:Version/License/MonoBook GPL-2.0+]no| | The classic MediaWiki skin since 2004, named after the black-and-white photo of a book in the page backgroundno| | Gabriel Wicke and others
|-
| 23| [https://www.mediawiki.org/wiki/Skin:Vector Vector]DcsSection2| purpose?| release?| no| [https://clienttest.dm.dcstemporary.com/Special:Version/License/Vector GPL-2.0+]no| no| Modern version Unused - at least not on the development machine which is a clone of MonoBook with fresh look and many usability improvements| | Trevor Parscal, Roan Kattouw and othersproduction.
'''There is a lot of obsolete and patched functionality in this extension, a version 2 was about to be started to strip all this out'''
|-
|}24|[https://github.com/debtcompliance/mediawiki/wiki/SSO-2017-specification DcsSingleSignOn]|Create a master/slave relationship with the Ruby on Rails application as the authentication and group mangement source; with the MediaWiki application synchronizing user information into it's local database.|2017 major update=== Installed extensions ===|no|no{| class="wikitable sortable"no|For testing, you can access /wiki/extensions/dcs/DcsSingleSignOn/testLogin.php
|-
| colspan="5" align=center| '''Special pages'''25|- style="background-color:#f2f2f2;border[https:0//github.05pt solid com/debtcompliance/mediawiki/wiki#aaaaaa;padding:0.0194in;"the-dcs-skin DcsSkin]| align=center| '''Extension'Custom 'style'to match DCS website / frontend QAR app| align=center3.0.2, 2016-07-01| '''Version'''no| align=center| '''License'''no| align=center| '''Description'''no| align=center| '''Authors'''Skin by Aran Dunkley
|-
| 26| [httphttps://wwwgithub.com/debtcompliance.com/ DcsGroupAdminmediawiki/wiki/The-DcsTitle-class DcsTitle]| | 1Extends the regular MediaWiki title object class.2Creates a custom cache of the TOC.0, 2015-06-26| recent| [http://www.debtcompliance.com/ Copyright © 2007-2018 Debt Compliance Services]no| no| A special page for managing DCS groups and accessno| | [http://www.organicdesign.co.nz/aran Aran Dunkley]yes
|-
| 27| [httphttps://www.debtcompliancegithub.com/ DcsJobAdmin]| | 4.0.0, 2017-06-28| | [http:debtcompliance/mediawiki/www.debtcompliance.comwiki/ Copyright © 2007-2018 Debt Compliance ServicesExtensions#dcsuploadedfiles DcsUploadedFiles]| | A Creates a special page for managing DCS jobs that run in listing all the backgroundfiles uploaded to loan documents orderd by loan namepsace then by article|a year ago| no| [httpno|no|https://wwwclienttest.organicdesigndm.codcstemporary.nzcom/aran Aran Dunkley]Special:DcsUploadedFiles
|-
| 28|DcsUserDisable| [http:Adds 'enable//www.debtcompliance.com/ DcsSearch]disable' links to the User list|a year ago| no| 2.4.2, 2017-01-27no| no| [httphttps://wwwclienttest.dm.debtcompliancedcstemporary.com/ Copyright © 2007-2018 Debt Compliance Services]| | Renders the search dropdown with favourite terms list, and allows users to track Special:ListUsers Why not use the pages they've visited from search results of their favorite terms| | [httphttps://wwwclienttest.organicdesigndm.codcstemporary.nzcom/aran Aran DunkleySpecial:Block Special:Block]functionality built into core?I believe it's every bit as accessible through the API and thus could be used from QAR.
|-
| 29| [httphttps://www.debtcompliancegithub.com/ DcsUploadedFiles]| | 1.3.0, 2017-07-08| | [http://www.debtcompliance.com/ Copyright © 2007-2018 Debt Compliance Services]| | A special page for listing the files uploaded to loan pages| | [http://www.organicdesign.co.nz/aran Aran Dunkley]|-| | [https://www.mediawiki.org/wiki/Extension:EmailPage EmailPageExtensions#dcswatchcomments DcsWatchComments]| | 2.4.4, 2017-04-26| | [https://clienttest.dm.dcstemporary.com/Special:Version/License/EmailPage GPL-2.0+]| | Send rendered HTML page Adds subscription to an e-mail address or list of addresses using&nbsp;[http://phpmailer.sourceforge.net/ phpmailer]| | [http://www.organicdesign.co.nz/aran Aran Dunkley]|-| | [http://www.organicdesign.co.nz/jQueryUpload jQueryUpload]| | 1.4.5, 2016-08-28| | [https://www.gnu.org/licenses/gpl-2.0.html GNU ][https://www.gnu.org/licenses/gpl-2.0.html General Public Licence 2.0]&nbsp;or later| | Allows files to be uploaded to the wiki or to specific talk pages using the jQueryFileUpload module| | [http://www.organicdesign.co.nz/aran Aran ][http://www.organicdesign.co.nz/aran Dunkley]&nbsp;and&nbsp;[http://blueimp.net/ Sebastian Tschan]|-release?| | [https://www.mediawiki.org/wiki/Extension:Nuke Nuke]no| | 1.2.0no| | [https://clienttest.dm.dcstemporary.com/Special:Version/License/Nuke GPL-2.0+]no| | Gives administrators the ability to&nbsp;When I view my normal [https://clienttest.dm.dcstemporary.com/Special:Nuke mass delete]&nbsp;pages| | Brion Vibber and Jeroen De Dauw|- | colspan="5" | |- style="background-color:#f2f2f2;border:0.05pt solid #aaaaaa;padding:0.0194in;"| colspan="5" align=center| EditWatchlist MediaWiki 'WatchList'], I don'Parser hooks'''|- style="background-color:#f2f2f2;border:0t see any loan talk pages added.05pt solid #aaaaaa;padding:0I only see my user page.0194in;"| align=center| '''Extension'''| align=center| '''Version'''| align=center| '''License'''| align=center| '''Description'''| align=center| '''Authors''This functionality doesn'|-| | [http://www.debtcompliance.com/ DcsComplianceChecklist]| | 1.24.2, 2016-05-10| | [http://www.debtcompliance.com/ Copyright © 2007-2018 Debt Compliance Services]| | Creates the #ComplianceChecklist parser-function| | [http://www.organicdesign.co.nz/aran Aran Dunkley]|-| | [http://www.organicdesign.co.nz/Extension:ExtraMagic.php ExtraMagic]| | 3.8.0, 2015-010-04| | [https://www.gnu.org/licenses/gpl-2.0.html GNU General Public Licence 2.0]&nbsp;or later| | Adds useful variables and parser functions| | [http://www.organicdesign.co.nz/aran Aran Dunkley]|-| | [https://www.mediawiki.org/wiki/Extension:ParserFunctions ParserFunctions]| | 1.6.0| | [https://clienttest.dm.dcstemporary.com/Special:Version/License/ParserFunctions GPL-2.0]| | Enhance parser with logical functions| | Tim Starling, Robert Rohde, Ross McClure and Juraj Simlovic|-| | [http://www.mediawiki.org/wiki/Extension:TreeAndMenu PdfBook]| | 1.5.2, 2017-05-15| | [https://www.gnu.org/licenses/gpl-2.0.html GNU General Public Licence 2.0]&nbsp;or later| | pdfbook-desc| | [http://www.organicdesign.co.nz/aran Aran Dunkley]|-| | [https://www.mediawiki.org/wiki/Extension:Pipe_Escape Pipe Escape]| | 2.0.0.&nbsp;[https://phabricator.wikimedia.org/r/revision/mediawiki/extensions/PipeEscape;a36d2d6969fa0b86e1ac293b34b6b77f2df26576 (a36d2d6)]23:54, 4 May 2016| | [https://clienttest.dm.dcstemporary.com/Special:Version/License/Pipe_Escape GPL-2.0+]| | Parser function&nbsp;<span style="background-color:#f9f9f9;"><tt><nowiki>#!</nowiki></tt></span>&nbsp;for when you want a pipe character to be just a pipe character| | David M. Sledge and Purodha Blissenbach|-| | [http://www.mediawiki.org/wiki/Extension:TreeAndMenu TreeAndMenu]| | 4.2.1, 2016-05-24| | [https://www.gnu.org/licenses/gpl-2.0.html GNU General Public Licence 2.0]&nbsp;or later| | Adds&nbsp;<span style="background-color:#f9f9f9;"><tt><nowiki>#tree</nowiki></tt></span>&nbsp;and&nbsp;<span style="background-color:#f9f9f9;"><tt><nowiki>#menu</nowiki></tt></span>&nbsp;parser functions which contain bullet-lists t apply to be rendered as collapsible treeviews or dropdown menus. The treeviews use the&nbsp;[http://wwwendt.de/tech/fancytree FancyTree]&nbsp;JavaScript tree menuMW watchlist, and it's on the dropdown menus use&nbsp;[http://www.htmldog.com/articles/suckerfish/dropdowns/ Son of Suckerfish]| | [http://www.organicdesign.co.nz/aran Aran Dunkley]|- | colspan="5" | |- style="background-color:#f2f2f2;border:0.05pt solid #aaaaaa;padding:0.0194in;"| colspan="5" align=center| '''Other'''|- style="background-color:#f2f2f2;border:0.05pt solid #aaaaaa;padding:0.0194in;"| align=center| '''Extension''Company Comments page'| align=center| '''Version'''| align=center| '''License'''| align=center| '''Description'''| align=center| '''Authors'''|-| | [http://www.mediawiki.org/wiki/Extension:AjaxComments AjaxComments]| | 2.7.2, 2017-03-08| | [https://www.gnu.org/licenses/gpl-2.0.html GNU General Public Licence 2.0]&nbsp;or later| | Add comments to the end of the page that can be edited, deleted or replied to instead of using the talk pages| | [http://www.organicdesign.co.nz/aran Aran Dunkley]|-| | [https://www.mediawiki.org/wiki/Extension:CirrusSearch CirrusSearch]| | 0.2&nbsp;[https://phabricator.wikimedia.org/r/revision/mediawiki/extensions/CirrusSearch;dcb0cf934a76a326aee728166e517fd1b74422e2 (dcb0cf9)]21:22, 4 May 2016| | [https://clienttest.dm.dcstemporary.com/Special:Version/License/CirrusSearch GPL-2.0+]| | Elasticsearch-powered search for MediaWiki| | Nik Everett, Chad Horohoe, Erik Bernhardson and&nbsp;[https://clienttest.dm.dcstemporary.com/Special:Version/Credits/CirrusSearch others]|-| | [http://www.debtcompliance.com/ DcsAmmendments]| | 1.1.0, 2018-01-20| | [http://www.debtcompliance.com/ Copyright © 2015-2018 Debt Compliance Services]| | Adds ammendments section to DCS loan pages| | [http://www.organicdesign.co.nz/aran Aran Dunkley]|-| | [http://www.debtcompliance.com/ DcsBaskets]| | 1.4.2, 2016-08-08| | [http://www.debtcompliance.com/ Copyright © 2007-2018 Debt Compliance Services]| | Allows fields in Baskets table to be updated via AJAX| | [http://www.organicdesign.co.nz/aran Aran Dunkley]
|-
| 30| [httphttps://www.debtcompliancegithub.com/ DcsCommonOrganicDesign/extensions/tree/master/MediaWiki/AjaxComments AjaxComments]| | 5.1.1, 2018-01-25| | [http://www.debtcompliance.com/ Copyright © 2007-2018 Debt Compliance Services]| | DCS common functionality| | [http://www.organicdesign.co.nz/aran Aran Dunkley]
|-
| 31| [http[mw://wwwExtension:EmailPage|EmailPage]]|Adds a special page that allows you to send the rendered HTML contents of a wiki page to a recipient (or list).debtcomplianceDependant on PHPMailer (5.com/ DcsEmailLink]2.23)| | 02.04.1, 4 (2017-0704-1226)| | Used by [[httpwikiapiary://www.debtcompliance.com/ Copyright © 2017-2018 Debt Compliance ServicesExtension:EmailPage|at least 38 wikis]]| no|no| Adds a new Activated by the "EmailLinkEmail" action which can match a title case-insensitvely| | [http://www.organicdesign.coitem in the primary navigation across the top of the page.nz/aran Aran Dunkley]
|-
| 32| [httphttps://www.debtcompliancegithub.com/ DcsExportTermsOrganicDesign/extensions/blob/master/MediaWiki/ExtraMagic/ExtraMagic_body.php ExtraMagic]| Adds extra [[mw:Help:Magic_words| 2Magic Words]] and Parser functions.0.1, 2017-03-20| | [http://www.debtcompliance.com/ Copyright © 2007-2018 Debt Compliance Services]| | Add an export action to the that allows terms to be downloaded in CSV format| | [http://www.organicdesign.co.nz/aran Aran Dunkley]
|-
| | [http://www.debtcompliance.com/ DcsFindTitle]
| | 1.1.0, 2017-01-30
| | [http://www.debtcompliance.com/ Copyright © 2007-2018 Debt Compliance Services]
| | Adds a new "find" action which can match a title case-insensitvely
| | [http://www.organicdesign.co.nz/aran Aran Dunkley]
|-
| 33| [httphttps://www.debtcompliancegithub.com/ DcsLoanPagesOrganicDesign/extensions/tree/master/MediaWiki/jQueryUpload jQueryUpload]| | 2v1.4.5.2, 2016-0508-1728| | [http://www.debtcompliance.com/ Copyright © 2007-2018 Debt Compliance Services]no| | Adds breadcrumbs, comments and backlinks to DCS loan pagesno| | [http://www.organicdesign.co.nz/aran Aran Dunkley]
|-
| 34| [http[mw:Extension:PdfBook|PdfBook]]|The PdfBook extension composes a book from articles in a category, bullet list, or DPL query; and exports as a PDF file. Depends on [https://www.debtcompliancemsweet.comorg/ DcsNamespacesprojects.php?Z1 HTMLDoc]| | 21.5.0, 20151 (2017-1205-1214)| | Used by [[httpwikiapiary://www.debtcompliance.com/ Copyright © 2007-2018 Debt Compliance ServicesExtension:PdfBook|at least 154 wikis]]| no| A special page for administering loan documents in their own namepsacesno| | [http://www.organicdesign.co.nz/aran Aran Dunkley]
|-
| | [http://www.debtcompliance.com/ DcsNuke]35| | 1.2.2, 2017-01-19| | [http://www.debtcompliance.com/ Copyright © 2007-2018 Debt Compliance Services]| | Gives administrators the ability to mass delete pages| | [httpmw://www.organicdesign.co.nz/aran Aran Dunkley]|-| | [httpExtension://www.debtcompliance.com/ DcsSection2]TreeAndMenu| | 2.0.0, 2018-01-12| | [http://www.debtcompliance.com/ Copyright © 2007-2018 Debt Compliance ServicesTreeAndMenu]| | DCS article section handling extension - new version 2 with individual sub-section article support removed| | [http://www.organicdesign.co.nz/aran Aran Dunkley]|Makes bullet lists into folder trees or dynamic drop-| | [http://www.debtcompliancedown menus.com<br / DcsSingleSignOn]| | 5.1.5, 2017-07-14| | [http:><br //www.debtcompliance.com/ Copyright © 2007>The drop-2018 Debt Compliance Services]| | Allows down menu functionality uses Son of Suckerfish which is 99% CSS, and the tree component is now using the Rails application to manage FancyTree jQuery plugin rather than the login, logout and session expiry for dTree used in previous version of the DCS wikis| | [http://www.organicdesign.co.nz/aran Aran Dunkley]|-| | [http://www.debtcompliance.com/ DcsTitle]| | 1.0TreeAndMenu extension.0, 2017-02-13| | [http://www.debtcompliance.com/ Copyright © 2017-2018 Debt Compliance Services]| | Creates a The new DCS-specific Title class that includes TOC info such as sortkey, next FancyTree has many options and plugins and prev| | [http://www.organicdesign.co.nz/aran Aran Dunkley]|-| | [http://www.debtcompliance.com/ DcsUserDisable]| | 1.3.0is very extendable, 2015-06-26| | [http://www.debtcompliance.com/ Copyright © 2007-2018 Debt Compliance Services]| | Adds acount enable/disable links to please view the user list| | [http://www.organicdesign.co.nz/aran Aran Dunkley]|-| | [http://www.debtcompliancesite and examples for more detail.com/ DcsWatchComments]| | 1.4, 2017-03-09| | [http://www.debtcompliance2.com/ Copyright © 2007-2 (2018 Debt Compliance Services]| | Removes default watchlist functionality and makes all loan comment articles auto-watched| | [http://www.organicdesign.co.nz/aran Aran Dunkley]|01-| | [https://www.mediawiki.org/wiki/Extension:Elastica Elastica]| | 1.3.0.0&nbsp;[https://phabricator.wikimedia.org/r/revision/mediawiki/extensions/Elastica;4607acf9efef0ad5cc236352ada9afe2f1dfdc2b (4607acf31)]22:52, 4 May 2016| | [https://clienttest.dm.dcstemporary.com/Special:Version/License/Elastica GPL-2.0+]| | Base&nbsp;[http://www.elasticsearch.org/ Elasticsearch]&nbsp;functionality for other extensions Used by providing&nbsp;[http://elastica.io/ Elastica]&nbsp;library| | Nik Everett and Chad Horohoe|-| | [httpswikiapiary://www.mediawiki.org/wiki/Extension:WikiEditor WikiEditorTreeAndMenu|at least 137 wikis]]| | 0.5.0| | [https://clienttest.dm.dcstemporary.com/Special:Version/License/WikiEditor GPL-2.0+]no| | Provides an extendable wikitext editing interface and many feature-providing modulesno| | Derk-Jan Hartman, Trevor Parscal, Roan Kattouw, Nimish Gautam and Adam Miller
|-
|}
== Double Check ==
You can visit the "[https://clienttest.dm.dcstemporary.com/Special:Version Special:Version]" page of the wiki. This page shows you exactly what extensions and versions of software are installed and activated on your wiki.
 
== References ==
4,558

edits