The listfiles pager was appending the username to the paging queries
for all paging queries. On the first/last page, this was appending
the username to false, thus marking the first/last page as still having
further results despite that not being the case.
Bug: 67627
Change-Id: Ib302a826fa638d7ae25c6d37951277fa8701ab69
$extensionPath is initialized to null and then only set when no cached
vcs information was found. Instead set it to the proper value as soon as
we know that $extension['path'] exists. This will fix display of license
file links for most extensions.
Change-Id: I93bfedf3ae0cb7e6f9e077aa1d83906f7a3283b2
htmlentities assumes that the text is iso 8859-1 prior to php 5.4
Also we use htmlspecialchars almost everywhere else.
Bug: 67840
Change-Id: I73364ac34ef7a24c48c09ec1f87102a6cbee8d8f
* This does not do anything except waste time and connections.
The query should be small in that case anyway.
Change-Id: I010b3f09be36202ccf408e1a2b084fee0a598ff9
Create valid HTML on search page and close clearing div.
Follows up: If0b6df347315bfe5b6f9a7aa9c6730cbdf44fd38
Bug: 67740
Change-Id: I3ee40b29e54aec91b627fe19de1c685c058aa184
The rationale is that the presence of a delete link can make combating
image upload vandalism substantially easier.
The change was originally added in https://github.com/Wikia/app/pull/3859
and is awaiting merger there.
Change-Id: I94b1a2d551093a4ada7aede1ad5af2a23bf86308
It is the only element in the form which has this attribute set,
so the tab order was not correct.
Bug: 67271
Change-Id: Ifa8fb91f9bf7a60e727ec7376d2bc3a851007634
This is immediately useful for building a GuidedTour
for moving a page, and can be useful for other things as well.
Change-Id: I2765248f61ecd3089a9f4e06571a378e39ec1db3
If foreign repos are off, no need to warn about false positives.
I mostly want this change for an upcoming change I'm making in
GlobalUsage - I660a61327cdb528
Change-Id: Ibcf63d48c50523722ce8384fa6b4b1f68524482c
If you look at [[Special:WantedFiles]] on commons, its full
of file redirects, making the page kind of useless. This makes
the query much more complex, but at least the page will be useful.
The page will still be useless on non-commons projects due to
foreign files being listed as missing.
Change-Id: I115fdaa3b67bee81ba0a715ebb427bb35cf0f67e
The cache of active users maintained by Special:ActiveUsers filters out
certain actions, but the displayed action count does not. Fix this.
Change-Id: Ifb9035a08328587c43c46520c5062602b9b9c6f5
This basically reverts f4357b6 but fixes it while we're here. Requesting
one extra result causes extra load and weird queries against the search
backend...all to be thrown away. Plus it's showing "Results 1-21 of N"
when we're only showing 20 which is a regression.
All search backends implement getTotalHits() so use that count instead
to figure out if we're on the last page.
Change-Id: Ib38b1e124bea7133f48209ef8af1b1e26b4dba75
When user included {{Special:Contributions}} page of blocked user,
do not show "this user is blocked" box.
Bug: 65781
Change-Id: I13b80f829dd26bf960b16efea588618c36898a5d
Replaced the tabindex=1 with autofocus to have the cursor in the target
field. This is than also the start for tabs and therefor no tabindex is
needed.
In case of a valid block the autofocus is moved to the reason field,
because the target field gets hidden.
Change-Id: I1c35f546ad22907ab824b6c51fd65655f1a91a96
Add a link below the licenses selector to edit those license options (if allowed to),
similar to links on the block, delete and protect forms.
Change-Id: Iff11d114cb1bfbc2c17de44369c482cee846ed9d
Special page PageLanguage to set the page language of a page.
To enable the feature, set $wgPageLanguageUseDB to true
and assign the 'pagelang' user right to a user group.
Bug: 35489
Change-Id: I0f82b146fbe948f917c1c5d29f7469644d797e80