Last modified: 2014-07-22 01:43:59 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 T69090, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67090 - Ability of to change HTML of 'Search result page' by skin
Ability of to change HTML of 'Search result page' by skin
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-25 17:44 UTC by Nasir Khan Saikat
Modified: 2014-07-22 01:43 UTC (History)
5 users (show)

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


Attachments

Description Nasir Khan Saikat 2014-06-25 17:44:06 UTC
Hi, 
I am working on a simple MediaWiki skin, 'MediaWikiBootstrap' based on Bootstrap 3. You can find the source code at https://github.com/nasirkhan/mediawiki-bootstrap. The skin required to have the 'responsive' feature, Bootstrap made this a lot easy. 

The article page and main skin elements are added in the skin. But i am facing some issues to design the search result pages. MediaWiki loads all the contents of the page and it is not responsive at all. There is no doc on designing the 'Search result page'. 

I asked this question on the MediaWiki Support Desk [1] and 'User:Florianschmidtwelzow' informed me that i might need to change the mediawiki core functions for design the 'Search Result page'. 

Here my question is, 
* Is there any plan to address this issue?
* Am i the first person who is facing this problem?
* Can you please suggest an way to resolve this issue fast?


[1] - https://www.mediawiki.org/wiki/Thread:Project:Support_desk/how_to_design_the_%27Search_result_page%27_of_a_MediaWiki_Skin%3F_ondiscussionpage:Project:Support_desk

--
Nasir Khan Saikat
Comment 1 Bartosz Dziewoński 2014-06-25 20:40:16 UTC
If you mean changing the HTML generated by MediaWiki, then that's probably not possible from a skin.

If you mean changing the CSS styles, then you can mostly do this already (the <body> element has different classes on each page on the wiki, you can use '.mw-special-Search' to detect Special:Search), and overriding the default styles will become a lot easier in MediaWiki 1.24 when https://gerrit.wikimedia.org/r/#/c/141259/ (or some variant of this) is accepted.
Comment 2 Nasir Khan Saikat 2014-06-26 05:03:50 UTC
Yes i want to change the generated HTML. i have seen that there are CSS class for each different block, but i already have a full prepared CSS and now i might have to write those again. 

Thanks for letting us know that, you have a plan to work on this. But i might have to wait another 6 months to get this new changes :) .
Comment 3 Andre Klapper 2014-07-21 11:31:48 UTC
I'm not sure which problem you'd like to solve here, and if that's actually an enhancement request which is a common usecase. Proposing WONTFIX...
Comment 4 Bartosz Dziewoński 2014-07-22 01:41:14 UTC
Yeah, changing page HTML is not really possible, nor feasible to implement.
Sorry :(
Comment 5 Max Semenik 2014-07-22 01:43:59 UTC
Well, it is possible, that's what MobileFrontend does. It still gives me the creeps though, so pretty please don't :P

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


Navigation
Links