| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some of deleteArchivedFiles.php and deleteArchivedRevisions.php were
split off to deleteArchivedFiles.inc and deleteArchivedRevisions.inc
respectively in r62948 (04b2413aacfd) for use in tests.
The tests no longer use those methods, so I moved them back and inlined
them into execute(). I also did some minor cleanup -- changing direct
calls to tableName() and query() to use query builder functions and
clarifying/fixing some of the logic that was in deleteArchivedFiles.inc.
Change-Id: Ica49dcac18a9c702cffe02e562c6dff48d2d2784
|
|
|
|
|
| |
bug: 40362
Change-Id: I19d3b38a121171153875cde8bef4ca34b3e49d67
|
|
|
|
| |
Change-Id: I2b791d3bff0de464b6bdaaeae0622c065389c31c
|
|
|
|
|
|
|
| |
Added spaces before if, foreach
Added some braces for one line statements
Change-Id: I9657f72996358f8c1c154cea1ea97970d973723c
|
|
|
|
|
|
|
|
|
|
|
|
| |
CodeSniffer sniff is:
[abstract final] [<visibility>] [static] function
As declared by:
PSR2.Methods.MethodDeclaration.StaticBeforeVisibility
in:
https://github.com/wikimedia/mediawiki-tools-codesniffer/blob/master/MediaWiki/ruleset.xml
Change-Id: Ifabd289e8668019ed752bdd711b3b43a9c346336
|
|
|
|
|
|
|
|
|
|
|
| |
This allows sha1 searches with the api in miser mode for deleted files
Added script to populate the rows
Adding new field to selects and handle it in all places, where needed
Using a 10 byte index for the new field per
http://lists.wikimedia.org/pipermail/wikitech-l/2012-September/063429.html
Change-Id: Ie54a513fe361202e63df44be44a0fdd91926c974
|
|
|
|
|
|
|
| |
instead of direct file access use FileRepo api,
this way the script works for remote backends too.
Change-Id: I08c29cec4bc685c422630487b91458d13184fe94
|
|
|
|
| |
Change-Id: I328a3d42a09f2b082ebc153c2f399793e23942d7
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/112339
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/80693
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/69844
|
|
|
|
|
|
|
|
|
| |
Remove unused globals
Add missing global
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/69841
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/66751
|
|
|
|
|
|
|
| |
* Make it possible to call deleteArchived{Revisions,Files} from within tests to do cleanup.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/62948
|
|
|
|
|
|
|
|
|
|
|
| |
* Docs have been updated to indicate the standard on how to write maintenance scripts (MW.org docs will follow) Have ported vast majority of maintenance scripts to new format. Remaining ones (mostly FiveUpgrade-related) are a bit more tricky. commandLine.inc is untouched for now. Many have gotten code-style updates as well. Deleted .inc files were only used by their .php counterparts, and have been merged into single files.
* (bug 11867) Lock error on redirect table when running orphans.php
* (bug 16322) Allow maintenance scripts to accept DB user/pass over input or params
* (bug 18566) Maintenance script to un/protect pages
* initStats overhaul, now uses class SiteStatsInit. Also fixes bug 18930
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/54225
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/53532
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/53531
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/53528
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Doxygen documentation update:
* Changed alls @addtogroup to @ingroup. @addtogroup adds the comment to the group description, but doesn't add the file, class, function, ... to the group like @ingroup does. See for example http://svn.wikimedia.org/doc/group__SpecialPage.html where it's impossible to see related files, classes, ... that should belong to that group.
* Added @file to file description, it seems that it should be explicitely decalred for file descriptions, otherwise doxygen will think that the comment document the first class, variabled, function, ... that is in that file.
* Removed some empty comments
* Removed some ?>
Added following groups:
* ExternalStorage
* JobQueue
* MaintenanceLanguage
One more thing: there are still a lot of warnings when generating the doc.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/35098
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/32662
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/22823
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/22127
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/22091
|
|
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/22090
|