Last modified: 2014-09-24 01:27:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T20704, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18704 - Add an unique CSS class or ID to the tagfilter table row at RecentChanges
Add an unique CSS class or ID to the tagfilter table row at RecentChanges
Status: REOPENED
Product: MediaWiki
Classification: Unclassified
Change tagging (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Special:...
:
: 19568 (view as bug list)
Depends on:
Blocks: 22771
  Show dependency treegraph
 
Reported: 2009-05-07 12:03 UTC by Melancholie
Modified: 2014-09-24 01:27 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
adds “tag-filter” id (892 bytes, patch)
2009-09-22 19:07 UTC, Robin Krahl
Details
New patch to add classes (3.01 KB, patch)
2011-03-22 19:48 UTC, Jarry1250
Details
Revised patch (3.18 KB, patch)
2012-01-12 15:41 UTC, Jarry1250
Details

Description Melancholie 2009-05-07 12:03:20 UTC
Add an unique CSS class or ID to the tagfilter table row at [[Special:RecentChanges]]:
<tr><td class="mw-label"><a href="/wiki/Special:Tags" title="Special:Tags">Tag</a> filter:</td><td class="mw-input"><input name="tagfilter" size="20" value="" /> <input type="submit" value="Go" /></td></tr>

That would allow to hide that input field (a whole new line taking space, doesn't float right) for wikis/users where this either isn't needed or not used. Currently an ugly JS hack would have to be used.
Comment 1 p858snake 2009-05-07 12:24:44 UTC
Changed Component; main tags functionality is powered by the MW system, Abuse filter just uses it from my understanding.
Comment 2 Melancholie 2009-05-08 12:27:45 UTC
Oh, the submit button should not be hidden (in second row); thus either move the submit button into the previous table row (best), or just give the tagfilter input the appropriate ID/class.
Comment 3 Niklas Laxström 2009-05-08 12:34:49 UTC
The actual html (and the place to add classes) is in abuse filter. Not really related to tags.
Comment 4 Andrew Garrett 2009-05-26 22:20:16 UTC
Updated component.
Comment 5 Andrew Garrett 2009-07-16 16:40:28 UTC
*** Bug 19568 has been marked as a duplicate of this bug. ***
Comment 6 Robin Krahl 2009-09-22 19:07:53 UTC
Created attachment 6571 [details]
adds “tag-filter” id

In this patch, I just added the id “tag-filter” to the input tag.
Comment 7 Happy-melon 2010-03-15 10:27:13 UTC
Comment on attachment 6571 [details]
adds “tag-filter” id

This patch is six thousand revisions out of date; adding this functionality is no longer "easy".
Comment 8 Jarry1250 2011-03-22 19:48:56 UTC
Created attachment 8321 [details]
New patch to add classes

Adds 'tagfilter-form' class to standalone version; adds 'tagfilter-input' to input and 'tagfilter-label' to label. Hiding all three in conjunction hides the tagfilter completely, though the interplay with the Submit button is a tricky one.

Classes are cheap, no?
Comment 9 Jarry1250 2011-03-22 19:49:56 UTC
(Oh, and copied and pasted in a GPL header for a file that had none. Hope that's right.)
Comment 10 Sumana Harihareswara 2012-01-10 22:36:41 UTC
Jarry1250, I'm sorry -- in the last 9 months, the codebase has changed enough that your patch no longer applies cleanly to trunk.  Therefore I'm marking it obsolete and removing the "need-review" and "patch" keywords.  If the issue is still one you're interested in fixing, please join us in #mediawiki to check in before renewing and possibly revising your approach.

Thanks for the patch nonetheless, and sorry for the delay.
Comment 11 Sumana Harihareswara 2012-01-10 22:37:07 UTC
Comment on attachment 8321 [details]
New patch to add classes

This patch no longer applies to trunk per Rusty Burchfield's automated testing
https://docs.google.com/spreadsheet/ccc?key=0Ah_71HHl7qa7dGtvSms3TGpHQU9NU2Y1VmNzUEUteWc .
Comment 12 Jarry1250 2012-01-12 15:41:11 UTC
Created attachment 9849 [details]
Revised patch

Updated for latest trunk; haven't been able to test but is identical to previous patch, which I was able to test.
Comment 13 Mark A. Hershberger 2012-02-10 19:30:15 UTC
r111186 -- had to remove a stray comma so it would work.
Comment 14 Jarry1250 2012-03-23 17:09:04 UTC
r111186 was reverted in the end, will resubmit correct version momentarily.
Comment 15 Jarry1250 2012-03-23 19:29:16 UTC
Okay, new patch: https://gerrit.wikimedia.org/r/#change,3659
Comment 16 Jarry1250 2012-03-23 23:48:45 UTC
Fix merged as part of the afore-linked change (3659), so closing as FIXED again.
Comment 17 Sam Reed (reedy) 2012-04-07 00:16:55 UTC
https://gerrit.wikimedia.org/r/#change,4494

"It was causing: <b>Notice</b>: Array to string conversion in <b>D:\www\DevWiki\core\includes\actions\HistoryAction.php</b> on line <b>164</b><br />"

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links