https://bugzilla.wikimedia.org/show_bug.cgi?id=52208
Web browser: ---
Bug ID: 52208
Summary: defaultsort's noreplace argument not working as
expected.
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Parser
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
[22:48] <Technical_13> Can I get some clarification for the DEFAULTSORT
|noreplace switch? I used it in a template that goes at the top of a page
expecting it to lock that in as the defaultsort, but it doesn't seem to be
working that way. Anyone have a solution for this?
[22:49] * You are now known as T13|sleeps
[22:49] <Elsie> T13|sleeps: Please include a link to what you're talking about.
[22:50] <T13|sleeps> http://enwp.org/Template:AFC_submission/declined
[22:53] <T13|sleeps> [[Category:G13 eligible AfC
submissions]]{{DEFAULTSORT:{{padleft:{{#expr:(({{#time:y|{{REVISIONTIMESTAMP}}}}*12)+{{REVISIONMONTH1}})}}|3|0}}|noreplace}}
[22:54] <T13|sleeps> ^^^ that part of code
[22:56] <T13|sleeps> If you check out some of the submissions that are in the
G13 eligible cat there that are under a letter you will see at the bottom of
those pages defaultsort "###" replaced with blah...
[22:58] <T13|sleeps>
http://en.wikipedia.org/wiki/Category:G13_eligible_AfC_submissions
[22:58] <T13|sleeps> Is the link to cat
[22:59] <T13|sleeps>
http://en.wikipedia.org/wiki/Wikipedia_talk:Articles_for_creation/charlie_zelenoff
[22:59] <T13|sleeps> Is a link to an overridden defaultsort example
[23:00] <T13|sleeps> Warning: Default sort key "Zelenoff, Charlie" overrides
earlier default sort key "148"
[23:00] <T13|sleeps> Is the message I get but wasn't expecting because
noreplace up top I thought would prevent it.
I would expect that argument to make the parser stop looking for defaultsort
magic word.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l