Jump to content
This wiki has been automatically closed because there have been no edits or log actions made within the last 60 days. If you are a user (who is not the bureaucrat) that wishes for this wiki to be reopened, please request that at Requests for reopening wikis. If this wiki is not reopened within 6 months it may be deleted. Note: If you are a bureaucrat on this wiki, you can go to Special:ManageWiki and uncheck the "Closed" box to reopen it.

User:FrozenPlum: Difference between revisions

m
Add another reminder for when the CSS can be moved to Common.css for hlistattr, hitemattr, listattr, itemattr (this is necessary because its used on so many pages and examples).
imported>FrozenPlum
mNo edit summary
imported>FrozenPlum
m (Add another reminder for when the CSS can be moved to Common.css for hlistattr, hitemattr, listattr, itemattr (this is necessary because its used on so many pages and examples).)
Line 1:
This is not my wiki, I'm just a Miraheze user helping to get some content moved over. Feel free to reach me on my [[User talk:FrozenPlum|Talk]] page.
 
<pre>
{{#dpl:
|category = Countries in Africa¦Countries in Europe
|ordermethod = category,pagetouched
|headingmode = definition
|mode = ordered
|hlistattr = id="dl-example" class="dpl-orange-background" style="font-size:17px; border:1px solid orange; padding:3px;"
|hitemattr = id="list-item-heading-attrubite" style="background-color:pink; border:1px solid red; padding:3px;"
|listattr = id="ol-example" class="dpl-blue-background" style="border:1px solid blue; padding:3px;"
|itemattr = id="li-example" style="background:white; font-style: italic; border:1px solid gray; padding:3px;"
|count = 3
}}
</pre>
 
'''Result''':
{{#dpl:
|category = Countries in Africa¦Countries in Europe
|ordermethod = category,pagetouched
|headingmode = definition
|mode = ordered
|hlistattr = id="dl-example" class="dpl-orange-background" style="font-size:17px; border:1px solid orange; padding:3px;"
|hitemattr = id="list-item-heading-attrubite" style="background-color:pink; border:1px solid red; padding:3px;"
|listattr = id="ol-example" class="dpl-blue-background" style="border:1px solid blue; padding:3px;"
|itemattr = id="li-example" style="background:white; font-style: italic; border:1px solid gray; padding:3px;"
|count = 3
}}
 
 
==Content questions==
 
* What is meant by "you can suppress back" and then "references to a page containing a DPL query by using {{DPL|reset}} and/or {{DPL|eliminate}}" on this page: [[General usage and invocation syntax]]. I'm thinking may just very poor wording, but I'm not certain. I think this means something similar to: If results in the result references/links to pages, templates, images, or categories; in DPL output, these can be suppressed (an example of this would be to suppress the inclusion of categories to result pages, to prevent the result pages from being similarly categorized).
:* I also have an open GitHub task relating to this because I believe that if such items are wrapped in <code><nowiki><noinclude></noinclude></nowiki></code> or <code><nowiki><onlyinclude></onlyinclude></nowiki></code> tags, inclusion/transclusion should probably respect these tags, but that's not currently the case. I'm not certain though, maybe this odd behavior has some utility I'm not aware of. I'd imagine that <code>reset</code> or <code>eliminate</code> should be used in the case that users don't want to have to wrap all these items in such tags.
* In the {{DPL|include}} section, there's reference to the use of filters that I don't understand and can't find a way to make work, I also find no related reference to filters or filtering in the GitHub code, but perhaps there's something I'm missing (or perhaps the explanation of these was not sufficient for understanding).
 
==Self Reminders==
* '''VERY MUCH NEED''' (because the examples are horrible with them in-line) to move all css styles used in <code>{{DPL|hlistattr}}</code>, <code>hitemattr</code>, <code>listattr</code>, <code>itemattr</code> to MediaWiki:Common.css (with intuitive names, like orange box, blue box, pink box, white box, so they don't need extra explaining). Also, this needs to be in Common.css because it's used across multiple pages and examples (and really shouldn't be edited).
* '''MAKE SURE''' when you do the above ^ you also fix the syntax example sections.
-------
* Still need to work though [[Special:WantedPages]] to fix or change any of these that should or should not be there.
* The pages for submitting a bug report, installing, getting extension (its MW page, github), giving feedback etc are not here yet and where this all goes might get juggled around depending on UO's feedback.
* There probably should be a page explaining how to enable DPL3 on Miraheze (or linking to MH ManageWiki docs and at least saying what tab the extension is found in).
* Still '''need to add notes''' to areas where there's code but a non-working examples.
* Still '''need to add notes''' to areas where there's code but a non-working example (preferably before making the wiki public again, link to info about this to let users know more explicitly why they don't work (yet) and that there's a plan for this also). I have this template for it, but I'm too tired and need a break before I put it everywhere it needs to go to head off any questions about this portion. I still have a few things to fix yet also... if I can get both of these done, then ready to open for business again. Here's the template because I'll forget tomorrow:
 
{{tempnote}}
* '''Note:''' I still need to go back through to determine which templates/page (if any) require string functions to be enabled for Parser Functions extension. Once determined, should make sure it is also noted everywhere pertinent (some examples may rely on this, it is not default turned on at MH). See [[#Examples|Examples]] for more info.
* {{DPL|imagecontainer}} states that the required settings is <code>|openreferences=true</code>.
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.