User:Mainframe98/Sandbox

__NEWSECTIONLINK__

Installing MediaWiki on Windows Server 2016
Moved to Manual:Installing MediaWiki on Windows Server 2016.

User box building
See Template:User autopatrolled MediaWiki.org.

Parameters
Usage:

API Edit test
Content goes here.

Links

 * Special:PrefixIndex/Toolserver & Special:PrefixIndex/Toolserver:
 * Category:Pages transferred from Toolserver

User pages

 * Listed on Special:PrefixIndex/Toolserver:User:


 * 1) Determine
 * 2) Determine if the page is not a redirect
 * 3) Determine if user exists here
 * 4) Determine if user has user page here
 * 5) Determine if user had subpages on toolserver
 * Act
 * 1) If User exists:
 * 2) *Move Toolserver user page to User:/Toolserver page
 * 3) If User has user pages
 * 4) *Move Toolserver user subpages to User:/Toolserver page/

Files

 * Listed on Special:PrefixIndex/Toolserver:File:

Files are moved to Toolserver:File:, but this caused the image to be lost; these pages do not serve any purpose anymore and aren't used (seeing that there is no image to link to. Some have been imported from commons and can be link fixed. Requires per-case analyses.

Templates

 * Listed on Special:PrefixIndex/Toolserver:Template:

Please note that
 * Template:MovedFromToolserver should be between tags.
 * Duplicates that exist locally already should be deleted (Templates similar to Template:Terminal & Template:!)

Extension API documentation organisation proposal pre-draft

 * One category: MediaWiki Extension API
 * Located on Extension:NAME/API
 * Field in Template:Extension for link to API with category Extensions with documented API

To do
Small list to bridge until able do this all at once,
 * Create Category:Warning templates as seen on Meta - Already done, used wrong link and presumed it didn't exist
 * Copy missing templates to this wiki, request import?
 * Create and work through Category:Archived extensions without an oldid.
 * File a bug report for Special:Diff, when no arguments specified. Also check which translations it uses, as the Dutch one borrows from Special:Move which makes everything even more cryptic

Relevant Extension:Translate links

 * Special:PagePreparation
 * Special:PageMigration
 * Help:Extension:Translate

Actions for Manual:Hooks/getUserPermissionsErrors

 * read
 * create
 * edit
 * patrol
 * protect
 * move
 * move-target
 * move-subpages
 * delete
 * editcontentmodel
 * undelete
 * upload
 * pagelang - Note: This hook is curently not called for changing the page language, see T160783.
 * bigdelete
 * rollback
 * deletedhistory

Phabricator MediaWiki-Vagrant role
Place this on Phabricator or something
 * Enable with vagrant roles enable phabricator
 * Access the installation by navigating to http://phabricator.local.wmftest.net:8080/

Extension amount calculation

 * Amount of documented extensions


 * Amount of archived extensions


 * Percentage of extension archived

Quick phab notes while working on T198552

 * When a task has been assigned a point value on creation, and this value is removed, there is no way to find out what that value was. The removal message should say what the previous value was.
 * Affected tasks: T195236

Installing SQL Server with PHP on Windows Server 2016
This aims at a dev-env, not a production environment.

extension=php_pdo_sqlsrv_72_nts_x64.dll extension=php_sqlsrv_72_nts_x64.dll
 * 1) Obtain SQL Server. Do yourself a favor and get the development or evaluation version. Express is stated not to work and is best kept away from.
 * 2) Set up IIS and PHP according to Manual:Installing MediaWiki on Windows Server 2016.
 * 3) * You may skip enabling the database related extensions in  since we're adding MSSQL specific later anyways.
 * 4) Obtain the Microsoft Drivers for PHP for SQL Server from https://docs.microsoft.com/en-us/sql/connect/php/download-drivers-php-sql-server?view=sql-server-2017
 * 5) Run the installer to extract the files somewhere.
 * 6) Move the PHP extensions to the   folder in the PHP installation folder.
 * 7) * You'll need both the  and the   dll's that match your PHP version. If you've followed Manual:Installing MediaWiki on Windows Server 2016, you'll need the   variant.
 * 8) Add extension loading lines for the dll's you've added to php.ini.
 * 9) * For the non thread-safe 64 bit version of PHP 7.2, you would need to add:

Special:AbuseFilter/83 update
Under discussion at Topic:Vok6n52n7pzzsfnl. (page_namespace == 0) & (page_id == 0) & (user_editcount < 10) & !(user_name contains "(WMF)") & !(lcase(new_wikitext) rlike "#redirect")

could be replaced with  for WMDE/WMSE support.

T262507
gives: