Why:
- When deleting pages created by temporary accounts via inputting an IP
address, it's useful to see which temporary accounts were involved in
creating the pages. This is currently not displayed because
$row->rc_user_text is not set
What:
- Fetch the actor_name field unconditionally
- Display the page using the actor_name field
- Update tests for the change
Bug: T342785
Change-Id: Ic4112985874343ede78c4571bdfccc58977c5345
Why:
- If submitting the form with no conditions, the `$actornames` variable
will be an array with a single empty string, which means the WHERE
clause won't find any matches
What:
- Only add actor names to the WHERE clause if the array contains names
to check
Bug: T342785
Change-Id: I7f407695583c1d7ebaf81d116578bd336adc5c7f
- Adds a soft dependency on CheckUser
- Lists pages created by IP user or temp acccounts associated with IP
address when the lookup is available
Bug: T342785
Depends-On: I45a18f1fcf1a17bdaeefabebcd2f67a946a2cc2e
Change-Id: Idcdd7d787180e8e99fdcbe856e4fc237d9721824
- Add tests to reach 100% coverage
- Ignore some methods which are simple enough
- Change some tests to fit with the new ones
Change-Id: Ic15d4431dc8509ac2732ebce7517522e27d8f5a3
Added talk page links to aid in uncovering which talk pages may require further inspection. Also reorganised the information a little, made some terminology consistent, and added a .less file to store Nuke styles.
Bug: T364143
Change-Id: I76b9bbb939afde1d7d951925818fd15f40022ead
When pages are redirects, admins may not want to delete them, as they are less likely to contain bad content. This patch highlights them by using the allpagesredirect styling which provides the same italicizing behaviour for Special:AllPages.
Bug: T278625
Change-Id: I027cad868ed13190424612d1f9c2bdaf6456f49e
The search is against the MediaWiki-DB-encoded title (with '_' for space
and initial uppercase letter): these constraints are converted in this
patch to let the user use MediaWiki-displayed titles if they want.
It was taken care about of the configuration-specific case where some
namespaces are first-case-insensitive but other namespaces are first-case-
sensitive, by partitioning the namespace space into to distinct spaces.
Bug: T234726
Co-authored-by: Chlod Alejandro <chlod@chlod.net>
Change-Id: Id83832c256660b691a896113c98641700ed02707
Join "page" table to query current page name for moved pages.
Bug: T43351
Co-authored-by: Chlod Alejandro <chlod@chlod.net>
Change-Id: I127bc413c8ef25bbc24cb27b2cdc6d1ec08142ab
For example:
* Remove redundant PHPDoc blocks that just duplicate existing
information and aren't needed any more with our current PHPCS
rule set.
* Add some very obvious type declarations.
* Use ??= where it makes sense.
Change-Id: I5c182cc961c6eeccead79ff49b0376eee2418acf
This code isn't even generating XML. I'm intentionally leaving a few
Xml::… usages behind that are more complicated. This is for later
patches.
Bug: T341775
Change-Id: Icc693968f0cf726b8ed616c38b7cfd422f481da5
As an Iranian, I'm a big fan of this extension so I decided to update
some parts of it to use new rdbms APIs.
Bug: T350984
Bug: T312361
Change-Id: Id374fc9143d40ac0c65ae99ffab945cde51f77d5
The page title should be substituted into the link syntax before the
wikitext is parsed, so we should use wfEscapeWikiText() instead of
plaintextParams.
Bug: T310015
Change-Id: Iad216ded7e25c7f84b6b9ae619ddd51b9140bd24
This avoids the deprecation warning:
ctype_digit(): Argument of type null will be interpreted as string in the future
Bug: T322079
Change-Id: Id1e7ec7d73028339b53047ebfd6a975d23c3d180
Directly use the UTF-8 encoding of the 'NO-BREAK SPACE' (U+00A0)
instead of the HTML entity  .
Bug: T154300
Change-Id: I2f50fd24772eacd0bddf90c982fd7112196e6ad2
The UTF-8 normalization for the URL attributes `action` and `namespace`
are not needed.
Also use === instead of ==.
Change-Id: I03a844d58b11f45dc67f3dfb861d8f6e9ffcc18d
This commit adds logic very similar to what DeleteAction does: there's a
dropdown with predefined reasons (from MediaWiki:Deletereason-dropdown)
and a text field where you can enter a custom reason that will be
appended to the one you chose to on the dropdown.
Bug: T25020
Change-Id: I9668244d165caae2d71467573f1204689f2600a8