Brad Jorsch
6ee605a088
Use User::newSystemUser when available
...
Change-Id: I0be561ff0a28a728451224239e20f243543c311d
2016-05-13 14:35:41 -04:00
Aaron Schulz
806afda7ab
Removed useless begin/commit calls from CLI script
...
Change-Id: I87447b67de7f1f99c5fb3c08d4d07b9ebe061605
2015-12-08 13:56:52 -08:00
Tim Starling
99fd741253
Update User::addToDatabase() call for I1f6ef5e6319bfe692fb82a3fa50dc66c9fde8f15
...
Change-Id: Ie172f77597059424dfef1ea575d422eed69684d9
2012-10-09 01:39:29 +02:00
Siebrand Mazeland
e9874344aa
Maintenance for SpamBlacklist extension.
...
* Replace deprecated methods. MediaWiki 1.19 required.
* Replace <tt> with <code>.
* Update documentation.
* Use WikiPage instead of Article for doEdit().
* Use __DIR__ instead of dirname( __FILE__ ).
* Remove superfluous newlines.
Change-Id: I3a0e42ca404638f7c7934c316735ad11cbc99d42
2012-09-03 16:50:18 +02:00
Sam Reed
d6131ea82d
Kill/update callers for some deprecated code
2011-05-06 23:52:52 +00:00
Alexandre Emsenhuber
56ee985a78
Changed usage of Article::updateArticle() to Article::doEdit(), also removed call to wfDoUpdates() since it's not needed anymore
2010-12-18 18:42:13 +00:00
Alexandre Emsenhuber
5937f6f3d2
Remove duplicate delcaration wfDoUpdates(); I don't this extension supports such old MediaWiki versions ;)
2010-12-05 19:56:17 +00:00
Tim Starling
c9d346125c
* Revert r66878, completely misses the point of factoring out doEdit() in the first place, which was to separate the UI layer from the backend layer, to support callers with alternate UIs or no UIs.
...
* Reverted followup 66880.
* Reverted dependent changes r67752, r68606, r68608, r68609. The point of deprecating insertArticle()/updateArticle() was to allow the UI code to be moved to EditPage. If you move that exact EditPage-specific functionality back into Article::doEdit(), and call it from all sorts of non-EditPage places, then we'll hit the same sorts of bugs we had before r14834.
2010-08-09 08:33:42 +00:00
Sam Reed
b40ba3d1c3
Remove some more unused globals/variables
2010-07-26 21:42:17 +00:00
Max Semenik
314158f034
Got rid of remaining usages of immediateBegin()/immediateCommit(), marked these functions with wfDeprecated()
2010-07-05 19:47:46 +00:00
Matěj Grabovský
7d17d91168
Follow-up r68606, per comments:
...
* Fixed use of deprecated Article::insertNewArticle and Article::updateArticle in extensions
2010-06-26 19:52:29 +00:00
Chad Horohoe
e3978dc584
Get rid of the last (I think) php4-style calls to wfGetDB()
2010-02-13 23:03:40 +00:00
Antoine Musso
55fbcdc9a6
remove some ending whitespaces
2007-01-06 20:56:46 +00:00
Brion Vibber
9bb2bc11fa
Split giant regexes so PCRE stops screaming about them.
...
Haven't tested cleanup.php
2006-09-18 09:56:57 +00:00
Brion Vibber
3f5145d746
Live fix: improved reporting
2006-04-02 03:50:06 +00:00
Tim Starling
233eeb2262
some tweaks
2006-01-21 23:27:39 +00:00
Tim Starling
9c1a3d9cb9
Script to quickly and aggressively clean spam off a wiki. Well, reasonably quickly, it needs to do a linear search of the entire text which might take a while. But there is no human interaction required.
2006-01-19 17:17:03 +00:00